]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/richtext_wrap.cpp
typo fix
[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]
0ef86618
RD
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChar swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxICOHandler swig_types[52]
2519#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520#define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521#define SWIGTYPE_p_wxImage swig_types[55]
2522#define SWIGTYPE_p_wxImageHandler swig_types[56]
2523#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524#define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526#define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528#define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529#define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530#define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531#define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532#define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533#define SWIGTYPE_p_wxMenu swig_types[67]
2534#define SWIGTYPE_p_wxMenuBar swig_types[68]
2535#define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenuItem swig_types[70]
2537#define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538#define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540#define SWIGTYPE_p_wxMouseEvent swig_types[74]
2541#define SWIGTYPE_p_wxMoveEvent swig_types[75]
2542#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2543#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2544#define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2545#define SWIGTYPE_p_wxNotifyEvent swig_types[79]
27e45892
RD
2546#define SWIGTYPE_p_wxNumberEntryDialog swig_types[80]
2547#define SWIGTYPE_p_wxObject swig_types[81]
2548#define SWIGTYPE_p_wxPCXHandler swig_types[82]
2549#define SWIGTYPE_p_wxPNGHandler swig_types[83]
2550#define SWIGTYPE_p_wxPNMHandler swig_types[84]
2551#define SWIGTYPE_p_wxPageSetupDialog swig_types[85]
2552#define SWIGTYPE_p_wxPageSetupDialogData swig_types[86]
2553#define SWIGTYPE_p_wxPaintEvent swig_types[87]
2554#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88]
2555#define SWIGTYPE_p_wxPanel swig_types[89]
2556#define SWIGTYPE_p_wxPaperSize swig_types[90]
2557#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91]
2558#define SWIGTYPE_p_wxPopupWindow swig_types[92]
2559#define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2560#define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2561#define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2562#define SWIGTYPE_p_wxPrintData swig_types[96]
2563#define SWIGTYPE_p_wxPrintDialog swig_types[97]
2564#define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2565#define SWIGTYPE_p_wxPrintPreview swig_types[99]
2566#define SWIGTYPE_p_wxPrinter swig_types[100]
2567#define SWIGTYPE_p_wxProgressDialog swig_types[101]
2568#define SWIGTYPE_p_wxPyApp swig_types[102]
2569#define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2570#define SWIGTYPE_p_wxPyEvent swig_types[104]
2571#define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2572#define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2573#define SWIGTYPE_p_wxPyPanel swig_types[107]
2574#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2575#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2576#define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2577#define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2578#define SWIGTYPE_p_wxPyPrintout swig_types[112]
2579#define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2580#define SWIGTYPE_p_wxPySizer swig_types[114]
2581#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2582#define SWIGTYPE_p_wxPyVListBox swig_types[116]
2583#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2584#define SWIGTYPE_p_wxPyValidator swig_types[118]
2585#define SWIGTYPE_p_wxPyWindow swig_types[119]
2586#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2587#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2588#define SWIGTYPE_p_wxRichTextAttr swig_types[122]
2589#define SWIGTYPE_p_wxRichTextBuffer swig_types[123]
2590#define SWIGTYPE_p_wxRichTextCtrl swig_types[124]
2591#define SWIGTYPE_p_wxRichTextEvent swig_types[125]
2592#define SWIGTYPE_p_wxRichTextImageBlock swig_types[126]
2593#define SWIGTYPE_p_wxRichTextRange swig_types[127]
2594#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[128]
2595#define SWIGTYPE_p_wxSashEvent swig_types[129]
2596#define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597#define SWIGTYPE_p_wxSashWindow swig_types[131]
2598#define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600#define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601#define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602#define SWIGTYPE_p_wxShowEvent swig_types[136]
2603#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604#define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605#define SWIGTYPE_p_wxSizer swig_types[139]
2606#define SWIGTYPE_p_wxSizerItem swig_types[140]
2607#define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609#define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610#define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612#define SWIGTYPE_p_wxStatusBar swig_types[146]
2613#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615#define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150]
2617#define SWIGTYPE_p_wxTextCoord swig_types[151]
2618#define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[152]
2619#define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620#define SWIGTYPE_p_wxTipWindow swig_types[154]
2621#define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623#define SWIGTYPE_p_wxValidator swig_types[157]
2624#define SWIGTYPE_p_wxWindow swig_types[158]
2625#define SWIGTYPE_p_wxWindowCreateEvent swig_types[159]
2626#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160]
2627#define SWIGTYPE_p_wxXPMHandler swig_types[161]
2628static swig_type_info *swig_types[163];
2629static swig_module_info swig_module = {swig_types, 162, 0, 0, 0, 0};
f05326ba
RD
2630#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2631#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2632
2633/* -------- TYPES TABLE (END) -------- */
2634
2635#if (PY_VERSION_HEX <= 0x02000000)
2636# if !defined(SWIG_PYTHON_CLASSIC)
2637# error "This python version requires to use swig with the '-classic' option"
2638# endif
2639#endif
2640#if (PY_VERSION_HEX <= 0x02020000)
2641# error "This python version requires to use swig with the '-nomodern' option"
2642#endif
2643#if (PY_VERSION_HEX <= 0x02020000)
2644# error "This python version requires to use swig with the '-nomodernargs' option"
2645#endif
2646#ifndef METH_O
2647# error "This python version requires to use swig with the '-nofastunpack' option"
2648#endif
2649
2650/*-----------------------------------------------
2651 @(target):= _richtext.so
2652 ------------------------------------------------*/
2653#define SWIG_init init_richtext
2654
2655#define SWIG_name "_richtext"
2656
2657#define SWIGVERSION 0x010329
2658
2659
2660#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2661#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2662
2663
2664#include <stdexcept>
2665
2666
2667namespace swig {
2668 class PyObject_ptr {
2669 protected:
2670 PyObject *_obj;
2671
2672 public:
2673 PyObject_ptr() :_obj(0)
2674 {
2675 }
2676
2677 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2678 {
2679 Py_XINCREF(_obj);
2680 }
2681
2682 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2683 {
2684 if (initial_ref) Py_XINCREF(_obj);
2685 }
2686
2687 PyObject_ptr & operator=(const PyObject_ptr& item)
2688 {
2689 Py_XINCREF(item._obj);
2690 Py_XDECREF(_obj);
2691 _obj = item._obj;
2692 return *this;
2693 }
2694
2695 ~PyObject_ptr()
2696 {
2697 Py_XDECREF(_obj);
2698 }
2699
2700 operator PyObject *() const
2701 {
2702 return _obj;
2703 }
2704
2705 PyObject *operator->() const
2706 {
2707 return _obj;
2708 }
2709 };
2710}
2711
2712
2713namespace swig {
2714 struct PyObject_var : PyObject_ptr {
2715 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2716
2717 PyObject_var & operator = (PyObject* obj)
2718 {
2719 Py_XDECREF(_obj);
2720 _obj = obj;
2721 return *this;
2722 }
2723 };
2724}
2725
2726
2727#include "wx/wxPython/wxPython.h"
2728#include "wx/wxPython/pyclasses.h"
2729#include "wx/wxPython/printfw.h"
2730#include "wx/wxPython/twoitem.h"
2731
2732#include <wx/richtext/richtextctrl.h>
2733
2734
2735class wxEffects;
2736class wxBufferedDC;
2737class wxBufferedPaintDC;
2738class wxMetaFile;
2739class wxMetaFileDC;
2740class wxPrinterDC;
2741
2742
2743
2744 #define SWIG_From_long PyInt_FromLong
2745
2746
2747SWIGINTERNINLINE PyObject *
2748SWIG_From_int (int value)
2749{
2750 return SWIG_From_long (value);
2751}
2752
2753 static const wxString wxPyEmptyString(wxEmptyString);
2754
2755
2756bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj)
2757{
2758 if (source == Py_None) {
2759 **obj = wxRICHTEXT_NONE;
2760 return true;
2761 }
2762 return wxPyTwoIntItem_helper(source, obj, wxT("wxRichTextRange"));
2763}
2764
2765
2766SWIGINTERN int
2767SWIG_AsVal_long (PyObject* obj, long* val)
2768{
2769 if (PyNumber_Check(obj)) {
2770 if (val) *val = PyInt_AsLong(obj);
2771 return SWIG_OK;
2772 }
2773 return SWIG_TypeError;
2774}
2775
2776SWIGINTERN bool wxRichTextRange___eq__(wxRichTextRange *self,PyObject *other){
2777 wxRichTextRange temp, *obj = &temp;
2778 if ( other == Py_None ) return false;
2779 if ( ! wxRichTextRange_helper(other, &obj) ) {
2780 PyErr_Clear();
2781 return false;
2782 }
2783 return self->operator==(*obj);
2784 }
2785SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){
2786 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2787 PyObject* tup = PyTuple_New(2);
2788 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart()));
2789 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd()));
2790 wxPyEndBlockThreads(blocked);
2791 return tup;
2792 }
2793
2794 wxRichTextRange wxPy_RTR_ALL(wxRICHTEXT_ALL);
2795 wxRichTextRange wxPy_RTR_NONE(wxRICHTEXT_NONE);
2796
2797
2798#include <limits.h>
2799#ifndef LLONG_MIN
2800# define LLONG_MIN LONG_LONG_MIN
2801#endif
2802#ifndef LLONG_MAX
2803# define LLONG_MAX LONG_LONG_MAX
2804#endif
2805#ifndef ULLONG_MAX
2806# define ULLONG_MAX ULONG_LONG_MAX
2807#endif
2808
2809
2810SWIGINTERN int
2811SWIG_AsVal_int (PyObject * obj, int *val)
2812{
2813 long v;
2814 int res = SWIG_AsVal_long (obj, &v);
2815 if (SWIG_IsOK(res)) {
2816 if ((v < INT_MIN || v > INT_MAX)) {
2817 return SWIG_OverflowError;
2818 } else {
2819 if (val) *val = static_cast< int >(v);
2820 }
2821 }
2822 return res;
2823}
2824
2825
2826SWIGINTERN int
2827SWIG_AsVal_bool (PyObject *obj, bool *val)
2828{
2829 if (obj == Py_True) {
2830 if (val) *val = true;
2831 return SWIG_OK;
2832 } else if (obj == Py_False) {
2833 if (val) *val = false;
2834 return SWIG_OK;
2835 } else {
2836 long v = 0;
2837 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2838 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2839 return res;
2840 }
2841}
2842
2843
2844SWIGINTERN int
2845SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2846{
2847 long v = 0;
2848 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2849 return SWIG_TypeError;
2850 }
2851 else if (val)
2852 *val = (unsigned long)v;
2853 return SWIG_OK;
2854}
2855
2856
2857SWIGINTERN swig_type_info*
2858SWIG_pchar_descriptor()
2859{
2860 static int init = 0;
2861 static swig_type_info* info = 0;
2862 if (!init) {
2863 info = SWIG_TypeQuery("_p_char");
2864 init = 1;
2865 }
2866 return info;
2867}
2868
2869
2870SWIGINTERN int
2871SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2872{
2873 if (PyString_Check(obj)) {
96221a45 2874 char *cstr; Py_ssize_t len;
f05326ba
RD
2875 PyString_AsStringAndSize(obj, &cstr, &len);
2876 if (cptr) {
2877 if (alloc) {
2878 /*
2879 In python the user should not be able to modify the inner
2880 string representation. To warranty that, if you define
2881 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2882 buffer is always returned.
2883
2884 The default behavior is just to return the pointer value,
2885 so, be careful.
2886 */
2887#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2888 if (*alloc != SWIG_OLDOBJ)
2889#else
2890 if (*alloc == SWIG_NEWOBJ)
2891#endif
2892 {
2893 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2894 *alloc = SWIG_NEWOBJ;
2895 }
2896 else {
2897 *cptr = cstr;
2898 *alloc = SWIG_OLDOBJ;
2899 }
2900 } else {
2901 *cptr = PyString_AsString(obj);
2902 }
2903 }
2904 if (psize) *psize = len + 1;
2905 return SWIG_OK;
2906 } else {
2907 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2908 if (pchar_descriptor) {
2909 void* vptr = 0;
2910 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2911 if (cptr) *cptr = (char *) vptr;
2912 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2913 if (alloc) *alloc = SWIG_OLDOBJ;
2914 return SWIG_OK;
2915 }
2916 }
2917 }
2918 return SWIG_TypeError;
2919}
2920
2921
2922SWIGINTERN int
2923SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
2924{
2925 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2926 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2927 if (SWIG_IsOK(res)) {
2928 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
2929 if (csize <= size) {
2930 if (val) {
2931 if (csize) memcpy(val, cptr, csize*sizeof(char));
2932 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2933 }
2934 if (alloc == SWIG_NEWOBJ) {
2935 delete[] cptr;
2936 res = SWIG_DelNewMask(res);
2937 }
2938 return res;
2939 }
2940 if (alloc == SWIG_NEWOBJ) delete[] cptr;
2941 }
2942 return SWIG_TypeError;
2943}
2944
2945
2946SWIGINTERN int
2947SWIG_AsVal_char (PyObject * obj, char *val)
2948{
2949 int res = SWIG_AsCharArray(obj, val, 1);
2950 if (!SWIG_IsOK(res)) {
2951 long v;
2952 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
2953 if (SWIG_IsOK(res)) {
2954 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2955 if (val) *val = static_cast< char >(v);
2956 } else {
2957 res = SWIG_OverflowError;
2958 }
2959 }
2960 }
2961 return res;
2962}
2963
2964#ifdef __cplusplus
2965extern "C" {
2966#endif
2967SWIGINTERN PyObject *_wrap_new_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj = 0;
2969 long arg1 = (long) 0 ;
2970 long arg2 = (long) 0 ;
2971 wxRichTextRange *result = 0 ;
2972 long val1 ;
2973 int ecode1 = 0 ;
2974 long val2 ;
2975 int ecode2 = 0 ;
2976 PyObject * obj0 = 0 ;
2977 PyObject * obj1 = 0 ;
2978 char * kwnames[] = {
2979 (char *) "start",(char *) "end", NULL
2980 };
2981
2982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextRange",kwnames,&obj0,&obj1)) SWIG_fail;
2983 if (obj0) {
2984 ecode1 = SWIG_AsVal_long(obj0, &val1);
2985 if (!SWIG_IsOK(ecode1)) {
2986 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2987 }
2988 arg1 = static_cast< long >(val1);
2989 }
2990 if (obj1) {
2991 ecode2 = SWIG_AsVal_long(obj1, &val2);
2992 if (!SWIG_IsOK(ecode2)) {
2993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2994 }
2995 arg2 = static_cast< long >(val2);
2996 }
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2);
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW | 0 );
3004 return resultobj;
3005fail:
3006 return NULL;
3007}
3008
3009
3010SWIGINTERN PyObject *_wrap_delete_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3011 PyObject *resultobj = 0;
3012 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3013 void *argp1 = 0 ;
3014 int res1 = 0 ;
3015 PyObject *swig_obj[1] ;
3016
3017 if (!args) SWIG_fail;
3018 swig_obj[0] = args;
3019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_DISOWN | 0 );
3020 if (!SWIG_IsOK(res1)) {
3021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3022 }
3023 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 delete arg1;
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 resultobj = SWIG_Py_Void();
3032 return resultobj;
3033fail:
3034 return NULL;
3035}
3036
3037
3038SWIGINTERN PyObject *_wrap_RichTextRange___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj = 0;
3040 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3041 PyObject *arg2 = (PyObject *) 0 ;
3042 bool result;
3043 void *argp1 = 0 ;
3044 int res1 = 0 ;
3045 PyObject * obj0 = 0 ;
3046 PyObject * obj1 = 0 ;
3047 char * kwnames[] = {
3048 (char *) "self",(char *) "other", NULL
3049 };
3050
3051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
3052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3053 if (!SWIG_IsOK(res1)) {
3054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3055 }
3056 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3057 arg2 = obj1;
3058 {
3059 result = (bool)wxRichTextRange___eq__(arg1,arg2);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3064 }
3065 return resultobj;
3066fail:
3067 return NULL;
3068}
3069
3070
3071SWIGINTERN PyObject *_wrap_RichTextRange___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj = 0;
3073 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3074 wxRichTextRange *arg2 = 0 ;
3075 wxRichTextRange result;
3076 void *argp1 = 0 ;
3077 int res1 = 0 ;
3078 wxRichTextRange temp2 ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 char * kwnames[] = {
3082 (char *) "self",(char *) "range", NULL
3083 };
3084
3085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___sub__",kwnames,&obj0,&obj1)) SWIG_fail;
3086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3087 if (!SWIG_IsOK(res1)) {
3088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3089 }
3090 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3091 {
3092 arg2 = &temp2;
3093 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3094 }
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2);
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
3101 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3102 return resultobj;
3103fail:
3104 return NULL;
3105}
3106
3107
3108SWIGINTERN PyObject *_wrap_RichTextRange___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj = 0;
3110 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3111 wxRichTextRange *arg2 = 0 ;
3112 wxRichTextRange result;
3113 void *argp1 = 0 ;
3114 int res1 = 0 ;
3115 wxRichTextRange temp2 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 char * kwnames[] = {
3119 (char *) "self",(char *) "range", NULL
3120 };
3121
3122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___add__",kwnames,&obj0,&obj1)) SWIG_fail;
3123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3124 if (!SWIG_IsOK(res1)) {
3125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3126 }
3127 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3128 {
3129 arg2 = &temp2;
3130 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3131 }
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2);
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3139 return resultobj;
3140fail:
3141 return NULL;
3142}
3143
3144
3145SWIGINTERN PyObject *_wrap_RichTextRange_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj = 0;
3147 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3148 long arg2 ;
3149 long arg3 ;
3150 void *argp1 = 0 ;
3151 int res1 = 0 ;
3152 long val2 ;
3153 int ecode2 = 0 ;
3154 long val3 ;
3155 int ecode3 = 0 ;
3156 PyObject * obj0 = 0 ;
3157 PyObject * obj1 = 0 ;
3158 PyObject * obj2 = 0 ;
3159 char * kwnames[] = {
3160 (char *) "self",(char *) "start",(char *) "end", NULL
3161 };
3162
3163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextRange_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3165 if (!SWIG_IsOK(res1)) {
3166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3167 }
3168 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3169 ecode2 = SWIG_AsVal_long(obj1, &val2);
3170 if (!SWIG_IsOK(ecode2)) {
3171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3172 }
3173 arg2 = static_cast< long >(val2);
3174 ecode3 = SWIG_AsVal_long(obj2, &val3);
3175 if (!SWIG_IsOK(ecode3)) {
3176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3177 }
3178 arg3 = static_cast< long >(val3);
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->SetRange(arg2,arg3);
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = SWIG_Py_Void();
3186 return resultobj;
3187fail:
3188 return NULL;
3189}
3190
3191
3192SWIGINTERN PyObject *_wrap_RichTextRange_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj = 0;
3194 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3195 long arg2 ;
3196 void *argp1 = 0 ;
3197 int res1 = 0 ;
3198 long val2 ;
3199 int ecode2 = 0 ;
3200 PyObject * obj0 = 0 ;
3201 PyObject * obj1 = 0 ;
3202 char * kwnames[] = {
3203 (char *) "self",(char *) "start", NULL
3204 };
3205
3206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
3207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3208 if (!SWIG_IsOK(res1)) {
3209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3210 }
3211 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3212 ecode2 = SWIG_AsVal_long(obj1, &val2);
3213 if (!SWIG_IsOK(ecode2)) {
3214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3215 }
3216 arg2 = static_cast< long >(val2);
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 (arg1)->SetStart(arg2);
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 resultobj = SWIG_Py_Void();
3224 return resultobj;
3225fail:
3226 return NULL;
3227}
3228
3229
3230SWIGINTERN PyObject *_wrap_RichTextRange_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3231 PyObject *resultobj = 0;
3232 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3233 long result;
3234 void *argp1 = 0 ;
3235 int res1 = 0 ;
3236 PyObject *swig_obj[1] ;
3237
3238 if (!args) SWIG_fail;
3239 swig_obj[0] = args;
3240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3241 if (!SWIG_IsOK(res1)) {
3242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3243 }
3244 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 result = (long)((wxRichTextRange const *)arg1)->GetStart();
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 resultobj = SWIG_From_long(static_cast< long >(result));
3252 return resultobj;
3253fail:
3254 return NULL;
3255}
3256
3257
3258SWIGINTERN PyObject *_wrap_RichTextRange_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj = 0;
3260 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3261 long arg2 ;
3262 void *argp1 = 0 ;
3263 int res1 = 0 ;
3264 long val2 ;
3265 int ecode2 = 0 ;
3266 PyObject * obj0 = 0 ;
3267 PyObject * obj1 = 0 ;
3268 char * kwnames[] = {
3269 (char *) "self",(char *) "end", NULL
3270 };
3271
3272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
3273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3274 if (!SWIG_IsOK(res1)) {
3275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3276 }
3277 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3278 ecode2 = SWIG_AsVal_long(obj1, &val2);
3279 if (!SWIG_IsOK(ecode2)) {
3280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3281 }
3282 arg2 = static_cast< long >(val2);
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 (arg1)->SetEnd(arg2);
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 resultobj = SWIG_Py_Void();
3290 return resultobj;
3291fail:
3292 return NULL;
3293}
3294
3295
3296SWIGINTERN PyObject *_wrap_RichTextRange_GetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3297 PyObject *resultobj = 0;
3298 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3299 long result;
3300 void *argp1 = 0 ;
3301 int res1 = 0 ;
3302 PyObject *swig_obj[1] ;
3303
3304 if (!args) SWIG_fail;
3305 swig_obj[0] = args;
3306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3307 if (!SWIG_IsOK(res1)) {
3308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3309 }
3310 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (long)((wxRichTextRange const *)arg1)->GetEnd();
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 resultobj = SWIG_From_long(static_cast< long >(result));
3318 return resultobj;
3319fail:
3320 return NULL;
3321}
3322
3323
3324SWIGINTERN PyObject *_wrap_RichTextRange_IsOutside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj = 0;
3326 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3327 wxRichTextRange *arg2 = 0 ;
3328 bool result;
3329 void *argp1 = 0 ;
3330 int res1 = 0 ;
3331 wxRichTextRange temp2 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334 char * kwnames[] = {
3335 (char *) "self",(char *) "range", NULL
3336 };
3337
3338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsOutside",kwnames,&obj0,&obj1)) SWIG_fail;
3339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3340 if (!SWIG_IsOK(res1)) {
3341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3342 }
3343 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3344 {
3345 arg2 = &temp2;
3346 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3347 }
3348 {
3349 PyThreadState* __tstate = wxPyBeginAllowThreads();
3350 result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2);
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 {
3355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3356 }
3357 return resultobj;
3358fail:
3359 return NULL;
3360}
3361
3362
3363SWIGINTERN PyObject *_wrap_RichTextRange_IsWithin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj = 0;
3365 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3366 wxRichTextRange *arg2 = 0 ;
3367 bool result;
3368 void *argp1 = 0 ;
3369 int res1 = 0 ;
3370 wxRichTextRange temp2 ;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 char * kwnames[] = {
3374 (char *) "self",(char *) "range", NULL
3375 };
3376
3377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsWithin",kwnames,&obj0,&obj1)) SWIG_fail;
3378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3379 if (!SWIG_IsOK(res1)) {
3380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3381 }
3382 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3383 {
3384 arg2 = &temp2;
3385 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3386 }
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2);
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3395 }
3396 return resultobj;
3397fail:
3398 return NULL;
3399}
3400
3401
3402SWIGINTERN PyObject *_wrap_RichTextRange_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj = 0;
3404 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3405 long arg2 ;
3406 bool result;
3407 void *argp1 = 0 ;
3408 int res1 = 0 ;
3409 long val2 ;
3410 int ecode2 = 0 ;
3411 PyObject * obj0 = 0 ;
3412 PyObject * obj1 = 0 ;
3413 char * kwnames[] = {
3414 (char *) "self",(char *) "pos", NULL
3415 };
3416
3417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
3418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3419 if (!SWIG_IsOK(res1)) {
3420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3421 }
3422 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3423 ecode2 = SWIG_AsVal_long(obj1, &val2);
3424 if (!SWIG_IsOK(ecode2)) {
3425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3426 }
3427 arg2 = static_cast< long >(val2);
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2);
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 {
3435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3436 }
3437 return resultobj;
3438fail:
3439 return NULL;
3440}
3441
3442
3443SWIGINTERN PyObject *_wrap_RichTextRange_LimitTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj = 0;
3445 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3446 wxRichTextRange *arg2 = 0 ;
3447 bool result;
3448 void *argp1 = 0 ;
3449 int res1 = 0 ;
3450 wxRichTextRange temp2 ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 char * kwnames[] = {
3454 (char *) "self",(char *) "range", NULL
3455 };
3456
3457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_LimitTo",kwnames,&obj0,&obj1)) SWIG_fail;
3458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3459 if (!SWIG_IsOK(res1)) {
3460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3461 }
3462 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3463 {
3464 arg2 = &temp2;
3465 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2);
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 {
3474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3475 }
3476 return resultobj;
3477fail:
3478 return NULL;
3479}
3480
3481
3482SWIGINTERN PyObject *_wrap_RichTextRange_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3483 PyObject *resultobj = 0;
3484 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3485 long result;
3486 void *argp1 = 0 ;
3487 int res1 = 0 ;
3488 PyObject *swig_obj[1] ;
3489
3490 if (!args) SWIG_fail;
3491 swig_obj[0] = args;
3492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3495 }
3496 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (long)((wxRichTextRange const *)arg1)->GetLength();
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 resultobj = SWIG_From_long(static_cast< long >(result));
3504 return resultobj;
3505fail:
3506 return NULL;
3507}
3508
3509
3510SWIGINTERN PyObject *_wrap_RichTextRange_Swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3511 PyObject *resultobj = 0;
3512 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3513 void *argp1 = 0 ;
3514 int res1 = 0 ;
3515 PyObject *swig_obj[1] ;
3516
3517 if (!args) SWIG_fail;
3518 swig_obj[0] = args;
3519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3520 if (!SWIG_IsOK(res1)) {
3521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3522 }
3523 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 (arg1)->Swap();
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 resultobj = SWIG_Py_Void();
3531 return resultobj;
3532fail:
3533 return NULL;
3534}
3535
3536
3537SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3538 PyObject *resultobj = 0;
3539 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3540 PyObject *result = 0 ;
3541 void *argp1 = 0 ;
3542 int res1 = 0 ;
3543 PyObject *swig_obj[1] ;
3544
3545 if (!args) SWIG_fail;
3546 swig_obj[0] = args;
3547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3548 if (!SWIG_IsOK(res1)) {
3549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3550 }
3551 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 result = (PyObject *)wxRichTextRange_Get(arg1);
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 resultobj = result;
3559 return resultobj;
3560fail:
3561 return NULL;
3562}
3563
3564
3565SWIGINTERN PyObject *RichTextRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3566 PyObject *obj;
3567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3568 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange, SWIG_NewClientData(obj));
3569 return SWIG_Py_Void();
3570}
3571
3572SWIGINTERN PyObject *RichTextRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3573 return SWIG_Python_InitShadowInstance(args);
3574}
3575
3576SWIGINTERN int RICHTEXT_ALL_set(PyObject *) {
3577 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_ALL is read-only.");
3578 return 1;
3579}
3580
3581
3582SWIGINTERN PyObject *RICHTEXT_ALL_get(void) {
3583 PyObject *pyobj = 0;
3584
3585 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL), SWIGTYPE_p_wxRichTextRange, 0 );
3586 return pyobj;
3587}
3588
3589
3590SWIGINTERN int RICHTEXT_NONE_set(PyObject *) {
3591 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_NONE is read-only.");
3592 return 1;
3593}
3594
3595
3596SWIGINTERN PyObject *RICHTEXT_NONE_get(void) {
3597 PyObject *pyobj = 0;
3598
3599 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE), SWIGTYPE_p_wxRichTextRange, 0 );
3600 return pyobj;
3601}
3602
3603
3604SWIGINTERN PyObject *_wrap_new_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj = 0;
3606 wxColour const &arg1_defvalue = wxNullColour ;
3607 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
3608 wxColour const &arg2_defvalue = wxNullColour ;
3609 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
3610 wxTextAttrAlignment arg3 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
3611 wxRichTextAttr *result = 0 ;
3612 wxColour temp1 ;
3613 wxColour temp2 ;
3614 int val3 ;
3615 int ecode3 = 0 ;
3616 PyObject * obj0 = 0 ;
3617 PyObject * obj1 = 0 ;
3618 PyObject * obj2 = 0 ;
3619 char * kwnames[] = {
3620 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3621 };
3622
3623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3624 if (obj0) {
3625 {
3626 arg1 = &temp1;
3627 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3628 }
3629 }
3630 if (obj1) {
3631 {
3632 arg2 = &temp2;
3633 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3634 }
3635 }
3636 if (obj2) {
3637 ecode3 = SWIG_AsVal_int(obj2, &val3);
3638 if (!SWIG_IsOK(ecode3)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3640 }
3641 arg3 = static_cast< wxTextAttrAlignment >(val3);
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (wxRichTextAttr *)new wxRichTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,arg3);
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_NEW | 0 );
3650 return resultobj;
3651fail:
3652 return NULL;
3653}
3654
3655
3656SWIGINTERN PyObject *_wrap_delete_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3657 PyObject *resultobj = 0;
3658 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3659 void *argp1 = 0 ;
3660 int res1 = 0 ;
3661 PyObject *swig_obj[1] ;
3662
3663 if (!args) SWIG_fail;
3664 swig_obj[0] = args;
3665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_DISOWN | 0 );
3666 if (!SWIG_IsOK(res1)) {
3667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3668 }
3669 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 delete arg1;
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 resultobj = SWIG_Py_Void();
3678 return resultobj;
3679fail:
3680 return NULL;
3681}
3682
3683
3684SWIGINTERN PyObject *_wrap_RichTextAttr_CreateFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3685 PyObject *resultobj = 0;
3686 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
0ef86618 3687 wxFont result;
f05326ba
RD
3688 void *argp1 = 0 ;
3689 int res1 = 0 ;
3690 PyObject *swig_obj[1] ;
3691
3692 if (!args) SWIG_fail;
3693 swig_obj[0] = args;
3694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3695 if (!SWIG_IsOK(res1)) {
3696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3697 }
3698 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = ((wxRichTextAttr const *)arg1)->CreateFont();
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
3706 return resultobj;
3707fail:
3708 return NULL;
3709}
3710
3711
3712SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj = 0;
3714 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3715 wxFont *arg2 = 0 ;
3716 bool result;
3717 void *argp1 = 0 ;
3718 int res1 = 0 ;
3719 void *argp2 = 0 ;
3720 int res2 = 0 ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 char * kwnames[] = {
3724 (char *) "self",(char *) "font", NULL
3725 };
3726
3727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
3728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3729 if (!SWIG_IsOK(res1)) {
3730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3731 }
3732 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3733 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
3734 if (!SWIG_IsOK(res2)) {
3735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3736 }
3737 if (!argp2) {
3738 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3739 }
3740 arg2 = reinterpret_cast< wxFont * >(argp2);
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = (bool)(arg1)->GetFontAttributes((wxFont const &)*arg2);
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
3747 {
3748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3749 }
3750 return resultobj;
3751fail:
3752 return NULL;
3753}
3754
3755
3756SWIGINTERN PyObject *_wrap_RichTextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3757 PyObject *resultobj = 0;
3758 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3759 wxColour *arg2 = 0 ;
3760 void *argp1 = 0 ;
3761 int res1 = 0 ;
3762 wxColour temp2 ;
3763 PyObject * obj0 = 0 ;
3764 PyObject * obj1 = 0 ;
3765 char * kwnames[] = {
3766 (char *) "self",(char *) "colText", NULL
3767 };
3768
3769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
3770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3771 if (!SWIG_IsOK(res1)) {
3772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3773 }
3774 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3775 {
3776 arg2 = &temp2;
3777 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3778 }
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 (arg1)->SetTextColour((wxColour const &)*arg2);
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 resultobj = SWIG_Py_Void();
3786 return resultobj;
3787fail:
3788 return NULL;
3789}
3790
3791
3792SWIGINTERN PyObject *_wrap_RichTextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj = 0;
3794 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3795 wxColour *arg2 = 0 ;
3796 void *argp1 = 0 ;
3797 int res1 = 0 ;
3798 wxColour temp2 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char * kwnames[] = {
3802 (char *) "self",(char *) "colBack", NULL
3803 };
3804
3805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
3806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3807 if (!SWIG_IsOK(res1)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3809 }
3810 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3811 {
3812 arg2 = &temp2;
3813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3814 }
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = SWIG_Py_Void();
3822 return resultobj;
3823fail:
3824 return NULL;
3825}
3826
3827
3828SWIGINTERN PyObject *_wrap_RichTextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj = 0;
3830 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3831 wxTextAttrAlignment arg2 ;
3832 void *argp1 = 0 ;
3833 int res1 = 0 ;
3834 int val2 ;
3835 int ecode2 = 0 ;
3836 PyObject * obj0 = 0 ;
3837 PyObject * obj1 = 0 ;
3838 char * kwnames[] = {
3839 (char *) "self",(char *) "alignment", NULL
3840 };
3841
3842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
3843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3844 if (!SWIG_IsOK(res1)) {
3845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3846 }
3847 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3848 ecode2 = SWIG_AsVal_int(obj1, &val2);
3849 if (!SWIG_IsOK(ecode2)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3851 }
3852 arg2 = static_cast< wxTextAttrAlignment >(val2);
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 (arg1)->SetAlignment(arg2);
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 resultobj = SWIG_Py_Void();
3860 return resultobj;
3861fail:
3862 return NULL;
3863}
3864
3865
3866SWIGINTERN PyObject *_wrap_RichTextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3867 PyObject *resultobj = 0;
3868 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3869 wxArrayInt *arg2 = 0 ;
3870 void *argp1 = 0 ;
3871 int res1 = 0 ;
3872 bool temp2 = false ;
3873 PyObject * obj0 = 0 ;
3874 PyObject * obj1 = 0 ;
3875 char * kwnames[] = {
3876 (char *) "self",(char *) "tabs", NULL
3877 };
3878
3879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
3880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3881 if (!SWIG_IsOK(res1)) {
3882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3883 }
3884 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3885 {
3886 if (! PySequence_Check(obj1)) {
3887 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
3888 SWIG_fail;
3889 }
3890 arg2 = new wxArrayInt;
3891 temp2 = true;
3892 int i, len=PySequence_Length(obj1);
3893 for (i=0; i<len; i++) {
3894 PyObject* item = PySequence_GetItem(obj1, i);
3895 PyObject* number = PyNumber_Int(item);
3896 arg2->Add(PyInt_AS_LONG(number));
3897 Py_DECREF(item);
3898 Py_DECREF(number);
3899 }
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->SetTabs((wxArrayInt const &)*arg2);
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 resultobj = SWIG_Py_Void();
3908 {
3909 if (temp2) delete arg2;
3910 }
3911 return resultobj;
3912fail:
3913 {
3914 if (temp2) delete arg2;
3915 }
3916 return NULL;
3917}
3918
3919
3920SWIGINTERN PyObject *_wrap_RichTextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj = 0;
3922 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3923 int arg2 ;
3924 int arg3 = (int) 0 ;
3925 void *argp1 = 0 ;
3926 int res1 = 0 ;
3927 int val2 ;
3928 int ecode2 = 0 ;
3929 int val3 ;
3930 int ecode3 = 0 ;
3931 PyObject * obj0 = 0 ;
3932 PyObject * obj1 = 0 ;
3933 PyObject * obj2 = 0 ;
3934 char * kwnames[] = {
3935 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3936 };
3937
3938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3940 if (!SWIG_IsOK(res1)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3942 }
3943 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3944 ecode2 = SWIG_AsVal_int(obj1, &val2);
3945 if (!SWIG_IsOK(ecode2)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3947 }
3948 arg2 = static_cast< int >(val2);
3949 if (obj2) {
3950 ecode3 = SWIG_AsVal_int(obj2, &val3);
3951 if (!SWIG_IsOK(ecode3)) {
3952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3953 }
3954 arg3 = static_cast< int >(val3);
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->SetLeftIndent(arg2,arg3);
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 resultobj = SWIG_Py_Void();
3963 return resultobj;
3964fail:
3965 return NULL;
3966}
3967
3968
3969SWIGINTERN PyObject *_wrap_RichTextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj = 0;
3971 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3972 int arg2 ;
3973 void *argp1 = 0 ;
3974 int res1 = 0 ;
3975 int val2 ;
3976 int ecode2 = 0 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char * kwnames[] = {
3980 (char *) "self",(char *) "indent", NULL
3981 };
3982
3983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
3984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3985 if (!SWIG_IsOK(res1)) {
3986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3987 }
3988 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3989 ecode2 = SWIG_AsVal_int(obj1, &val2);
3990 if (!SWIG_IsOK(ecode2)) {
3991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3992 }
3993 arg2 = static_cast< int >(val2);
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->SetRightIndent(arg2);
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = SWIG_Py_Void();
4001 return resultobj;
4002fail:
4003 return NULL;
4004}
4005
4006
4007SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj = 0;
4009 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4010 int arg2 ;
4011 void *argp1 = 0 ;
4012 int res1 = 0 ;
4013 int val2 ;
4014 int ecode2 = 0 ;
4015 PyObject * obj0 = 0 ;
4016 PyObject * obj1 = 0 ;
4017 char * kwnames[] = {
4018 (char *) "self",(char *) "pointSize", NULL
4019 };
4020
4021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4023 if (!SWIG_IsOK(res1)) {
4024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4025 }
4026 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4027 ecode2 = SWIG_AsVal_int(obj1, &val2);
4028 if (!SWIG_IsOK(ecode2)) {
4029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4030 }
4031 arg2 = static_cast< int >(val2);
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 (arg1)->SetFontSize(arg2);
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = SWIG_Py_Void();
4039 return resultobj;
4040fail:
4041 return NULL;
4042}
4043
4044
4045SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj = 0;
4047 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4048 int arg2 ;
4049 void *argp1 = 0 ;
4050 int res1 = 0 ;
4051 int val2 ;
4052 int ecode2 = 0 ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 char * kwnames[] = {
4056 (char *) "self",(char *) "fontStyle", NULL
4057 };
4058
4059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4061 if (!SWIG_IsOK(res1)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4063 }
4064 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4065 ecode2 = SWIG_AsVal_int(obj1, &val2);
4066 if (!SWIG_IsOK(ecode2)) {
4067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
4068 }
4069 arg2 = static_cast< int >(val2);
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 (arg1)->SetFontStyle(arg2);
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 resultobj = SWIG_Py_Void();
4077 return resultobj;
4078fail:
4079 return NULL;
4080}
4081
4082
4083SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4084 PyObject *resultobj = 0;
4085 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4086 int arg2 ;
4087 void *argp1 = 0 ;
4088 int res1 = 0 ;
4089 int val2 ;
4090 int ecode2 = 0 ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093 char * kwnames[] = {
4094 (char *) "self",(char *) "fontWeight", NULL
4095 };
4096
4097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail;
4098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4099 if (!SWIG_IsOK(res1)) {
4100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4101 }
4102 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4103 ecode2 = SWIG_AsVal_int(obj1, &val2);
4104 if (!SWIG_IsOK(ecode2)) {
4105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4106 }
4107 arg2 = static_cast< int >(val2);
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 (arg1)->SetFontWeight(arg2);
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 resultobj = SWIG_Py_Void();
4115 return resultobj;
4116fail:
4117 return NULL;
4118}
4119
4120
4121SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj = 0;
4123 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4124 wxString *arg2 = 0 ;
4125 void *argp1 = 0 ;
4126 int res1 = 0 ;
4127 bool temp2 = false ;
4128 PyObject * obj0 = 0 ;
4129 PyObject * obj1 = 0 ;
4130 char * kwnames[] = {
4131 (char *) "self",(char *) "faceName", NULL
4132 };
4133
4134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
4135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4138 }
4139 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4140 {
4141 arg2 = wxString_in_helper(obj1);
4142 if (arg2 == NULL) SWIG_fail;
4143 temp2 = true;
4144 }
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 (arg1)->SetFontFaceName((wxString const &)*arg2);
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = SWIG_Py_Void();
4152 {
4153 if (temp2)
4154 delete arg2;
4155 }
4156 return resultobj;
4157fail:
4158 {
4159 if (temp2)
4160 delete arg2;
4161 }
4162 return NULL;
4163}
4164
4165
4166SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj = 0;
4168 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4169 bool arg2 ;
4170 void *argp1 = 0 ;
4171 int res1 = 0 ;
4172 bool val2 ;
4173 int ecode2 = 0 ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "underlined", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4184 }
4185 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4186 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4187 if (!SWIG_IsOK(ecode2)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4189 }
4190 arg2 = static_cast< bool >(val2);
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->SetFontUnderlined(arg2);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_Py_Void();
4198 return resultobj;
4199fail:
4200 return NULL;
4201}
4202
4203
4204SWIGINTERN PyObject *_wrap_RichTextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj = 0;
4206 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4207 long arg2 ;
4208 void *argp1 = 0 ;
4209 int res1 = 0 ;
4210 long val2 ;
4211 int ecode2 = 0 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char * kwnames[] = {
4215 (char *) "self",(char *) "flags", NULL
4216 };
4217
4218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
4219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4220 if (!SWIG_IsOK(res1)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4222 }
4223 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4224 ecode2 = SWIG_AsVal_long(obj1, &val2);
4225 if (!SWIG_IsOK(ecode2)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4227 }
4228 arg2 = static_cast< long >(val2);
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 (arg1)->SetFlags(arg2);
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = SWIG_Py_Void();
4236 return resultobj;
4237fail:
4238 return NULL;
4239}
4240
4241
4242SWIGINTERN PyObject *_wrap_RichTextAttr_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj = 0;
4244 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4245 wxString *arg2 = 0 ;
4246 void *argp1 = 0 ;
4247 int res1 = 0 ;
4248 bool temp2 = false ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 char * kwnames[] = {
4252 (char *) "self",(char *) "name", NULL
4253 };
4254
4255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4257 if (!SWIG_IsOK(res1)) {
4258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4259 }
4260 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4261 {
4262 arg2 = wxString_in_helper(obj1);
4263 if (arg2 == NULL) SWIG_fail;
4264 temp2 = true;
4265 }
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 (arg1)->SetCharacterStyleName((wxString const &)*arg2);
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 resultobj = SWIG_Py_Void();
4273 {
4274 if (temp2)
4275 delete arg2;
4276 }
4277 return resultobj;
4278fail:
4279 {
4280 if (temp2)
4281 delete arg2;
4282 }
4283 return NULL;
4284}
4285
4286
4287SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj = 0;
4289 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4290 wxString *arg2 = 0 ;
4291 void *argp1 = 0 ;
4292 int res1 = 0 ;
4293 bool temp2 = false ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 char * kwnames[] = {
4297 (char *) "self",(char *) "name", NULL
4298 };
4299
4300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4302 if (!SWIG_IsOK(res1)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4304 }
4305 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4306 {
4307 arg2 = wxString_in_helper(obj1);
4308 if (arg2 == NULL) SWIG_fail;
4309 temp2 = true;
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 (arg1)->SetParagraphStyleName((wxString const &)*arg2);
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 resultobj = SWIG_Py_Void();
4318 {
4319 if (temp2)
4320 delete arg2;
4321 }
4322 return resultobj;
4323fail:
4324 {
4325 if (temp2)
4326 delete arg2;
4327 }
4328 return NULL;
4329}
4330
4331
4332SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj = 0;
4334 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4335 int arg2 ;
4336 void *argp1 = 0 ;
4337 int res1 = 0 ;
4338 int val2 ;
4339 int ecode2 = 0 ;
4340 PyObject * obj0 = 0 ;
4341 PyObject * obj1 = 0 ;
4342 char * kwnames[] = {
4343 (char *) "self",(char *) "spacing", NULL
4344 };
4345
4346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
4347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4348 if (!SWIG_IsOK(res1)) {
4349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4350 }
4351 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4352 ecode2 = SWIG_AsVal_int(obj1, &val2);
4353 if (!SWIG_IsOK(ecode2)) {
4354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4355 }
4356 arg2 = static_cast< int >(val2);
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 (arg1)->SetParagraphSpacingAfter(arg2);
4360 wxPyEndAllowThreads(__tstate);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 resultobj = SWIG_Py_Void();
4364 return resultobj;
4365fail:
4366 return NULL;
4367}
4368
4369
4370SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4371 PyObject *resultobj = 0;
4372 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4373 int arg2 ;
4374 void *argp1 = 0 ;
4375 int res1 = 0 ;
4376 int val2 ;
4377 int ecode2 = 0 ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 char * kwnames[] = {
4381 (char *) "self",(char *) "spacing", NULL
4382 };
4383
4384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
4385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4386 if (!SWIG_IsOK(res1)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4388 }
4389 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4390 ecode2 = SWIG_AsVal_int(obj1, &val2);
4391 if (!SWIG_IsOK(ecode2)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4393 }
4394 arg2 = static_cast< int >(val2);
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->SetParagraphSpacingBefore(arg2);
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_Py_Void();
4402 return resultobj;
4403fail:
4404 return NULL;
4405}
4406
4407
4408SWIGINTERN PyObject *_wrap_RichTextAttr_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj = 0;
4410 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4411 int arg2 ;
4412 void *argp1 = 0 ;
4413 int res1 = 0 ;
4414 int val2 ;
4415 int ecode2 = 0 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char * kwnames[] = {
4419 (char *) "self",(char *) "spacing", NULL
4420 };
4421
4422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
4423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4424 if (!SWIG_IsOK(res1)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4426 }
4427 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4428 ecode2 = SWIG_AsVal_int(obj1, &val2);
4429 if (!SWIG_IsOK(ecode2)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4431 }
4432 arg2 = static_cast< int >(val2);
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 (arg1)->SetLineSpacing(arg2);
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 resultobj = SWIG_Py_Void();
4440 return resultobj;
4441fail:
4442 return NULL;
4443}
4444
4445
4446SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj = 0;
4448 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4449 int arg2 ;
4450 void *argp1 = 0 ;
4451 int res1 = 0 ;
4452 int val2 ;
4453 int ecode2 = 0 ;
4454 PyObject * obj0 = 0 ;
4455 PyObject * obj1 = 0 ;
4456 char * kwnames[] = {
4457 (char *) "self",(char *) "style", NULL
4458 };
4459
4460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4462 if (!SWIG_IsOK(res1)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4464 }
4465 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4466 ecode2 = SWIG_AsVal_int(obj1, &val2);
4467 if (!SWIG_IsOK(ecode2)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4469 }
4470 arg2 = static_cast< int >(val2);
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 (arg1)->SetBulletStyle(arg2);
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 resultobj = SWIG_Py_Void();
4478 return resultobj;
4479fail:
4480 return NULL;
4481}
4482
4483
4484SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj = 0;
4486 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4487 int arg2 ;
4488 void *argp1 = 0 ;
4489 int res1 = 0 ;
4490 int val2 ;
4491 int ecode2 = 0 ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "n", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4502 }
4503 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 (arg1)->SetBulletNumber(arg2);
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 resultobj = SWIG_Py_Void();
4516 return resultobj;
4517fail:
4518 return NULL;
4519}
4520
4521
4522SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj = 0;
4524 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4525 wxChar arg2 ;
4526 void *argp1 = 0 ;
4527 int res1 = 0 ;
4528 void *argp2 ;
4529 int res2 = 0 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char * kwnames[] = {
4533 (char *) "self",(char *) "symbol", NULL
4534 };
4535
4536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
4537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4538 if (!SWIG_IsOK(res1)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4540 }
4541 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4542 {
4543 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar, 0 | 0);
4544 if (!SWIG_IsOK(res2)) {
4545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4546 }
4547 if (!argp2) {
4548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_SetBulletSymbol" "', expected argument " "2"" of type '" "wxChar""'");
4549 } else {
4550 wxChar * temp = reinterpret_cast< wxChar * >(argp2);
4551 arg2 = *temp;
4552 if (SWIG_IsNewObj(res2)) delete temp;
4553 }
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->SetBulletSymbol(arg2);
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_Py_Void();
4562 return resultobj;
4563fail:
4564 return NULL;
4565}
4566
4567
4568SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4569 PyObject *resultobj = 0;
4570 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4571 wxColour *result = 0 ;
4572 void *argp1 = 0 ;
4573 int res1 = 0 ;
4574 PyObject *swig_obj[1] ;
4575
4576 if (!args) SWIG_fail;
4577 swig_obj[0] = args;
4578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4579 if (!SWIG_IsOK(res1)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4581 }
4582 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 {
4586 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour();
4587 result = (wxColour *) &_result_ref;
4588 }
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4593 return resultobj;
4594fail:
4595 return NULL;
4596}
4597
4598
4599SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4600 PyObject *resultobj = 0;
4601 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4602 wxColour *result = 0 ;
4603 void *argp1 = 0 ;
4604 int res1 = 0 ;
4605 PyObject *swig_obj[1] ;
4606
4607 if (!args) SWIG_fail;
4608 swig_obj[0] = args;
4609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4610 if (!SWIG_IsOK(res1)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4612 }
4613 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 {
4617 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour();
4618 result = (wxColour *) &_result_ref;
4619 }
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4624 return resultobj;
4625fail:
4626 return NULL;
4627}
4628
4629
4630SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4631 PyObject *resultobj = 0;
4632 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4633 wxTextAttrAlignment result;
4634 void *argp1 = 0 ;
4635 int res1 = 0 ;
4636 PyObject *swig_obj[1] ;
4637
4638 if (!args) SWIG_fail;
4639 swig_obj[0] = args;
4640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4641 if (!SWIG_IsOK(res1)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4643 }
4644 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment();
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 resultobj = SWIG_From_int(static_cast< int >(result));
4652 return resultobj;
4653fail:
4654 return NULL;
4655}
4656
4657
4658SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4659 PyObject *resultobj = 0;
4660 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4661 wxArrayInt *result = 0 ;
4662 void *argp1 = 0 ;
4663 int res1 = 0 ;
4664 PyObject *swig_obj[1] ;
4665
4666 if (!args) SWIG_fail;
4667 swig_obj[0] = args;
4668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4669 if (!SWIG_IsOK(res1)) {
4670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4671 }
4672 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 {
4676 wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs();
4677 result = (wxArrayInt *) &_result_ref;
4678 }
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 {
4683 resultobj = PyList_New(0);
4684 size_t idx;
4685 for (idx = 0; idx < result->GetCount(); idx += 1) {
4686 PyObject* val = PyInt_FromLong( result->Item(idx) );
4687 PyList_Append(resultobj, val);
4688 Py_DECREF(val);
4689 }
4690 }
4691 return resultobj;
4692fail:
4693 return NULL;
4694}
4695
4696
4697SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4698 PyObject *resultobj = 0;
4699 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4700 long result;
4701 void *argp1 = 0 ;
4702 int res1 = 0 ;
4703 PyObject *swig_obj[1] ;
4704
4705 if (!args) SWIG_fail;
4706 swig_obj[0] = args;
4707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4708 if (!SWIG_IsOK(res1)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4710 }
4711 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent();
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 resultobj = SWIG_From_long(static_cast< long >(result));
4719 return resultobj;
4720fail:
4721 return NULL;
4722}
4723
4724
4725SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4726 PyObject *resultobj = 0;
4727 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4728 long result;
4729 void *argp1 = 0 ;
4730 int res1 = 0 ;
4731 PyObject *swig_obj[1] ;
4732
4733 if (!args) SWIG_fail;
4734 swig_obj[0] = args;
4735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4736 if (!SWIG_IsOK(res1)) {
4737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4738 }
4739 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent();
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 resultobj = SWIG_From_long(static_cast< long >(result));
4747 return resultobj;
4748fail:
4749 return NULL;
4750}
4751
4752
4753SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4754 PyObject *resultobj = 0;
4755 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4756 long result;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 PyObject *swig_obj[1] ;
4760
4761 if (!args) SWIG_fail;
4762 swig_obj[0] = args;
4763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4764 if (!SWIG_IsOK(res1)) {
4765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4766 }
4767 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent();
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = SWIG_From_long(static_cast< long >(result));
4775 return resultobj;
4776fail:
4777 return NULL;
4778}
4779
4780
4781SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4782 PyObject *resultobj = 0;
4783 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4784 long result;
4785 void *argp1 = 0 ;
4786 int res1 = 0 ;
4787 PyObject *swig_obj[1] ;
4788
4789 if (!args) SWIG_fail;
4790 swig_obj[0] = args;
4791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4792 if (!SWIG_IsOK(res1)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4794 }
4795 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = (long)((wxRichTextAttr const *)arg1)->GetFlags();
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_From_long(static_cast< long >(result));
4803 return resultobj;
4804fail:
4805 return NULL;
4806}
4807
4808
4809SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4810 PyObject *resultobj = 0;
4811 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4812 int result;
4813 void *argp1 = 0 ;
4814 int res1 = 0 ;
4815 PyObject *swig_obj[1] ;
4816
4817 if (!args) SWIG_fail;
4818 swig_obj[0] = args;
4819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4820 if (!SWIG_IsOK(res1)) {
4821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4822 }
4823 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (int)((wxRichTextAttr const *)arg1)->GetFontSize();
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 resultobj = SWIG_From_int(static_cast< int >(result));
4831 return resultobj;
4832fail:
4833 return NULL;
4834}
4835
4836
4837SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4838 PyObject *resultobj = 0;
4839 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4840 int result;
4841 void *argp1 = 0 ;
4842 int res1 = 0 ;
4843 PyObject *swig_obj[1] ;
4844
4845 if (!args) SWIG_fail;
4846 swig_obj[0] = args;
4847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4848 if (!SWIG_IsOK(res1)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4850 }
4851 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle();
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_From_int(static_cast< int >(result));
4859 return resultobj;
4860fail:
4861 return NULL;
4862}
4863
4864
4865SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4866 PyObject *resultobj = 0;
4867 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4868 int result;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 PyObject *swig_obj[1] ;
4872
4873 if (!args) SWIG_fail;
4874 swig_obj[0] = args;
4875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4878 }
4879 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight();
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 resultobj = SWIG_From_int(static_cast< int >(result));
4887 return resultobj;
4888fail:
4889 return NULL;
4890}
4891
4892
4893SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4894 PyObject *resultobj = 0;
4895 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4896 bool result;
4897 void *argp1 = 0 ;
4898 int res1 = 0 ;
4899 PyObject *swig_obj[1] ;
4900
4901 if (!args) SWIG_fail;
4902 swig_obj[0] = args;
4903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4904 if (!SWIG_IsOK(res1)) {
4905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4906 }
4907 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined();
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4916 }
4917 return resultobj;
4918fail:
4919 return NULL;
4920}
4921
4922
4923SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4924 PyObject *resultobj = 0;
4925 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4926 wxString *result = 0 ;
4927 void *argp1 = 0 ;
4928 int res1 = 0 ;
4929 PyObject *swig_obj[1] ;
4930
4931 if (!args) SWIG_fail;
4932 swig_obj[0] = args;
4933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4936 }
4937 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 {
4941 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName();
4942 result = (wxString *) &_result_ref;
4943 }
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 {
4948#if wxUSE_UNICODE
4949 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4950#else
4951 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4952#endif
4953 }
4954 return resultobj;
4955fail:
4956 return NULL;
4957}
4958
4959
4960SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4961 PyObject *resultobj = 0;
4962 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4963 wxString *result = 0 ;
4964 void *argp1 = 0 ;
4965 int res1 = 0 ;
4966 PyObject *swig_obj[1] ;
4967
4968 if (!args) SWIG_fail;
4969 swig_obj[0] = args;
4970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4971 if (!SWIG_IsOK(res1)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4973 }
4974 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 {
4978 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName();
4979 result = (wxString *) &_result_ref;
4980 }
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 {
4985#if wxUSE_UNICODE
4986 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4987#else
4988 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4989#endif
4990 }
4991 return resultobj;
4992fail:
4993 return NULL;
4994}
4995
4996
4997SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4998 PyObject *resultobj = 0;
4999 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5000 wxString *result = 0 ;
5001 void *argp1 = 0 ;
5002 int res1 = 0 ;
5003 PyObject *swig_obj[1] ;
5004
5005 if (!args) SWIG_fail;
5006 swig_obj[0] = args;
5007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5008 if (!SWIG_IsOK(res1)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5010 }
5011 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 {
5015 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName();
5016 result = (wxString *) &_result_ref;
5017 }
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 {
5022#if wxUSE_UNICODE
5023 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5024#else
5025 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5026#endif
5027 }
5028 return resultobj;
5029fail:
5030 return NULL;
5031}
5032
5033
5034SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5035 PyObject *resultobj = 0;
5036 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5037 int result;
5038 void *argp1 = 0 ;
5039 int res1 = 0 ;
5040 PyObject *swig_obj[1] ;
5041
5042 if (!args) SWIG_fail;
5043 swig_obj[0] = args;
5044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5045 if (!SWIG_IsOK(res1)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5047 }
5048 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter();
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057fail:
5058 return NULL;
5059}
5060
5061
5062SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5063 PyObject *resultobj = 0;
5064 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5065 int result;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 PyObject *swig_obj[1] ;
5069
5070 if (!args) SWIG_fail;
5071 swig_obj[0] = args;
5072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5073 if (!SWIG_IsOK(res1)) {
5074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5075 }
5076 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore();
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_From_int(static_cast< int >(result));
5084 return resultobj;
5085fail:
5086 return NULL;
5087}
5088
5089
5090SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *resultobj = 0;
5092 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5093 int result;
5094 void *argp1 = 0 ;
5095 int res1 = 0 ;
5096 PyObject *swig_obj[1] ;
5097
5098 if (!args) SWIG_fail;
5099 swig_obj[0] = args;
5100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5103 }
5104 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing();
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_From_int(static_cast< int >(result));
5112 return resultobj;
5113fail:
5114 return NULL;
5115}
5116
5117
5118SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5119 PyObject *resultobj = 0;
5120 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5121 int result;
5122 void *argp1 = 0 ;
5123 int res1 = 0 ;
5124 PyObject *swig_obj[1] ;
5125
5126 if (!args) SWIG_fail;
5127 swig_obj[0] = args;
5128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5129 if (!SWIG_IsOK(res1)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5131 }
5132 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle();
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 resultobj = SWIG_From_int(static_cast< int >(result));
5140 return resultobj;
5141fail:
5142 return NULL;
5143}
5144
5145
5146SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5147 PyObject *resultobj = 0;
5148 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5149 int result;
5150 void *argp1 = 0 ;
5151 int res1 = 0 ;
5152 PyObject *swig_obj[1] ;
5153
5154 if (!args) SWIG_fail;
5155 swig_obj[0] = args;
5156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5157 if (!SWIG_IsOK(res1)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5159 }
5160 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber();
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_From_int(static_cast< int >(result));
5168 return resultobj;
5169fail:
5170 return NULL;
5171}
5172
5173
5174SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5175 PyObject *resultobj = 0;
5176 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5177 wxChar result;
5178 void *argp1 = 0 ;
5179 int res1 = 0 ;
5180 PyObject *swig_obj[1] ;
5181
5182 if (!args) SWIG_fail;
5183 swig_obj[0] = args;
5184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5185 if (!SWIG_IsOK(res1)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5187 }
5188 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = ((wxRichTextAttr const *)arg1)->GetBulletSymbol();
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_NewPointerObj((new wxChar(static_cast< const wxChar& >(result))), SWIGTYPE_p_wxChar, SWIG_POINTER_OWN | 0 );
5196 return resultobj;
5197fail:
5198 return NULL;
5199}
5200
5201
5202SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5203 PyObject *resultobj = 0;
5204 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5205 bool result;
5206 void *argp1 = 0 ;
5207 int res1 = 0 ;
5208 PyObject *swig_obj[1] ;
5209
5210 if (!args) SWIG_fail;
5211 swig_obj[0] = args;
5212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5213 if (!SWIG_IsOK(res1)) {
5214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5215 }
5216 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour();
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 {
5224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5225 }
5226 return resultobj;
5227fail:
5228 return NULL;
5229}
5230
5231
5232SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5233 PyObject *resultobj = 0;
5234 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5235 bool result;
5236 void *argp1 = 0 ;
5237 int res1 = 0 ;
5238 PyObject *swig_obj[1] ;
5239
5240 if (!args) SWIG_fail;
5241 swig_obj[0] = args;
5242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5243 if (!SWIG_IsOK(res1)) {
5244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5245 }
5246 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour();
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 {
5254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5255 }
5256 return resultobj;
5257fail:
5258 return NULL;
5259}
5260
5261
5262SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5263 PyObject *resultobj = 0;
5264 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5265 bool result;
5266 void *argp1 = 0 ;
5267 int res1 = 0 ;
5268 PyObject *swig_obj[1] ;
5269
5270 if (!args) SWIG_fail;
5271 swig_obj[0] = args;
5272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5273 if (!SWIG_IsOK(res1)) {
5274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5275 }
5276 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment();
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 {
5284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5285 }
5286 return resultobj;
5287fail:
5288 return NULL;
5289}
5290
5291
5292SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5293 PyObject *resultobj = 0;
5294 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5295 bool result;
5296 void *argp1 = 0 ;
5297 int res1 = 0 ;
5298 PyObject *swig_obj[1] ;
5299
5300 if (!args) SWIG_fail;
5301 swig_obj[0] = args;
5302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5303 if (!SWIG_IsOK(res1)) {
5304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5305 }
5306 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (bool)((wxRichTextAttr const *)arg1)->HasTabs();
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 {
5314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5315 }
5316 return resultobj;
5317fail:
5318 return NULL;
5319}
5320
5321
5322SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5323 PyObject *resultobj = 0;
5324 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5325 bool result;
5326 void *argp1 = 0 ;
5327 int res1 = 0 ;
5328 PyObject *swig_obj[1] ;
5329
5330 if (!args) SWIG_fail;
5331 swig_obj[0] = args;
5332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5333 if (!SWIG_IsOK(res1)) {
5334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5335 }
5336 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5337 {
5338 PyThreadState* __tstate = wxPyBeginAllowThreads();
5339 result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent();
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 {
5344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5345 }
5346 return resultobj;
5347fail:
5348 return NULL;
5349}
5350
5351
5352SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5353 PyObject *resultobj = 0;
5354 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5355 bool result;
5356 void *argp1 = 0 ;
5357 int res1 = 0 ;
5358 PyObject *swig_obj[1] ;
5359
5360 if (!args) SWIG_fail;
5361 swig_obj[0] = args;
5362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5363 if (!SWIG_IsOK(res1)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5365 }
5366 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent();
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5375 }
5376 return resultobj;
5377fail:
5378 return NULL;
5379}
5380
5381
5382SWIGINTERN PyObject *_wrap_RichTextAttr_HasWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5383 PyObject *resultobj = 0;
5384 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5385 bool result;
5386 void *argp1 = 0 ;
5387 int res1 = 0 ;
5388 PyObject *swig_obj[1] ;
5389
5390 if (!args) SWIG_fail;
5391 swig_obj[0] = args;
5392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5393 if (!SWIG_IsOK(res1)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5395 }
5396 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (bool)((wxRichTextAttr const *)arg1)->HasWeight();
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 {
5404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5405 }
5406 return resultobj;
5407fail:
5408 return NULL;
5409}
5410
5411
5412SWIGINTERN PyObject *_wrap_RichTextAttr_HasSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5413 PyObject *resultobj = 0;
5414 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5415 bool result;
5416 void *argp1 = 0 ;
5417 int res1 = 0 ;
5418 PyObject *swig_obj[1] ;
5419
5420 if (!args) SWIG_fail;
5421 swig_obj[0] = args;
5422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5423 if (!SWIG_IsOK(res1)) {
5424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5425 }
5426 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 result = (bool)((wxRichTextAttr const *)arg1)->HasSize();
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 {
5434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5435 }
5436 return resultobj;
5437fail:
5438 return NULL;
5439}
5440
5441
5442SWIGINTERN PyObject *_wrap_RichTextAttr_HasItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5443 PyObject *resultobj = 0;
5444 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5445 bool result;
5446 void *argp1 = 0 ;
5447 int res1 = 0 ;
5448 PyObject *swig_obj[1] ;
5449
5450 if (!args) SWIG_fail;
5451 swig_obj[0] = args;
5452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5453 if (!SWIG_IsOK(res1)) {
5454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5455 }
5456 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (bool)((wxRichTextAttr const *)arg1)->HasItalic();
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 {
5464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5465 }
5466 return resultobj;
5467fail:
5468 return NULL;
5469}
5470
5471
5472SWIGINTERN PyObject *_wrap_RichTextAttr_HasUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5473 PyObject *resultobj = 0;
5474 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5475 bool result;
5476 void *argp1 = 0 ;
5477 int res1 = 0 ;
5478 PyObject *swig_obj[1] ;
5479
5480 if (!args) SWIG_fail;
5481 swig_obj[0] = args;
5482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5483 if (!SWIG_IsOK(res1)) {
5484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5485 }
5486 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (bool)((wxRichTextAttr const *)arg1)->HasUnderlined();
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 {
5494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5495 }
5496 return resultobj;
5497fail:
5498 return NULL;
5499}
5500
5501
5502SWIGINTERN PyObject *_wrap_RichTextAttr_HasFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5503 PyObject *resultobj = 0;
5504 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5505 bool result;
5506 void *argp1 = 0 ;
5507 int res1 = 0 ;
5508 PyObject *swig_obj[1] ;
5509
5510 if (!args) SWIG_fail;
5511 swig_obj[0] = args;
5512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5513 if (!SWIG_IsOK(res1)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5515 }
5516 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = (bool)((wxRichTextAttr const *)arg1)->HasFaceName();
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 {
5524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5525 }
5526 return resultobj;
5527fail:
5528 return NULL;
5529}
5530
5531
5532SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5533 PyObject *resultobj = 0;
5534 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5535 bool result;
5536 void *argp1 = 0 ;
5537 int res1 = 0 ;
5538 PyObject *swig_obj[1] ;
5539
5540 if (!args) SWIG_fail;
5541 swig_obj[0] = args;
5542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5543 if (!SWIG_IsOK(res1)) {
5544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5545 }
5546 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (bool)((wxRichTextAttr const *)arg1)->HasFont();
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5555 }
5556 return resultobj;
5557fail:
5558 return NULL;
5559}
5560
5561
5562SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5563 PyObject *resultobj = 0;
5564 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5565 bool result;
5566 void *argp1 = 0 ;
5567 int res1 = 0 ;
5568 PyObject *swig_obj[1] ;
5569
5570 if (!args) SWIG_fail;
5571 swig_obj[0] = args;
5572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5573 if (!SWIG_IsOK(res1)) {
5574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5575 }
5576 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter();
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 {
5584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5585 }
5586 return resultobj;
5587fail:
5588 return NULL;
5589}
5590
5591
5592SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5593 PyObject *resultobj = 0;
5594 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5595 bool result;
5596 void *argp1 = 0 ;
5597 int res1 = 0 ;
5598 PyObject *swig_obj[1] ;
5599
5600 if (!args) SWIG_fail;
5601 swig_obj[0] = args;
5602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5603 if (!SWIG_IsOK(res1)) {
5604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5605 }
5606 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore();
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 {
5614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5615 }
5616 return resultobj;
5617fail:
5618 return NULL;
5619}
5620
5621
5622SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5623 PyObject *resultobj = 0;
5624 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5625 bool result;
5626 void *argp1 = 0 ;
5627 int res1 = 0 ;
5628 PyObject *swig_obj[1] ;
5629
5630 if (!args) SWIG_fail;
5631 swig_obj[0] = args;
5632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5633 if (!SWIG_IsOK(res1)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5635 }
5636 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing();
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5645 }
5646 return resultobj;
5647fail:
5648 return NULL;
5649}
5650
5651
5652SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5653 PyObject *resultobj = 0;
5654 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5655 bool result;
5656 void *argp1 = 0 ;
5657 int res1 = 0 ;
5658 PyObject *swig_obj[1] ;
5659
5660 if (!args) SWIG_fail;
5661 swig_obj[0] = args;
5662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5665 }
5666 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName();
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5675 }
5676 return resultobj;
5677fail:
5678 return NULL;
5679}
5680
5681
5682SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5683 PyObject *resultobj = 0;
5684 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5685 bool result;
5686 void *argp1 = 0 ;
5687 int res1 = 0 ;
5688 PyObject *swig_obj[1] ;
5689
5690 if (!args) SWIG_fail;
5691 swig_obj[0] = args;
5692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5693 if (!SWIG_IsOK(res1)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5695 }
5696 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName();
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5705 }
5706 return resultobj;
5707fail:
5708 return NULL;
5709}
5710
5711
5712SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5713 PyObject *resultobj = 0;
5714 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5715 bool result;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 PyObject *swig_obj[1] ;
5719
5720 if (!args) SWIG_fail;
5721 swig_obj[0] = args;
5722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5723 if (!SWIG_IsOK(res1)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5725 }
5726 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle();
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5735 }
5736 return resultobj;
5737fail:
5738 return NULL;
5739}
5740
5741
5742SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5743 PyObject *resultobj = 0;
5744 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5745 bool result;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 PyObject *swig_obj[1] ;
5749
5750 if (!args) SWIG_fail;
5751 swig_obj[0] = args;
5752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5753 if (!SWIG_IsOK(res1)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5755 }
5756 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber();
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 {
5764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5765 }
5766 return resultobj;
5767fail:
5768 return NULL;
5769}
5770
5771
5772SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5773 PyObject *resultobj = 0;
5774 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5775 bool result;
5776 void *argp1 = 0 ;
5777 int res1 = 0 ;
5778 PyObject *swig_obj[1] ;
5779
5780 if (!args) SWIG_fail;
5781 swig_obj[0] = args;
5782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5783 if (!SWIG_IsOK(res1)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletSymbol" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5785 }
5786 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletSymbol();
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797fail:
5798 return NULL;
5799}
5800
5801
5802SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj = 0;
5804 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5805 long arg2 ;
5806 bool result;
5807 void *argp1 = 0 ;
5808 int res1 = 0 ;
5809 long val2 ;
5810 int ecode2 = 0 ;
5811 PyObject * obj0 = 0 ;
5812 PyObject * obj1 = 0 ;
5813 char * kwnames[] = {
5814 (char *) "self",(char *) "flag", NULL
5815 };
5816
5817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5819 if (!SWIG_IsOK(res1)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5821 }
5822 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5823 ecode2 = SWIG_AsVal_long(obj1, &val2);
5824 if (!SWIG_IsOK(ecode2)) {
5825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5826 }
5827 arg2 = static_cast< long >(val2);
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2);
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 {
5835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5836 }
5837 return resultobj;
5838fail:
5839 return NULL;
5840}
5841
5842
5843SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5844 PyObject *resultobj = 0;
5845 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5846 bool result;
5847 void *argp1 = 0 ;
5848 int res1 = 0 ;
5849 PyObject *swig_obj[1] ;
5850
5851 if (!args) SWIG_fail;
5852 swig_obj[0] = args;
5853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5854 if (!SWIG_IsOK(res1)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5856 }
5857 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle();
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5866 }
5867 return resultobj;
5868fail:
5869 return NULL;
5870}
5871
5872
5873SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5874 PyObject *resultobj = 0;
5875 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5876 bool result;
5877 void *argp1 = 0 ;
5878 int res1 = 0 ;
5879 PyObject *swig_obj[1] ;
5880
5881 if (!args) SWIG_fail;
5882 swig_obj[0] = args;
5883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5884 if (!SWIG_IsOK(res1)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5886 }
5887 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle();
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 {
5895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5896 }
5897 return resultobj;
5898fail:
5899 return NULL;
5900}
5901
5902
5903SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5904 PyObject *resultobj = 0;
5905 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5906 bool result;
5907 void *argp1 = 0 ;
5908 int res1 = 0 ;
5909 PyObject *swig_obj[1] ;
5910
5911 if (!args) SWIG_fail;
5912 swig_obj[0] = args;
5913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5914 if (!SWIG_IsOK(res1)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5916 }
5917 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (bool)((wxRichTextAttr const *)arg1)->IsDefault();
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 {
5925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5926 }
5927 return resultobj;
5928fail:
5929 return NULL;
5930}
5931
5932
5933SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5934 PyObject *obj;
5935 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5936 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj));
5937 return SWIG_Py_Void();
5938}
5939
5940SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5941 return SWIG_Python_InitShadowInstance(args);
5942}
5943
5944SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj = 0;
5946 wxWindow *arg1 = (wxWindow *) 0 ;
5947 int arg2 = (int) -1 ;
0ef86618
RD
5948 wxString const &arg3_defvalue = wxPyEmptyString ;
5949 wxString *arg3 = (wxString *) &arg3_defvalue ;
5950 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5951 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5952 wxSize const &arg5_defvalue = wxDefaultSize ;
5953 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5954 long arg6 = (long) wxRE_MULTILINE ;
f05326ba
RD
5955 wxRichTextCtrl *result = 0 ;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 int val2 ;
5959 int ecode2 = 0 ;
0ef86618
RD
5960 bool temp3 = false ;
5961 wxPoint temp4 ;
5962 wxSize temp5 ;
5963 long val6 ;
5964 int ecode6 = 0 ;
f05326ba
RD
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 PyObject * obj2 = 0 ;
5968 PyObject * obj3 = 0 ;
5969 PyObject * obj4 = 0 ;
0ef86618 5970 PyObject * obj5 = 0 ;
f05326ba 5971 char * kwnames[] = {
0ef86618 5972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
f05326ba
RD
5973 };
5974
0ef86618 5975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
f05326ba
RD
5976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5977 if (!SWIG_IsOK(res1)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5979 }
5980 arg1 = reinterpret_cast< wxWindow * >(argp1);
5981 if (obj1) {
5982 ecode2 = SWIG_AsVal_int(obj1, &val2);
5983 if (!SWIG_IsOK(ecode2)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5985 }
5986 arg2 = static_cast< int >(val2);
5987 }
5988 if (obj2) {
5989 {
0ef86618
RD
5990 arg3 = wxString_in_helper(obj2);
5991 if (arg3 == NULL) SWIG_fail;
5992 temp3 = true;
f05326ba
RD
5993 }
5994 }
5995 if (obj3) {
5996 {
5997 arg4 = &temp4;
0ef86618 5998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f05326ba
RD
5999 }
6000 }
6001 if (obj4) {
0ef86618
RD
6002 {
6003 arg5 = &temp5;
6004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6005 }
6006 }
6007 if (obj5) {
6008 ecode6 = SWIG_AsVal_long(obj5, &val6);
6009 if (!SWIG_IsOK(ecode6)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
f05326ba 6011 }
0ef86618 6012 arg6 = static_cast< long >(val6);
f05326ba
RD
6013 }
6014 {
6015 if (!wxPyCheckForApp()) SWIG_fail;
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ef86618 6017 result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
f05326ba
RD
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_NEW | 0 );
0ef86618
RD
6022 {
6023 if (temp3)
6024 delete arg3;
6025 }
f05326ba
RD
6026 return resultobj;
6027fail:
0ef86618
RD
6028 {
6029 if (temp3)
6030 delete arg3;
6031 }
f05326ba
RD
6032 return NULL;
6033}
6034
6035
6036SWIGINTERN PyObject *_wrap_new_PreRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6037 PyObject *resultobj = 0;
6038 wxRichTextCtrl *result = 0 ;
6039
6040 if (!SWIG_Python_UnpackTuple(args,"new_PreRichTextCtrl",0,0,0)) SWIG_fail;
6041 {
6042 if (!wxPyCheckForApp()) SWIG_fail;
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (wxRichTextCtrl *)new wxRichTextCtrl();
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_OWN | 0 );
6049 return resultobj;
6050fail:
6051 return NULL;
6052}
6053
6054
6055SWIGINTERN PyObject *_wrap_RichTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj = 0;
6057 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6058 wxWindow *arg2 = (wxWindow *) 0 ;
6059 int arg3 = (int) -1 ;
0ef86618
RD
6060 wxString const &arg4_defvalue = wxPyEmptyString ;
6061 wxString *arg4 = (wxString *) &arg4_defvalue ;
6062 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6063 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6064 wxSize const &arg6_defvalue = wxDefaultSize ;
6065 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6066 long arg7 = (long) wxRE_MULTILINE ;
f05326ba
RD
6067 bool result;
6068 void *argp1 = 0 ;
6069 int res1 = 0 ;
6070 void *argp2 = 0 ;
6071 int res2 = 0 ;
6072 int val3 ;
6073 int ecode3 = 0 ;
0ef86618
RD
6074 bool temp4 = false ;
6075 wxPoint temp5 ;
6076 wxSize temp6 ;
6077 long val7 ;
6078 int ecode7 = 0 ;
f05326ba
RD
6079 PyObject * obj0 = 0 ;
6080 PyObject * obj1 = 0 ;
6081 PyObject * obj2 = 0 ;
6082 PyObject * obj3 = 0 ;
6083 PyObject * obj4 = 0 ;
6084 PyObject * obj5 = 0 ;
0ef86618 6085 PyObject * obj6 = 0 ;
f05326ba 6086 char * kwnames[] = {
0ef86618 6087 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
f05326ba
RD
6088 };
6089
0ef86618 6090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
f05326ba
RD
6091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6092 if (!SWIG_IsOK(res1)) {
6093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6094 }
6095 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6097 if (!SWIG_IsOK(res2)) {
6098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6099 }
6100 arg2 = reinterpret_cast< wxWindow * >(argp2);
6101 if (obj2) {
6102 ecode3 = SWIG_AsVal_int(obj2, &val3);
6103 if (!SWIG_IsOK(ecode3)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6105 }
6106 arg3 = static_cast< int >(val3);
6107 }
6108 if (obj3) {
6109 {
0ef86618
RD
6110 arg4 = wxString_in_helper(obj3);
6111 if (arg4 == NULL) SWIG_fail;
6112 temp4 = true;
f05326ba
RD
6113 }
6114 }
6115 if (obj4) {
6116 {
6117 arg5 = &temp5;
0ef86618 6118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f05326ba
RD
6119 }
6120 }
6121 if (obj5) {
0ef86618
RD
6122 {
6123 arg6 = &temp6;
6124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6125 }
6126 }
6127 if (obj6) {
6128 ecode7 = SWIG_AsVal_long(obj6, &val7);
6129 if (!SWIG_IsOK(ecode7)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
f05326ba 6131 }
0ef86618 6132 arg7 = static_cast< long >(val7);
f05326ba
RD
6133 }
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ef86618 6136 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7);
f05326ba
RD
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
0ef86618
RD
6143 {
6144 if (temp4)
6145 delete arg4;
6146 }
f05326ba
RD
6147 return resultobj;
6148fail:
0ef86618
RD
6149 {
6150 if (temp4)
6151 delete arg4;
6152 }
f05326ba
RD
6153 return NULL;
6154}
6155
6156
6157SWIGINTERN PyObject *_wrap_RichTextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6158 PyObject *resultobj = 0;
6159 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6160 wxString result;
6161 void *argp1 = 0 ;
6162 int res1 = 0 ;
6163 PyObject *swig_obj[1] ;
6164
6165 if (!args) SWIG_fail;
6166 swig_obj[0] = args;
6167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6168 if (!SWIG_IsOK(res1)) {
6169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6170 }
6171 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = ((wxRichTextCtrl const *)arg1)->GetValue();
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179#if wxUSE_UNICODE
6180 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6181#else
6182 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6183#endif
6184 }
6185 return resultobj;
6186fail:
6187 return NULL;
6188}
6189
6190
6191SWIGINTERN PyObject *_wrap_RichTextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj = 0;
6193 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6194 wxString *arg2 = 0 ;
6195 void *argp1 = 0 ;
6196 int res1 = 0 ;
6197 bool temp2 = false ;
6198 PyObject * obj0 = 0 ;
6199 PyObject * obj1 = 0 ;
6200 char * kwnames[] = {
6201 (char *) "self",(char *) "value", NULL
6202 };
6203
6204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
6205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6206 if (!SWIG_IsOK(res1)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6208 }
6209 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6210 {
6211 arg2 = wxString_in_helper(obj1);
6212 if (arg2 == NULL) SWIG_fail;
6213 temp2 = true;
6214 }
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 (arg1)->SetValue((wxString const &)*arg2);
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 resultobj = SWIG_Py_Void();
6222 {
6223 if (temp2)
6224 delete arg2;
6225 }
6226 return resultobj;
6227fail:
6228 {
6229 if (temp2)
6230 delete arg2;
6231 }
6232 return NULL;
6233}
6234
6235
6236SWIGINTERN PyObject *_wrap_RichTextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj = 0;
6238 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6239 long arg2 ;
6240 long arg3 ;
6241 wxString result;
6242 void *argp1 = 0 ;
6243 int res1 = 0 ;
6244 long val2 ;
6245 int ecode2 = 0 ;
6246 long val3 ;
6247 int ecode3 = 0 ;
6248 PyObject * obj0 = 0 ;
6249 PyObject * obj1 = 0 ;
6250 PyObject * obj2 = 0 ;
6251 char * kwnames[] = {
6252 (char *) "self",(char *) "from",(char *) "to", NULL
6253 };
6254
6255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6257 if (!SWIG_IsOK(res1)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6259 }
6260 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6261 ecode2 = SWIG_AsVal_long(obj1, &val2);
6262 if (!SWIG_IsOK(ecode2)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6264 }
6265 arg2 = static_cast< long >(val2);
6266 ecode3 = SWIG_AsVal_long(obj2, &val3);
6267 if (!SWIG_IsOK(ecode3)) {
6268 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6269 }
6270 arg3 = static_cast< long >(val3);
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = ((wxRichTextCtrl const *)arg1)->GetRange(arg2,arg3);
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 {
6278#if wxUSE_UNICODE
6279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6280#else
6281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6282#endif
6283 }
6284 return resultobj;
6285fail:
6286 return NULL;
6287}
6288
6289
6290SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj = 0;
6292 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6293 long arg2 ;
6294 int result;
6295 void *argp1 = 0 ;
6296 int res1 = 0 ;
6297 long val2 ;
6298 int ecode2 = 0 ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 char * kwnames[] = {
6302 (char *) "self",(char *) "lineNo", NULL
6303 };
6304
6305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
6306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6307 if (!SWIG_IsOK(res1)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6309 }
6310 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6311 ecode2 = SWIG_AsVal_long(obj1, &val2);
6312 if (!SWIG_IsOK(ecode2)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6314 }
6315 arg2 = static_cast< long >(val2);
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (int)((wxRichTextCtrl const *)arg1)->GetLineLength(arg2);
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = SWIG_From_int(static_cast< int >(result));
6323 return resultobj;
6324fail:
6325 return NULL;
6326}
6327
6328
6329SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj = 0;
6331 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6332 long arg2 ;
6333 wxString result;
6334 void *argp1 = 0 ;
6335 int res1 = 0 ;
6336 long val2 ;
6337 int ecode2 = 0 ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 char * kwnames[] = {
6341 (char *) "self",(char *) "lineNo", NULL
6342 };
6343
6344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
6345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6346 if (!SWIG_IsOK(res1)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6348 }
6349 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6350 ecode2 = SWIG_AsVal_long(obj1, &val2);
6351 if (!SWIG_IsOK(ecode2)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6353 }
6354 arg2 = static_cast< long >(val2);
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = ((wxRichTextCtrl const *)arg1)->GetLineText(arg2);
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 {
6362#if wxUSE_UNICODE
6363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6364#else
6365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6366#endif
6367 }
6368 return resultobj;
6369fail:
6370 return NULL;
6371}
6372
6373
6374SWIGINTERN PyObject *_wrap_RichTextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6375 PyObject *resultobj = 0;
6376 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6377 int result;
6378 void *argp1 = 0 ;
6379 int res1 = 0 ;
6380 PyObject *swig_obj[1] ;
6381
6382 if (!args) SWIG_fail;
6383 swig_obj[0] = args;
6384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6385 if (!SWIG_IsOK(res1)) {
6386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6387 }
6388 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (int)((wxRichTextCtrl const *)arg1)->GetNumberOfLines();
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 resultobj = SWIG_From_int(static_cast< int >(result));
6396 return resultobj;
6397fail:
6398 return NULL;
6399}
6400
6401
6402SWIGINTERN PyObject *_wrap_RichTextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6403 PyObject *resultobj = 0;
6404 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6405 bool result;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 PyObject *swig_obj[1] ;
6409
6410 if (!args) SWIG_fail;
6411 swig_obj[0] = args;
6412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6413 if (!SWIG_IsOK(res1)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6415 }
6416 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 result = (bool)((wxRichTextCtrl const *)arg1)->IsModified();
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6425 }
6426 return resultobj;
6427fail:
6428 return NULL;
6429}
6430
6431
6432SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6433 PyObject *resultobj = 0;
6434 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6435 bool result;
6436 void *argp1 = 0 ;
6437 int res1 = 0 ;
6438 PyObject *swig_obj[1] ;
6439
6440 if (!args) SWIG_fail;
6441 swig_obj[0] = args;
6442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6443 if (!SWIG_IsOK(res1)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6445 }
6446 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (bool)((wxRichTextCtrl const *)arg1)->IsEditable();
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 {
6454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6455 }
6456 return resultobj;
6457fail:
6458 return NULL;
6459}
6460
6461
6462SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6463 PyObject *resultobj = 0;
6464 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6465 bool result;
6466 void *argp1 = 0 ;
6467 int res1 = 0 ;
6468 PyObject *swig_obj[1] ;
6469
6470 if (!args) SWIG_fail;
6471 swig_obj[0] = args;
6472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6473 if (!SWIG_IsOK(res1)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6475 }
6476 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 result = (bool)((wxRichTextCtrl const *)arg1)->IsSingleLine();
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 {
6484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6485 }
6486 return resultobj;
6487fail:
6488 return NULL;
6489}
6490
6491
6492SWIGINTERN PyObject *_wrap_RichTextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6493 PyObject *resultobj = 0;
6494 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6495 bool result;
6496 void *argp1 = 0 ;
6497 int res1 = 0 ;
6498 PyObject *swig_obj[1] ;
6499
6500 if (!args) SWIG_fail;
6501 swig_obj[0] = args;
6502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6503 if (!SWIG_IsOK(res1)) {
6504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6505 }
6506 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (bool)((wxRichTextCtrl const *)arg1)->IsMultiLine();
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
6514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6515 }
6516 return resultobj;
6517fail:
6518 return NULL;
6519}
6520
6521
6522SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6523 PyObject *resultobj = 0;
6524 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6525 long *arg2 = (long *) 0 ;
6526 long *arg3 = (long *) 0 ;
6527 void *argp1 = 0 ;
6528 int res1 = 0 ;
6529 long temp2 ;
6530 int res2 = SWIG_TMPOBJ ;
6531 long temp3 ;
6532 int res3 = SWIG_TMPOBJ ;
6533 PyObject *swig_obj[1] ;
6534
6535 arg2 = &temp2;
6536 arg3 = &temp3;
6537 if (!args) SWIG_fail;
6538 swig_obj[0] = args;
6539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6542 }
6543 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 ((wxRichTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_Py_Void();
6551 if (SWIG_IsTmpObj(res2)) {
6552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6553 } else {
6554 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6556 }
6557 if (SWIG_IsTmpObj(res3)) {
6558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6559 } else {
6560 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6562 }
6563 return resultobj;
6564fail:
6565 return NULL;
6566}
6567
6568
6569SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6570 PyObject *resultobj = 0;
6571 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6572 wxString result;
6573 void *argp1 = 0 ;
6574 int res1 = 0 ;
6575 PyObject *swig_obj[1] ;
6576
6577 if (!args) SWIG_fail;
6578 swig_obj[0] = args;
6579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6580 if (!SWIG_IsOK(res1)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6582 }
6583 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = ((wxRichTextCtrl const *)arg1)->GetStringSelection();
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 {
6591#if wxUSE_UNICODE
6592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6593#else
6594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6595#endif
6596 }
6597 return resultobj;
6598fail:
6599 return NULL;
6600}
6601
6602
6603SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6604 PyObject *resultobj = 0;
6605 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6606 wxString result;
6607 void *argp1 = 0 ;
6608 int res1 = 0 ;
6609 PyObject *swig_obj[1] ;
6610
6611 if (!args) SWIG_fail;
6612 swig_obj[0] = args;
6613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6614 if (!SWIG_IsOK(res1)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6616 }
6617 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = ((wxRichTextCtrl const *)arg1)->GetFilename();
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625#if wxUSE_UNICODE
6626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6627#else
6628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6629#endif
6630 }
6631 return resultobj;
6632fail:
6633 return NULL;
6634}
6635
6636
6637SWIGINTERN PyObject *_wrap_RichTextCtrl_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj = 0;
6639 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6640 wxString *arg2 = 0 ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 bool temp2 = false ;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj1 = 0 ;
6646 char * kwnames[] = {
6647 (char *) "self",(char *) "filename", NULL
6648 };
6649
6650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
6651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6654 }
6655 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6656 {
6657 arg2 = wxString_in_helper(obj1);
6658 if (arg2 == NULL) SWIG_fail;
6659 temp2 = true;
6660 }
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 (arg1)->SetFilename((wxString const &)*arg2);
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 resultobj = SWIG_Py_Void();
6668 {
6669 if (temp2)
6670 delete arg2;
6671 }
6672 return resultobj;
6673fail:
6674 {
6675 if (temp2)
6676 delete arg2;
6677 }
6678 return NULL;
6679}
6680
6681
6682SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = 0;
6684 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6685 long arg2 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 long val2 ;
6689 int ecode2 = 0 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "self",(char *) "threshold", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames,&obj0,&obj1)) SWIG_fail;
6697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6698 if (!SWIG_IsOK(res1)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6700 }
6701 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6702 ecode2 = SWIG_AsVal_long(obj1, &val2);
6703 if (!SWIG_IsOK(ecode2)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6705 }
6706 arg2 = static_cast< long >(val2);
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->SetDelayedLayoutThreshold(arg2);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715fail:
6716 return NULL;
6717}
6718
6719
6720SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6721 PyObject *resultobj = 0;
6722 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6723 long result;
6724 void *argp1 = 0 ;
6725 int res1 = 0 ;
6726 PyObject *swig_obj[1] ;
6727
6728 if (!args) SWIG_fail;
6729 swig_obj[0] = args;
6730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6733 }
6734 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (long)((wxRichTextCtrl const *)arg1)->GetDelayedLayoutThreshold();
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = SWIG_From_long(static_cast< long >(result));
6742 return resultobj;
6743fail:
6744 return NULL;
6745}
6746
6747
6748SWIGINTERN PyObject *_wrap_RichTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6749 PyObject *resultobj = 0;
6750 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6751 void *argp1 = 0 ;
6752 int res1 = 0 ;
6753 PyObject *swig_obj[1] ;
6754
6755 if (!args) SWIG_fail;
6756 swig_obj[0] = args;
6757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6758 if (!SWIG_IsOK(res1)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6760 }
6761 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 (arg1)->Clear();
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_Py_Void();
6769 return resultobj;
6770fail:
6771 return NULL;
6772}
6773
6774
6775SWIGINTERN PyObject *_wrap_RichTextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj = 0;
6777 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6778 long arg2 ;
6779 long arg3 ;
6780 wxString *arg4 = 0 ;
6781 void *argp1 = 0 ;
6782 int res1 = 0 ;
6783 long val2 ;
6784 int ecode2 = 0 ;
6785 long val3 ;
6786 int ecode3 = 0 ;
6787 bool temp4 = false ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 PyObject * obj2 = 0 ;
6791 PyObject * obj3 = 0 ;
6792 char * kwnames[] = {
6793 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6794 };
6795
6796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6798 if (!SWIG_IsOK(res1)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6800 }
6801 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6802 ecode2 = SWIG_AsVal_long(obj1, &val2);
6803 if (!SWIG_IsOK(ecode2)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6805 }
6806 arg2 = static_cast< long >(val2);
6807 ecode3 = SWIG_AsVal_long(obj2, &val3);
6808 if (!SWIG_IsOK(ecode3)) {
6809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6810 }
6811 arg3 = static_cast< long >(val3);
6812 {
6813 arg4 = wxString_in_helper(obj3);
6814 if (arg4 == NULL) SWIG_fail;
6815 temp4 = true;
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_Py_Void();
6824 {
6825 if (temp4)
6826 delete arg4;
6827 }
6828 return resultobj;
6829fail:
6830 {
6831 if (temp4)
6832 delete arg4;
6833 }
6834 return NULL;
6835}
6836
6837
6838SWIGINTERN PyObject *_wrap_RichTextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj = 0;
6840 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6841 long arg2 ;
6842 long arg3 ;
6843 void *argp1 = 0 ;
6844 int res1 = 0 ;
6845 long val2 ;
6846 int ecode2 = 0 ;
6847 long val3 ;
6848 int ecode3 = 0 ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 PyObject * obj2 = 0 ;
6852 char * kwnames[] = {
6853 (char *) "self",(char *) "from",(char *) "to", NULL
6854 };
6855
6856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6858 if (!SWIG_IsOK(res1)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6860 }
6861 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6862 ecode2 = SWIG_AsVal_long(obj1, &val2);
6863 if (!SWIG_IsOK(ecode2)) {
6864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6865 }
6866 arg2 = static_cast< long >(val2);
6867 ecode3 = SWIG_AsVal_long(obj2, &val3);
6868 if (!SWIG_IsOK(ecode3)) {
6869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6870 }
6871 arg3 = static_cast< long >(val3);
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 (arg1)->Remove(arg2,arg3);
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 resultobj = SWIG_Py_Void();
6879 return resultobj;
6880fail:
6881 return NULL;
6882}
6883
6884
6885SWIGINTERN PyObject *_wrap_RichTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj = 0;
6887 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6888 wxString *arg2 = 0 ;
6889 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6890 bool result;
6891 void *argp1 = 0 ;
6892 int res1 = 0 ;
6893 bool temp2 = false ;
6894 int val3 ;
6895 int ecode3 = 0 ;
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 PyObject * obj2 = 0 ;
6899 char * kwnames[] = {
6900 (char *) "self",(char *) "file",(char *) "type", NULL
6901 };
6902
6903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6905 if (!SWIG_IsOK(res1)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6907 }
6908 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6909 {
6910 arg2 = wxString_in_helper(obj1);
6911 if (arg2 == NULL) SWIG_fail;
6912 temp2 = true;
6913 }
6914 if (obj2) {
6915 ecode3 = SWIG_AsVal_int(obj2, &val3);
6916 if (!SWIG_IsOK(ecode3)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6918 }
6919 arg3 = static_cast< int >(val3);
6920 }
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 {
6928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6929 }
6930 {
6931 if (temp2)
6932 delete arg2;
6933 }
6934 return resultobj;
6935fail:
6936 {
6937 if (temp2)
6938 delete arg2;
6939 }
6940 return NULL;
6941}
6942
6943
6944SWIGINTERN PyObject *_wrap_RichTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj = 0;
6946 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6947 wxString const &arg2_defvalue = wxPyEmptyString ;
6948 wxString *arg2 = (wxString *) &arg2_defvalue ;
6949 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6950 bool result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 bool temp2 = false ;
6954 int val3 ;
6955 int ecode3 = 0 ;
6956 PyObject * obj0 = 0 ;
6957 PyObject * obj1 = 0 ;
6958 PyObject * obj2 = 0 ;
6959 char * kwnames[] = {
6960 (char *) "self",(char *) "file",(char *) "type", NULL
6961 };
6962
6963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6965 if (!SWIG_IsOK(res1)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6967 }
6968 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6969 if (obj1) {
6970 {
6971 arg2 = wxString_in_helper(obj1);
6972 if (arg2 == NULL) SWIG_fail;
6973 temp2 = true;
6974 }
6975 }
6976 if (obj2) {
6977 ecode3 = SWIG_AsVal_int(obj2, &val3);
6978 if (!SWIG_IsOK(ecode3)) {
6979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6980 }
6981 arg3 = static_cast< int >(val3);
6982 }
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6991 }
6992 {
6993 if (temp2)
6994 delete arg2;
6995 }
6996 return resultobj;
6997fail:
6998 {
6999 if (temp2)
7000 delete arg2;
7001 }
7002 return NULL;
7003}
7004
7005
7006SWIGINTERN PyObject *_wrap_RichTextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7007 PyObject *resultobj = 0;
7008 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7009 void *argp1 = 0 ;
7010 int res1 = 0 ;
7011 PyObject *swig_obj[1] ;
7012
7013 if (!args) SWIG_fail;
7014 swig_obj[0] = args;
7015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7016 if (!SWIG_IsOK(res1)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7018 }
7019 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->MarkDirty();
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_Py_Void();
7027 return resultobj;
7028fail:
7029 return NULL;
7030}
7031
7032
7033SWIGINTERN PyObject *_wrap_RichTextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7034 PyObject *resultobj = 0;
7035 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7036 void *argp1 = 0 ;
7037 int res1 = 0 ;
7038 PyObject *swig_obj[1] ;
7039
7040 if (!args) SWIG_fail;
7041 swig_obj[0] = args;
7042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7043 if (!SWIG_IsOK(res1)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7045 }
7046 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->DiscardEdits();
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_Py_Void();
7054 return resultobj;
7055fail:
7056 return NULL;
7057}
7058
7059
7060SWIGINTERN PyObject *_wrap_RichTextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = 0;
7062 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7063 unsigned long arg2 ;
7064 void *argp1 = 0 ;
7065 int res1 = 0 ;
7066 unsigned long val2 ;
7067 int ecode2 = 0 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char * kwnames[] = {
7071 (char *) "self",(char *) "len", NULL
7072 };
7073
7074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
7075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7076 if (!SWIG_IsOK(res1)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7078 }
7079 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7080 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
7081 if (!SWIG_IsOK(ecode2)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7083 }
7084 arg2 = static_cast< unsigned long >(val2);
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->SetMaxLength(arg2);
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 resultobj = SWIG_Py_Void();
7092 return resultobj;
7093fail:
7094 return NULL;
7095}
7096
7097
7098SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj = 0;
7100 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7101 wxString *arg2 = 0 ;
7102 void *argp1 = 0 ;
7103 int res1 = 0 ;
7104 bool temp2 = false ;
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj1 = 0 ;
7107 char * kwnames[] = {
7108 (char *) "self",(char *) "text", NULL
7109 };
7110
7111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
7112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7115 }
7116 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7117 {
7118 arg2 = wxString_in_helper(obj1);
7119 if (arg2 == NULL) SWIG_fail;
7120 temp2 = true;
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 (arg1)->WriteText((wxString const &)*arg2);
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 resultobj = SWIG_Py_Void();
7129 {
7130 if (temp2)
7131 delete arg2;
7132 }
7133 return resultobj;
7134fail:
7135 {
7136 if (temp2)
7137 delete arg2;
7138 }
7139 return NULL;
7140}
7141
7142
7143SWIGINTERN PyObject *_wrap_RichTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj = 0;
7145 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7146 wxString *arg2 = 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 bool temp2 = false ;
7150 PyObject * obj0 = 0 ;
7151 PyObject * obj1 = 0 ;
7152 char * kwnames[] = {
7153 (char *) "self",(char *) "text", NULL
7154 };
7155
7156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
7157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7158 if (!SWIG_IsOK(res1)) {
7159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7160 }
7161 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7162 {
7163 arg2 = wxString_in_helper(obj1);
7164 if (arg2 == NULL) SWIG_fail;
7165 temp2 = true;
7166 }
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 (arg1)->AppendText((wxString const &)*arg2);
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 resultobj = SWIG_Py_Void();
7174 {
7175 if (temp2)
7176 delete arg2;
7177 }
7178 return resultobj;
7179fail:
7180 {
7181 if (temp2)
7182 delete arg2;
7183 }
7184 return NULL;
7185}
7186
7187
7188SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj = 0;
7190 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7191 wxRichTextRange *arg2 = 0 ;
7192 wxRichTextAttr *arg3 = 0 ;
7193 bool result;
7194 void *argp1 = 0 ;
7195 int res1 = 0 ;
7196 wxRichTextRange temp2 ;
7197 void *argp3 = 0 ;
7198 int res3 = 0 ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj2 = 0 ;
7202 char * kwnames[] = {
7203 (char *) "self",(char *) "range",(char *) "style", NULL
7204 };
7205
7206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7208 if (!SWIG_IsOK(res1)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7210 }
7211 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7212 {
7213 arg2 = &temp2;
7214 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7215 }
7216 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7217 if (!SWIG_IsOK(res3)) {
7218 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7219 }
7220 if (!argp3) {
7221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7222 }
7223 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
7227 wxPyEndAllowThreads(__tstate);
7228 if (PyErr_Occurred()) SWIG_fail;
7229 }
7230 {
7231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7232 }
7233 return resultobj;
7234fail:
7235 return NULL;
7236}
7237
7238
7239SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj = 0;
7241 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7242 long arg2 ;
7243 wxRichTextAttr *arg3 = 0 ;
7244 bool result;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 long val2 ;
7248 int ecode2 = 0 ;
7249 void *argp3 = 0 ;
7250 int res3 = 0 ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 char * kwnames[] = {
7255 (char *) "self",(char *) "position",(char *) "style", NULL
7256 };
7257
7258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7260 if (!SWIG_IsOK(res1)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7262 }
7263 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7264 ecode2 = SWIG_AsVal_long(obj1, &val2);
7265 if (!SWIG_IsOK(ecode2)) {
7266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7267 }
7268 arg2 = static_cast< long >(val2);
7269 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 );
7270 if (!SWIG_IsOK(res3)) {
7271 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7272 }
7273 if (!argp3) {
7274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7275 }
7276 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (bool)((wxRichTextCtrl const *)arg1)->GetStyle(arg2,*arg3);
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 {
7284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7285 }
7286 return resultobj;
7287fail:
7288 return NULL;
7289}
7290
7291
7292SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj = 0;
7294 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7295 wxRichTextAttr *arg2 = 0 ;
7296 bool result;
7297 void *argp1 = 0 ;
7298 int res1 = 0 ;
7299 void *argp2 = 0 ;
7300 int res2 = 0 ;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 char * kwnames[] = {
7304 (char *) "self",(char *) "style", NULL
7305 };
7306
7307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
7308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7309 if (!SWIG_IsOK(res1)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7311 }
7312 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7313 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7314 if (!SWIG_IsOK(res2)) {
7315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7316 }
7317 if (!argp2) {
7318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7319 }
7320 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (bool)(arg1)->SetDefaultStyle((wxRichTextAttr const &)*arg2);
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 {
7328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7329 }
7330 return resultobj;
7331fail:
7332 return NULL;
7333}
7334
7335
7336SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7337 PyObject *resultobj = 0;
7338 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7339 wxRichTextAttr result;
7340 void *argp1 = 0 ;
7341 int res1 = 0 ;
7342 PyObject *swig_obj[1] ;
7343
7344 if (!args) SWIG_fail;
7345 swig_obj[0] = args;
7346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7347 if (!SWIG_IsOK(res1)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7349 }
7350 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 result = ((wxRichTextCtrl const *)arg1)->GetDefaultStyleEx();
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 resultobj = SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr& >(result))), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_OWN | 0 );
7358 return resultobj;
7359fail:
7360 return NULL;
7361}
7362
7363
7364SWIGINTERN PyObject *_wrap_RichTextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj = 0;
7366 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7367 long arg2 ;
7368 long arg3 ;
7369 long result;
7370 void *argp1 = 0 ;
7371 int res1 = 0 ;
7372 long val2 ;
7373 int ecode2 = 0 ;
7374 long val3 ;
7375 int ecode3 = 0 ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 char * kwnames[] = {
7380 (char *) "self",(char *) "x",(char *) "y", NULL
7381 };
7382
7383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7385 if (!SWIG_IsOK(res1)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7387 }
7388 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7389 ecode2 = SWIG_AsVal_long(obj1, &val2);
7390 if (!SWIG_IsOK(ecode2)) {
7391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7392 }
7393 arg2 = static_cast< long >(val2);
7394 ecode3 = SWIG_AsVal_long(obj2, &val3);
7395 if (!SWIG_IsOK(ecode3)) {
7396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7397 }
7398 arg3 = static_cast< long >(val3);
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 result = (long)((wxRichTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_From_long(static_cast< long >(result));
7406 return resultobj;
7407fail:
7408 return NULL;
7409}
7410
7411
7412SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj = 0;
7414 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7415 long arg2 ;
7416 long *arg3 = (long *) 0 ;
7417 long *arg4 = (long *) 0 ;
7418 void *argp1 = 0 ;
7419 int res1 = 0 ;
7420 long val2 ;
7421 int ecode2 = 0 ;
7422 long temp3 ;
7423 int res3 = SWIG_TMPOBJ ;
7424 long temp4 ;
7425 int res4 = SWIG_TMPOBJ ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 char * kwnames[] = {
7429 (char *) "self",(char *) "pos", NULL
7430 };
7431
7432 arg3 = &temp3;
7433 arg4 = &temp4;
7434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
7435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7436 if (!SWIG_IsOK(res1)) {
7437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7438 }
7439 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7440 ecode2 = SWIG_AsVal_long(obj1, &val2);
7441 if (!SWIG_IsOK(ecode2)) {
7442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7443 }
7444 arg2 = static_cast< long >(val2);
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 ((wxRichTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 resultobj = SWIG_Py_Void();
7452 if (SWIG_IsTmpObj(res3)) {
7453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7454 } else {
7455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7457 }
7458 if (SWIG_IsTmpObj(res4)) {
7459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
7460 } else {
7461 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
7463 }
7464 return resultobj;
7465fail:
7466 return NULL;
7467}
7468
7469
7470SWIGINTERN PyObject *_wrap_RichTextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj = 0;
7472 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7473 long arg2 ;
7474 void *argp1 = 0 ;
7475 int res1 = 0 ;
7476 long val2 ;
7477 int ecode2 = 0 ;
7478 PyObject * obj0 = 0 ;
7479 PyObject * obj1 = 0 ;
7480 char * kwnames[] = {
7481 (char *) "self",(char *) "position", NULL
7482 };
7483
7484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
7485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7486 if (!SWIG_IsOK(res1)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7488 }
7489 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7490 ecode2 = SWIG_AsVal_long(obj1, &val2);
7491 if (!SWIG_IsOK(ecode2)) {
7492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7493 }
7494 arg2 = static_cast< long >(val2);
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->ShowPosition(arg2);
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 resultobj = SWIG_Py_Void();
7502 return resultobj;
7503fail:
7504 return NULL;
7505}
7506
7507
7508SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj = 0;
7510 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7511 wxPoint *arg2 = 0 ;
7512 long *arg3 = (long *) 0 ;
7513 wxTextCtrlHitTestResult result;
7514 void *argp1 = 0 ;
7515 int res1 = 0 ;
7516 wxPoint temp2 ;
7517 long temp3 ;
7518 int res3 = SWIG_TMPOBJ ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 char * kwnames[] = {
7522 (char *) "self",(char *) "pt", NULL
7523 };
7524
7525 arg3 = &temp3;
7526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
7527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7528 if (!SWIG_IsOK(res1)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7530 }
7531 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7532 {
7533 arg2 = &temp2;
7534 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7543 if (SWIG_IsTmpObj(res3)) {
7544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7545 } else {
7546 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7548 }
7549 return resultobj;
7550fail:
7551 return NULL;
7552}
7553
7554
7555SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj = 0;
7557 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7558 wxPoint *arg2 = 0 ;
7559 wxTextCoord *arg3 = (wxTextCoord *) 0 ;
7560 wxTextCoord *arg4 = (wxTextCoord *) 0 ;
7561 wxTextCtrlHitTestResult result;
7562 void *argp1 = 0 ;
7563 int res1 = 0 ;
7564 wxPoint temp2 ;
7565 void *argp3 = 0 ;
7566 int res3 = 0 ;
7567 void *argp4 = 0 ;
7568 int res4 = 0 ;
7569 PyObject * obj0 = 0 ;
7570 PyObject * obj1 = 0 ;
7571 PyObject * obj2 = 0 ;
7572 PyObject * obj3 = 0 ;
7573 char * kwnames[] = {
7574 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7575 };
7576
7577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7579 if (!SWIG_IsOK(res1)) {
7580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7581 }
7582 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7583 {
7584 arg2 = &temp2;
7585 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7586 }
7587 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7588 if (!SWIG_IsOK(res3)) {
7589 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7590 }
7591 arg3 = reinterpret_cast< wxTextCoord * >(argp3);
7592 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7593 if (!SWIG_IsOK(res4)) {
7594 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7595 }
7596 arg4 = reinterpret_cast< wxTextCoord * >(argp4);
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7604 return resultobj;
7605fail:
7606 return NULL;
7607}
7608
7609
7610SWIGINTERN PyObject *_wrap_RichTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7611 PyObject *resultobj = 0;
7612 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7613 void *argp1 = 0 ;
7614 int res1 = 0 ;
7615 PyObject *swig_obj[1] ;
7616
7617 if (!args) SWIG_fail;
7618 swig_obj[0] = args;
7619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7620 if (!SWIG_IsOK(res1)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7622 }
7623 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->Copy();
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 resultobj = SWIG_Py_Void();
7631 return resultobj;
7632fail:
7633 return NULL;
7634}
7635
7636
7637SWIGINTERN PyObject *_wrap_RichTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7638 PyObject *resultobj = 0;
7639 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7640 void *argp1 = 0 ;
7641 int res1 = 0 ;
7642 PyObject *swig_obj[1] ;
7643
7644 if (!args) SWIG_fail;
7645 swig_obj[0] = args;
7646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7647 if (!SWIG_IsOK(res1)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7649 }
7650 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 (arg1)->Cut();
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 resultobj = SWIG_Py_Void();
7658 return resultobj;
7659fail:
7660 return NULL;
7661}
7662
7663
7664SWIGINTERN PyObject *_wrap_RichTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7665 PyObject *resultobj = 0;
7666 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7667 void *argp1 = 0 ;
7668 int res1 = 0 ;
7669 PyObject *swig_obj[1] ;
7670
7671 if (!args) SWIG_fail;
7672 swig_obj[0] = args;
7673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7674 if (!SWIG_IsOK(res1)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7676 }
7677 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->Paste();
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_Py_Void();
7685 return resultobj;
7686fail:
7687 return NULL;
7688}
7689
7690
7691SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7692 PyObject *resultobj = 0;
7693 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 PyObject *swig_obj[1] ;
7697
7698 if (!args) SWIG_fail;
7699 swig_obj[0] = args;
7700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7703 }
7704 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 (arg1)->DeleteSelection();
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = SWIG_Py_Void();
7712 return resultobj;
7713fail:
7714 return NULL;
7715}
7716
7717
7718SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7719 PyObject *resultobj = 0;
7720 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7721 bool result;
7722 void *argp1 = 0 ;
7723 int res1 = 0 ;
7724 PyObject *swig_obj[1] ;
7725
7726 if (!args) SWIG_fail;
7727 swig_obj[0] = args;
7728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7729 if (!SWIG_IsOK(res1)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7731 }
7732 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (bool)((wxRichTextCtrl const *)arg1)->CanCopy();
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 {
7740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7741 }
7742 return resultobj;
7743fail:
7744 return NULL;
7745}
7746
7747
7748SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7749 PyObject *resultobj = 0;
7750 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7751 bool result;
7752 void *argp1 = 0 ;
7753 int res1 = 0 ;
7754 PyObject *swig_obj[1] ;
7755
7756 if (!args) SWIG_fail;
7757 swig_obj[0] = args;
7758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7759 if (!SWIG_IsOK(res1)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7761 }
7762 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (bool)((wxRichTextCtrl const *)arg1)->CanCut();
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 {
7770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7771 }
7772 return resultobj;
7773fail:
7774 return NULL;
7775}
7776
7777
7778SWIGINTERN PyObject *_wrap_RichTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7779 PyObject *resultobj = 0;
7780 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7781 bool result;
7782 void *argp1 = 0 ;
7783 int res1 = 0 ;
7784 PyObject *swig_obj[1] ;
7785
7786 if (!args) SWIG_fail;
7787 swig_obj[0] = args;
7788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7791 }
7792 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (bool)((wxRichTextCtrl const *)arg1)->CanPaste();
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 {
7800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7801 }
7802 return resultobj;
7803fail:
7804 return NULL;
7805}
7806
7807
7808SWIGINTERN PyObject *_wrap_RichTextCtrl_CanDeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7809 PyObject *resultobj = 0;
7810 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7811 bool result;
7812 void *argp1 = 0 ;
7813 int res1 = 0 ;
7814 PyObject *swig_obj[1] ;
7815
7816 if (!args) SWIG_fail;
7817 swig_obj[0] = args;
7818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7819 if (!SWIG_IsOK(res1)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7821 }
7822 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (bool)((wxRichTextCtrl const *)arg1)->CanDeleteSelection();
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 {
7830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7831 }
7832 return resultobj;
7833fail:
7834 return NULL;
7835}
7836
7837
7838SWIGINTERN PyObject *_wrap_RichTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7839 PyObject *resultobj = 0;
7840 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7841 void *argp1 = 0 ;
7842 int res1 = 0 ;
7843 PyObject *swig_obj[1] ;
7844
7845 if (!args) SWIG_fail;
7846 swig_obj[0] = args;
7847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7848 if (!SWIG_IsOK(res1)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7850 }
7851 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->Undo();
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = SWIG_Py_Void();
7859 return resultobj;
7860fail:
7861 return NULL;
7862}
7863
7864
7865SWIGINTERN PyObject *_wrap_RichTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7866 PyObject *resultobj = 0;
7867 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7868 void *argp1 = 0 ;
7869 int res1 = 0 ;
7870 PyObject *swig_obj[1] ;
7871
7872 if (!args) SWIG_fail;
7873 swig_obj[0] = args;
7874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7875 if (!SWIG_IsOK(res1)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7877 }
7878 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->Redo();
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 resultobj = SWIG_Py_Void();
7886 return resultobj;
7887fail:
7888 return NULL;
7889}
7890
7891
7892SWIGINTERN PyObject *_wrap_RichTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7893 PyObject *resultobj = 0;
7894 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7895 bool result;
7896 void *argp1 = 0 ;
7897 int res1 = 0 ;
7898 PyObject *swig_obj[1] ;
7899
7900 if (!args) SWIG_fail;
7901 swig_obj[0] = args;
7902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7903 if (!SWIG_IsOK(res1)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7905 }
7906 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (bool)((wxRichTextCtrl const *)arg1)->CanUndo();
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7915 }
7916 return resultobj;
7917fail:
7918 return NULL;
7919}
7920
7921
7922SWIGINTERN PyObject *_wrap_RichTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7923 PyObject *resultobj = 0;
7924 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7925 bool result;
7926 void *argp1 = 0 ;
7927 int res1 = 0 ;
7928 PyObject *swig_obj[1] ;
7929
7930 if (!args) SWIG_fail;
7931 swig_obj[0] = args;
7932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7933 if (!SWIG_IsOK(res1)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7935 }
7936 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)((wxRichTextCtrl const *)arg1)->CanRedo();
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7945 }
7946 return resultobj;
7947fail:
7948 return NULL;
7949}
7950
7951
7952SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj = 0;
7954 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7955 long arg2 ;
7956 void *argp1 = 0 ;
7957 int res1 = 0 ;
7958 long val2 ;
7959 int ecode2 = 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 char * kwnames[] = {
7963 (char *) "self",(char *) "pos", NULL
7964 };
7965
7966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
7967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7968 if (!SWIG_IsOK(res1)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7970 }
7971 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7972 ecode2 = SWIG_AsVal_long(obj1, &val2);
7973 if (!SWIG_IsOK(ecode2)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
7975 }
7976 arg2 = static_cast< long >(val2);
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->SetInsertionPoint(arg2);
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_Py_Void();
7984 return resultobj;
7985fail:
7986 return NULL;
7987}
7988
7989
7990SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7991 PyObject *resultobj = 0;
7992 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7993 void *argp1 = 0 ;
7994 int res1 = 0 ;
7995 PyObject *swig_obj[1] ;
7996
7997 if (!args) SWIG_fail;
7998 swig_obj[0] = args;
7999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8000 if (!SWIG_IsOK(res1)) {
8001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8002 }
8003 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 (arg1)->SetInsertionPointEnd();
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = SWIG_Py_Void();
8011 return resultobj;
8012fail:
8013 return NULL;
8014}
8015
8016
8017SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8018 PyObject *resultobj = 0;
8019 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8020 long result;
8021 void *argp1 = 0 ;
8022 int res1 = 0 ;
8023 PyObject *swig_obj[1] ;
8024
8025 if (!args) SWIG_fail;
8026 swig_obj[0] = args;
8027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8028 if (!SWIG_IsOK(res1)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8030 }
8031 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (long)((wxRichTextCtrl const *)arg1)->GetInsertionPoint();
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_long(static_cast< long >(result));
8039 return resultobj;
8040fail:
8041 return NULL;
8042}
8043
8044
8045SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8046 PyObject *resultobj = 0;
8047 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8048 long result;
8049 void *argp1 = 0 ;
8050 int res1 = 0 ;
8051 PyObject *swig_obj[1] ;
8052
8053 if (!args) SWIG_fail;
8054 swig_obj[0] = args;
8055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8056 if (!SWIG_IsOK(res1)) {
8057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8058 }
8059 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 result = (long)((wxRichTextCtrl const *)arg1)->GetLastPosition();
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 resultobj = SWIG_From_long(static_cast< long >(result));
8067 return resultobj;
8068fail:
8069 return NULL;
8070}
8071
8072
8073SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj = 0;
8075 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8076 long arg2 ;
8077 long arg3 ;
8078 void *argp1 = 0 ;
8079 int res1 = 0 ;
8080 long val2 ;
8081 int ecode2 = 0 ;
8082 long val3 ;
8083 int ecode3 = 0 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 PyObject * obj2 = 0 ;
8087 char * kwnames[] = {
8088 (char *) "self",(char *) "from",(char *) "to", NULL
8089 };
8090
8091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8093 if (!SWIG_IsOK(res1)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8095 }
8096 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8097 ecode2 = SWIG_AsVal_long(obj1, &val2);
8098 if (!SWIG_IsOK(ecode2)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8100 }
8101 arg2 = static_cast< long >(val2);
8102 ecode3 = SWIG_AsVal_long(obj2, &val3);
8103 if (!SWIG_IsOK(ecode3)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8105 }
8106 arg3 = static_cast< long >(val3);
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 (arg1)->SetSelection(arg2,arg3);
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 resultobj = SWIG_Py_Void();
8114 return resultobj;
8115fail:
8116 return NULL;
8117}
8118
8119
8120SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8121 PyObject *resultobj = 0;
8122 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8123 void *argp1 = 0 ;
8124 int res1 = 0 ;
8125 PyObject *swig_obj[1] ;
8126
8127 if (!args) SWIG_fail;
8128 swig_obj[0] = args;
8129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8130 if (!SWIG_IsOK(res1)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8132 }
8133 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 (arg1)->SelectAll();
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_Py_Void();
8141 return resultobj;
8142fail:
8143 return NULL;
8144}
8145
8146
8147SWIGINTERN PyObject *_wrap_RichTextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj = 0;
8149 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8150 bool arg2 ;
8151 void *argp1 = 0 ;
8152 int res1 = 0 ;
8153 bool val2 ;
8154 int ecode2 = 0 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char * kwnames[] = {
8158 (char *) "self",(char *) "editable", NULL
8159 };
8160
8161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
8162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8163 if (!SWIG_IsOK(res1)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8165 }
8166 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8168 if (!SWIG_IsOK(ecode2)) {
8169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8170 }
8171 arg2 = static_cast< bool >(val2);
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->SetEditable(arg2);
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = SWIG_Py_Void();
8179 return resultobj;
8180fail:
8181 return NULL;
8182}
8183
8184
8185SWIGINTERN PyObject *_wrap_RichTextCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8186 PyObject *resultobj = 0;
8187 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8188 bool result;
8189 void *argp1 = 0 ;
8190 int res1 = 0 ;
8191 PyObject *swig_obj[1] ;
8192
8193 if (!args) SWIG_fail;
8194 swig_obj[0] = args;
8195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8196 if (!SWIG_IsOK(res1)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8198 }
8199 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (bool)((wxRichTextCtrl const *)arg1)->HasSelection();
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 {
8207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8208 }
8209 return resultobj;
8210fail:
8211 return NULL;
8212}
8213
8214
8215SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj = 0;
8217 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8218 wxImage *arg2 = 0 ;
8219 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8220 bool result;
8221 void *argp1 = 0 ;
8222 int res1 = 0 ;
8223 void *argp2 = 0 ;
8224 int res2 = 0 ;
8225 int val3 ;
8226 int ecode3 = 0 ;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 char * kwnames[] = {
8231 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8232 };
8233
8234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8236 if (!SWIG_IsOK(res1)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8238 }
8239 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8240 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
8241 if (!SWIG_IsOK(res2)) {
8242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8243 }
8244 if (!argp2) {
8245 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8246 }
8247 arg2 = reinterpret_cast< wxImage * >(argp2);
8248 if (obj2) {
8249 ecode3 = SWIG_AsVal_int(obj2, &val3);
8250 if (!SWIG_IsOK(ecode3)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8252 }
8253 arg3 = static_cast< int >(val3);
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (bool)(arg1)->WriteImage((wxImage const &)*arg2,arg3);
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 {
8262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8263 }
8264 return resultobj;
8265fail:
8266 return NULL;
8267}
8268
8269
8270SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj = 0;
8272 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8273 wxBitmap *arg2 = 0 ;
8274 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8275 bool result;
8276 void *argp1 = 0 ;
8277 int res1 = 0 ;
8278 void *argp2 = 0 ;
8279 int res2 = 0 ;
8280 int val3 ;
8281 int ecode3 = 0 ;
8282 PyObject * obj0 = 0 ;
8283 PyObject * obj1 = 0 ;
8284 PyObject * obj2 = 0 ;
8285 char * kwnames[] = {
8286 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8287 };
8288
8289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8291 if (!SWIG_IsOK(res1)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8293 }
8294 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8295 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8296 if (!SWIG_IsOK(res2)) {
8297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8298 }
8299 if (!argp2) {
8300 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8301 }
8302 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8303 if (obj2) {
8304 ecode3 = SWIG_AsVal_int(obj2, &val3);
8305 if (!SWIG_IsOK(ecode3)) {
8306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8307 }
8308 arg3 = static_cast< int >(val3);
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (bool)(arg1)->WriteImage((wxBitmap const &)*arg2,arg3);
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 {
8317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8318 }
8319 return resultobj;
8320fail:
8321 return NULL;
8322}
8323
8324
8325SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj = 0;
8327 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8328 wxString *arg2 = 0 ;
8329 int arg3 ;
8330 bool result;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 bool temp2 = false ;
8334 int val3 ;
8335 int ecode3 = 0 ;
8336 PyObject * obj0 = 0 ;
8337 PyObject * obj1 = 0 ;
8338 PyObject * obj2 = 0 ;
8339 char * kwnames[] = {
8340 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8341 };
8342
8343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8347 }
8348 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8349 {
8350 arg2 = wxString_in_helper(obj1);
8351 if (arg2 == NULL) SWIG_fail;
8352 temp2 = true;
8353 }
8354 ecode3 = SWIG_AsVal_int(obj2, &val3);
8355 if (!SWIG_IsOK(ecode3)) {
8356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8357 }
8358 arg3 = static_cast< int >(val3);
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (bool)(arg1)->WriteImage((wxString const &)*arg2,arg3);
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 {
8366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8367 }
8368 {
8369 if (temp2)
8370 delete arg2;
8371 }
8372 return resultobj;
8373fail:
8374 {
8375 if (temp2)
8376 delete arg2;
8377 }
8378 return NULL;
8379}
8380
8381
8382SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj = 0;
8384 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8385 wxRichTextImageBlock *arg2 = 0 ;
8386 bool result;
8387 void *argp1 = 0 ;
8388 int res1 = 0 ;
8389 void *argp2 = 0 ;
8390 int res2 = 0 ;
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 char * kwnames[] = {
8394 (char *) "self",(char *) "imageBlock", NULL
8395 };
8396
8397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames,&obj0,&obj1)) SWIG_fail;
8398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8399 if (!SWIG_IsOK(res1)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8401 }
8402 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8403 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
8404 if (!SWIG_IsOK(res2)) {
8405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8406 }
8407 if (!argp2) {
8408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8409 }
8410 arg2 = reinterpret_cast< wxRichTextImageBlock * >(argp2);
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (bool)(arg1)->WriteImage((wxRichTextImageBlock const &)*arg2);
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 {
8418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8419 }
8420 return resultobj;
8421fail:
8422 return NULL;
8423}
8424
8425
8426SWIGINTERN PyObject *_wrap_RichTextCtrl_Newline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8427 PyObject *resultobj = 0;
8428 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8429 bool result;
8430 void *argp1 = 0 ;
8431 int res1 = 0 ;
8432 PyObject *swig_obj[1] ;
8433
8434 if (!args) SWIG_fail;
8435 swig_obj[0] = args;
8436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8437 if (!SWIG_IsOK(res1)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8439 }
8440 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (bool)(arg1)->Newline();
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 {
8448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8449 }
8450 return resultobj;
8451fail:
8452 return NULL;
8453}
8454
8455
8456SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj = 0;
8458 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8459 wxRichTextAttr *arg2 = 0 ;
8460 void *argp1 = 0 ;
8461 int res1 = 0 ;
8462 void *argp2 = 0 ;
8463 int res2 = 0 ;
8464 PyObject * obj0 = 0 ;
8465 PyObject * obj1 = 0 ;
8466 char * kwnames[] = {
8467 (char *) "self",(char *) "style", NULL
8468 };
8469
8470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
8471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8472 if (!SWIG_IsOK(res1)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8474 }
8475 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8476 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
8477 if (!SWIG_IsOK(res2)) {
8478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8479 }
8480 if (!argp2) {
8481 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8482 }
8483 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 (arg1)->SetBasicStyle((wxRichTextAttr const &)*arg2);
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 resultobj = SWIG_Py_Void();
8491 return resultobj;
8492fail:
8493 return NULL;
8494}
8495
8496
8497SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8498 PyObject *resultobj = 0;
8499 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8500 bool result;
8501 void *argp1 = 0 ;
8502 int res1 = 0 ;
8503 PyObject *swig_obj[1] ;
8504
8505 if (!args) SWIG_fail;
8506 swig_obj[0] = args;
8507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8508 if (!SWIG_IsOK(res1)) {
8509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8510 }
8511 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (bool)(arg1)->EndStyle();
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 {
8519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8520 }
8521 return resultobj;
8522fail:
8523 return NULL;
8524}
8525
8526
8527SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8528 PyObject *resultobj = 0;
8529 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8530 bool result;
8531 void *argp1 = 0 ;
8532 int res1 = 0 ;
8533 PyObject *swig_obj[1] ;
8534
8535 if (!args) SWIG_fail;
8536 swig_obj[0] = args;
8537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8538 if (!SWIG_IsOK(res1)) {
8539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8540 }
8541 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (bool)(arg1)->EndAllStyles();
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 {
8549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8550 }
8551 return resultobj;
8552fail:
8553 return NULL;
8554}
8555
8556
8557SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8558 PyObject *resultobj = 0;
8559 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8560 bool result;
8561 void *argp1 = 0 ;
8562 int res1 = 0 ;
8563 PyObject *swig_obj[1] ;
8564
8565 if (!args) SWIG_fail;
8566 swig_obj[0] = args;
8567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8568 if (!SWIG_IsOK(res1)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8570 }
8571 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (bool)(arg1)->BeginBold();
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 {
8579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8580 }
8581 return resultobj;
8582fail:
8583 return NULL;
8584}
8585
8586
8587SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8588 PyObject *resultobj = 0;
8589 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8590 bool result;
8591 void *argp1 = 0 ;
8592 int res1 = 0 ;
8593 PyObject *swig_obj[1] ;
8594
8595 if (!args) SWIG_fail;
8596 swig_obj[0] = args;
8597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8598 if (!SWIG_IsOK(res1)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8600 }
8601 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8602 {
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 result = (bool)(arg1)->EndBold();
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 {
8609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8610 }
8611 return resultobj;
8612fail:
8613 return NULL;
8614}
8615
8616
8617SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8618 PyObject *resultobj = 0;
8619 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8620 bool result;
8621 void *argp1 = 0 ;
8622 int res1 = 0 ;
8623 PyObject *swig_obj[1] ;
8624
8625 if (!args) SWIG_fail;
8626 swig_obj[0] = args;
8627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8628 if (!SWIG_IsOK(res1)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8630 }
8631 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (bool)(arg1)->BeginItalic();
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
8641 return resultobj;
8642fail:
8643 return NULL;
8644}
8645
8646
8647SWIGINTERN PyObject *_wrap_RichTextCtrl_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8648 PyObject *resultobj = 0;
8649 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8650 bool result;
8651 void *argp1 = 0 ;
8652 int res1 = 0 ;
8653 PyObject *swig_obj[1] ;
8654
8655 if (!args) SWIG_fail;
8656 swig_obj[0] = args;
8657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8658 if (!SWIG_IsOK(res1)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8660 }
8661 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 result = (bool)(arg1)->EndItalic();
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 {
8669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8670 }
8671 return resultobj;
8672fail:
8673 return NULL;
8674}
8675
8676
8677SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8678 PyObject *resultobj = 0;
8679 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8680 bool result;
8681 void *argp1 = 0 ;
8682 int res1 = 0 ;
8683 PyObject *swig_obj[1] ;
8684
8685 if (!args) SWIG_fail;
8686 swig_obj[0] = args;
8687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8690 }
8691 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (bool)(arg1)->BeginUnderline();
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 {
8699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8700 }
8701 return resultobj;
8702fail:
8703 return NULL;
8704}
8705
8706
8707SWIGINTERN PyObject *_wrap_RichTextCtrl_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 PyObject *resultobj = 0;
8709 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8710 bool result;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 PyObject *swig_obj[1] ;
8714
8715 if (!args) SWIG_fail;
8716 swig_obj[0] = args;
8717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8718 if (!SWIG_IsOK(res1)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8720 }
8721 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (bool)(arg1)->EndUnderline();
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 {
8729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8730 }
8731 return resultobj;
8732fail:
8733 return NULL;
8734}
8735
8736
8737SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj = 0;
8739 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8740 int arg2 ;
8741 bool result;
8742 void *argp1 = 0 ;
8743 int res1 = 0 ;
8744 int val2 ;
8745 int ecode2 = 0 ;
8746 PyObject * obj0 = 0 ;
8747 PyObject * obj1 = 0 ;
8748 char * kwnames[] = {
8749 (char *) "self",(char *) "pointSize", NULL
8750 };
8751
8752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
8753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8754 if (!SWIG_IsOK(res1)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8756 }
8757 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8758 ecode2 = SWIG_AsVal_int(obj1, &val2);
8759 if (!SWIG_IsOK(ecode2)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8761 }
8762 arg2 = static_cast< int >(val2);
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (bool)(arg1)->BeginFontSize(arg2);
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 {
8770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8771 }
8772 return resultobj;
8773fail:
8774 return NULL;
8775}
8776
8777
8778SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8779 PyObject *resultobj = 0;
8780 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8781 bool result;
8782 void *argp1 = 0 ;
8783 int res1 = 0 ;
8784 PyObject *swig_obj[1] ;
8785
8786 if (!args) SWIG_fail;
8787 swig_obj[0] = args;
8788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8789 if (!SWIG_IsOK(res1)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8791 }
8792 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)(arg1)->EndFontSize();
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 {
8800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8801 }
8802 return resultobj;
8803fail:
8804 return NULL;
8805}
8806
8807
8808SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj = 0;
8810 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8811 wxFont *arg2 = 0 ;
8812 bool result;
8813 void *argp1 = 0 ;
8814 int res1 = 0 ;
8815 void *argp2 = 0 ;
8816 int res2 = 0 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char * kwnames[] = {
8820 (char *) "self",(char *) "font", NULL
8821 };
8822
8823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
8824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8825 if (!SWIG_IsOK(res1)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8827 }
8828 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8829 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
8830 if (!SWIG_IsOK(res2)) {
8831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8832 }
8833 if (!argp2) {
8834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8835 }
8836 arg2 = reinterpret_cast< wxFont * >(argp2);
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 {
8844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8845 }
8846 return resultobj;
8847fail:
8848 return NULL;
8849}
8850
8851
8852SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8853 PyObject *resultobj = 0;
8854 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8855 bool result;
8856 void *argp1 = 0 ;
8857 int res1 = 0 ;
8858 PyObject *swig_obj[1] ;
8859
8860 if (!args) SWIG_fail;
8861 swig_obj[0] = args;
8862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8863 if (!SWIG_IsOK(res1)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8865 }
8866 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (bool)(arg1)->EndFont();
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 {
8874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8875 }
8876 return resultobj;
8877fail:
8878 return NULL;
8879}
8880
8881
8882SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj = 0;
8884 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8885 wxColour *arg2 = 0 ;
8886 bool result;
8887 void *argp1 = 0 ;
8888 int res1 = 0 ;
8889 wxColour temp2 ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 char * kwnames[] = {
8893 (char *) "self",(char *) "colour", NULL
8894 };
8895
8896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8898 if (!SWIG_IsOK(res1)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8900 }
8901 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8902 {
8903 arg2 = &temp2;
8904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8905 }
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 {
8913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8914 }
8915 return resultobj;
8916fail:
8917 return NULL;
8918}
8919
8920
8921SWIGINTERN PyObject *_wrap_RichTextCtrl_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8922 PyObject *resultobj = 0;
8923 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8924 bool result;
8925 void *argp1 = 0 ;
8926 int res1 = 0 ;
8927 PyObject *swig_obj[1] ;
8928
8929 if (!args) SWIG_fail;
8930 swig_obj[0] = args;
8931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8932 if (!SWIG_IsOK(res1)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8934 }
8935 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (bool)(arg1)->EndTextColour();
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 {
8943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8944 }
8945 return resultobj;
8946fail:
8947 return NULL;
8948}
8949
8950
8951SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj = 0;
8953 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8954 wxTextAttrAlignment arg2 ;
8955 bool result;
8956 void *argp1 = 0 ;
8957 int res1 = 0 ;
8958 int val2 ;
8959 int ecode2 = 0 ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 char * kwnames[] = {
8963 (char *) "self",(char *) "alignment", NULL
8964 };
8965
8966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
8967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8968 if (!SWIG_IsOK(res1)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8970 }
8971 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8972 ecode2 = SWIG_AsVal_int(obj1, &val2);
8973 if (!SWIG_IsOK(ecode2)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
8975 }
8976 arg2 = static_cast< wxTextAttrAlignment >(val2);
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (bool)(arg1)->BeginAlignment(arg2);
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 {
8984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8985 }
8986 return resultobj;
8987fail:
8988 return NULL;
8989}
8990
8991
8992SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8993 PyObject *resultobj = 0;
8994 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8995 bool result;
8996 void *argp1 = 0 ;
8997 int res1 = 0 ;
8998 PyObject *swig_obj[1] ;
8999
9000 if (!args) SWIG_fail;
9001 swig_obj[0] = args;
9002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9003 if (!SWIG_IsOK(res1)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9005 }
9006 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 result = (bool)(arg1)->EndAlignment();
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 {
9014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9015 }
9016 return resultobj;
9017fail:
9018 return NULL;
9019}
9020
9021
9022SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj = 0;
9024 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9025 int arg2 ;
9026 int arg3 = (int) 0 ;
9027 bool result;
9028 void *argp1 = 0 ;
9029 int res1 = 0 ;
9030 int val2 ;
9031 int ecode2 = 0 ;
9032 int val3 ;
9033 int ecode3 = 0 ;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 PyObject * obj2 = 0 ;
9037 char * kwnames[] = {
9038 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9039 };
9040
9041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9043 if (!SWIG_IsOK(res1)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9045 }
9046 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9047 ecode2 = SWIG_AsVal_int(obj1, &val2);
9048 if (!SWIG_IsOK(ecode2)) {
9049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9050 }
9051 arg2 = static_cast< int >(val2);
9052 if (obj2) {
9053 ecode3 = SWIG_AsVal_int(obj2, &val3);
9054 if (!SWIG_IsOK(ecode3)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9056 }
9057 arg3 = static_cast< int >(val3);
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 {
9066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9067 }
9068 return resultobj;
9069fail:
9070 return NULL;
9071}
9072
9073
9074SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9075 PyObject *resultobj = 0;
9076 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9077 bool result;
9078 void *argp1 = 0 ;
9079 int res1 = 0 ;
9080 PyObject *swig_obj[1] ;
9081
9082 if (!args) SWIG_fail;
9083 swig_obj[0] = args;
9084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9085 if (!SWIG_IsOK(res1)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9087 }
9088 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 result = (bool)(arg1)->EndLeftIndent();
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9097 }
9098 return resultobj;
9099fail:
9100 return NULL;
9101}
9102
9103
9104SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj = 0;
9106 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9107 int arg2 ;
9108 bool result;
9109 void *argp1 = 0 ;
9110 int res1 = 0 ;
9111 int val2 ;
9112 int ecode2 = 0 ;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 char * kwnames[] = {
9116 (char *) "self",(char *) "rightIndent", NULL
9117 };
9118
9119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
9120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9121 if (!SWIG_IsOK(res1)) {
9122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9123 }
9124 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9125 ecode2 = SWIG_AsVal_int(obj1, &val2);
9126 if (!SWIG_IsOK(ecode2)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9128 }
9129 arg2 = static_cast< int >(val2);
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 result = (bool)(arg1)->BeginRightIndent(arg2);
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 {
9137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9138 }
9139 return resultobj;
9140fail:
9141 return NULL;
9142}
9143
9144
9145SWIGINTERN PyObject *_wrap_RichTextCtrl_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9146 PyObject *resultobj = 0;
9147 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9148 bool result;
9149 void *argp1 = 0 ;
9150 int res1 = 0 ;
9151 PyObject *swig_obj[1] ;
9152
9153 if (!args) SWIG_fail;
9154 swig_obj[0] = args;
9155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9156 if (!SWIG_IsOK(res1)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9158 }
9159 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (bool)(arg1)->EndRightIndent();
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 {
9167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9168 }
9169 return resultobj;
9170fail:
9171 return NULL;
9172}
9173
9174
9175SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj = 0;
9177 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9178 int arg2 ;
9179 int arg3 ;
9180 bool result;
9181 void *argp1 = 0 ;
9182 int res1 = 0 ;
9183 int val2 ;
9184 int ecode2 = 0 ;
9185 int val3 ;
9186 int ecode3 = 0 ;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
9190 char * kwnames[] = {
9191 (char *) "self",(char *) "before",(char *) "after", NULL
9192 };
9193
9194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9196 if (!SWIG_IsOK(res1)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9198 }
9199 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9200 ecode2 = SWIG_AsVal_int(obj1, &val2);
9201 if (!SWIG_IsOK(ecode2)) {
9202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
9203 }
9204 arg2 = static_cast< int >(val2);
9205 ecode3 = SWIG_AsVal_int(obj2, &val3);
9206 if (!SWIG_IsOK(ecode3)) {
9207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9208 }
9209 arg3 = static_cast< int >(val3);
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 {
9217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9218 }
9219 return resultobj;
9220fail:
9221 return NULL;
9222}
9223
9224
9225SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9226 PyObject *resultobj = 0;
9227 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9228 bool result;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 PyObject *swig_obj[1] ;
9232
9233 if (!args) SWIG_fail;
9234 swig_obj[0] = args;
9235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9236 if (!SWIG_IsOK(res1)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9238 }
9239 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (bool)(arg1)->EndParagraphSpacing();
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 {
9247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9248 }
9249 return resultobj;
9250fail:
9251 return NULL;
9252}
9253
9254
9255SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj = 0;
9257 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9258 int arg2 ;
9259 bool result;
9260 void *argp1 = 0 ;
9261 int res1 = 0 ;
9262 int val2 ;
9263 int ecode2 = 0 ;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266 char * kwnames[] = {
9267 (char *) "self",(char *) "lineSpacing", NULL
9268 };
9269
9270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
9271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9272 if (!SWIG_IsOK(res1)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9274 }
9275 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9276 ecode2 = SWIG_AsVal_int(obj1, &val2);
9277 if (!SWIG_IsOK(ecode2)) {
9278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9279 }
9280 arg2 = static_cast< int >(val2);
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (bool)(arg1)->BeginLineSpacing(arg2);
9284 wxPyEndAllowThreads(__tstate);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 }
9287 {
9288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9289 }
9290 return resultobj;
9291fail:
9292 return NULL;
9293}
9294
9295
9296SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9297 PyObject *resultobj = 0;
9298 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9299 bool result;
9300 void *argp1 = 0 ;
9301 int res1 = 0 ;
9302 PyObject *swig_obj[1] ;
9303
9304 if (!args) SWIG_fail;
9305 swig_obj[0] = args;
9306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9307 if (!SWIG_IsOK(res1)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9309 }
9310 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (bool)(arg1)->EndLineSpacing();
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 {
9318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9319 }
9320 return resultobj;
9321fail:
9322 return NULL;
9323}
9324
9325
9326SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj = 0;
9328 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9329 int arg2 ;
9330 int arg3 ;
9331 int arg4 ;
9332 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
9333 bool result;
9334 void *argp1 = 0 ;
9335 int res1 = 0 ;
9336 int val2 ;
9337 int ecode2 = 0 ;
9338 int val3 ;
9339 int ecode3 = 0 ;
9340 int val4 ;
9341 int ecode4 = 0 ;
9342 int val5 ;
9343 int ecode5 = 0 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 PyObject * obj3 = 0 ;
9348 PyObject * obj4 = 0 ;
9349 char * kwnames[] = {
9350 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9351 };
9352
9353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9355 if (!SWIG_IsOK(res1)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9357 }
9358 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9359 ecode2 = SWIG_AsVal_int(obj1, &val2);
9360 if (!SWIG_IsOK(ecode2)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9362 }
9363 arg2 = static_cast< int >(val2);
9364 ecode3 = SWIG_AsVal_int(obj2, &val3);
9365 if (!SWIG_IsOK(ecode3)) {
9366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9367 }
9368 arg3 = static_cast< int >(val3);
9369 ecode4 = SWIG_AsVal_int(obj3, &val4);
9370 if (!SWIG_IsOK(ecode4)) {
9371 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9372 }
9373 arg4 = static_cast< int >(val4);
9374 if (obj4) {
9375 ecode5 = SWIG_AsVal_int(obj4, &val5);
9376 if (!SWIG_IsOK(ecode5)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9378 }
9379 arg5 = static_cast< int >(val5);
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 {
9388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9389 }
9390 return resultobj;
9391fail:
9392 return NULL;
9393}
9394
9395
9396SWIGINTERN PyObject *_wrap_RichTextCtrl_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9397 PyObject *resultobj = 0;
9398 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9399 bool result;
9400 void *argp1 = 0 ;
9401 int res1 = 0 ;
9402 PyObject *swig_obj[1] ;
9403
9404 if (!args) SWIG_fail;
9405 swig_obj[0] = args;
9406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9407 if (!SWIG_IsOK(res1)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9409 }
9410 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (bool)(arg1)->EndNumberedBullet();
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 {
9418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9419 }
9420 return resultobj;
9421fail:
9422 return NULL;
9423}
9424
9425
9426SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj = 0;
9428 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9429 char arg2 ;
9430 int arg3 ;
9431 int arg4 ;
9432 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
9433 bool result;
9434 void *argp1 = 0 ;
9435 int res1 = 0 ;
9436 char val2 ;
9437 int ecode2 = 0 ;
9438 int val3 ;
9439 int ecode3 = 0 ;
9440 int val4 ;
9441 int ecode4 = 0 ;
9442 int val5 ;
9443 int ecode5 = 0 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 PyObject * obj2 = 0 ;
9447 PyObject * obj3 = 0 ;
9448 PyObject * obj4 = 0 ;
9449 char * kwnames[] = {
9450 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9451 };
9452
9453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9455 if (!SWIG_IsOK(res1)) {
9456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9457 }
9458 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9459 ecode2 = SWIG_AsVal_char(obj1, &val2);
9460 if (!SWIG_IsOK(ecode2)) {
9461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "2"" of type '" "char""'");
9462 }
9463 arg2 = static_cast< char >(val2);
9464 ecode3 = SWIG_AsVal_int(obj2, &val3);
9465 if (!SWIG_IsOK(ecode3)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9467 }
9468 arg3 = static_cast< int >(val3);
9469 ecode4 = SWIG_AsVal_int(obj3, &val4);
9470 if (!SWIG_IsOK(ecode4)) {
9471 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9472 }
9473 arg4 = static_cast< int >(val4);
9474 if (obj4) {
9475 ecode5 = SWIG_AsVal_int(obj4, &val5);
9476 if (!SWIG_IsOK(ecode5)) {
9477 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9478 }
9479 arg5 = static_cast< int >(val5);
9480 }
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (bool)(arg1)->BeginSymbolBullet(arg2,arg3,arg4,arg5);
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9489 }
9490 return resultobj;
9491fail:
9492 return NULL;
9493}
9494
9495
9496SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9497 PyObject *resultobj = 0;
9498 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9499 bool result;
9500 void *argp1 = 0 ;
9501 int res1 = 0 ;
9502 PyObject *swig_obj[1] ;
9503
9504 if (!args) SWIG_fail;
9505 swig_obj[0] = args;
9506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9507 if (!SWIG_IsOK(res1)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9509 }
9510 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (bool)(arg1)->EndSymbolBullet();
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 {
9518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9519 }
9520 return resultobj;
9521fail:
9522 return NULL;
9523}
9524
9525
9526SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9527 PyObject *resultobj = 0;
9528 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9529 wxString *arg2 = 0 ;
9530 bool result;
9531 void *argp1 = 0 ;
9532 int res1 = 0 ;
9533 bool temp2 = false ;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 char * kwnames[] = {
9537 (char *) "self",(char *) "characterStyle", NULL
9538 };
9539
9540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9542 if (!SWIG_IsOK(res1)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9544 }
9545 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9546 {
9547 arg2 = wxString_in_helper(obj1);
9548 if (arg2 == NULL) SWIG_fail;
9549 temp2 = true;
9550 }
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9559 }
9560 {
9561 if (temp2)
9562 delete arg2;
9563 }
9564 return resultobj;
9565fail:
9566 {
9567 if (temp2)
9568 delete arg2;
9569 }
9570 return NULL;
9571}
9572
9573
9574SWIGINTERN PyObject *_wrap_RichTextCtrl_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9575 PyObject *resultobj = 0;
9576 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9577 bool result;
9578 void *argp1 = 0 ;
9579 int res1 = 0 ;
9580 PyObject *swig_obj[1] ;
9581
9582 if (!args) SWIG_fail;
9583 swig_obj[0] = args;
9584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9585 if (!SWIG_IsOK(res1)) {
9586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9587 }
9588 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (bool)(arg1)->EndCharacterStyle();
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 {
9596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9597 }
9598 return resultobj;
9599fail:
9600 return NULL;
9601}
9602
9603
9604SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj = 0;
9606 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9607 wxString *arg2 = 0 ;
9608 bool result;
9609 void *argp1 = 0 ;
9610 int res1 = 0 ;
9611 bool temp2 = false ;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 char * kwnames[] = {
9615 (char *) "self",(char *) "paragraphStyle", NULL
9616 };
9617
9618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9620 if (!SWIG_IsOK(res1)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9622 }
9623 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9624 {
9625 arg2 = wxString_in_helper(obj1);
9626 if (arg2 == NULL) SWIG_fail;
9627 temp2 = true;
9628 }
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
9638 {
9639 if (temp2)
9640 delete arg2;
9641 }
9642 return resultobj;
9643fail:
9644 {
9645 if (temp2)
9646 delete arg2;
9647 }
9648 return NULL;
9649}
9650
9651
9652SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9653 PyObject *resultobj = 0;
9654 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9655 bool result;
9656 void *argp1 = 0 ;
9657 int res1 = 0 ;
9658 PyObject *swig_obj[1] ;
9659
9660 if (!args) SWIG_fail;
9661 swig_obj[0] = args;
9662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9663 if (!SWIG_IsOK(res1)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9665 }
9666 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 result = (bool)(arg1)->EndParagraphStyle();
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 {
9674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9675 }
9676 return resultobj;
9677fail:
9678 return NULL;
9679}
9680
9681
9682SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9683 PyObject *resultobj = 0;
9684 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9685 bool result;
9686 void *argp1 = 0 ;
9687 int res1 = 0 ;
9688 PyObject *swig_obj[1] ;
9689
9690 if (!args) SWIG_fail;
9691 swig_obj[0] = args;
9692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9693 if (!SWIG_IsOK(res1)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9695 }
9696 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (bool)(arg1)->SetDefaultStyleToCursorStyle();
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9705 }
9706 return resultobj;
9707fail:
9708 return NULL;
9709}
9710
9711
9712SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectNone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9713 PyObject *resultobj = 0;
9714 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9715 void *argp1 = 0 ;
9716 int res1 = 0 ;
9717 PyObject *swig_obj[1] ;
9718
9719 if (!args) SWIG_fail;
9720 swig_obj[0] = args;
9721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9724 }
9725 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->SelectNone();
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 resultobj = SWIG_Py_Void();
9733 return resultobj;
9734fail:
9735 return NULL;
9736}
9737
9738
9739SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9740 PyObject *resultobj = 0;
9741 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9742 wxRichTextRange *result = 0 ;
9743 void *argp1 = 0 ;
9744 int res1 = 0 ;
9745 PyObject *swig_obj[1] ;
9746
9747 if (!args) SWIG_fail;
9748 swig_obj[0] = args;
9749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9750 if (!SWIG_IsOK(res1)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
9752 }
9753 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 {
9757 wxRichTextRange const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetSelectionRange();
9758 result = (wxRichTextRange *) &_result_ref;
9759 }
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 );
9764 return resultobj;
9765fail:
9766 return NULL;
9767}
9768
9769
9770SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj = 0;
9772 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9773 wxRichTextRange *arg2 = 0 ;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 wxRichTextRange temp2 ;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 char * kwnames[] = {
9780 (char *) "self",(char *) "range", NULL
9781 };
9782
9783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
9784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9785 if (!SWIG_IsOK(res1)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9787 }
9788 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9789 {
9790 arg2 = &temp2;
9791 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
9792 }
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 (arg1)->SetSelectionRange((wxRichTextRange const &)*arg2);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 resultobj = SWIG_Py_Void();
9800 return resultobj;
9801fail:
9802 return NULL;
9803}
9804
9805
9806SWIGINTERN PyObject *_wrap_RichTextCtrl_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj = 0;
9808 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9809 wxString *arg2 = 0 ;
9810 wxRichTextRange result;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 bool temp2 = false ;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 char * kwnames[] = {
9817 (char *) "self",(char *) "text", NULL
9818 };
9819
9820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
9821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9822 if (!SWIG_IsOK(res1)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9824 }
9825 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9826 {
9827 arg2 = wxString_in_helper(obj1);
9828 if (arg2 == NULL) SWIG_fail;
9829 temp2 = true;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (arg1)->AddParagraph((wxString const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9838 {
9839 if (temp2)
9840 delete arg2;
9841 }
9842 return resultobj;
9843fail:
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 return NULL;
9849}
9850
9851
9852SWIGINTERN PyObject *_wrap_RichTextCtrl_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9853 PyObject *resultobj = 0;
9854 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9855 wxImage *arg2 = 0 ;
9856 wxRichTextRange result;
9857 void *argp1 = 0 ;
9858 int res1 = 0 ;
9859 void *argp2 = 0 ;
9860 int res2 = 0 ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char * kwnames[] = {
9864 (char *) "self",(char *) "image", NULL
9865 };
9866
9867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddImage",kwnames,&obj0,&obj1)) SWIG_fail;
9868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9869 if (!SWIG_IsOK(res1)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9871 }
9872 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
9874 if (!SWIG_IsOK(res2)) {
9875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9876 }
9877 if (!argp2) {
9878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9879 }
9880 arg2 = reinterpret_cast< wxImage * >(argp2);
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (arg1)->AddImage((wxImage const &)*arg2);
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9888 return resultobj;
9889fail:
9890 return NULL;
9891}
9892
9893
9894SWIGINTERN PyObject *_wrap_RichTextCtrl_LayoutContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj = 0;
9896 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9897 bool arg2 = (bool) false ;
9898 bool result;
9899 void *argp1 = 0 ;
9900 int res1 = 0 ;
9901 bool val2 ;
9902 int ecode2 = 0 ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char * kwnames[] = {
9906 (char *) "self",(char *) "onlyVisibleRect", NULL
9907 };
9908
9909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames,&obj0,&obj1)) SWIG_fail;
9910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9911 if (!SWIG_IsOK(res1)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9913 }
9914 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9915 if (obj1) {
9916 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9917 if (!SWIG_IsOK(ecode2)) {
9918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
9919 }
9920 arg2 = static_cast< bool >(val2);
9921 }
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = (bool)(arg1)->LayoutContent(arg2);
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9930 }
9931 return resultobj;
9932fail:
9933 return NULL;
9934}
9935
9936
9937SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj = 0;
9939 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9940 long arg2 ;
9941 bool arg3 = (bool) false ;
9942 bool result;
9943 void *argp1 = 0 ;
9944 int res1 = 0 ;
9945 long val2 ;
9946 int ecode2 = 0 ;
9947 bool val3 ;
9948 int ecode3 = 0 ;
9949 PyObject * obj0 = 0 ;
9950 PyObject * obj1 = 0 ;
9951 PyObject * obj2 = 0 ;
9952 char * kwnames[] = {
9953 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
9954 };
9955
9956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9958 if (!SWIG_IsOK(res1)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9960 }
9961 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9962 ecode2 = SWIG_AsVal_long(obj1, &val2);
9963 if (!SWIG_IsOK(ecode2)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
9965 }
9966 arg2 = static_cast< long >(val2);
9967 if (obj2) {
9968 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9969 if (!SWIG_IsOK(ecode3)) {
9970 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
9971 }
9972 arg3 = static_cast< bool >(val3);
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (bool)(arg1)->MoveCaret(arg2,arg3);
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 {
9981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9982 }
9983 return resultobj;
9984fail:
9985 return NULL;
9986}
9987
9988
9989SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj = 0;
9991 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9992 int arg2 = (int) 1 ;
9993 int arg3 = (int) 0 ;
9994 bool result;
9995 void *argp1 = 0 ;
9996 int res1 = 0 ;
9997 int val2 ;
9998 int ecode2 = 0 ;
9999 int val3 ;
10000 int ecode3 = 0 ;
10001 PyObject * obj0 = 0 ;
10002 PyObject * obj1 = 0 ;
10003 PyObject * obj2 = 0 ;
10004 char * kwnames[] = {
10005 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10006 };
10007
10008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10010 if (!SWIG_IsOK(res1)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10012 }
10013 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10014 if (obj1) {
10015 ecode2 = SWIG_AsVal_int(obj1, &val2);
10016 if (!SWIG_IsOK(ecode2)) {
10017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10018 }
10019 arg2 = static_cast< int >(val2);
10020 }
10021 if (obj2) {
10022 ecode3 = SWIG_AsVal_int(obj2, &val3);
10023 if (!SWIG_IsOK(ecode3)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10025 }
10026 arg3 = static_cast< int >(val3);
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = (bool)(arg1)->MoveRight(arg2,arg3);
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 {
10035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10036 }
10037 return resultobj;
10038fail:
10039 return NULL;
10040}
10041
10042
10043SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10044 PyObject *resultobj = 0;
10045 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10046 int arg2 = (int) 1 ;
10047 int arg3 = (int) 0 ;
10048 bool result;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 int val2 ;
10052 int ecode2 = 0 ;
10053 int val3 ;
10054 int ecode3 = 0 ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
10057 PyObject * obj2 = 0 ;
10058 char * kwnames[] = {
10059 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10060 };
10061
10062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10064 if (!SWIG_IsOK(res1)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10066 }
10067 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10068 if (obj1) {
10069 ecode2 = SWIG_AsVal_int(obj1, &val2);
10070 if (!SWIG_IsOK(ecode2)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10072 }
10073 arg2 = static_cast< int >(val2);
10074 }
10075 if (obj2) {
10076 ecode3 = SWIG_AsVal_int(obj2, &val3);
10077 if (!SWIG_IsOK(ecode3)) {
10078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10079 }
10080 arg3 = static_cast< int >(val3);
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (bool)(arg1)->MoveLeft(arg2,arg3);
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 {
10089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10090 }
10091 return resultobj;
10092fail:
10093 return NULL;
10094}
10095
10096
10097SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj = 0;
10099 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10100 int arg2 = (int) 1 ;
10101 int arg3 = (int) 0 ;
10102 bool result;
10103 void *argp1 = 0 ;
10104 int res1 = 0 ;
10105 int val2 ;
10106 int ecode2 = 0 ;
10107 int val3 ;
10108 int ecode3 = 0 ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj2 = 0 ;
10112 char * kwnames[] = {
10113 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10114 };
10115
10116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10118 if (!SWIG_IsOK(res1)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10120 }
10121 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10122 if (obj1) {
10123 ecode2 = SWIG_AsVal_int(obj1, &val2);
10124 if (!SWIG_IsOK(ecode2)) {
10125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10126 }
10127 arg2 = static_cast< int >(val2);
10128 }
10129 if (obj2) {
10130 ecode3 = SWIG_AsVal_int(obj2, &val3);
10131 if (!SWIG_IsOK(ecode3)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10133 }
10134 arg3 = static_cast< int >(val3);
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (bool)(arg1)->MoveUp(arg2,arg3);
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 {
10143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10144 }
10145 return resultobj;
10146fail:
10147 return NULL;
10148}
10149
10150
10151SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj = 0;
10153 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10154 int arg2 = (int) 1 ;
10155 int arg3 = (int) 0 ;
10156 bool result;
10157 void *argp1 = 0 ;
10158 int res1 = 0 ;
10159 int val2 ;
10160 int ecode2 = 0 ;
10161 int val3 ;
10162 int ecode3 = 0 ;
10163 PyObject * obj0 = 0 ;
10164 PyObject * obj1 = 0 ;
10165 PyObject * obj2 = 0 ;
10166 char * kwnames[] = {
10167 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10168 };
10169
10170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10172 if (!SWIG_IsOK(res1)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10174 }
10175 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10176 if (obj1) {
10177 ecode2 = SWIG_AsVal_int(obj1, &val2);
10178 if (!SWIG_IsOK(ecode2)) {
10179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10180 }
10181 arg2 = static_cast< int >(val2);
10182 }
10183 if (obj2) {
10184 ecode3 = SWIG_AsVal_int(obj2, &val3);
10185 if (!SWIG_IsOK(ecode3)) {
10186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10187 }
10188 arg3 = static_cast< int >(val3);
10189 }
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (bool)(arg1)->MoveDown(arg2,arg3);
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 {
10197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10198 }
10199 return resultobj;
10200fail:
10201 return NULL;
10202}
10203
10204
10205SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj = 0;
10207 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10208 int arg2 = (int) 0 ;
10209 bool result;
10210 void *argp1 = 0 ;
10211 int res1 = 0 ;
10212 int val2 ;
10213 int ecode2 = 0 ;
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 char * kwnames[] = {
10217 (char *) "self",(char *) "flags", NULL
10218 };
10219
10220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10222 if (!SWIG_IsOK(res1)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10224 }
10225 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10226 if (obj1) {
10227 ecode2 = SWIG_AsVal_int(obj1, &val2);
10228 if (!SWIG_IsOK(ecode2)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10230 }
10231 arg2 = static_cast< int >(val2);
10232 }
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (bool)(arg1)->MoveToLineEnd(arg2);
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 {
10240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10241 }
10242 return resultobj;
10243fail:
10244 return NULL;
10245}
10246
10247
10248SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10249 PyObject *resultobj = 0;
10250 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10251 int arg2 = (int) 0 ;
10252 bool result;
10253 void *argp1 = 0 ;
10254 int res1 = 0 ;
10255 int val2 ;
10256 int ecode2 = 0 ;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259 char * kwnames[] = {
10260 (char *) "self",(char *) "flags", NULL
10261 };
10262
10263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames,&obj0,&obj1)) SWIG_fail;
10264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10265 if (!SWIG_IsOK(res1)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10267 }
10268 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10269 if (obj1) {
10270 ecode2 = SWIG_AsVal_int(obj1, &val2);
10271 if (!SWIG_IsOK(ecode2)) {
10272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10273 }
10274 arg2 = static_cast< int >(val2);
10275 }
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)(arg1)->MoveToLineStart(arg2);
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
10285 return resultobj;
10286fail:
10287 return NULL;
10288}
10289
10290
10291SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj = 0;
10293 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10294 int arg2 = (int) 0 ;
10295 bool result;
10296 void *argp1 = 0 ;
10297 int res1 = 0 ;
10298 int val2 ;
10299 int ecode2 = 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char * kwnames[] = {
10303 (char *) "self",(char *) "flags", NULL
10304 };
10305
10306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10308 if (!SWIG_IsOK(res1)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10310 }
10311 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10312 if (obj1) {
10313 ecode2 = SWIG_AsVal_int(obj1, &val2);
10314 if (!SWIG_IsOK(ecode2)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10316 }
10317 arg2 = static_cast< int >(val2);
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 result = (bool)(arg1)->MoveToParagraphEnd(arg2);
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 {
10326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10327 }
10328 return resultobj;
10329fail:
10330 return NULL;
10331}
10332
10333
10334SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj = 0;
10336 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10337 int arg2 = (int) 0 ;
10338 bool result;
10339 void *argp1 = 0 ;
10340 int res1 = 0 ;
10341 int val2 ;
10342 int ecode2 = 0 ;
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj1 = 0 ;
10345 char * kwnames[] = {
10346 (char *) "self",(char *) "flags", NULL
10347 };
10348
10349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames,&obj0,&obj1)) SWIG_fail;
10350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10351 if (!SWIG_IsOK(res1)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10353 }
10354 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10355 if (obj1) {
10356 ecode2 = SWIG_AsVal_int(obj1, &val2);
10357 if (!SWIG_IsOK(ecode2)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10359 }
10360 arg2 = static_cast< int >(val2);
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (bool)(arg1)->MoveToParagraphStart(arg2);
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 {
10369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10370 }
10371 return resultobj;
10372fail:
10373 return NULL;
10374}
10375
10376
10377SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj = 0;
10379 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10380 int arg2 = (int) 0 ;
10381 bool result;
10382 void *argp1 = 0 ;
10383 int res1 = 0 ;
10384 int val2 ;
10385 int ecode2 = 0 ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "flags", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveHome",kwnames,&obj0,&obj1)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10396 }
10397 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10398 if (obj1) {
10399 ecode2 = SWIG_AsVal_int(obj1, &val2);
10400 if (!SWIG_IsOK(ecode2)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10402 }
10403 arg2 = static_cast< int >(val2);
10404 }
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (bool)(arg1)->MoveHome(arg2);
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 {
10412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10413 }
10414 return resultobj;
10415fail:
10416 return NULL;
10417}
10418
10419
10420SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj = 0;
10422 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10423 int arg2 = (int) 0 ;
10424 bool result;
10425 void *argp1 = 0 ;
10426 int res1 = 0 ;
10427 int val2 ;
10428 int ecode2 = 0 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 char * kwnames[] = {
10432 (char *) "self",(char *) "flags", NULL
10433 };
10434
10435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10437 if (!SWIG_IsOK(res1)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10439 }
10440 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10441 if (obj1) {
10442 ecode2 = SWIG_AsVal_int(obj1, &val2);
10443 if (!SWIG_IsOK(ecode2)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10445 }
10446 arg2 = static_cast< int >(val2);
10447 }
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (bool)(arg1)->MoveEnd(arg2);
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 {
10455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10456 }
10457 return resultobj;
10458fail:
10459 return NULL;
10460}
10461
10462
10463SWIGINTERN PyObject *_wrap_RichTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj = 0;
10465 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10466 int arg2 = (int) 1 ;
10467 int arg3 = (int) 0 ;
10468 bool result;
10469 void *argp1 = 0 ;
10470 int res1 = 0 ;
10471 int val2 ;
10472 int ecode2 = 0 ;
10473 int val3 ;
10474 int ecode3 = 0 ;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 PyObject * obj2 = 0 ;
10478 char * kwnames[] = {
10479 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10480 };
10481
10482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10484 if (!SWIG_IsOK(res1)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10486 }
10487 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10488 if (obj1) {
10489 ecode2 = SWIG_AsVal_int(obj1, &val2);
10490 if (!SWIG_IsOK(ecode2)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10492 }
10493 arg2 = static_cast< int >(val2);
10494 }
10495 if (obj2) {
10496 ecode3 = SWIG_AsVal_int(obj2, &val3);
10497 if (!SWIG_IsOK(ecode3)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10499 }
10500 arg3 = static_cast< int >(val3);
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (bool)(arg1)->PageUp(arg2,arg3);
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 {
10509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10510 }
10511 return resultobj;
10512fail:
10513 return NULL;
10514}
10515
10516
10517SWIGINTERN PyObject *_wrap_RichTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj = 0;
10519 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10520 int arg2 = (int) 1 ;
10521 int arg3 = (int) 0 ;
10522 bool result;
10523 void *argp1 = 0 ;
10524 int res1 = 0 ;
10525 int val2 ;
10526 int ecode2 = 0 ;
10527 int val3 ;
10528 int ecode3 = 0 ;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 PyObject * obj2 = 0 ;
10532 char * kwnames[] = {
10533 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10534 };
10535
10536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10538 if (!SWIG_IsOK(res1)) {
10539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10540 }
10541 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10542 if (obj1) {
10543 ecode2 = SWIG_AsVal_int(obj1, &val2);
10544 if (!SWIG_IsOK(ecode2)) {
10545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
10546 }
10547 arg2 = static_cast< int >(val2);
10548 }
10549 if (obj2) {
10550 ecode3 = SWIG_AsVal_int(obj2, &val3);
10551 if (!SWIG_IsOK(ecode3)) {
10552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
10553 }
10554 arg3 = static_cast< int >(val3);
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (bool)(arg1)->PageDown(arg2,arg3);
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10564 }
10565 return resultobj;
10566fail:
10567 return NULL;
10568}
10569
10570
10571SWIGINTERN PyObject *_wrap_RichTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj = 0;
10573 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10574 int arg2 = (int) 1 ;
10575 int arg3 = (int) 0 ;
10576 bool result;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 int val2 ;
10580 int ecode2 = 0 ;
10581 int val3 ;
10582 int ecode3 = 0 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char * kwnames[] = {
10587 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10588 };
10589
10590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10592 if (!SWIG_IsOK(res1)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10594 }
10595 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10596 if (obj1) {
10597 ecode2 = SWIG_AsVal_int(obj1, &val2);
10598 if (!SWIG_IsOK(ecode2)) {
10599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
10600 }
10601 arg2 = static_cast< int >(val2);
10602 }
10603 if (obj2) {
10604 ecode3 = SWIG_AsVal_int(obj2, &val3);
10605 if (!SWIG_IsOK(ecode3)) {
10606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
10607 }
10608 arg3 = static_cast< int >(val3);
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = (bool)(arg1)->WordLeft(arg2,arg3);
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 {
10617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10618 }
10619 return resultobj;
10620fail:
10621 return NULL;
10622}
10623
10624
10625SWIGINTERN PyObject *_wrap_RichTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj = 0;
10627 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10628 int arg2 = (int) 1 ;
10629 int arg3 = (int) 0 ;
10630 bool result;
10631 void *argp1 = 0 ;
10632 int res1 = 0 ;
10633 int val2 ;
10634 int ecode2 = 0 ;
10635 int val3 ;
10636 int ecode3 = 0 ;
10637 PyObject * obj0 = 0 ;
10638 PyObject * obj1 = 0 ;
10639 PyObject * obj2 = 0 ;
10640 char * kwnames[] = {
10641 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10642 };
10643
10644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10648 }
10649 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10650 if (obj1) {
10651 ecode2 = SWIG_AsVal_int(obj1, &val2);
10652 if (!SWIG_IsOK(ecode2)) {
10653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
10654 }
10655 arg2 = static_cast< int >(val2);
10656 }
10657 if (obj2) {
10658 ecode3 = SWIG_AsVal_int(obj2, &val3);
10659 if (!SWIG_IsOK(ecode3)) {
10660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
10661 }
10662 arg3 = static_cast< int >(val3);
10663 }
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (bool)(arg1)->WordRight(arg2,arg3);
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 {
10671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10672 }
10673 return resultobj;
10674fail:
10675 return NULL;
10676}
10677
10678
10679SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10680 PyObject *resultobj = 0;
10681 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10682 wxRichTextBuffer *result = 0 ;
10683 void *argp1 = 0 ;
10684 int res1 = 0 ;
10685 PyObject *swig_obj[1] ;
10686
10687 if (!args) SWIG_fail;
10688 swig_obj[0] = args;
10689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10690 if (!SWIG_IsOK(res1)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10692 }
10693 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 {
10697 wxRichTextBuffer const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetBuffer();
10698 result = (wxRichTextBuffer *) &_result_ref;
10699 }
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
10704 return resultobj;
10705fail:
10706 return NULL;
10707}
10708
10709
10710SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj = 0;
10712 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10713 wxString *arg2 = 0 ;
10714 bool result;
10715 void *argp1 = 0 ;
10716 int res1 = 0 ;
10717 bool temp2 = false ;
10718 PyObject * obj0 = 0 ;
10719 PyObject * obj1 = 0 ;
10720 char * kwnames[] = {
10721 (char *) "self",(char *) "cmdName", NULL
10722 };
10723
10724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
10725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10726 if (!SWIG_IsOK(res1)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10728 }
10729 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10730 {
10731 arg2 = wxString_in_helper(obj1);
10732 if (arg2 == NULL) SWIG_fail;
10733 temp2 = true;
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 {
10742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10743 }
10744 {
10745 if (temp2)
10746 delete arg2;
10747 }
10748 return resultobj;
10749fail:
10750 {
10751 if (temp2)
10752 delete arg2;
10753 }
10754 return NULL;
10755}
10756
10757
10758SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10759 PyObject *resultobj = 0;
10760 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10761 bool result;
10762 void *argp1 = 0 ;
10763 int res1 = 0 ;
10764 PyObject *swig_obj[1] ;
10765
10766 if (!args) SWIG_fail;
10767 swig_obj[0] = args;
10768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10769 if (!SWIG_IsOK(res1)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10771 }
10772 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 result = (bool)(arg1)->EndBatchUndo();
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 {
10780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10781 }
10782 return resultobj;
10783fail:
10784 return NULL;
10785}
10786
10787
10788SWIGINTERN PyObject *_wrap_RichTextCtrl_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10789 PyObject *resultobj = 0;
10790 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10791 bool result;
10792 void *argp1 = 0 ;
10793 int res1 = 0 ;
10794 PyObject *swig_obj[1] ;
10795
10796 if (!args) SWIG_fail;
10797 swig_obj[0] = args;
10798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10799 if (!SWIG_IsOK(res1)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10801 }
10802 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (bool)((wxRichTextCtrl const *)arg1)->BatchingUndo();
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 {
10810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10811 }
10812 return resultobj;
10813fail:
10814 return NULL;
10815}
10816
10817
10818SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 PyObject *resultobj = 0;
10820 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10821 bool result;
10822 void *argp1 = 0 ;
10823 int res1 = 0 ;
10824 PyObject *swig_obj[1] ;
10825
10826 if (!args) SWIG_fail;
10827 swig_obj[0] = args;
10828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10829 if (!SWIG_IsOK(res1)) {
10830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10831 }
10832 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (bool)(arg1)->BeginSuppressUndo();
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 {
10840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10841 }
10842 return resultobj;
10843fail:
10844 return NULL;
10845}
10846
10847
10848SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10849 PyObject *resultobj = 0;
10850 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10851 bool result;
10852 void *argp1 = 0 ;
10853 int res1 = 0 ;
10854 PyObject *swig_obj[1] ;
10855
10856 if (!args) SWIG_fail;
10857 swig_obj[0] = args;
10858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10859 if (!SWIG_IsOK(res1)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10861 }
10862 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 result = (bool)(arg1)->EndSuppressUndo();
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 {
10870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10871 }
10872 return resultobj;
10873fail:
10874 return NULL;
10875}
10876
10877
10878SWIGINTERN PyObject *_wrap_RichTextCtrl_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10879 PyObject *resultobj = 0;
10880 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10881 bool result;
10882 void *argp1 = 0 ;
10883 int res1 = 0 ;
10884 PyObject *swig_obj[1] ;
10885
10886 if (!args) SWIG_fail;
10887 swig_obj[0] = args;
10888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10889 if (!SWIG_IsOK(res1)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10891 }
10892 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 result = (bool)((wxRichTextCtrl const *)arg1)->SuppressingUndo();
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 {
10900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10901 }
10902 return resultobj;
10903fail:
10904 return NULL;
10905}
10906
10907
10908SWIGINTERN PyObject *_wrap_RichTextCtrl_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj = 0;
10910 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10911 wxRichTextRange *arg2 = 0 ;
10912 wxRichTextAttr *arg3 = 0 ;
10913 bool result;
10914 void *argp1 = 0 ;
10915 int res1 = 0 ;
10916 wxRichTextRange temp2 ;
10917 void *argp3 = 0 ;
10918 int res3 = 0 ;
10919 PyObject * obj0 = 0 ;
10920 PyObject * obj1 = 0 ;
10921 PyObject * obj2 = 0 ;
10922 char * kwnames[] = {
10923 (char *) "self",(char *) "range",(char *) "style", NULL
10924 };
10925
10926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10928 if (!SWIG_IsOK(res1)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10930 }
10931 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10932 {
10933 arg2 = &temp2;
10934 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10935 }
10936 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
10937 if (!SWIG_IsOK(res3)) {
10938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10939 }
10940 if (!argp3) {
10941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10942 }
10943 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 {
10951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10952 }
10953 return resultobj;
10954fail:
10955 return NULL;
10956}
10957
10958
10959SWIGINTERN PyObject *_wrap_RichTextCtrl_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj = 0;
10961 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10962 wxRichTextRange *arg2 = 0 ;
10963 wxRichTextAttr *arg3 = 0 ;
10964 bool result;
10965 void *argp1 = 0 ;
10966 int res1 = 0 ;
10967 wxRichTextRange temp2 ;
10968 void *argp3 = 0 ;
10969 int res3 = 0 ;
10970 PyObject * obj0 = 0 ;
10971 PyObject * obj1 = 0 ;
10972 PyObject * obj2 = 0 ;
10973 char * kwnames[] = {
10974 (char *) "self",(char *) "range",(char *) "style", NULL
10975 };
10976
10977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10979 if (!SWIG_IsOK(res1)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10981 }
10982 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10983 {
10984 arg2 = &temp2;
10985 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10986 }
10987 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
10988 if (!SWIG_IsOK(res3)) {
10989 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10990 }
10991 if (!argp3) {
10992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
10993 }
10994 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 {
11002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11003 }
11004 return resultobj;
11005fail:
11006 return NULL;
11007}
11008
11009
11010SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11011 PyObject *resultobj = 0;
11012 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11013 bool result;
11014 void *argp1 = 0 ;
11015 int res1 = 0 ;
11016 PyObject *swig_obj[1] ;
11017
11018 if (!args) SWIG_fail;
11019 swig_obj[0] = args;
11020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11021 if (!SWIG_IsOK(res1)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11023 }
11024 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionBold();
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 {
11032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11033 }
11034 return resultobj;
11035fail:
11036 return NULL;
11037}
11038
11039
11040SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionItalics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11041 PyObject *resultobj = 0;
11042 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11043 bool result;
11044 void *argp1 = 0 ;
11045 int res1 = 0 ;
11046 PyObject *swig_obj[1] ;
11047
11048 if (!args) SWIG_fail;
11049 swig_obj[0] = args;
11050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11051 if (!SWIG_IsOK(res1)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11053 }
11054 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionItalics();
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 {
11062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11063 }
11064 return resultobj;
11065fail:
11066 return NULL;
11067}
11068
11069
11070SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11071 PyObject *resultobj = 0;
11072 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11073 bool result;
11074 void *argp1 = 0 ;
11075 int res1 = 0 ;
11076 PyObject *swig_obj[1] ;
11077
11078 if (!args) SWIG_fail;
11079 swig_obj[0] = args;
11080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11081 if (!SWIG_IsOK(res1)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11083 }
11084 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionUnderlined();
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 {
11092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11093 }
11094 return resultobj;
11095fail:
11096 return NULL;
11097}
11098
11099
11100SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionAligned(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj = 0;
11102 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11103 wxTextAttrAlignment arg2 ;
11104 bool result;
11105 void *argp1 = 0 ;
11106 int res1 = 0 ;
11107 int val2 ;
11108 int ecode2 = 0 ;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 char * kwnames[] = {
11112 (char *) "self",(char *) "alignment", NULL
11113 };
11114
11115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames,&obj0,&obj1)) SWIG_fail;
11116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11117 if (!SWIG_IsOK(res1)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11119 }
11120 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11121 ecode2 = SWIG_AsVal_int(obj1, &val2);
11122 if (!SWIG_IsOK(ecode2)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11124 }
11125 arg2 = static_cast< wxTextAttrAlignment >(val2);
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (bool)((wxRichTextCtrl const *)arg1)->IsSelectionAligned(arg2);
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 {
11133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11134 }
11135 return resultobj;
11136fail:
11137 return NULL;
11138}
11139
11140
11141SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11142 PyObject *resultobj = 0;
11143 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11144 bool result;
11145 void *argp1 = 0 ;
11146 int res1 = 0 ;
11147 PyObject *swig_obj[1] ;
11148
11149 if (!args) SWIG_fail;
11150 swig_obj[0] = args;
11151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11152 if (!SWIG_IsOK(res1)) {
11153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11154 }
11155 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)(arg1)->ApplyBoldToSelection();
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166fail:
11167 return NULL;
11168}
11169
11170
11171SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11172 PyObject *resultobj = 0;
11173 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11174 bool result;
11175 void *argp1 = 0 ;
11176 int res1 = 0 ;
11177 PyObject *swig_obj[1] ;
11178
11179 if (!args) SWIG_fail;
11180 swig_obj[0] = args;
11181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11182 if (!SWIG_IsOK(res1)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11184 }
11185 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 result = (bool)(arg1)->ApplyItalicToSelection();
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 {
11193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11194 }
11195 return resultobj;
11196fail:
11197 return NULL;
11198}
11199
11200
11201SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11202 PyObject *resultobj = 0;
11203 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11204 bool result;
11205 void *argp1 = 0 ;
11206 int res1 = 0 ;
11207 PyObject *swig_obj[1] ;
11208
11209 if (!args) SWIG_fail;
11210 swig_obj[0] = args;
11211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11212 if (!SWIG_IsOK(res1)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11214 }
11215 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)(arg1)->ApplyUnderlineToSelection();
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11224 }
11225 return resultobj;
11226fail:
11227 return NULL;
11228}
11229
11230
11231SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj = 0;
11233 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11234 wxTextAttrAlignment arg2 ;
11235 bool result;
11236 void *argp1 = 0 ;
11237 int res1 = 0 ;
11238 int val2 ;
11239 int ecode2 = 0 ;
11240 PyObject * obj0 = 0 ;
11241 PyObject * obj1 = 0 ;
11242 char * kwnames[] = {
11243 (char *) "self",(char *) "alignment", NULL
11244 };
11245
11246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11248 if (!SWIG_IsOK(res1)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11250 }
11251 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11252 ecode2 = SWIG_AsVal_int(obj1, &val2);
11253 if (!SWIG_IsOK(ecode2)) {
11254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11255 }
11256 arg2 = static_cast< wxTextAttrAlignment >(val2);
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 result = (bool)(arg1)->ApplyAlignmentToSelection(arg2);
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 {
11264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11265 }
11266 return resultobj;
11267fail:
11268 return NULL;
11269}
11270
11271
11272SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj = 0;
11274 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11275 wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
11276 void *argp1 = 0 ;
11277 int res1 = 0 ;
11278 void *argp2 = 0 ;
11279 int res2 = 0 ;
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 char * kwnames[] = {
11283 (char *) "self",(char *) "styleSheet", NULL
11284 };
11285
11286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11288 if (!SWIG_IsOK(res1)) {
11289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11290 }
11291 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11292 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11293 if (!SWIG_IsOK(res2)) {
11294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11295 }
11296 arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 (arg1)->SetStyleSheet(arg2);
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 resultobj = SWIG_Py_Void();
11304 return resultobj;
11305fail:
11306 return NULL;
11307}
11308
11309
11310SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11311 PyObject *resultobj = 0;
11312 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11313 wxRichTextStyleSheet *result = 0 ;
11314 void *argp1 = 0 ;
11315 int res1 = 0 ;
11316 PyObject *swig_obj[1] ;
11317
11318 if (!args) SWIG_fail;
11319 swig_obj[0] = args;
11320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11321 if (!SWIG_IsOK(res1)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11323 }
11324 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxRichTextStyleSheet *)((wxRichTextCtrl const *)arg1)->GetStyleSheet();
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11332 return resultobj;
11333fail:
11334 return NULL;
11335}
11336
11337
11338SWIGINTERN PyObject *RichTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11339 PyObject *obj;
11340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11341 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl, SWIG_NewClientData(obj));
11342 return SWIG_Py_Void();
11343}
11344
11345SWIGINTERN PyObject *RichTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11346 return SWIG_Python_InitShadowInstance(args);
11347}
11348
11349SWIGINTERN PyObject *_wrap_new_RichTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj = 0;
11351 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11352 int arg2 = (int) 0 ;
11353 wxRichTextEvent *result = 0 ;
11354 int val1 ;
11355 int ecode1 = 0 ;
11356 int val2 ;
11357 int ecode2 = 0 ;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 char * kwnames[] = {
11361 (char *) "commandType",(char *) "winid", NULL
11362 };
11363
11364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11365 if (obj0) {
11366 ecode1 = SWIG_AsVal_int(obj0, &val1);
11367 if (!SWIG_IsOK(ecode1)) {
11368 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11369 }
11370 arg1 = static_cast< wxEventType >(val1);
11371 }
11372 if (obj1) {
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 }
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 result = (wxRichTextEvent *)new wxRichTextEvent(arg1,arg2);
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextEvent, SWIG_POINTER_NEW | 0 );
11386 return resultobj;
11387fail:
11388 return NULL;
11389}
11390
11391
11392SWIGINTERN PyObject *_wrap_RichTextEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11393 PyObject *resultobj = 0;
11394 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11395 int result;
11396 void *argp1 = 0 ;
11397 int res1 = 0 ;
11398 PyObject *swig_obj[1] ;
11399
11400 if (!args) SWIG_fail;
11401 swig_obj[0] = args;
11402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11403 if (!SWIG_IsOK(res1)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11405 }
11406 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (int)((wxRichTextEvent const *)arg1)->GetIndex();
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_From_int(static_cast< int >(result));
11414 return resultobj;
11415fail:
11416 return NULL;
11417}
11418
11419
11420SWIGINTERN PyObject *_wrap_RichTextEvent_SetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj = 0;
11422 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11423 int arg2 ;
11424 void *argp1 = 0 ;
11425 int res1 = 0 ;
11426 int val2 ;
11427 int ecode2 = 0 ;
11428 PyObject * obj0 = 0 ;
11429 PyObject * obj1 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "n", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetIndex",kwnames,&obj0,&obj1)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11438 }
11439 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 (arg1)->SetIndex(arg2);
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_Py_Void();
11452 return resultobj;
11453fail:
11454 return NULL;
11455}
11456
11457
11458SWIGINTERN PyObject *_wrap_RichTextEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11459 PyObject *resultobj = 0;
11460 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11461 int result;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 PyObject *swig_obj[1] ;
11465
11466 if (!args) SWIG_fail;
11467 swig_obj[0] = args;
11468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11469 if (!SWIG_IsOK(res1)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11471 }
11472 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (int)((wxRichTextEvent const *)arg1)->GetFlags();
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_From_int(static_cast< int >(result));
11480 return resultobj;
11481fail:
11482 return NULL;
11483}
11484
11485
11486SWIGINTERN PyObject *_wrap_RichTextEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj = 0;
11488 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11489 int arg2 ;
11490 void *argp1 = 0 ;
11491 int res1 = 0 ;
11492 int val2 ;
11493 int ecode2 = 0 ;
11494 PyObject * obj0 = 0 ;
11495 PyObject * obj1 = 0 ;
11496 char * kwnames[] = {
11497 (char *) "self",(char *) "flags", NULL
11498 };
11499
11500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11502 if (!SWIG_IsOK(res1)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11504 }
11505 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11506 ecode2 = SWIG_AsVal_int(obj1, &val2);
11507 if (!SWIG_IsOK(ecode2)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11509 }
11510 arg2 = static_cast< int >(val2);
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 (arg1)->SetFlags(arg2);
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = SWIG_Py_Void();
11518 return resultobj;
11519fail:
11520 return NULL;
11521}
11522
11523
11524SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11525 PyObject *obj;
11526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11527 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent, SWIG_NewClientData(obj));
11528 return SWIG_Py_Void();
11529}
11530
11531SWIGINTERN PyObject *RichTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11532 return SWIG_Python_InitShadowInstance(args);
11533}
11534
11535static PyMethodDef SwigMethods[] = {
11536 { (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL},
11538 { (char *)"RichTextRange___eq__", (PyCFunction) _wrap_RichTextRange___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"RichTextRange___sub__", (PyCFunction) _wrap_RichTextRange___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"RichTextRange___add__", (PyCFunction) _wrap_RichTextRange___add__, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"RichTextRange_SetRange", (PyCFunction) _wrap_RichTextRange_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"RichTextRange_SetStart", (PyCFunction) _wrap_RichTextRange_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"RichTextRange_GetStart", (PyCFunction)_wrap_RichTextRange_GetStart, METH_O, NULL},
11544 { (char *)"RichTextRange_SetEnd", (PyCFunction) _wrap_RichTextRange_SetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"RichTextRange_GetEnd", (PyCFunction)_wrap_RichTextRange_GetEnd, METH_O, NULL},
11546 { (char *)"RichTextRange_IsOutside", (PyCFunction) _wrap_RichTextRange_IsOutside, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"RichTextRange_IsWithin", (PyCFunction) _wrap_RichTextRange_IsWithin, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"RichTextRange_Contains", (PyCFunction) _wrap_RichTextRange_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
11551 { (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
11552 { (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
11553 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
11554 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
11555 { (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL},
11557 { (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL},
11558 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
11563 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11564 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
11574 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"RichTextAttr_SetBulletSymbol", (PyCFunction) _wrap_RichTextAttr_SetBulletSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL},
11580 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL},
11581 { (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL},
11582 { (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL},
11583 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL},
11584 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL},
11585 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL},
11586 { (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL},
11587 { (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL},
11588 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL},
11589 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL},
11590 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL},
11591 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL},
11592 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL},
11593 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL},
11594 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL},
11595 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL},
11596 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL},
11597 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL},
11598 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL},
11599 { (char *)"RichTextAttr_GetBulletSymbol", (PyCFunction)_wrap_RichTextAttr_GetBulletSymbol, METH_O, NULL},
11600 { (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL},
11601 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL},
11602 { (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL},
11603 { (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL},
11604 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL},
11605 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL},
11606 { (char *)"RichTextAttr_HasWeight", (PyCFunction)_wrap_RichTextAttr_HasWeight, METH_O, NULL},
11607 { (char *)"RichTextAttr_HasSize", (PyCFunction)_wrap_RichTextAttr_HasSize, METH_O, NULL},
11608 { (char *)"RichTextAttr_HasItalic", (PyCFunction)_wrap_RichTextAttr_HasItalic, METH_O, NULL},
11609 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction)_wrap_RichTextAttr_HasUnderlined, METH_O, NULL},
11610 { (char *)"RichTextAttr_HasFaceName", (PyCFunction)_wrap_RichTextAttr_HasFaceName, METH_O, NULL},
11611 { (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL},
11612 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL},
11613 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL},
11614 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL},
11615 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL},
11616 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL},
11617 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL},
11618 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL},
11619 { (char *)"RichTextAttr_HasBulletSymbol", (PyCFunction)_wrap_RichTextAttr_HasBulletSymbol, METH_O, NULL},
11620 { (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
11621 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL},
11622 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL},
11623 { (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL},
11624 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL},
11625 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL},
11626 { (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11627 { (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
11628 { (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11629 { (char *)"RichTextCtrl_GetValue", (PyCFunction)_wrap_RichTextCtrl_GetValue, METH_O, NULL},
11630 { (char *)"RichTextCtrl_SetValue", (PyCFunction) _wrap_RichTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11631 { (char *)"RichTextCtrl_GetRange", (PyCFunction) _wrap_RichTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
11632 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction) _wrap_RichTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
11633 { (char *)"RichTextCtrl_GetLineText", (PyCFunction) _wrap_RichTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
11634 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction)_wrap_RichTextCtrl_GetNumberOfLines, METH_O, NULL},
11635 { (char *)"RichTextCtrl_IsModified", (PyCFunction)_wrap_RichTextCtrl_IsModified, METH_O, NULL},
11636 { (char *)"RichTextCtrl_IsEditable", (PyCFunction)_wrap_RichTextCtrl_IsEditable, METH_O, NULL},
11637 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction)_wrap_RichTextCtrl_IsSingleLine, METH_O, NULL},
11638 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction)_wrap_RichTextCtrl_IsMultiLine, METH_O, NULL},
11639 { (char *)"RichTextCtrl_GetSelection", (PyCFunction)_wrap_RichTextCtrl_GetSelection, METH_O, NULL},
11640 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction)_wrap_RichTextCtrl_GetStringSelection, METH_O, NULL},
11641 { (char *)"RichTextCtrl_GetFilename", (PyCFunction)_wrap_RichTextCtrl_GetFilename, METH_O, NULL},
11642 { (char *)"RichTextCtrl_SetFilename", (PyCFunction) _wrap_RichTextCtrl_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
11643 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction) _wrap_RichTextCtrl_SetDelayedLayoutThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
11644 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction)_wrap_RichTextCtrl_GetDelayedLayoutThreshold, METH_O, NULL},
11645 { (char *)"RichTextCtrl_Clear", (PyCFunction)_wrap_RichTextCtrl_Clear, METH_O, NULL},
11646 { (char *)"RichTextCtrl_Replace", (PyCFunction) _wrap_RichTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
11647 { (char *)"RichTextCtrl_Remove", (PyCFunction) _wrap_RichTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
11648 { (char *)"RichTextCtrl_LoadFile", (PyCFunction) _wrap_RichTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
11649 { (char *)"RichTextCtrl_SaveFile", (PyCFunction) _wrap_RichTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
11650 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction)_wrap_RichTextCtrl_MarkDirty, METH_O, NULL},
11651 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction)_wrap_RichTextCtrl_DiscardEdits, METH_O, NULL},
11652 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction) _wrap_RichTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
11653 { (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
11654 { (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
11655 { (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11656 { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11657 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11658 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL},
11659 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
11660 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
11661 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
11662 { (char *)"RichTextCtrl_HitTest", (PyCFunction) _wrap_RichTextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11663 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction) _wrap_RichTextCtrl_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
11664 { (char *)"RichTextCtrl_Copy", (PyCFunction)_wrap_RichTextCtrl_Copy, METH_O, NULL},
11665 { (char *)"RichTextCtrl_Cut", (PyCFunction)_wrap_RichTextCtrl_Cut, METH_O, NULL},
11666 { (char *)"RichTextCtrl_Paste", (PyCFunction)_wrap_RichTextCtrl_Paste, METH_O, NULL},
11667 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction)_wrap_RichTextCtrl_DeleteSelection, METH_O, NULL},
11668 { (char *)"RichTextCtrl_CanCopy", (PyCFunction)_wrap_RichTextCtrl_CanCopy, METH_O, NULL},
11669 { (char *)"RichTextCtrl_CanCut", (PyCFunction)_wrap_RichTextCtrl_CanCut, METH_O, NULL},
11670 { (char *)"RichTextCtrl_CanPaste", (PyCFunction)_wrap_RichTextCtrl_CanPaste, METH_O, NULL},
11671 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction)_wrap_RichTextCtrl_CanDeleteSelection, METH_O, NULL},
11672 { (char *)"RichTextCtrl_Undo", (PyCFunction)_wrap_RichTextCtrl_Undo, METH_O, NULL},
11673 { (char *)"RichTextCtrl_Redo", (PyCFunction)_wrap_RichTextCtrl_Redo, METH_O, NULL},
11674 { (char *)"RichTextCtrl_CanUndo", (PyCFunction)_wrap_RichTextCtrl_CanUndo, METH_O, NULL},
11675 { (char *)"RichTextCtrl_CanRedo", (PyCFunction)_wrap_RichTextCtrl_CanRedo, METH_O, NULL},
11676 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_RichTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
11677 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_RichTextCtrl_SetInsertionPointEnd, METH_O, NULL},
11678 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction)_wrap_RichTextCtrl_GetInsertionPoint, METH_O, NULL},
11679 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction)_wrap_RichTextCtrl_GetLastPosition, METH_O, NULL},
11680 { (char *)"RichTextCtrl_SetSelection", (PyCFunction) _wrap_RichTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
11681 { (char *)"RichTextCtrl_SelectAll", (PyCFunction)_wrap_RichTextCtrl_SelectAll, METH_O, NULL},
11682 { (char *)"RichTextCtrl_SetEditable", (PyCFunction) _wrap_RichTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11683 { (char *)"RichTextCtrl_HasSelection", (PyCFunction)_wrap_RichTextCtrl_HasSelection, METH_O, NULL},
11684 { (char *)"RichTextCtrl_WriteImage", (PyCFunction) _wrap_RichTextCtrl_WriteImage, METH_VARARGS | METH_KEYWORDS, NULL},
11685 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction) _wrap_RichTextCtrl_WriteBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11686 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL},
11687 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL},
11688 { (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL},
11689 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11690 { (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL},
11691 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL},
11692 { (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL},
11693 { (char *)"RichTextCtrl_EndBold", (PyCFunction)_wrap_RichTextCtrl_EndBold, METH_O, NULL},
11694 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction)_wrap_RichTextCtrl_BeginItalic, METH_O, NULL},
11695 { (char *)"RichTextCtrl_EndItalic", (PyCFunction)_wrap_RichTextCtrl_EndItalic, METH_O, NULL},
11696 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction)_wrap_RichTextCtrl_BeginUnderline, METH_O, NULL},
11697 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction)_wrap_RichTextCtrl_EndUnderline, METH_O, NULL},
11698 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction) _wrap_RichTextCtrl_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11699 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction)_wrap_RichTextCtrl_EndFontSize, METH_O, NULL},
11700 { (char *)"RichTextCtrl_BeginFont", (PyCFunction) _wrap_RichTextCtrl_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
11701 { (char *)"RichTextCtrl_EndFont", (PyCFunction)_wrap_RichTextCtrl_EndFont, METH_O, NULL},
11702 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction) _wrap_RichTextCtrl_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11703 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction)_wrap_RichTextCtrl_EndTextColour, METH_O, NULL},
11704 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction) _wrap_RichTextCtrl_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11705 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction)_wrap_RichTextCtrl_EndAlignment, METH_O, NULL},
11706 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction) _wrap_RichTextCtrl_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11707 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction)_wrap_RichTextCtrl_EndLeftIndent, METH_O, NULL},
11708 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction) _wrap_RichTextCtrl_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11709 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction)_wrap_RichTextCtrl_EndRightIndent, METH_O, NULL},
11710 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11711 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction)_wrap_RichTextCtrl_EndParagraphSpacing, METH_O, NULL},
11712 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11713 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction)_wrap_RichTextCtrl_EndLineSpacing, METH_O, NULL},
11714 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction) _wrap_RichTextCtrl_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
11715 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL},
11716 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
11717 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL},
11718 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11719 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL},
11720 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11721 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction)_wrap_RichTextCtrl_EndParagraphStyle, METH_O, NULL},
11722 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle, METH_O, NULL},
11723 { (char *)"RichTextCtrl_SelectNone", (PyCFunction)_wrap_RichTextCtrl_SelectNone, METH_O, NULL},
11724 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetSelectionRange, METH_O, NULL},
11725 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
11726 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction) _wrap_RichTextCtrl_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
11727 { (char *)"RichTextCtrl_AddImage", (PyCFunction) _wrap_RichTextCtrl_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
11728 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction) _wrap_RichTextCtrl_LayoutContent, METH_VARARGS | METH_KEYWORDS, NULL},
11729 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction) _wrap_RichTextCtrl_MoveCaret, METH_VARARGS | METH_KEYWORDS, NULL},
11730 { (char *)"RichTextCtrl_MoveRight", (PyCFunction) _wrap_RichTextCtrl_MoveRight, METH_VARARGS | METH_KEYWORDS, NULL},
11731 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction) _wrap_RichTextCtrl_MoveLeft, METH_VARARGS | METH_KEYWORDS, NULL},
11732 { (char *)"RichTextCtrl_MoveUp", (PyCFunction) _wrap_RichTextCtrl_MoveUp, METH_VARARGS | METH_KEYWORDS, NULL},
11733 { (char *)"RichTextCtrl_MoveDown", (PyCFunction) _wrap_RichTextCtrl_MoveDown, METH_VARARGS | METH_KEYWORDS, NULL},
11734 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToLineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11735 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction) _wrap_RichTextCtrl_MoveToLineStart, METH_VARARGS | METH_KEYWORDS, NULL},
11736 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11737 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphStart, METH_VARARGS | METH_KEYWORDS, NULL},
11738 { (char *)"RichTextCtrl_MoveHome", (PyCFunction) _wrap_RichTextCtrl_MoveHome, METH_VARARGS | METH_KEYWORDS, NULL},
11739 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction) _wrap_RichTextCtrl_MoveEnd, METH_VARARGS | METH_KEYWORDS, NULL},
11740 { (char *)"RichTextCtrl_PageUp", (PyCFunction) _wrap_RichTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
11741 { (char *)"RichTextCtrl_PageDown", (PyCFunction) _wrap_RichTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
11742 { (char *)"RichTextCtrl_WordLeft", (PyCFunction) _wrap_RichTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
11743 { (char *)"RichTextCtrl_WordRight", (PyCFunction) _wrap_RichTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
11744 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction)_wrap_RichTextCtrl_GetBuffer, METH_O, NULL},
11745 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction) _wrap_RichTextCtrl_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
11746 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction)_wrap_RichTextCtrl_EndBatchUndo, METH_O, NULL},
11747 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction)_wrap_RichTextCtrl_BatchingUndo, METH_O, NULL},
11748 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_BeginSuppressUndo, METH_O, NULL},
11749 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_EndSuppressUndo, METH_O, NULL},
11750 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction)_wrap_RichTextCtrl_SuppressingUndo, METH_O, NULL},
11751 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction) _wrap_RichTextCtrl_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11752 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction) _wrap_RichTextCtrl_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11753 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction)_wrap_RichTextCtrl_IsSelectionBold, METH_O, NULL},
11754 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction)_wrap_RichTextCtrl_IsSelectionItalics, METH_O, NULL},
11755 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction)_wrap_RichTextCtrl_IsSelectionUnderlined, METH_O, NULL},
11756 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction) _wrap_RichTextCtrl_IsSelectionAligned, METH_VARARGS | METH_KEYWORDS, NULL},
11757 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyBoldToSelection, METH_O, NULL},
11758 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL},
11759 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL},
11760 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL},
11761 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
11762 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL},
11763 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL},
11764 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL},
11765 { (char *)"new_RichTextEvent", (PyCFunction) _wrap_new_RichTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11766 { (char *)"RichTextEvent_GetIndex", (PyCFunction)_wrap_RichTextEvent_GetIndex, METH_O, NULL},
11767 { (char *)"RichTextEvent_SetIndex", (PyCFunction) _wrap_RichTextEvent_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
11768 { (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL},
11769 { (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11770 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL},
11771 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL},
11772 { NULL, NULL, 0, NULL }
11773};
11774
11775
11776/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11777
11778static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11779 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11780}
11781static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11782 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11783}
11784static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11785 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11786}
11787static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11788 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11789}
11790static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11791 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11792}
11793static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11794 return (void *)((wxPanel *) ((wxPyPanel *) x));
11795}
11796static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) {
11797 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x));
11798}
11799static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11800 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11801}
11802static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11803 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11804}
11805static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11806 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11807}
11808static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
11809 return (void *)((wxNotifyEvent *) ((wxRichTextEvent *) x));
11810}
11811static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
11812 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
11813}
11814static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11815 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11816}
11817static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) {
11818 return (void *)((wxScrolledWindow *) ((wxRichTextCtrl *) x));
11819}
11820static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11821 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11822}
11823static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11824 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11825}
11826static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11827 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11828}
11829static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11830 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11831}
11832static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11833 return (void *)((wxWindow *) ((wxMenuBar *) x));
11834}
11835static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11837}
11838static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11840}
11841static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11843}
27e45892
RD
11844static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11846}
f05326ba
RD
11847static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11849}
11850static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11852}
11853static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11855}
11856static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11858}
11859static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11861}
11862static void *_p_wxPanelTo_p_wxWindow(void *x) {
11863 return (void *)((wxWindow *) ((wxPanel *) x));
11864}
11865static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11866 return (void *)((wxWindow *) ((wxStatusBar *) x));
11867}
11868static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11869 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11870}
11871static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11872 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11873}
11874static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11875 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11876}
11877static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11878 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11879}
11880static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11881 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11882}
11883static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11884 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11885}
11886static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11887 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11888}
11889static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11890 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11891}
11892static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11893 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11894}
11895static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11896 return (void *)((wxWindow *) ((wxSashWindow *) x));
11897}
11898static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11899 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11900}
11901static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11902 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11903}
11904static void *_p_wxControlTo_p_wxWindow(void *x) {
11905 return (void *)((wxWindow *) ((wxControl *) x));
11906}
11907static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11909}
11910static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11912}
11913static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11914 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11915}
11916static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11917 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11918}
11919static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11920 return (void *)((wxWindow *) ((wxPyWindow *) x));
11921}
11922static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11923 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11924}
11925static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11926 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11927}
11928static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11929 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11930}
11931static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11932 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11933}
11934static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11935 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11936}
11937static void *_p_wxFrameTo_p_wxWindow(void *x) {
11938 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11939}
11940static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11941 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11942}
11943static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11944 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11945}
11946static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11947 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11948}
11949static void *_p_wxDialogTo_p_wxWindow(void *x) {
11950 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11951}
11952static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11953 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11954}
11955static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
11956 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
11957}
11958static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11959 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11960}
11961static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11962 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11963}
11964static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11965 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11966}
11967static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11968 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11969}
11970static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11971 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11972}
11973static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11974 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11975}
11976static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11977 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11978}
11979static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11980 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11981}
11982static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11983 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11984}
11985static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11987}
11988static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11989 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11990}
11991static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11992 return (void *)((wxEvent *) ((wxPyEvent *) x));
11993}
11994static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11995 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11996}
11997static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11998 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11999}
12000static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12001 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12002}
12003static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12004 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12005}
12006static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12007 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12008}
12009static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12010 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12011}
12012static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12013 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12014}
12015static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12016 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12017}
12018static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12019 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12020}
12021static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12022 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12023}
12024static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12026}
12027static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12028 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12029}
12030static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12031 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12032}
12033static void *_p_wxRichTextEventTo_p_wxEvent(void *x) {
12034 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
12035}
12036static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12038}
12039static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12040 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12041}
12042static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12043 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12044}
12045static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12046 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12047}
12048static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12049 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12050}
12051static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12052 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12053}
12054static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12055 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12056}
12057static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12059}
12060static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12062}
12063static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12064 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12065}
12066static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12067 return (void *)((wxEvent *) ((wxShowEvent *) x));
12068}
12069static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12070 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12071}
12072static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12074}
12075static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12076 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12077}
12078static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12079 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12080}
12081static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12082 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12083}
12084static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12085 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12086}
12087static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12088 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12089}
0ef86618
RD
12090static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12091 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
f05326ba 12092}
0ef86618
RD
12093static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12094 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
f05326ba 12095}
0ef86618
RD
12096static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
f05326ba 12098}
0ef86618
RD
12099static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
f05326ba 12101}
0ef86618
RD
12102static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12103 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12104}
12105static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12106 return (void *)((wxObject *) ((wxSizerItem *) x));
12107}
12108static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
f05326ba
RD
12110}
12111static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12112 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12113}
0ef86618
RD
12114static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12115 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
f05326ba 12116}
0ef86618
RD
12117static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12118 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
f05326ba 12119}
0ef86618
RD
12120static void *_p_wxSizerTo_p_wxObject(void *x) {
12121 return (void *)((wxObject *) ((wxSizer *) x));
f05326ba 12122}
0ef86618
RD
12123static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12124 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
f05326ba 12125}
0ef86618
RD
12126static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
f05326ba 12128}
0ef86618
RD
12129static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
f05326ba 12131}
0ef86618
RD
12132static void *_p_wxEventTo_p_wxObject(void *x) {
12133 return (void *)((wxObject *) ((wxEvent *) x));
12134}
12135static void *_p_wxFontDataTo_p_wxObject(void *x) {
12136 return (void *)((wxObject *) ((wxFontData *) x));
f05326ba 12137}
0ef86618
RD
12138static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12139 return (void *)((wxObject *) ((wxPrintData *) x));
f05326ba 12140}
0ef86618
RD
12141static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12142 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
f05326ba 12143}
0ef86618
RD
12144static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12145 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12146}
12147static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12148 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
f05326ba
RD
12149}
12150static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12151 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12152}
0ef86618
RD
12153static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12154 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
f05326ba 12155}
0ef86618
RD
12156static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12157 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
f05326ba 12158}
0ef86618
RD
12159static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
f05326ba 12161}
0ef86618
RD
12162static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12163 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
f05326ba 12164}
0ef86618
RD
12165static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12166 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
f05326ba 12167}
0ef86618
RD
12168static void *_p_wxRichTextEventTo_p_wxObject(void *x) {
12169 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
f05326ba 12170}
0ef86618
RD
12171static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12172 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
f05326ba 12173}
0ef86618
RD
12174static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12175 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
f05326ba 12176}
0ef86618
RD
12177static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12178 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
f05326ba 12179}
0ef86618
RD
12180static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12181 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
f05326ba 12182}
0ef86618
RD
12183static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
f05326ba 12185}
0ef86618
RD
12186static void *_p_wxControlTo_p_wxObject(void *x) {
12187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
f05326ba 12188}
0ef86618
RD
12189static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12190 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
f05326ba 12191}
0ef86618
RD
12192static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
f05326ba 12194}
0ef86618
RD
12195static void *_p_wxFSFileTo_p_wxObject(void *x) {
12196 return (void *)((wxObject *) ((wxFSFile *) x));
f05326ba 12197}
0ef86618
RD
12198static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12199 return (void *)((wxObject *) ((wxFindReplaceData *) x));
f05326ba 12200}
0ef86618
RD
12201static void *_p_wxPySizerTo_p_wxObject(void *x) {
12202 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
f05326ba 12203}
0ef86618
RD
12204static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
f05326ba 12206}
0ef86618
RD
12207static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) {
12208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
f05326ba 12209}
0ef86618
RD
12210static void *_p_wxColourDataTo_p_wxObject(void *x) {
12211 return (void *)((wxObject *) ((wxColourData *) x));
f05326ba 12212}
0ef86618
RD
12213static void *_p_wxPyEventTo_p_wxObject(void *x) {
12214 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
f05326ba 12215}
0ef86618
RD
12216static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
f05326ba 12218}
0ef86618
RD
12219static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
f05326ba 12221}
0ef86618
RD
12222static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
f05326ba 12224}
0ef86618
RD
12225static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
f05326ba 12227}
0ef86618
RD
12228static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
f05326ba 12230}
0ef86618
RD
12231static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
f05326ba 12233}
0ef86618
RD
12234static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
f05326ba 12236}
0ef86618
RD
12237static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
f05326ba 12239}
27e45892
RD
12240static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12242}
0ef86618
RD
12243static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
f05326ba 12245}
0ef86618
RD
12246static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
f05326ba 12248}
0ef86618
RD
12249static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
f05326ba 12251}
0ef86618
RD
12252static void *_p_wxShowEventTo_p_wxObject(void *x) {
12253 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
f05326ba 12254}
0ef86618
RD
12255static void *_p_wxPrinterTo_p_wxObject(void *x) {
12256 return (void *)((wxObject *) ((wxPrinter *) x));
12257}
12258static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12259 return (void *)((wxObject *) ((wxMenuItem *) x));
f05326ba
RD
12260}
12261static void *_p_wxDateEventTo_p_wxObject(void *x) {
12262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12263}
0ef86618
RD
12264static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12265 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
f05326ba 12266}
0ef86618
RD
12267static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
f05326ba 12269}
0ef86618
RD
12270static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12271 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
f05326ba 12272}
0ef86618
RD
12273static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12274 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
f05326ba 12275}
0ef86618
RD
12276static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12277 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
f05326ba 12278}
0ef86618
RD
12279static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12280 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
f05326ba 12281}
0ef86618
RD
12282static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
f05326ba 12284}
0ef86618
RD
12285static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
f05326ba 12287}
0ef86618
RD
12288static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
f05326ba 12290}
0ef86618
RD
12291static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
f05326ba 12293}
0ef86618
RD
12294static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
f05326ba 12296}
0ef86618
RD
12297static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
f05326ba 12299}
0ef86618
RD
12300static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
f05326ba 12302}
0ef86618
RD
12303static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
f05326ba 12305}
0ef86618
RD
12306static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
f05326ba 12308}
0ef86618
RD
12309static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
f05326ba 12311}
0ef86618
RD
12312static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
f05326ba 12314}
0ef86618
RD
12315static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
f05326ba 12317}
0ef86618
RD
12318static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) ((wxImageHandler *) x));
f05326ba
RD
12320}
12321static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12323}
0ef86618
RD
12324static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
f05326ba 12326}
0ef86618
RD
12327static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) ((wxEvtHandler *) x));
f05326ba 12329}
0ef86618
RD
12330static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
f05326ba 12332}
0ef86618
RD
12333static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
f05326ba 12335}
0ef86618
RD
12336static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
f05326ba 12338}
0ef86618
RD
12339static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12340 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
f05326ba 12341}
0ef86618
RD
12342static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12343 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
f05326ba 12344}
0ef86618
RD
12345static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
f05326ba 12347}
0ef86618
RD
12348static void *_p_wxImageTo_p_wxObject(void *x) {
12349 return (void *)((wxObject *) ((wxImage *) x));
f05326ba 12350}
0ef86618
RD
12351static void *_p_wxFrameTo_p_wxObject(void *x) {
12352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
f05326ba 12353}
0ef86618
RD
12354static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12355 return (void *)((wxObject *) ((wxPyPrintout *) x));
f05326ba 12356}
0ef86618
RD
12357static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12358 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
f05326ba 12359}
0ef86618
RD
12360static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12361 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
f05326ba 12362}
0ef86618
RD
12363static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
f05326ba 12365}
0ef86618
RD
12366static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
f05326ba 12368}
0ef86618
RD
12369static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
f05326ba 12371}
0ef86618
RD
12372static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12373 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
f05326ba 12374}
0ef86618
RD
12375static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12376 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
f05326ba 12377}
0ef86618
RD
12378static void *_p_wxWindowTo_p_wxObject(void *x) {
12379 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
f05326ba 12380}
0ef86618
RD
12381static void *_p_wxMenuTo_p_wxObject(void *x) {
12382 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
f05326ba 12383}
0ef86618
RD
12384static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
f05326ba 12386}
0ef86618
RD
12387static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
f05326ba
RD
12389}
12390static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12392}
0ef86618
RD
12393static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
f05326ba 12395}
0ef86618
RD
12396static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
f05326ba 12398}
0ef86618
RD
12399static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
f05326ba 12401}
0ef86618
RD
12402static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
f05326ba 12404}
0ef86618
RD
12405static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
f05326ba 12407}
0ef86618
RD
12408static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
f05326ba 12410}
0ef86618
RD
12411static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
f05326ba 12413}
0ef86618
RD
12414static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
f05326ba 12416}
0ef86618
RD
12417static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
f05326ba 12419}
0ef86618
RD
12420static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
f05326ba 12422}
0ef86618
RD
12423static void *_p_wxSashEventTo_p_wxObject(void *x) {
12424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
f05326ba 12425}
0ef86618
RD
12426static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12427 return (void *)((wxObject *) ((wxPrintPreview *) x));
f05326ba 12428}
0ef86618
RD
12429static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12430 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
f05326ba 12431}
0ef86618
RD
12432static void *_p_wxPanelTo_p_wxObject(void *x) {
12433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
f05326ba 12434}
0ef86618
RD
12435static void *_p_wxDialogTo_p_wxObject(void *x) {
12436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
f05326ba 12437}
0ef86618
RD
12438static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
f05326ba 12440}
0ef86618
RD
12441static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
f05326ba 12443}
0ef86618
RD
12444static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
f05326ba 12446}
0ef86618
RD
12447static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12448 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
f05326ba 12449}
0ef86618
RD
12450static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12451 return (void *)((wxObject *) ((wxPrintDialog *) x));
f05326ba 12452}
0ef86618
RD
12453static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12454 return (void *)((wxObject *) ((wxFileSystem *) x));
f05326ba 12455}
0ef86618
RD
12456static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
f05326ba 12458}
0ef86618
RD
12459static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12460 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
f05326ba 12461}
0ef86618
RD
12462static void *_p_wxPyAppTo_p_wxObject(void *x) {
12463 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
f05326ba 12464}
0ef86618
RD
12465static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12466 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
f05326ba 12467}
0ef86618
RD
12468static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12469 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
f05326ba 12470}
0ef86618
RD
12471static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12472 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
f05326ba 12473}
0ef86618
RD
12474static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
f05326ba
RD
12476}
12477static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12478 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12479}
0ef86618
RD
12480static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
f05326ba 12482}
0ef86618
RD
12483static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
f05326ba 12485}
0ef86618
RD
12486static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12487 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
f05326ba
RD
12488}
12489static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12490 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12491}
0ef86618
RD
12492static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
f05326ba 12494}
0ef86618
RD
12495static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
f05326ba 12497}
0ef86618
RD
12498static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12499 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12500}
12501static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12502 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12503}
12504static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12505 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12506}
12507static void *_p_wxValidatorTo_p_wxObject(void *x) {
12508 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
f05326ba
RD
12509}
12510static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12512}
12513static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12515}
12516static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12517 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12518}
12519static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12521}
12522static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12523 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12524}
12525static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12526 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12527}
12528static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12529 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12530}
12531static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12532 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12533}
12534static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12535 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12536}
12537static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12538 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12539}
12540static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12541 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12542}
12543static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12544 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12545}
27e45892
RD
12546static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
12547 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12548}
f05326ba
RD
12549static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12550 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12551}
12552static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12553 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12554}
12555static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12556 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12557}
12558static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12559 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12560}
12561static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12562 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12563}
12564static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12566}
12567static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12568 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12569}
12570static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12571 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12572}
12573static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12574 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12575}
12576static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12577 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12578}
12579static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12580 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12581}
12582static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12583 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12584}
12585static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12586 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12587}
12588static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12589 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12590}
12591static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12592 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12593}
12594static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12595 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12596}
12597static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12598 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12599}
12600static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12601 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12602}
12603static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12604 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12605}
12606static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12608}
12609static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12611}
12612static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12614}
12615static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12616 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12617}
12618static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12620}
12621static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12622 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12623}
12624static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12625 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12626}
12627static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12628 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12629}
12630static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12631 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12632}
12633static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12634 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12635}
12636static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12637 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12638}
12639static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12640 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12641}
12642static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12643 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12644}
12645static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12646 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12647}
12648static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12649 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12650}
12651static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12652 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12653}
12654static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12655 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12656}
12657static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12658 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12659}
12660static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
12661 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
12662}
12663static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12664 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12665}
12666static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12667 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12668}
12669static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12670 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12671}
12672static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x) {
12673 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxRichTextEvent *) x));
12674}
12675static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12676 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12677}
12678static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12679 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12680}
12681static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12682 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12683}
12684static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12685 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12686}
12687static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12688 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12689}
12690static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12691 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12692}
12693static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12694 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12695}
12696static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12697 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12698}
12699static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12700 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12701}
12702static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12703 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12704}
12705static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12706static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
12707static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
12708static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
12709static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12710static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12711static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12712static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
12713static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12714static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
12715static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12716static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12717static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12718static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12719static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12720static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12721static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12722static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12723static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12724static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12725static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12726static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12727static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12728static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12729static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12730static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12731static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12732static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12733static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12734static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12735static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12736static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12737static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12738static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12739static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12740static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12741static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12742static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12743static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12744static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12745static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12746static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12747static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12748static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12749static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12750static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12751static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12752static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12753static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12754static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12755static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12756static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12757static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12758static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12759static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12760static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12761static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12762static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12763static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12764static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12765static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
12766static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
27e45892
RD
12767static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
12768static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
f05326ba
RD
12769static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12770static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
27e45892 12771static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
f05326ba
RD
12772static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12773static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12774static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12775static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
f05326ba 12776static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
f05326ba
RD
12777static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12778static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12779static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
12780static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12781static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12782static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12783static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12784static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
27e45892 12785static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
f05326ba
RD
12786static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12787static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12788static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12789static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12790static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
12791static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12792static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12793static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12794static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12795static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12796static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12797static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12798static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12799static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12800static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12801static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12802static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12803static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12804static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12805static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12806static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12807static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12808static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12809static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
12810static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
12811static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
f05326ba 12812static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0ef86618
RD
12813static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12814static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12815static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
f05326ba 12816static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
0ef86618
RD
12817static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12818static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
f05326ba 12819static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
0ef86618
RD
12820static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12821static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12822static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12823static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12824static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
f05326ba 12825static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
0ef86618
RD
12826static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12827static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12828static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12829static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12830static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
f05326ba
RD
12831static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12832static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12833static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12834static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12835static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12836static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12837static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 12838static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
0ef86618
RD
12839static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12840static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12841static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12842static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12843static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12844static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12845static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12846static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12847static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12848static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12849static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12850static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12851static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12852static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12853static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
f05326ba
RD
12854static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12855static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12856static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
12857static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
12858static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
12859static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
12860static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
12861static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
12862static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
12863static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12864static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
12865static swig_type_info _swigt__p_wxTextCtrlHitTestResult = {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
12866static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12867
12868static swig_type_info *swig_type_initial[] = {
12869 &_swigt__p_char,
12870 &_swigt__p_form_ops_t,
12871 &_swigt__p_int,
12872 &_swigt__p_long,
12873 &_swigt__p_unsigned_char,
12874 &_swigt__p_unsigned_int,
12875 &_swigt__p_unsigned_long,
12876 &_swigt__p_wxANIHandler,
12877 &_swigt__p_wxAcceleratorTable,
12878 &_swigt__p_wxActivateEvent,
12879 &_swigt__p_wxArrayInt,
12880 &_swigt__p_wxBMPHandler,
12881 &_swigt__p_wxBitmap,
12882 &_swigt__p_wxBoxSizer,
f05326ba
RD
12883 &_swigt__p_wxCURHandler,
12884 &_swigt__p_wxCalculateLayoutEvent,
12885 &_swigt__p_wxChar,
12886 &_swigt__p_wxChildFocusEvent,
f05326ba
RD
12887 &_swigt__p_wxClipboardTextEvent,
12888 &_swigt__p_wxCloseEvent,
12889 &_swigt__p_wxColour,
12890 &_swigt__p_wxColourData,
12891 &_swigt__p_wxColourDialog,
12892 &_swigt__p_wxCommandEvent,
12893 &_swigt__p_wxContextMenuEvent,
12894 &_swigt__p_wxControl,
12895 &_swigt__p_wxControlWithItems,
f05326ba
RD
12896 &_swigt__p_wxDateEvent,
12897 &_swigt__p_wxDialog,
12898 &_swigt__p_wxDirDialog,
12899 &_swigt__p_wxDisplayChangedEvent,
12900 &_swigt__p_wxDropFilesEvent,
12901 &_swigt__p_wxDuplexMode,
f05326ba
RD
12902 &_swigt__p_wxEraseEvent,
12903 &_swigt__p_wxEvent,
12904 &_swigt__p_wxEvtHandler,
12905 &_swigt__p_wxFSFile,
12906 &_swigt__p_wxFileDialog,
12907 &_swigt__p_wxFileSystem,
12908 &_swigt__p_wxFindDialogEvent,
12909 &_swigt__p_wxFindReplaceData,
12910 &_swigt__p_wxFindReplaceDialog,
12911 &_swigt__p_wxFlexGridSizer,
12912 &_swigt__p_wxFocusEvent,
12913 &_swigt__p_wxFont,
12914 &_swigt__p_wxFontData,
12915 &_swigt__p_wxFontDialog,
12916 &_swigt__p_wxFrame,
12917 &_swigt__p_wxGBSizerItem,
f05326ba
RD
12918 &_swigt__p_wxGIFHandler,
12919 &_swigt__p_wxGridBagSizer,
12920 &_swigt__p_wxGridSizer,
12921 &_swigt__p_wxICOHandler,
f05326ba
RD
12922 &_swigt__p_wxIconizeEvent,
12923 &_swigt__p_wxIdleEvent,
12924 &_swigt__p_wxImage,
12925 &_swigt__p_wxImageHandler,
f05326ba
RD
12926 &_swigt__p_wxIndividualLayoutConstraint,
12927 &_swigt__p_wxInitDialogEvent,
12928 &_swigt__p_wxJPEGHandler,
12929 &_swigt__p_wxKeyEvent,
12930 &_swigt__p_wxLayoutAlgorithm,
12931 &_swigt__p_wxLayoutConstraints,
12932 &_swigt__p_wxMDIChildFrame,
12933 &_swigt__p_wxMDIClientWindow,
12934 &_swigt__p_wxMDIParentFrame,
f05326ba 12935 &_swigt__p_wxMaximizeEvent,
f05326ba
RD
12936 &_swigt__p_wxMenu,
12937 &_swigt__p_wxMenuBar,
12938 &_swigt__p_wxMenuEvent,
12939 &_swigt__p_wxMenuItem,
12940 &_swigt__p_wxMessageDialog,
f05326ba 12941 &_swigt__p_wxMiniFrame,
f05326ba
RD
12942 &_swigt__p_wxMouseCaptureChangedEvent,
12943 &_swigt__p_wxMouseEvent,
12944 &_swigt__p_wxMoveEvent,
12945 &_swigt__p_wxMultiChoiceDialog,
12946 &_swigt__p_wxNavigationKeyEvent,
12947 &_swigt__p_wxNcPaintEvent,
12948 &_swigt__p_wxNotifyEvent,
27e45892 12949 &_swigt__p_wxNumberEntryDialog,
f05326ba
RD
12950 &_swigt__p_wxObject,
12951 &_swigt__p_wxPCXHandler,
12952 &_swigt__p_wxPNGHandler,
12953 &_swigt__p_wxPNMHandler,
12954 &_swigt__p_wxPageSetupDialog,
12955 &_swigt__p_wxPageSetupDialogData,
f05326ba 12956 &_swigt__p_wxPaintEvent,
f05326ba
RD
12957 &_swigt__p_wxPaletteChangedEvent,
12958 &_swigt__p_wxPanel,
12959 &_swigt__p_wxPaperSize,
12960 &_swigt__p_wxPasswordEntryDialog,
f05326ba 12961 &_swigt__p_wxPopupWindow,
f05326ba
RD
12962 &_swigt__p_wxPreviewCanvas,
12963 &_swigt__p_wxPreviewControlBar,
12964 &_swigt__p_wxPreviewFrame,
12965 &_swigt__p_wxPrintData,
12966 &_swigt__p_wxPrintDialog,
12967 &_swigt__p_wxPrintDialogData,
12968 &_swigt__p_wxPrintPreview,
12969 &_swigt__p_wxPrinter,
f05326ba
RD
12970 &_swigt__p_wxProgressDialog,
12971 &_swigt__p_wxPyApp,
12972 &_swigt__p_wxPyCommandEvent,
12973 &_swigt__p_wxPyEvent,
12974 &_swigt__p_wxPyHtmlListBox,
12975 &_swigt__p_wxPyImageHandler,
12976 &_swigt__p_wxPyPanel,
12977 &_swigt__p_wxPyPopupTransientWindow,
12978 &_swigt__p_wxPyPreviewControlBar,
12979 &_swigt__p_wxPyPreviewFrame,
12980 &_swigt__p_wxPyPrintPreview,
12981 &_swigt__p_wxPyPrintout,
12982 &_swigt__p_wxPyScrolledWindow,
12983 &_swigt__p_wxPySizer,
12984 &_swigt__p_wxPyTaskBarIcon,
12985 &_swigt__p_wxPyVListBox,
12986 &_swigt__p_wxPyVScrolledWindow,
12987 &_swigt__p_wxPyValidator,
12988 &_swigt__p_wxPyWindow,
12989 &_swigt__p_wxQueryLayoutInfoEvent,
12990 &_swigt__p_wxQueryNewPaletteEvent,
f05326ba
RD
12991 &_swigt__p_wxRichTextAttr,
12992 &_swigt__p_wxRichTextBuffer,
12993 &_swigt__p_wxRichTextCtrl,
12994 &_swigt__p_wxRichTextEvent,
12995 &_swigt__p_wxRichTextImageBlock,
12996 &_swigt__p_wxRichTextRange,
12997 &_swigt__p_wxRichTextStyleSheet,
12998 &_swigt__p_wxSashEvent,
12999 &_swigt__p_wxSashLayoutWindow,
13000 &_swigt__p_wxSashWindow,
f05326ba
RD
13001 &_swigt__p_wxScrollEvent,
13002 &_swigt__p_wxScrollWinEvent,
13003 &_swigt__p_wxScrolledWindow,
13004 &_swigt__p_wxSetCursorEvent,
13005 &_swigt__p_wxShowEvent,
13006 &_swigt__p_wxSingleChoiceDialog,
13007 &_swigt__p_wxSizeEvent,
13008 &_swigt__p_wxSizer,
13009 &_swigt__p_wxSizerItem,
13010 &_swigt__p_wxSplashScreen,
13011 &_swigt__p_wxSplashScreenWindow,
13012 &_swigt__p_wxSplitterEvent,
13013 &_swigt__p_wxSplitterWindow,
13014 &_swigt__p_wxStaticBoxSizer,
13015 &_swigt__p_wxStatusBar,
13016 &_swigt__p_wxStdDialogButtonSizer,
13017 &_swigt__p_wxSysColourChangedEvent,
13018 &_swigt__p_wxTIFFHandler,
13019 &_swigt__p_wxTaskBarIconEvent,
13020 &_swigt__p_wxTextCoord,
13021 &_swigt__p_wxTextCtrlHitTestResult,
13022 &_swigt__p_wxTextEntryDialog,
13023 &_swigt__p_wxTipWindow,
13024 &_swigt__p_wxTopLevelWindow,
13025 &_swigt__p_wxUpdateUIEvent,
13026 &_swigt__p_wxValidator,
13027 &_swigt__p_wxWindow,
13028 &_swigt__p_wxWindowCreateEvent,
f05326ba
RD
13029 &_swigt__p_wxWindowDestroyEvent,
13030 &_swigt__p_wxXPMHandler,
13031};
13032
13033static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13034static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13035static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13036static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
13037static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13038static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13039static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13040static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
13041static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13042static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
13043static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13044static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13045static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13046static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13047static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13048static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13049static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13050static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13051static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13052static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13053static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13054static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13055static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13056static 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}};
13057static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13058static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13059static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13060static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13061static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13062static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13063static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13064static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13065static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13066static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13067static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13068static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13069static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13070static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13071static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13072static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13073static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13074static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13075static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13076static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13077static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13078static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13079static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13080static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13081static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13082static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13083static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13084static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13085static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13086static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13087static 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}};
13088static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13089static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13090static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13091static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13092static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
13093static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
27e45892
RD
13094static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13095static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13096static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13097static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13098static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13099static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13100static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13101static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13102static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13103static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13104static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13105static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13106static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13107static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13108static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13109static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13110static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13111static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13112static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13113static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13114static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13115static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13116static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13117static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
13118static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13119static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13120static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13121static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13122static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13123static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13124static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13125static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13126static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13127static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13128static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13129static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13130static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13131static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13132static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13133static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13134static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13135static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_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_wxPopupWindow, _p_wxPopupWindowTo_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}};
f05326ba
RD
13136static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13137static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13138static 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}};
f05326ba 13139static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13140static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13141static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13142static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13143static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13144static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13145static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13146static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13147static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13148static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13149static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13150static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13151static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13152static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13153static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13154static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13155static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13156static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13157static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13158static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13159static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13160static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13161static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13162static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13163static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13164static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13165static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13166static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13167static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13168static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13169static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13170static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13171static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13172static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13173static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13174static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13175static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13176static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13177static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13178static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13179static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13180static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13181static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13182static 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}};
13183static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13184static swig_cast_info _swigc__p_wxRichTextAttr[] = { {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}};
13185static swig_cast_info _swigc__p_wxRichTextBuffer[] = { {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
13186static swig_cast_info _swigc__p_wxRichTextCtrl[] = { {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13187static swig_cast_info _swigc__p_wxRichTextEvent[] = { {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13188static swig_cast_info _swigc__p_wxRichTextImageBlock[] = { {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}};
13189static swig_cast_info _swigc__p_wxRichTextRange[] = { {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}};
13190static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = { {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}};
13191static 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}};
13192static swig_cast_info _swigc__p_wxTextCoord[] = { {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}};
13193static swig_cast_info _swigc__p_wxTextCtrlHitTestResult[] = { {&_swigt__p_wxTextCtrlHitTestResult, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13194static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
f05326ba
RD
13195
13196static swig_cast_info *swig_cast_initial[] = {
13197 _swigc__p_char,
13198 _swigc__p_form_ops_t,
13199 _swigc__p_int,
13200 _swigc__p_long,
13201 _swigc__p_unsigned_char,
13202 _swigc__p_unsigned_int,
13203 _swigc__p_unsigned_long,
13204 _swigc__p_wxANIHandler,
13205 _swigc__p_wxAcceleratorTable,
13206 _swigc__p_wxActivateEvent,
13207 _swigc__p_wxArrayInt,
13208 _swigc__p_wxBMPHandler,
13209 _swigc__p_wxBitmap,
13210 _swigc__p_wxBoxSizer,
f05326ba
RD
13211 _swigc__p_wxCURHandler,
13212 _swigc__p_wxCalculateLayoutEvent,
13213 _swigc__p_wxChar,
13214 _swigc__p_wxChildFocusEvent,
f05326ba
RD
13215 _swigc__p_wxClipboardTextEvent,
13216 _swigc__p_wxCloseEvent,
13217 _swigc__p_wxColour,
13218 _swigc__p_wxColourData,
13219 _swigc__p_wxColourDialog,
13220 _swigc__p_wxCommandEvent,
13221 _swigc__p_wxContextMenuEvent,
13222 _swigc__p_wxControl,
13223 _swigc__p_wxControlWithItems,
f05326ba
RD
13224 _swigc__p_wxDateEvent,
13225 _swigc__p_wxDialog,
13226 _swigc__p_wxDirDialog,
13227 _swigc__p_wxDisplayChangedEvent,
13228 _swigc__p_wxDropFilesEvent,
13229 _swigc__p_wxDuplexMode,
f05326ba
RD
13230 _swigc__p_wxEraseEvent,
13231 _swigc__p_wxEvent,
13232 _swigc__p_wxEvtHandler,
13233 _swigc__p_wxFSFile,
13234 _swigc__p_wxFileDialog,
13235 _swigc__p_wxFileSystem,
13236 _swigc__p_wxFindDialogEvent,
13237 _swigc__p_wxFindReplaceData,
13238 _swigc__p_wxFindReplaceDialog,
13239 _swigc__p_wxFlexGridSizer,
13240 _swigc__p_wxFocusEvent,
13241 _swigc__p_wxFont,
13242 _swigc__p_wxFontData,
13243 _swigc__p_wxFontDialog,
13244 _swigc__p_wxFrame,
13245 _swigc__p_wxGBSizerItem,
f05326ba
RD
13246 _swigc__p_wxGIFHandler,
13247 _swigc__p_wxGridBagSizer,
13248 _swigc__p_wxGridSizer,
13249 _swigc__p_wxICOHandler,
f05326ba
RD
13250 _swigc__p_wxIconizeEvent,
13251 _swigc__p_wxIdleEvent,
13252 _swigc__p_wxImage,
13253 _swigc__p_wxImageHandler,
f05326ba
RD
13254 _swigc__p_wxIndividualLayoutConstraint,
13255 _swigc__p_wxInitDialogEvent,
13256 _swigc__p_wxJPEGHandler,
13257 _swigc__p_wxKeyEvent,
13258 _swigc__p_wxLayoutAlgorithm,
13259 _swigc__p_wxLayoutConstraints,
13260 _swigc__p_wxMDIChildFrame,
13261 _swigc__p_wxMDIClientWindow,
13262 _swigc__p_wxMDIParentFrame,
f05326ba 13263 _swigc__p_wxMaximizeEvent,
f05326ba
RD
13264 _swigc__p_wxMenu,
13265 _swigc__p_wxMenuBar,
13266 _swigc__p_wxMenuEvent,
13267 _swigc__p_wxMenuItem,
13268 _swigc__p_wxMessageDialog,
f05326ba 13269 _swigc__p_wxMiniFrame,
f05326ba
RD
13270 _swigc__p_wxMouseCaptureChangedEvent,
13271 _swigc__p_wxMouseEvent,
13272 _swigc__p_wxMoveEvent,
13273 _swigc__p_wxMultiChoiceDialog,
13274 _swigc__p_wxNavigationKeyEvent,
13275 _swigc__p_wxNcPaintEvent,
13276 _swigc__p_wxNotifyEvent,
27e45892 13277 _swigc__p_wxNumberEntryDialog,
f05326ba
RD
13278 _swigc__p_wxObject,
13279 _swigc__p_wxPCXHandler,
13280 _swigc__p_wxPNGHandler,
13281 _swigc__p_wxPNMHandler,
13282 _swigc__p_wxPageSetupDialog,
13283 _swigc__p_wxPageSetupDialogData,
f05326ba 13284 _swigc__p_wxPaintEvent,
f05326ba
RD
13285 _swigc__p_wxPaletteChangedEvent,
13286 _swigc__p_wxPanel,
13287 _swigc__p_wxPaperSize,
13288 _swigc__p_wxPasswordEntryDialog,
f05326ba 13289 _swigc__p_wxPopupWindow,
f05326ba
RD
13290 _swigc__p_wxPreviewCanvas,
13291 _swigc__p_wxPreviewControlBar,
13292 _swigc__p_wxPreviewFrame,
13293 _swigc__p_wxPrintData,
13294 _swigc__p_wxPrintDialog,
13295 _swigc__p_wxPrintDialogData,
13296 _swigc__p_wxPrintPreview,
13297 _swigc__p_wxPrinter,
f05326ba
RD
13298 _swigc__p_wxProgressDialog,
13299 _swigc__p_wxPyApp,
13300 _swigc__p_wxPyCommandEvent,
13301 _swigc__p_wxPyEvent,
13302 _swigc__p_wxPyHtmlListBox,
13303 _swigc__p_wxPyImageHandler,
13304 _swigc__p_wxPyPanel,
13305 _swigc__p_wxPyPopupTransientWindow,
13306 _swigc__p_wxPyPreviewControlBar,
13307 _swigc__p_wxPyPreviewFrame,
13308 _swigc__p_wxPyPrintPreview,
13309 _swigc__p_wxPyPrintout,
13310 _swigc__p_wxPyScrolledWindow,
13311 _swigc__p_wxPySizer,
13312 _swigc__p_wxPyTaskBarIcon,
13313 _swigc__p_wxPyVListBox,
13314 _swigc__p_wxPyVScrolledWindow,
13315 _swigc__p_wxPyValidator,
13316 _swigc__p_wxPyWindow,
13317 _swigc__p_wxQueryLayoutInfoEvent,
13318 _swigc__p_wxQueryNewPaletteEvent,
f05326ba
RD
13319 _swigc__p_wxRichTextAttr,
13320 _swigc__p_wxRichTextBuffer,
13321 _swigc__p_wxRichTextCtrl,
13322 _swigc__p_wxRichTextEvent,
13323 _swigc__p_wxRichTextImageBlock,
13324 _swigc__p_wxRichTextRange,
13325 _swigc__p_wxRichTextStyleSheet,
13326 _swigc__p_wxSashEvent,
13327 _swigc__p_wxSashLayoutWindow,
13328 _swigc__p_wxSashWindow,
f05326ba
RD
13329 _swigc__p_wxScrollEvent,
13330 _swigc__p_wxScrollWinEvent,
13331 _swigc__p_wxScrolledWindow,
13332 _swigc__p_wxSetCursorEvent,
13333 _swigc__p_wxShowEvent,
13334 _swigc__p_wxSingleChoiceDialog,
13335 _swigc__p_wxSizeEvent,
13336 _swigc__p_wxSizer,
13337 _swigc__p_wxSizerItem,
13338 _swigc__p_wxSplashScreen,
13339 _swigc__p_wxSplashScreenWindow,
13340 _swigc__p_wxSplitterEvent,
13341 _swigc__p_wxSplitterWindow,
13342 _swigc__p_wxStaticBoxSizer,
13343 _swigc__p_wxStatusBar,
13344 _swigc__p_wxStdDialogButtonSizer,
13345 _swigc__p_wxSysColourChangedEvent,
13346 _swigc__p_wxTIFFHandler,
13347 _swigc__p_wxTaskBarIconEvent,
13348 _swigc__p_wxTextCoord,
13349 _swigc__p_wxTextCtrlHitTestResult,
13350 _swigc__p_wxTextEntryDialog,
13351 _swigc__p_wxTipWindow,
13352 _swigc__p_wxTopLevelWindow,
13353 _swigc__p_wxUpdateUIEvent,
13354 _swigc__p_wxValidator,
13355 _swigc__p_wxWindow,
13356 _swigc__p_wxWindowCreateEvent,
f05326ba
RD
13357 _swigc__p_wxWindowDestroyEvent,
13358 _swigc__p_wxXPMHandler,
13359};
13360
13361
13362/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13363
13364static swig_const_info swig_const_table[] = {
13365{0, 0, 0, 0.0, 0, 0}};
13366
13367#ifdef __cplusplus
13368}
13369#endif
13370/* -----------------------------------------------------------------------------
13371 * Type initialization:
13372 * This problem is tough by the requirement that no dynamic
13373 * memory is used. Also, since swig_type_info structures store pointers to
13374 * swig_cast_info structures and swig_cast_info structures store pointers back
13375 * to swig_type_info structures, we need some lookup code at initialization.
13376 * The idea is that swig generates all the structures that are needed.
13377 * The runtime then collects these partially filled structures.
13378 * The SWIG_InitializeModule function takes these initial arrays out of
13379 * swig_module, and does all the lookup, filling in the swig_module.types
13380 * array with the correct data and linking the correct swig_cast_info
13381 * structures together.
13382 *
13383 * The generated swig_type_info structures are assigned staticly to an initial
13384 * array. We just loop though that array, and handle each type individually.
13385 * First we lookup if this type has been already loaded, and if so, use the
13386 * loaded structure instead of the generated one. Then we have to fill in the
13387 * cast linked list. The cast data is initially stored in something like a
13388 * two-dimensional array. Each row corresponds to a type (there are the same
13389 * number of rows as there are in the swig_type_initial array). Each entry in
13390 * a column is one of the swig_cast_info structures for that type.
13391 * The cast_initial array is actually an array of arrays, because each row has
13392 * a variable number of columns. So to actually build the cast linked list,
13393 * we find the array of casts associated with the type, and loop through it
13394 * adding the casts to the list. The one last trick we need to do is making
13395 * sure the type pointer in the swig_cast_info struct is correct.
13396 *
13397 * First off, we lookup the cast->type name to see if it is already loaded.
13398 * There are three cases to handle:
13399 * 1) If the cast->type has already been loaded AND the type we are adding
13400 * casting info to has not been loaded (it is in this module), THEN we
13401 * replace the cast->type pointer with the type pointer that has already
13402 * been loaded.
13403 * 2) If BOTH types (the one we are adding casting info to, and the
13404 * cast->type) are loaded, THEN the cast info has already been loaded by
13405 * the previous module so we just ignore it.
13406 * 3) Finally, if cast->type has not already been loaded, then we add that
13407 * swig_cast_info to the linked list (because the cast->type) pointer will
13408 * be correct.
13409 * ----------------------------------------------------------------------------- */
13410
13411#ifdef __cplusplus
13412extern "C" {
13413#if 0
13414} /* c-mode */
13415#endif
13416#endif
13417
13418#if 0
13419#define SWIGRUNTIME_DEBUG
13420#endif
13421
13422SWIGRUNTIME void
13423SWIG_InitializeModule(void *clientdata) {
13424 size_t i;
13425 swig_module_info *module_head;
13426 static int init_run = 0;
13427
13428 clientdata = clientdata;
13429
13430 if (init_run) return;
13431 init_run = 1;
13432
13433 /* Initialize the swig_module */
13434 swig_module.type_initial = swig_type_initial;
13435 swig_module.cast_initial = swig_cast_initial;
13436
13437 /* Try and load any already created modules */
13438 module_head = SWIG_GetModule(clientdata);
13439 if (module_head) {
13440 swig_module.next = module_head->next;
13441 module_head->next = &swig_module;
13442 } else {
13443 /* This is the first module loaded */
13444 swig_module.next = &swig_module;
13445 SWIG_SetModule(clientdata, &swig_module);
13446 }
13447
13448 /* Now work on filling in swig_module.types */
13449#ifdef SWIGRUNTIME_DEBUG
13450 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13451#endif
13452 for (i = 0; i < swig_module.size; ++i) {
13453 swig_type_info *type = 0;
13454 swig_type_info *ret;
13455 swig_cast_info *cast;
13456
13457#ifdef SWIGRUNTIME_DEBUG
13458 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13459#endif
13460
13461 /* if there is another module already loaded */
13462 if (swig_module.next != &swig_module) {
13463 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13464 }
13465 if (type) {
13466 /* Overwrite clientdata field */
13467#ifdef SWIGRUNTIME_DEBUG
13468 printf("SWIG_InitializeModule: found type %s\n", type->name);
13469#endif
13470 if (swig_module.type_initial[i]->clientdata) {
13471 type->clientdata = swig_module.type_initial[i]->clientdata;
13472#ifdef SWIGRUNTIME_DEBUG
13473 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13474#endif
13475 }
13476 } else {
13477 type = swig_module.type_initial[i];
13478 }
13479
13480 /* Insert casting types */
13481 cast = swig_module.cast_initial[i];
13482 while (cast->type) {
13483 /* Don't need to add information already in the list */
13484 ret = 0;
13485#ifdef SWIGRUNTIME_DEBUG
13486 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13487#endif
13488 if (swig_module.next != &swig_module) {
13489 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13490#ifdef SWIGRUNTIME_DEBUG
13491 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13492#endif
13493 }
13494 if (ret) {
13495 if (type == swig_module.type_initial[i]) {
13496#ifdef SWIGRUNTIME_DEBUG
13497 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13498#endif
13499 cast->type = ret;
13500 ret = 0;
13501 } else {
13502 /* Check for casting already in the list */
13503 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13504#ifdef SWIGRUNTIME_DEBUG
13505 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13506#endif
13507 if (!ocast) ret = 0;
13508 }
13509 }
13510
13511 if (!ret) {
13512#ifdef SWIGRUNTIME_DEBUG
13513 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13514#endif
13515 if (type->cast) {
13516 type->cast->prev = cast;
13517 cast->next = type->cast;
13518 }
13519 type->cast = cast;
13520 }
13521 cast++;
13522 }
13523 /* Set entry in modules->types array equal to the type */
13524 swig_module.types[i] = type;
13525 }
13526 swig_module.types[i] = 0;
13527
13528#ifdef SWIGRUNTIME_DEBUG
13529 printf("**** SWIG_InitializeModule: Cast List ******\n");
13530 for (i = 0; i < swig_module.size; ++i) {
13531 int j = 0;
13532 swig_cast_info *cast = swig_module.cast_initial[i];
13533 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13534 while (cast->type) {
13535 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13536 cast++;
13537 ++j;
13538 }
13539 printf("---- Total casts: %d\n",j);
13540 }
13541 printf("**** SWIG_InitializeModule: Cast List ******\n");
13542#endif
13543}
13544
13545/* This function will propagate the clientdata field of type to
13546* any new swig_type_info structures that have been added into the list
13547* of equivalent types. It is like calling
13548* SWIG_TypeClientData(type, clientdata) a second time.
13549*/
13550SWIGRUNTIME void
13551SWIG_PropagateClientData(void) {
13552 size_t i;
13553 swig_cast_info *equiv;
13554 static int init_run = 0;
13555
13556 if (init_run) return;
13557 init_run = 1;
13558
13559 for (i = 0; i < swig_module.size; i++) {
13560 if (swig_module.types[i]->clientdata) {
13561 equiv = swig_module.types[i]->cast;
13562 while (equiv) {
13563 if (!equiv->converter) {
13564 if (equiv->type && !equiv->type->clientdata)
13565 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13566 }
13567 equiv = equiv->next;
13568 }
13569 }
13570 }
13571}
13572
13573#ifdef __cplusplus
13574#if 0
13575{
13576 /* c-mode */
13577#endif
13578}
13579#endif
13580
13581
13582
13583#ifdef __cplusplus
13584extern "C" {
13585#endif
13586
13587 /* Python-specific SWIG API */
13588#define SWIG_newvarlink() SWIG_Python_newvarlink()
13589#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13590#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13591
13592 /* -----------------------------------------------------------------------------
13593 * global variable support code.
13594 * ----------------------------------------------------------------------------- */
13595
13596 typedef struct swig_globalvar {
13597 char *name; /* Name of global variable */
13598 PyObject *(*get_attr)(void); /* Return the current value */
13599 int (*set_attr)(PyObject *); /* Set the value */
13600 struct swig_globalvar *next;
13601 } swig_globalvar;
13602
13603 typedef struct swig_varlinkobject {
13604 PyObject_HEAD
13605 swig_globalvar *vars;
13606 } swig_varlinkobject;
13607
13608 SWIGINTERN PyObject *
13609 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13610 return PyString_FromString("<Swig global variables>");
13611 }
13612
13613 SWIGINTERN PyObject *
13614 swig_varlink_str(swig_varlinkobject *v) {
13615 PyObject *str = PyString_FromString("(");
13616 swig_globalvar *var;
13617 for (var = v->vars; var; var=var->next) {
13618 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13619 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13620 }
13621 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13622 return str;
13623 }
13624
13625 SWIGINTERN int
13626 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13627 PyObject *str = swig_varlink_str(v);
13628 fprintf(fp,"Swig global variables ");
13629 fprintf(fp,"%s\n", PyString_AsString(str));
13630 Py_DECREF(str);
13631 return 0;
13632 }
13633
13634 SWIGINTERN void
13635 swig_varlink_dealloc(swig_varlinkobject *v) {
13636 swig_globalvar *var = v->vars;
13637 while (var) {
13638 swig_globalvar *n = var->next;
13639 free(var->name);
13640 free(var);
13641 var = n;
13642 }
13643 }
13644
13645 SWIGINTERN PyObject *
13646 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13647 PyObject *res = NULL;
13648 swig_globalvar *var = v->vars;
13649 while (var) {
13650 if (strcmp(var->name,n) == 0) {
13651 res = (*var->get_attr)();
13652 break;
13653 }
13654 var = var->next;
13655 }
13656 if (res == NULL && !PyErr_Occurred()) {
13657 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13658 }
13659 return res;
13660 }
13661
13662 SWIGINTERN int
13663 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13664 int res = 1;
13665 swig_globalvar *var = v->vars;
13666 while (var) {
13667 if (strcmp(var->name,n) == 0) {
13668 res = (*var->set_attr)(p);
13669 break;
13670 }
13671 var = var->next;
13672 }
13673 if (res == 1 && !PyErr_Occurred()) {
13674 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13675 }
13676 return res;
13677 }
13678
13679 SWIGINTERN PyTypeObject*
13680 swig_varlink_type(void) {
13681 static char varlink__doc__[] = "Swig var link object";
13682 static PyTypeObject varlink_type;
13683 static int type_init = 0;
13684 if (!type_init) {
13685 const PyTypeObject tmp
13686 = {
13687 PyObject_HEAD_INIT(NULL)
13688 0, /* Number of items in variable part (ob_size) */
13689 (char *)"swigvarlink", /* Type name (tp_name) */
13690 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13691 0, /* Itemsize (tp_itemsize) */
13692 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13693 (printfunc) swig_varlink_print, /* Print (tp_print) */
13694 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13695 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13696 0, /* tp_compare */
13697 (reprfunc) swig_varlink_repr, /* tp_repr */
13698 0, /* tp_as_number */
13699 0, /* tp_as_sequence */
13700 0, /* tp_as_mapping */
13701 0, /* tp_hash */
13702 0, /* tp_call */
13703 (reprfunc)swig_varlink_str, /* tp_str */
13704 0, /* tp_getattro */
13705 0, /* tp_setattro */
13706 0, /* tp_as_buffer */
13707 0, /* tp_flags */
13708 varlink__doc__, /* tp_doc */
13709 0, /* tp_traverse */
13710 0, /* tp_clear */
13711 0, /* tp_richcompare */
13712 0, /* tp_weaklistoffset */
13713#if PY_VERSION_HEX >= 0x02020000
13714 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13715#endif
13716#if PY_VERSION_HEX >= 0x02030000
13717 0, /* tp_del */
13718#endif
13719#ifdef COUNT_ALLOCS
13720 0,0,0,0 /* tp_alloc -> tp_next */
13721#endif
13722 };
13723 varlink_type = tmp;
13724 varlink_type.ob_type = &PyType_Type;
13725 type_init = 1;
13726 }
13727 return &varlink_type;
13728 }
13729
13730 /* Create a variable linking object for use later */
13731 SWIGINTERN PyObject *
13732 SWIG_Python_newvarlink(void) {
13733 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
13734 if (result) {
13735 result->vars = 0;
13736 }
13737 return ((PyObject*) result);
13738 }
13739
13740 SWIGINTERN void
13741 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13742 swig_varlinkobject *v = (swig_varlinkobject *) p;
13743 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13744 if (gv) {
13745 size_t size = strlen(name)+1;
13746 gv->name = (char *)malloc(size);
13747 if (gv->name) {
13748 strncpy(gv->name,name,size);
13749 gv->get_attr = get_attr;
13750 gv->set_attr = set_attr;
13751 gv->next = v->vars;
13752 }
13753 }
13754 v->vars = gv;
13755 }
13756
13757 SWIGINTERN PyObject *
13758 SWIG_globals() {
13759 static PyObject *_SWIG_globals = 0;
13760 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
13761 return _SWIG_globals;
13762 }
13763
13764 /* -----------------------------------------------------------------------------
13765 * constants/methods manipulation
13766 * ----------------------------------------------------------------------------- */
13767
13768 /* Install Constants */
13769 SWIGINTERN void
13770 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13771 PyObject *obj = 0;
13772 size_t i;
13773 for (i = 0; constants[i].type; ++i) {
13774 switch(constants[i].type) {
13775 case SWIG_PY_POINTER:
13776 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13777 break;
13778 case SWIG_PY_BINARY:
13779 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13780 break;
13781 default:
13782 obj = 0;
13783 break;
13784 }
13785 if (obj) {
13786 PyDict_SetItemString(d, constants[i].name, obj);
13787 Py_DECREF(obj);
13788 }
13789 }
13790 }
13791
13792 /* -----------------------------------------------------------------------------*/
13793 /* Fix SwigMethods to carry the callback ptrs when needed */
13794 /* -----------------------------------------------------------------------------*/
13795
13796 SWIGINTERN void
13797 SWIG_Python_FixMethods(PyMethodDef *methods,
13798 swig_const_info *const_table,
13799 swig_type_info **types,
13800 swig_type_info **types_initial) {
13801 size_t i;
13802 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 13803 const char *c = methods[i].ml_doc;
f05326ba
RD
13804 if (c && (c = strstr(c, "swig_ptr: "))) {
13805 int j;
13806 swig_const_info *ci = 0;
453fb36b 13807 const char *name = c + 10;
f05326ba
RD
13808 for (j = 0; const_table[j].type; ++j) {
13809 if (strncmp(const_table[j].name, name,
13810 strlen(const_table[j].name)) == 0) {
13811 ci = &(const_table[j]);
13812 break;
13813 }
13814 }
13815 if (ci) {
13816 size_t shift = (ci->ptype) - types;
13817 swig_type_info *ty = types_initial[shift];
13818 size_t ldoc = (c - methods[i].ml_doc);
13819 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13820 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13821 if (ndoc) {
13822 char *buff = ndoc;
13823 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
13824 if (ptr) {
13825 strncpy(buff, methods[i].ml_doc, ldoc);
13826 buff += ldoc;
13827 strncpy(buff, "swig_ptr: ", 10);
13828 buff += 10;
13829 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13830 methods[i].ml_doc = ndoc;
13831 }
13832 }
13833 }
13834 }
13835 }
13836 }
13837
13838#ifdef __cplusplus
13839}
13840#endif
13841
13842/* -----------------------------------------------------------------------------*
13843 * Partial Init method
13844 * -----------------------------------------------------------------------------*/
13845
13846#ifdef __cplusplus
13847extern "C"
13848#endif
13849SWIGEXPORT void SWIG_init(void) {
13850 PyObject *m, *d;
13851
13852 /* Fix SwigMethods to carry the callback ptrs when needed */
13853 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
13854
13855 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13856 d = PyModule_GetDict(m);
13857
13858 SWIG_InitializeModule(0);
13859 SWIG_InstallConstants(d,swig_const_table);
13860
13861
13862 SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
13863 SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
13864 SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
13865 SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
13866 SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
13867 SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
13868 SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
13869 SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
13870 SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
13871 SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
13872 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY)));
13873 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT)));
13874 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML)));
13875 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML)));
13876 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF)));
13877 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF)));
13878 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH)));
13879 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT)));
13880 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH)));
13881 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT)));
13882 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE)));
13883 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE)));
13884 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER)));
13885 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON)));
13886 SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED)));
13887 SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED)));
13888 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
13889 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
13890 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
13891 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
13892 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
13893 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
13894 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
13895 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
13896 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
13897 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
13898 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
13899 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
13900 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER)));
13901 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE)));
13902 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING)));
13903 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME)));
13904 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME)));
13905 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE)));
13906 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER)));
13907 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_SYMBOL)));
13908 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE)));
13909 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC)));
13910 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER)));
13911 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER)));
13912 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER)));
13913 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER)));
13914 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL)));
13915 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP)));
13916 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES)));
13917 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD)));
13918 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL)));
13919 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF)));
13920 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE)));
13921 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
13922 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
13923 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
13924 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
13925 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
13926 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
13927 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
13928 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set);
13929 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set);
13930 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
13931 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
13932 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
13933 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED));
13934 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED));
13935 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK));
13936 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK));
13937 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK));
13938 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK));
13939 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN));
13940
13941
13942}
13943