]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/richtext_wrap.cpp
Gobs of changes needed to get up to date with today's CVS
[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]
0f83f5da
RD
2540#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[74]
2541#define SWIGTYPE_p_wxMouseEvent swig_types[75]
2542#define SWIGTYPE_p_wxMoveEvent swig_types[76]
2543#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2544#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2545#define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2546#define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2547#define SWIGTYPE_p_wxNumberEntryDialog swig_types[81]
2548#define SWIGTYPE_p_wxObject swig_types[82]
2549#define SWIGTYPE_p_wxPCXHandler swig_types[83]
2550#define SWIGTYPE_p_wxPNGHandler swig_types[84]
2551#define SWIGTYPE_p_wxPNMHandler swig_types[85]
2552#define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2553#define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2554#define SWIGTYPE_p_wxPaintEvent swig_types[88]
2555#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2556#define SWIGTYPE_p_wxPanel swig_types[90]
2557#define SWIGTYPE_p_wxPaperSize swig_types[91]
2558#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2559#define SWIGTYPE_p_wxPopupWindow swig_types[93]
2560#define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2561#define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2562#define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2563#define SWIGTYPE_p_wxPrintData swig_types[97]
2564#define SWIGTYPE_p_wxPrintDialog swig_types[98]
2565#define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2566#define SWIGTYPE_p_wxPrintPreview swig_types[100]
2567#define SWIGTYPE_p_wxPrinter swig_types[101]
2568#define SWIGTYPE_p_wxProgressDialog swig_types[102]
2569#define SWIGTYPE_p_wxPyApp swig_types[103]
2570#define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571#define SWIGTYPE_p_wxPyEvent swig_types[105]
2572#define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2573#define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574#define SWIGTYPE_p_wxPyPanel swig_types[108]
2575#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2576#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2577#define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2578#define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2579#define SWIGTYPE_p_wxPyPrintout swig_types[113]
2580#define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2581#define SWIGTYPE_p_wxPySizer swig_types[115]
2582#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2583#define SWIGTYPE_p_wxPyVListBox swig_types[117]
2584#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2585#define SWIGTYPE_p_wxPyValidator swig_types[119]
2586#define SWIGTYPE_p_wxPyWindow swig_types[120]
2587#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2588#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2589#define SWIGTYPE_p_wxRichTextAttr swig_types[123]
2590#define SWIGTYPE_p_wxRichTextBuffer swig_types[124]
2591#define SWIGTYPE_p_wxRichTextCtrl swig_types[125]
2592#define SWIGTYPE_p_wxRichTextEvent swig_types[126]
2593#define SWIGTYPE_p_wxRichTextImageBlock swig_types[127]
2594#define SWIGTYPE_p_wxRichTextRange swig_types[128]
2595#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[129]
2596#define SWIGTYPE_p_wxSashEvent swig_types[130]
2597#define SWIGTYPE_p_wxSashLayoutWindow swig_types[131]
2598#define SWIGTYPE_p_wxSashWindow swig_types[132]
2599#define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600#define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrolledWindow swig_types[135]
2602#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603#define SWIGTYPE_p_wxShowEvent swig_types[137]
2604#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[138]
2605#define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606#define SWIGTYPE_p_wxSizer swig_types[140]
2607#define SWIGTYPE_p_wxSizerItem swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609#define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610#define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611#define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613#define SWIGTYPE_p_wxStatusBar swig_types[147]
2614#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616#define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618#define SWIGTYPE_p_wxTextCoord swig_types[152]
2619#define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[153]
2620#define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621#define SWIGTYPE_p_wxTipWindow swig_types[155]
2622#define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623#define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624#define SWIGTYPE_p_wxValidator swig_types[158]
2625#define SWIGTYPE_p_wxWindow swig_types[159]
2626#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628#define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629static swig_type_info *swig_types[164];
2630static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
f05326ba
RD
2631#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633
2634/* -------- TYPES TABLE (END) -------- */
2635
2636#if (PY_VERSION_HEX <= 0x02000000)
2637# if !defined(SWIG_PYTHON_CLASSIC)
2638# error "This python version requires to use swig with the '-classic' option"
2639# endif
2640#endif
2641#if (PY_VERSION_HEX <= 0x02020000)
2642# error "This python version requires to use swig with the '-nomodern' option"
2643#endif
2644#if (PY_VERSION_HEX <= 0x02020000)
2645# error "This python version requires to use swig with the '-nomodernargs' option"
2646#endif
2647#ifndef METH_O
2648# error "This python version requires to use swig with the '-nofastunpack' option"
2649#endif
2650
2651/*-----------------------------------------------
2652 @(target):= _richtext.so
2653 ------------------------------------------------*/
2654#define SWIG_init init_richtext
2655
2656#define SWIG_name "_richtext"
2657
2658#define SWIGVERSION 0x010329
2659
2660
2661#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2663
2664
2665#include <stdexcept>
2666
2667
2668namespace swig {
2669 class PyObject_ptr {
2670 protected:
2671 PyObject *_obj;
2672
2673 public:
2674 PyObject_ptr() :_obj(0)
2675 {
2676 }
2677
2678 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2679 {
2680 Py_XINCREF(_obj);
2681 }
2682
2683 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2684 {
2685 if (initial_ref) Py_XINCREF(_obj);
2686 }
2687
2688 PyObject_ptr & operator=(const PyObject_ptr& item)
2689 {
2690 Py_XINCREF(item._obj);
2691 Py_XDECREF(_obj);
2692 _obj = item._obj;
2693 return *this;
2694 }
2695
2696 ~PyObject_ptr()
2697 {
2698 Py_XDECREF(_obj);
2699 }
2700
2701 operator PyObject *() const
2702 {
2703 return _obj;
2704 }
2705
2706 PyObject *operator->() const
2707 {
2708 return _obj;
2709 }
2710 };
2711}
2712
2713
2714namespace swig {
2715 struct PyObject_var : PyObject_ptr {
2716 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2717
2718 PyObject_var & operator = (PyObject* obj)
2719 {
2720 Py_XDECREF(_obj);
2721 _obj = obj;
2722 return *this;
2723 }
2724 };
2725}
2726
2727
2728#include "wx/wxPython/wxPython.h"
2729#include "wx/wxPython/pyclasses.h"
2730#include "wx/wxPython/printfw.h"
2731#include "wx/wxPython/twoitem.h"
2732
2733#include <wx/richtext/richtextctrl.h>
2734
2735
2736class wxEffects;
2737class wxBufferedDC;
2738class wxBufferedPaintDC;
2739class wxMetaFile;
2740class wxMetaFileDC;
2741class wxPrinterDC;
2742
2743
2744
2745 #define SWIG_From_long PyInt_FromLong
2746
2747
2748SWIGINTERNINLINE PyObject *
2749SWIG_From_int (int value)
2750{
2751 return SWIG_From_long (value);
2752}
2753
2754 static const wxString wxPyEmptyString(wxEmptyString);
2755
2756
2757bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj)
2758{
2759 if (source == Py_None) {
2760 **obj = wxRICHTEXT_NONE;
2761 return true;
2762 }
2763 return wxPyTwoIntItem_helper(source, obj, wxT("wxRichTextRange"));
2764}
2765
2766
2767SWIGINTERN int
2768SWIG_AsVal_long (PyObject* obj, long* val)
2769{
2770 if (PyNumber_Check(obj)) {
2771 if (val) *val = PyInt_AsLong(obj);
2772 return SWIG_OK;
2773 }
2774 return SWIG_TypeError;
2775}
2776
2777SWIGINTERN bool wxRichTextRange___eq__(wxRichTextRange *self,PyObject *other){
2778 wxRichTextRange temp, *obj = &temp;
2779 if ( other == Py_None ) return false;
2780 if ( ! wxRichTextRange_helper(other, &obj) ) {
2781 PyErr_Clear();
2782 return false;
2783 }
2784 return self->operator==(*obj);
2785 }
2786SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){
2787 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2788 PyObject* tup = PyTuple_New(2);
2789 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart()));
2790 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd()));
2791 wxPyEndBlockThreads(blocked);
2792 return tup;
2793 }
2794
2795 wxRichTextRange wxPy_RTR_ALL(wxRICHTEXT_ALL);
2796 wxRichTextRange wxPy_RTR_NONE(wxRICHTEXT_NONE);
2797
2798
2799#include <limits.h>
2800#ifndef LLONG_MIN
2801# define LLONG_MIN LONG_LONG_MIN
2802#endif
2803#ifndef LLONG_MAX
2804# define LLONG_MAX LONG_LONG_MAX
2805#endif
2806#ifndef ULLONG_MAX
2807# define ULLONG_MAX ULONG_LONG_MAX
2808#endif
2809
2810
2811SWIGINTERN int
2812SWIG_AsVal_int (PyObject * obj, int *val)
2813{
2814 long v;
2815 int res = SWIG_AsVal_long (obj, &v);
2816 if (SWIG_IsOK(res)) {
2817 if ((v < INT_MIN || v > INT_MAX)) {
2818 return SWIG_OverflowError;
2819 } else {
2820 if (val) *val = static_cast< int >(v);
2821 }
2822 }
2823 return res;
2824}
2825
2826
2827SWIGINTERN int
2828SWIG_AsVal_bool (PyObject *obj, bool *val)
2829{
2830 if (obj == Py_True) {
2831 if (val) *val = true;
2832 return SWIG_OK;
2833 } else if (obj == Py_False) {
2834 if (val) *val = false;
2835 return SWIG_OK;
2836 } else {
2837 long v = 0;
2838 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2839 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2840 return res;
2841 }
2842}
2843
2844
2845SWIGINTERN int
2846SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2847{
2848 long v = 0;
2849 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2850 return SWIG_TypeError;
2851 }
2852 else if (val)
2853 *val = (unsigned long)v;
2854 return SWIG_OK;
2855}
2856
f05326ba
RD
2857#ifdef __cplusplus
2858extern "C" {
2859#endif
2860SWIGINTERN PyObject *_wrap_new_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj = 0;
2862 long arg1 = (long) 0 ;
2863 long arg2 = (long) 0 ;
2864 wxRichTextRange *result = 0 ;
2865 long val1 ;
2866 int ecode1 = 0 ;
2867 long val2 ;
2868 int ecode2 = 0 ;
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 char * kwnames[] = {
2872 (char *) "start",(char *) "end", NULL
2873 };
2874
2875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextRange",kwnames,&obj0,&obj1)) SWIG_fail;
2876 if (obj0) {
2877 ecode1 = SWIG_AsVal_long(obj0, &val1);
2878 if (!SWIG_IsOK(ecode1)) {
2879 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextRange" "', expected argument " "1"" of type '" "long""'");
2880 }
2881 arg1 = static_cast< long >(val1);
2882 }
2883 if (obj1) {
2884 ecode2 = SWIG_AsVal_long(obj1, &val2);
2885 if (!SWIG_IsOK(ecode2)) {
2886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextRange" "', expected argument " "2"" of type '" "long""'");
2887 }
2888 arg2 = static_cast< long >(val2);
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2);
2893 wxPyEndAllowThreads(__tstate);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW | 0 );
2897 return resultobj;
2898fail:
2899 return NULL;
2900}
2901
2902
2903SWIGINTERN PyObject *_wrap_delete_RichTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2904 PyObject *resultobj = 0;
2905 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
2906 void *argp1 = 0 ;
2907 int res1 = 0 ;
2908 PyObject *swig_obj[1] ;
2909
2910 if (!args) SWIG_fail;
2911 swig_obj[0] = args;
2912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_DISOWN | 0 );
2913 if (!SWIG_IsOK(res1)) {
2914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
2915 }
2916 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 delete arg1;
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 resultobj = SWIG_Py_Void();
2925 return resultobj;
2926fail:
2927 return NULL;
2928}
2929
2930
2931SWIGINTERN PyObject *_wrap_RichTextRange___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj = 0;
2933 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
2934 PyObject *arg2 = (PyObject *) 0 ;
2935 bool result;
2936 void *argp1 = 0 ;
2937 int res1 = 0 ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 char * kwnames[] = {
2941 (char *) "self",(char *) "other", NULL
2942 };
2943
2944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
2945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
2946 if (!SWIG_IsOK(res1)) {
2947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___eq__" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
2948 }
2949 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
2950 arg2 = obj1;
2951 {
2952 result = (bool)wxRichTextRange___eq__(arg1,arg2);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2957 }
2958 return resultobj;
2959fail:
2960 return NULL;
2961}
2962
2963
2964SWIGINTERN PyObject *_wrap_RichTextRange___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj = 0;
2966 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
2967 wxRichTextRange *arg2 = 0 ;
2968 wxRichTextRange result;
2969 void *argp1 = 0 ;
2970 int res1 = 0 ;
2971 wxRichTextRange temp2 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char * kwnames[] = {
2975 (char *) "self",(char *) "range", NULL
2976 };
2977
2978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___sub__",kwnames,&obj0,&obj1)) SWIG_fail;
2979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
2980 if (!SWIG_IsOK(res1)) {
2981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___sub__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
2982 }
2983 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
2984 {
2985 arg2 = &temp2;
2986 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
2987 }
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2);
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
2995 return resultobj;
2996fail:
2997 return NULL;
2998}
2999
3000
3001SWIGINTERN PyObject *_wrap_RichTextRange___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj = 0;
3003 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3004 wxRichTextRange *arg2 = 0 ;
3005 wxRichTextRange result;
3006 void *argp1 = 0 ;
3007 int res1 = 0 ;
3008 wxRichTextRange temp2 ;
3009 PyObject * obj0 = 0 ;
3010 PyObject * obj1 = 0 ;
3011 char * kwnames[] = {
3012 (char *) "self",(char *) "range", NULL
3013 };
3014
3015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange___add__",kwnames,&obj0,&obj1)) SWIG_fail;
3016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3017 if (!SWIG_IsOK(res1)) {
3018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange___add__" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3019 }
3020 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3021 {
3022 arg2 = &temp2;
3023 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3024 }
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2);
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
3032 return resultobj;
3033fail:
3034 return NULL;
3035}
3036
3037
3038SWIGINTERN PyObject *_wrap_RichTextRange_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj = 0;
3040 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3041 long arg2 ;
3042 long arg3 ;
3043 void *argp1 = 0 ;
3044 int res1 = 0 ;
3045 long val2 ;
3046 int ecode2 = 0 ;
3047 long val3 ;
3048 int ecode3 = 0 ;
3049 PyObject * obj0 = 0 ;
3050 PyObject * obj1 = 0 ;
3051 PyObject * obj2 = 0 ;
3052 char * kwnames[] = {
3053 (char *) "self",(char *) "start",(char *) "end", NULL
3054 };
3055
3056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextRange_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3058 if (!SWIG_IsOK(res1)) {
3059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetRange" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3060 }
3061 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3062 ecode2 = SWIG_AsVal_long(obj1, &val2);
3063 if (!SWIG_IsOK(ecode2)) {
3064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetRange" "', expected argument " "2"" of type '" "long""'");
3065 }
3066 arg2 = static_cast< long >(val2);
3067 ecode3 = SWIG_AsVal_long(obj2, &val3);
3068 if (!SWIG_IsOK(ecode3)) {
3069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextRange_SetRange" "', expected argument " "3"" of type '" "long""'");
3070 }
3071 arg3 = static_cast< long >(val3);
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 (arg1)->SetRange(arg2,arg3);
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 resultobj = SWIG_Py_Void();
3079 return resultobj;
3080fail:
3081 return NULL;
3082}
3083
3084
3085SWIGINTERN PyObject *_wrap_RichTextRange_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj = 0;
3087 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3088 long arg2 ;
3089 void *argp1 = 0 ;
3090 int res1 = 0 ;
3091 long val2 ;
3092 int ecode2 = 0 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char * kwnames[] = {
3096 (char *) "self",(char *) "start", NULL
3097 };
3098
3099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
3100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3101 if (!SWIG_IsOK(res1)) {
3102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetStart" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3103 }
3104 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3105 ecode2 = SWIG_AsVal_long(obj1, &val2);
3106 if (!SWIG_IsOK(ecode2)) {
3107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetStart" "', expected argument " "2"" of type '" "long""'");
3108 }
3109 arg2 = static_cast< long >(val2);
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetStart(arg2);
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 resultobj = SWIG_Py_Void();
3117 return resultobj;
3118fail:
3119 return NULL;
3120}
3121
3122
3123SWIGINTERN PyObject *_wrap_RichTextRange_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3124 PyObject *resultobj = 0;
3125 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3126 long result;
3127 void *argp1 = 0 ;
3128 int res1 = 0 ;
3129 PyObject *swig_obj[1] ;
3130
3131 if (!args) SWIG_fail;
3132 swig_obj[0] = args;
3133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3134 if (!SWIG_IsOK(res1)) {
3135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetStart" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3136 }
3137 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (long)((wxRichTextRange const *)arg1)->GetStart();
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 resultobj = SWIG_From_long(static_cast< long >(result));
3145 return resultobj;
3146fail:
3147 return NULL;
3148}
3149
3150
3151SWIGINTERN PyObject *_wrap_RichTextRange_SetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj = 0;
3153 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3154 long arg2 ;
3155 void *argp1 = 0 ;
3156 int res1 = 0 ;
3157 long val2 ;
3158 int ecode2 = 0 ;
3159 PyObject * obj0 = 0 ;
3160 PyObject * obj1 = 0 ;
3161 char * kwnames[] = {
3162 (char *) "self",(char *) "end", NULL
3163 };
3164
3165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_SetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
3166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3167 if (!SWIG_IsOK(res1)) {
3168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_SetEnd" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3169 }
3170 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3171 ecode2 = SWIG_AsVal_long(obj1, &val2);
3172 if (!SWIG_IsOK(ecode2)) {
3173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_SetEnd" "', expected argument " "2"" of type '" "long""'");
3174 }
3175 arg2 = static_cast< long >(val2);
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 (arg1)->SetEnd(arg2);
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 resultobj = SWIG_Py_Void();
3183 return resultobj;
3184fail:
3185 return NULL;
3186}
3187
3188
3189SWIGINTERN PyObject *_wrap_RichTextRange_GetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3190 PyObject *resultobj = 0;
3191 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3192 long result;
3193 void *argp1 = 0 ;
3194 int res1 = 0 ;
3195 PyObject *swig_obj[1] ;
3196
3197 if (!args) SWIG_fail;
3198 swig_obj[0] = args;
3199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3200 if (!SWIG_IsOK(res1)) {
3201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetEnd" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3202 }
3203 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 result = (long)((wxRichTextRange const *)arg1)->GetEnd();
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 resultobj = SWIG_From_long(static_cast< long >(result));
3211 return resultobj;
3212fail:
3213 return NULL;
3214}
3215
3216
3217SWIGINTERN PyObject *_wrap_RichTextRange_IsOutside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj = 0;
3219 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3220 wxRichTextRange *arg2 = 0 ;
3221 bool result;
3222 void *argp1 = 0 ;
3223 int res1 = 0 ;
3224 wxRichTextRange temp2 ;
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 char * kwnames[] = {
3228 (char *) "self",(char *) "range", NULL
3229 };
3230
3231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsOutside",kwnames,&obj0,&obj1)) SWIG_fail;
3232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3233 if (!SWIG_IsOK(res1)) {
3234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsOutside" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3235 }
3236 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3237 {
3238 arg2 = &temp2;
3239 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3240 }
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2);
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 {
3248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3249 }
3250 return resultobj;
3251fail:
3252 return NULL;
3253}
3254
3255
3256SWIGINTERN PyObject *_wrap_RichTextRange_IsWithin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj = 0;
3258 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3259 wxRichTextRange *arg2 = 0 ;
3260 bool result;
3261 void *argp1 = 0 ;
3262 int res1 = 0 ;
3263 wxRichTextRange temp2 ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char * kwnames[] = {
3267 (char *) "self",(char *) "range", NULL
3268 };
3269
3270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_IsWithin",kwnames,&obj0,&obj1)) SWIG_fail;
3271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3272 if (!SWIG_IsOK(res1)) {
3273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_IsWithin" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3274 }
3275 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3276 {
3277 arg2 = &temp2;
3278 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2);
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 {
3287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3288 }
3289 return resultobj;
3290fail:
3291 return NULL;
3292}
3293
3294
3295SWIGINTERN PyObject *_wrap_RichTextRange_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3296 PyObject *resultobj = 0;
3297 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3298 long arg2 ;
3299 bool result;
3300 void *argp1 = 0 ;
3301 int res1 = 0 ;
3302 long val2 ;
3303 int ecode2 = 0 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 char * kwnames[] = {
3307 (char *) "self",(char *) "pos", NULL
3308 };
3309
3310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
3311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3312 if (!SWIG_IsOK(res1)) {
3313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Contains" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3314 }
3315 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3316 ecode2 = SWIG_AsVal_long(obj1, &val2);
3317 if (!SWIG_IsOK(ecode2)) {
3318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextRange_Contains" "', expected argument " "2"" of type '" "long""'");
3319 }
3320 arg2 = static_cast< long >(val2);
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2);
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 {
3328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3329 }
3330 return resultobj;
3331fail:
3332 return NULL;
3333}
3334
3335
3336SWIGINTERN PyObject *_wrap_RichTextRange_LimitTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3337 PyObject *resultobj = 0;
3338 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3339 wxRichTextRange *arg2 = 0 ;
3340 bool result;
3341 void *argp1 = 0 ;
3342 int res1 = 0 ;
3343 wxRichTextRange temp2 ;
3344 PyObject * obj0 = 0 ;
3345 PyObject * obj1 = 0 ;
3346 char * kwnames[] = {
3347 (char *) "self",(char *) "range", NULL
3348 };
3349
3350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRange_LimitTo",kwnames,&obj0,&obj1)) SWIG_fail;
3351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3352 if (!SWIG_IsOK(res1)) {
3353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_LimitTo" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3354 }
3355 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3356 {
3357 arg2 = &temp2;
3358 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3359 }
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2);
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3368 }
3369 return resultobj;
3370fail:
3371 return NULL;
3372}
3373
3374
3375SWIGINTERN PyObject *_wrap_RichTextRange_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3376 PyObject *resultobj = 0;
3377 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3378 long result;
3379 void *argp1 = 0 ;
3380 int res1 = 0 ;
3381 PyObject *swig_obj[1] ;
3382
3383 if (!args) SWIG_fail;
3384 swig_obj[0] = args;
3385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3386 if (!SWIG_IsOK(res1)) {
3387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_GetLength" "', expected argument " "1"" of type '" "wxRichTextRange const *""'");
3388 }
3389 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (long)((wxRichTextRange const *)arg1)->GetLength();
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 resultobj = SWIG_From_long(static_cast< long >(result));
3397 return resultobj;
3398fail:
3399 return NULL;
3400}
3401
3402
3403SWIGINTERN PyObject *_wrap_RichTextRange_Swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3404 PyObject *resultobj = 0;
3405 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3406 void *argp1 = 0 ;
3407 int res1 = 0 ;
3408 PyObject *swig_obj[1] ;
3409
3410 if (!args) SWIG_fail;
3411 swig_obj[0] = args;
3412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3413 if (!SWIG_IsOK(res1)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Swap" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3415 }
3416 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->Swap();
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 resultobj = SWIG_Py_Void();
3424 return resultobj;
3425fail:
3426 return NULL;
3427}
3428
3429
3430SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3431 PyObject *resultobj = 0;
3432 wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3433 PyObject *result = 0 ;
3434 void *argp1 = 0 ;
3435 int res1 = 0 ;
3436 PyObject *swig_obj[1] ;
3437
3438 if (!args) SWIG_fail;
3439 swig_obj[0] = args;
3440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 | 0 );
3441 if (!SWIG_IsOK(res1)) {
3442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_Get" "', expected argument " "1"" of type '" "wxRichTextRange *""'");
3443 }
3444 arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (PyObject *)wxRichTextRange_Get(arg1);
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 resultobj = result;
3452 return resultobj;
3453fail:
3454 return NULL;
3455}
3456
3457
3458SWIGINTERN PyObject *RichTextRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3459 PyObject *obj;
3460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3461 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRange, SWIG_NewClientData(obj));
3462 return SWIG_Py_Void();
3463}
3464
3465SWIGINTERN PyObject *RichTextRange_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3466 return SWIG_Python_InitShadowInstance(args);
3467}
3468
3469SWIGINTERN int RICHTEXT_ALL_set(PyObject *) {
3470 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_ALL is read-only.");
3471 return 1;
3472}
3473
3474
3475SWIGINTERN PyObject *RICHTEXT_ALL_get(void) {
3476 PyObject *pyobj = 0;
3477
3478 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_ALL), SWIGTYPE_p_wxRichTextRange, 0 );
3479 return pyobj;
3480}
3481
3482
3483SWIGINTERN int RICHTEXT_NONE_set(PyObject *) {
3484 SWIG_Error(SWIG_AttributeError,"Variable RICHTEXT_NONE is read-only.");
3485 return 1;
3486}
3487
3488
3489SWIGINTERN PyObject *RICHTEXT_NONE_get(void) {
3490 PyObject *pyobj = 0;
3491
3492 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxPy_RTR_NONE), SWIGTYPE_p_wxRichTextRange, 0 );
3493 return pyobj;
3494}
3495
3496
3497SWIGINTERN PyObject *_wrap_new_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3498 PyObject *resultobj = 0;
3499 wxColour const &arg1_defvalue = wxNullColour ;
3500 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
3501 wxColour const &arg2_defvalue = wxNullColour ;
3502 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
3503 wxTextAttrAlignment arg3 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
3504 wxRichTextAttr *result = 0 ;
3505 wxColour temp1 ;
3506 wxColour temp2 ;
3507 int val3 ;
3508 int ecode3 = 0 ;
3509 PyObject * obj0 = 0 ;
3510 PyObject * obj1 = 0 ;
3511 PyObject * obj2 = 0 ;
3512 char * kwnames[] = {
3513 (char *) "colText",(char *) "colBack",(char *) "alignment", NULL
3514 };
3515
3516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3517 if (obj0) {
3518 {
3519 arg1 = &temp1;
3520 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3521 }
3522 }
3523 if (obj1) {
3524 {
3525 arg2 = &temp2;
3526 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3527 }
3528 }
3529 if (obj2) {
3530 ecode3 = SWIG_AsVal_int(obj2, &val3);
3531 if (!SWIG_IsOK(ecode3)) {
3532 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3533 }
3534 arg3 = static_cast< wxTextAttrAlignment >(val3);
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (wxRichTextAttr *)new wxRichTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,arg3);
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_NEW | 0 );
3543 return resultobj;
3544fail:
3545 return NULL;
3546}
3547
3548
3549SWIGINTERN PyObject *_wrap_delete_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3550 PyObject *resultobj = 0;
3551 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3552 void *argp1 = 0 ;
3553 int res1 = 0 ;
3554 PyObject *swig_obj[1] ;
3555
3556 if (!args) SWIG_fail;
3557 swig_obj[0] = args;
3558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_DISOWN | 0 );
3559 if (!SWIG_IsOK(res1)) {
3560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3561 }
3562 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 delete arg1;
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 resultobj = SWIG_Py_Void();
3571 return resultobj;
3572fail:
3573 return NULL;
3574}
3575
3576
3577SWIGINTERN PyObject *_wrap_RichTextAttr_CreateFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3578 PyObject *resultobj = 0;
3579 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
0ef86618 3580 wxFont result;
f05326ba
RD
3581 void *argp1 = 0 ;
3582 int res1 = 0 ;
3583 PyObject *swig_obj[1] ;
3584
3585 if (!args) SWIG_fail;
3586 swig_obj[0] = args;
3587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3588 if (!SWIG_IsOK(res1)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
3590 }
3591 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = ((wxRichTextAttr const *)arg1)->CreateFont();
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
3599 return resultobj;
3600fail:
3601 return NULL;
3602}
3603
3604
3605SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj = 0;
3607 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3608 wxFont *arg2 = 0 ;
3609 bool result;
3610 void *argp1 = 0 ;
3611 int res1 = 0 ;
3612 void *argp2 = 0 ;
3613 int res2 = 0 ;
3614 PyObject * obj0 = 0 ;
3615 PyObject * obj1 = 0 ;
3616 char * kwnames[] = {
3617 (char *) "self",(char *) "font", NULL
3618 };
3619
3620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
3621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3622 if (!SWIG_IsOK(res1)) {
3623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3624 }
3625 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
3627 if (!SWIG_IsOK(res2)) {
3628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3629 }
3630 if (!argp2) {
3631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'");
3632 }
3633 arg2 = reinterpret_cast< wxFont * >(argp2);
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (bool)(arg1)->GetFontAttributes((wxFont const &)*arg2);
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 {
3641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3642 }
3643 return resultobj;
3644fail:
3645 return NULL;
3646}
3647
3648
3649SWIGINTERN PyObject *_wrap_RichTextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3650 PyObject *resultobj = 0;
3651 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3652 wxColour *arg2 = 0 ;
3653 void *argp1 = 0 ;
3654 int res1 = 0 ;
3655 wxColour temp2 ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658 char * kwnames[] = {
3659 (char *) "self",(char *) "colText", NULL
3660 };
3661
3662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
3663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3664 if (!SWIG_IsOK(res1)) {
3665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3666 }
3667 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3668 {
3669 arg2 = &temp2;
3670 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3671 }
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 (arg1)->SetTextColour((wxColour const &)*arg2);
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 resultobj = SWIG_Py_Void();
3679 return resultobj;
3680fail:
3681 return NULL;
3682}
3683
3684
3685SWIGINTERN PyObject *_wrap_RichTextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj = 0;
3687 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3688 wxColour *arg2 = 0 ;
3689 void *argp1 = 0 ;
3690 int res1 = 0 ;
3691 wxColour temp2 ;
3692 PyObject * obj0 = 0 ;
3693 PyObject * obj1 = 0 ;
3694 char * kwnames[] = {
3695 (char *) "self",(char *) "colBack", NULL
3696 };
3697
3698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
3699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3700 if (!SWIG_IsOK(res1)) {
3701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3702 }
3703 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3704 {
3705 arg2 = &temp2;
3706 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3707 }
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 resultobj = SWIG_Py_Void();
3715 return resultobj;
3716fail:
3717 return NULL;
3718}
3719
3720
3721SWIGINTERN PyObject *_wrap_RichTextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3722 PyObject *resultobj = 0;
3723 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3724 wxTextAttrAlignment arg2 ;
3725 void *argp1 = 0 ;
3726 int res1 = 0 ;
3727 int val2 ;
3728 int ecode2 = 0 ;
3729 PyObject * obj0 = 0 ;
3730 PyObject * obj1 = 0 ;
3731 char * kwnames[] = {
3732 (char *) "self",(char *) "alignment", NULL
3733 };
3734
3735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
3736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3737 if (!SWIG_IsOK(res1)) {
3738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3739 }
3740 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3741 ecode2 = SWIG_AsVal_int(obj1, &val2);
3742 if (!SWIG_IsOK(ecode2)) {
3743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3744 }
3745 arg2 = static_cast< wxTextAttrAlignment >(val2);
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 (arg1)->SetAlignment(arg2);
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 resultobj = SWIG_Py_Void();
3753 return resultobj;
3754fail:
3755 return NULL;
3756}
3757
3758
3759SWIGINTERN PyObject *_wrap_RichTextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3762 wxArrayInt *arg2 = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 bool temp2 = false ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj1 = 0 ;
3768 char * kwnames[] = {
3769 (char *) "self",(char *) "tabs", NULL
3770 };
3771
3772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
3773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3774 if (!SWIG_IsOK(res1)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3776 }
3777 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3778 {
3779 if (! PySequence_Check(obj1)) {
3780 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
3781 SWIG_fail;
3782 }
3783 arg2 = new wxArrayInt;
3784 temp2 = true;
3785 int i, len=PySequence_Length(obj1);
3786 for (i=0; i<len; i++) {
3787 PyObject* item = PySequence_GetItem(obj1, i);
3788 PyObject* number = PyNumber_Int(item);
3789 arg2->Add(PyInt_AS_LONG(number));
3790 Py_DECREF(item);
3791 Py_DECREF(number);
3792 }
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetTabs((wxArrayInt const &)*arg2);
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 resultobj = SWIG_Py_Void();
3801 {
3802 if (temp2) delete arg2;
3803 }
3804 return resultobj;
3805fail:
3806 {
3807 if (temp2) delete arg2;
3808 }
3809 return NULL;
3810}
3811
3812
3813SWIGINTERN PyObject *_wrap_RichTextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj = 0;
3815 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3816 int arg2 ;
3817 int arg3 = (int) 0 ;
3818 void *argp1 = 0 ;
3819 int res1 = 0 ;
3820 int val2 ;
3821 int ecode2 = 0 ;
3822 int val3 ;
3823 int ecode3 = 0 ;
3824 PyObject * obj0 = 0 ;
3825 PyObject * obj1 = 0 ;
3826 PyObject * obj2 = 0 ;
3827 char * kwnames[] = {
3828 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
3829 };
3830
3831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3833 if (!SWIG_IsOK(res1)) {
3834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3835 }
3836 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3837 ecode2 = SWIG_AsVal_int(obj1, &val2);
3838 if (!SWIG_IsOK(ecode2)) {
3839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3840 }
3841 arg2 = static_cast< int >(val2);
3842 if (obj2) {
3843 ecode3 = SWIG_AsVal_int(obj2, &val3);
3844 if (!SWIG_IsOK(ecode3)) {
3845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3846 }
3847 arg3 = static_cast< int >(val3);
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 (arg1)->SetLeftIndent(arg2,arg3);
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_Py_Void();
3856 return resultobj;
3857fail:
3858 return NULL;
3859}
3860
3861
3862SWIGINTERN PyObject *_wrap_RichTextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3865 int arg2 ;
3866 void *argp1 = 0 ;
3867 int res1 = 0 ;
3868 int val2 ;
3869 int ecode2 = 0 ;
3870 PyObject * obj0 = 0 ;
3871 PyObject * obj1 = 0 ;
3872 char * kwnames[] = {
3873 (char *) "self",(char *) "indent", NULL
3874 };
3875
3876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
3877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3878 if (!SWIG_IsOK(res1)) {
3879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3880 }
3881 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3882 ecode2 = SWIG_AsVal_int(obj1, &val2);
3883 if (!SWIG_IsOK(ecode2)) {
3884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3885 }
3886 arg2 = static_cast< int >(val2);
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetRightIndent(arg2);
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 resultobj = SWIG_Py_Void();
3894 return resultobj;
3895fail:
3896 return NULL;
3897}
3898
3899
3900SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj = 0;
3902 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3903 int arg2 ;
3904 void *argp1 = 0 ;
3905 int res1 = 0 ;
3906 int val2 ;
3907 int ecode2 = 0 ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj1 = 0 ;
3910 char * kwnames[] = {
3911 (char *) "self",(char *) "pointSize", NULL
3912 };
3913
3914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
3915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3916 if (!SWIG_IsOK(res1)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3918 }
3919 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3920 ecode2 = SWIG_AsVal_int(obj1, &val2);
3921 if (!SWIG_IsOK(ecode2)) {
3922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
3923 }
3924 arg2 = static_cast< int >(val2);
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 (arg1)->SetFontSize(arg2);
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = SWIG_Py_Void();
3932 return resultobj;
3933fail:
3934 return NULL;
3935}
3936
3937
3938SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj = 0;
3940 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3941 int arg2 ;
3942 void *argp1 = 0 ;
3943 int res1 = 0 ;
3944 int val2 ;
3945 int ecode2 = 0 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char * kwnames[] = {
3949 (char *) "self",(char *) "fontStyle", NULL
3950 };
3951
3952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail;
3953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3954 if (!SWIG_IsOK(res1)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3956 }
3957 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3958 ecode2 = SWIG_AsVal_int(obj1, &val2);
3959 if (!SWIG_IsOK(ecode2)) {
3960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
3961 }
3962 arg2 = static_cast< int >(val2);
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->SetFontStyle(arg2);
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_Py_Void();
3970 return resultobj;
3971fail:
3972 return NULL;
3973}
3974
3975
3976SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj = 0;
3978 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3979 int arg2 ;
3980 void *argp1 = 0 ;
3981 int res1 = 0 ;
3982 int val2 ;
3983 int ecode2 = 0 ;
3984 PyObject * obj0 = 0 ;
3985 PyObject * obj1 = 0 ;
3986 char * kwnames[] = {
3987 (char *) "self",(char *) "fontWeight", NULL
3988 };
3989
3990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail;
3991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
3992 if (!SWIG_IsOK(res1)) {
3993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
3994 }
3995 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3996 ecode2 = SWIG_AsVal_int(obj1, &val2);
3997 if (!SWIG_IsOK(ecode2)) {
3998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
3999 }
4000 arg2 = static_cast< int >(val2);
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 (arg1)->SetFontWeight(arg2);
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_Py_Void();
4008 return resultobj;
4009fail:
4010 return NULL;
4011}
4012
4013
4014SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj = 0;
4016 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4017 wxString *arg2 = 0 ;
4018 void *argp1 = 0 ;
4019 int res1 = 0 ;
4020 bool temp2 = false ;
4021 PyObject * obj0 = 0 ;
4022 PyObject * obj1 = 0 ;
4023 char * kwnames[] = {
4024 (char *) "self",(char *) "faceName", NULL
4025 };
4026
4027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
4028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4029 if (!SWIG_IsOK(res1)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4031 }
4032 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4033 {
4034 arg2 = wxString_in_helper(obj1);
4035 if (arg2 == NULL) SWIG_fail;
4036 temp2 = true;
4037 }
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 (arg1)->SetFontFaceName((wxString const &)*arg2);
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = SWIG_Py_Void();
4045 {
4046 if (temp2)
4047 delete arg2;
4048 }
4049 return resultobj;
4050fail:
4051 {
4052 if (temp2)
4053 delete arg2;
4054 }
4055 return NULL;
4056}
4057
4058
4059SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj = 0;
4061 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4062 bool arg2 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 bool val2 ;
4066 int ecode2 = 0 ;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 char * kwnames[] = {
4070 (char *) "self",(char *) "underlined", NULL
4071 };
4072
4073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4077 }
4078 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4079 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4080 if (!SWIG_IsOK(ecode2)) {
4081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4082 }
4083 arg2 = static_cast< bool >(val2);
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->SetFontUnderlined(arg2);
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_Py_Void();
4091 return resultobj;
4092fail:
4093 return NULL;
4094}
4095
4096
4097SWIGINTERN PyObject *_wrap_RichTextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4098 PyObject *resultobj = 0;
4099 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4100 long arg2 ;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 long val2 ;
4104 int ecode2 = 0 ;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 char * kwnames[] = {
4108 (char *) "self",(char *) "flags", NULL
4109 };
4110
4111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
4112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4113 if (!SWIG_IsOK(res1)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4115 }
4116 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4117 ecode2 = SWIG_AsVal_long(obj1, &val2);
4118 if (!SWIG_IsOK(ecode2)) {
4119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
4120 }
4121 arg2 = static_cast< long >(val2);
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetFlags(arg2);
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_Py_Void();
4129 return resultobj;
4130fail:
4131 return NULL;
4132}
4133
4134
4135SWIGINTERN PyObject *_wrap_RichTextAttr_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj = 0;
4137 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4138 wxString *arg2 = 0 ;
4139 void *argp1 = 0 ;
4140 int res1 = 0 ;
4141 bool temp2 = false ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 char * kwnames[] = {
4145 (char *) "self",(char *) "name", NULL
4146 };
4147
4148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4150 if (!SWIG_IsOK(res1)) {
4151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4152 }
4153 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4154 {
4155 arg2 = wxString_in_helper(obj1);
4156 if (arg2 == NULL) SWIG_fail;
4157 temp2 = true;
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 (arg1)->SetCharacterStyleName((wxString const &)*arg2);
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 resultobj = SWIG_Py_Void();
4166 {
4167 if (temp2)
4168 delete arg2;
4169 }
4170 return resultobj;
4171fail:
4172 {
4173 if (temp2)
4174 delete arg2;
4175 }
4176 return NULL;
4177}
4178
4179
4180SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj = 0;
4182 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4183 wxString *arg2 = 0 ;
4184 void *argp1 = 0 ;
4185 int res1 = 0 ;
4186 bool temp2 = false ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 char * kwnames[] = {
4190 (char *) "self",(char *) "name", NULL
4191 };
4192
4193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4195 if (!SWIG_IsOK(res1)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4197 }
4198 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4199 {
4200 arg2 = wxString_in_helper(obj1);
4201 if (arg2 == NULL) SWIG_fail;
4202 temp2 = true;
4203 }
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 (arg1)->SetParagraphStyleName((wxString const &)*arg2);
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = SWIG_Py_Void();
4211 {
4212 if (temp2)
4213 delete arg2;
4214 }
4215 return resultobj;
4216fail:
4217 {
4218 if (temp2)
4219 delete arg2;
4220 }
4221 return NULL;
4222}
4223
4224
4225SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj = 0;
4227 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4228 int arg2 ;
4229 void *argp1 = 0 ;
4230 int res1 = 0 ;
4231 int val2 ;
4232 int ecode2 = 0 ;
4233 PyObject * obj0 = 0 ;
4234 PyObject * obj1 = 0 ;
4235 char * kwnames[] = {
4236 (char *) "self",(char *) "spacing", NULL
4237 };
4238
4239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
4240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4241 if (!SWIG_IsOK(res1)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4243 }
4244 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4245 ecode2 = SWIG_AsVal_int(obj1, &val2);
4246 if (!SWIG_IsOK(ecode2)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4248 }
4249 arg2 = static_cast< int >(val2);
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetParagraphSpacingAfter(arg2);
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 resultobj = SWIG_Py_Void();
4257 return resultobj;
4258fail:
4259 return NULL;
4260}
4261
4262
4263SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4266 int arg2 ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 int val2 ;
4270 int ecode2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char * kwnames[] = {
4274 (char *) "self",(char *) "spacing", NULL
4275 };
4276
4277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
4278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4281 }
4282 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4283 ecode2 = SWIG_AsVal_int(obj1, &val2);
4284 if (!SWIG_IsOK(ecode2)) {
4285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4286 }
4287 arg2 = static_cast< int >(val2);
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 (arg1)->SetParagraphSpacingBefore(arg2);
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 resultobj = SWIG_Py_Void();
4295 return resultobj;
4296fail:
4297 return NULL;
4298}
4299
4300
4301SWIGINTERN PyObject *_wrap_RichTextAttr_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj = 0;
4303 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4304 int arg2 ;
4305 void *argp1 = 0 ;
4306 int res1 = 0 ;
4307 int val2 ;
4308 int ecode2 = 0 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
4311 char * kwnames[] = {
4312 (char *) "self",(char *) "spacing", NULL
4313 };
4314
4315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
4316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4317 if (!SWIG_IsOK(res1)) {
4318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4319 }
4320 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4321 ecode2 = SWIG_AsVal_int(obj1, &val2);
4322 if (!SWIG_IsOK(ecode2)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4324 }
4325 arg2 = static_cast< int >(val2);
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 (arg1)->SetLineSpacing(arg2);
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_Py_Void();
4333 return resultobj;
4334fail:
4335 return NULL;
4336}
4337
4338
4339SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj = 0;
4341 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4342 int arg2 ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 int val2 ;
4346 int ecode2 = 0 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 char * kwnames[] = {
4350 (char *) "self",(char *) "style", NULL
4351 };
4352
4353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4355 if (!SWIG_IsOK(res1)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4357 }
4358 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4359 ecode2 = SWIG_AsVal_int(obj1, &val2);
4360 if (!SWIG_IsOK(ecode2)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4362 }
4363 arg2 = static_cast< int >(val2);
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 (arg1)->SetBulletStyle(arg2);
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 resultobj = SWIG_Py_Void();
4371 return resultobj;
4372fail:
4373 return NULL;
4374}
4375
4376
4377SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj = 0;
4379 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4380 int arg2 ;
4381 void *argp1 = 0 ;
4382 int res1 = 0 ;
4383 int val2 ;
4384 int ecode2 = 0 ;
4385 PyObject * obj0 = 0 ;
4386 PyObject * obj1 = 0 ;
4387 char * kwnames[] = {
4388 (char *) "self",(char *) "n", NULL
4389 };
4390
4391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
4392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4393 if (!SWIG_IsOK(res1)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4395 }
4396 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4397 ecode2 = SWIG_AsVal_int(obj1, &val2);
4398 if (!SWIG_IsOK(ecode2)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4400 }
4401 arg2 = static_cast< int >(val2);
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 (arg1)->SetBulletNumber(arg2);
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = SWIG_Py_Void();
4409 return resultobj;
4410fail:
4411 return NULL;
4412}
4413
4414
70d7cb34 4415SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
f05326ba
RD
4416 PyObject *resultobj = 0;
4417 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4418 wxChar arg2 ;
4419 void *argp1 = 0 ;
4420 int res1 = 0 ;
4421 void *argp2 ;
4422 int res2 = 0 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char * kwnames[] = {
4426 (char *) "self",(char *) "symbol", NULL
4427 };
4428
70d7cb34 4429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletText",kwnames,&obj0,&obj1)) SWIG_fail;
f05326ba
RD
4430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4431 if (!SWIG_IsOK(res1)) {
70d7cb34 4432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
f05326ba
RD
4433 }
4434 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4435 {
4436 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar, 0 | 0);
4437 if (!SWIG_IsOK(res2)) {
70d7cb34 4438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");
f05326ba
RD
4439 }
4440 if (!argp2) {
70d7cb34 4441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");
f05326ba
RD
4442 } else {
4443 wxChar * temp = reinterpret_cast< wxChar * >(argp2);
4444 arg2 = *temp;
4445 if (SWIG_IsNewObj(res2)) delete temp;
4446 }
4447 }
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
70d7cb34 4450 (arg1)->SetBulletText(arg2);
f05326ba
RD
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = SWIG_Py_Void();
4455 return resultobj;
4456fail:
4457 return NULL;
4458}
4459
4460
b39fe951
RD
4461SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj = 0;
4463 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4464 wxString *arg2 = 0 ;
4465 void *argp1 = 0 ;
4466 int res1 = 0 ;
4467 bool temp2 = false ;
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 char * kwnames[] = {
4471 (char *) "self",(char *) "bulletFont", NULL
4472 };
4473
4474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletFont",kwnames,&obj0,&obj1)) SWIG_fail;
4475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4476 if (!SWIG_IsOK(res1)) {
4477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'");
4478 }
4479 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4480 {
4481 arg2 = wxString_in_helper(obj1);
4482 if (arg2 == NULL) SWIG_fail;
4483 temp2 = true;
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->SetBulletFont((wxString const &)*arg2);
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 resultobj = SWIG_Py_Void();
4492 {
4493 if (temp2)
4494 delete arg2;
4495 }
4496 return resultobj;
4497fail:
4498 {
4499 if (temp2)
4500 delete arg2;
4501 }
4502 return NULL;
4503}
4504
4505
f05326ba
RD
4506SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4507 PyObject *resultobj = 0;
4508 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4509 wxColour *result = 0 ;
4510 void *argp1 = 0 ;
4511 int res1 = 0 ;
4512 PyObject *swig_obj[1] ;
4513
4514 if (!args) SWIG_fail;
4515 swig_obj[0] = args;
4516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4517 if (!SWIG_IsOK(res1)) {
4518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4519 }
4520 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 {
4524 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour();
4525 result = (wxColour *) &_result_ref;
4526 }
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4531 return resultobj;
4532fail:
4533 return NULL;
4534}
4535
4536
4537SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4538 PyObject *resultobj = 0;
4539 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4540 wxColour *result = 0 ;
4541 void *argp1 = 0 ;
4542 int res1 = 0 ;
4543 PyObject *swig_obj[1] ;
4544
4545 if (!args) SWIG_fail;
4546 swig_obj[0] = args;
4547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4548 if (!SWIG_IsOK(res1)) {
4549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4550 }
4551 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 {
4555 wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour();
4556 result = (wxColour *) &_result_ref;
4557 }
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4562 return resultobj;
4563fail:
4564 return NULL;
4565}
4566
4567
4568SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4569 PyObject *resultobj = 0;
4570 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4571 wxTextAttrAlignment result;
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_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4581 }
4582 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment();
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 resultobj = SWIG_From_int(static_cast< int >(result));
4590 return resultobj;
4591fail:
4592 return NULL;
4593}
4594
4595
4596SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4597 PyObject *resultobj = 0;
4598 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4599 wxArrayInt *result = 0 ;
4600 void *argp1 = 0 ;
4601 int res1 = 0 ;
4602 PyObject *swig_obj[1] ;
4603
4604 if (!args) SWIG_fail;
4605 swig_obj[0] = args;
4606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4607 if (!SWIG_IsOK(res1)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4609 }
4610 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 {
4614 wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs();
4615 result = (wxArrayInt *) &_result_ref;
4616 }
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 {
b39fe951 4621 resultobj = wxArrayInt2PyList_helper(*result);
f05326ba
RD
4622 }
4623 return resultobj;
4624fail:
4625 return NULL;
4626}
4627
4628
4629SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4630 PyObject *resultobj = 0;
4631 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4632 long result;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 PyObject *swig_obj[1] ;
4636
4637 if (!args) SWIG_fail;
4638 swig_obj[0] = args;
4639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4640 if (!SWIG_IsOK(res1)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4642 }
4643 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent();
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 resultobj = SWIG_From_long(static_cast< long >(result));
4651 return resultobj;
4652fail:
4653 return NULL;
4654}
4655
4656
4657SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4658 PyObject *resultobj = 0;
4659 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4660 long result;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 PyObject *swig_obj[1] ;
4664
4665 if (!args) SWIG_fail;
4666 swig_obj[0] = args;
4667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4668 if (!SWIG_IsOK(res1)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4670 }
4671 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent();
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = SWIG_From_long(static_cast< long >(result));
4679 return resultobj;
4680fail:
4681 return NULL;
4682}
4683
4684
4685SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4686 PyObject *resultobj = 0;
4687 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4688 long result;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 PyObject *swig_obj[1] ;
4692
4693 if (!args) SWIG_fail;
4694 swig_obj[0] = args;
4695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4696 if (!SWIG_IsOK(res1)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4698 }
4699 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent();
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_From_long(static_cast< long >(result));
4707 return resultobj;
4708fail:
4709 return NULL;
4710}
4711
4712
4713SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4716 long result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (long)((wxRichTextAttr const *)arg1)->GetFlags();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_long(static_cast< long >(result));
4735 return resultobj;
4736fail:
4737 return NULL;
4738}
4739
4740
4741SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4744 int result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (int)((wxRichTextAttr const *)arg1)->GetFontSize();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_int(static_cast< int >(result));
4763 return resultobj;
4764fail:
4765 return NULL;
4766}
4767
4768
4769SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4770 PyObject *resultobj = 0;
4771 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4772 int result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 PyObject *swig_obj[1] ;
4776
4777 if (!args) SWIG_fail;
4778 swig_obj[0] = args;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle();
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = SWIG_From_int(static_cast< int >(result));
4791 return resultobj;
4792fail:
4793 return NULL;
4794}
4795
4796
4797SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4798 PyObject *resultobj = 0;
4799 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4800 int result;
4801 void *argp1 = 0 ;
4802 int res1 = 0 ;
4803 PyObject *swig_obj[1] ;
4804
4805 if (!args) SWIG_fail;
4806 swig_obj[0] = args;
4807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4808 if (!SWIG_IsOK(res1)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4810 }
4811 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight();
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 resultobj = SWIG_From_int(static_cast< int >(result));
4819 return resultobj;
4820fail:
4821 return NULL;
4822}
4823
4824
4825SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4826 PyObject *resultobj = 0;
4827 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4828 bool result;
4829 void *argp1 = 0 ;
4830 int res1 = 0 ;
4831 PyObject *swig_obj[1] ;
4832
4833 if (!args) SWIG_fail;
4834 swig_obj[0] = args;
4835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4836 if (!SWIG_IsOK(res1)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4838 }
4839 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined();
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4848 }
4849 return resultobj;
4850fail:
4851 return NULL;
4852}
4853
4854
4855SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4856 PyObject *resultobj = 0;
4857 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4858 wxString *result = 0 ;
4859 void *argp1 = 0 ;
4860 int res1 = 0 ;
4861 PyObject *swig_obj[1] ;
4862
4863 if (!args) SWIG_fail;
4864 swig_obj[0] = args;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 {
4873 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName();
4874 result = (wxString *) &_result_ref;
4875 }
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 {
4880#if wxUSE_UNICODE
4881 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4882#else
4883 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4884#endif
4885 }
4886 return resultobj;
4887fail:
4888 return NULL;
4889}
4890
4891
4892SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4893 PyObject *resultobj = 0;
4894 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4895 wxString *result = 0 ;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 PyObject *swig_obj[1] ;
4899
4900 if (!args) SWIG_fail;
4901 swig_obj[0] = args;
4902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4903 if (!SWIG_IsOK(res1)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4905 }
4906 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 {
4910 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName();
4911 result = (wxString *) &_result_ref;
4912 }
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917#if wxUSE_UNICODE
4918 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4919#else
4920 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4921#endif
4922 }
4923 return resultobj;
4924fail:
4925 return NULL;
4926}
4927
4928
4929SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4930 PyObject *resultobj = 0;
4931 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4932 wxString *result = 0 ;
4933 void *argp1 = 0 ;
4934 int res1 = 0 ;
4935 PyObject *swig_obj[1] ;
4936
4937 if (!args) SWIG_fail;
4938 swig_obj[0] = args;
4939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4940 if (!SWIG_IsOK(res1)) {
4941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4942 }
4943 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 {
4947 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName();
4948 result = (wxString *) &_result_ref;
4949 }
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 {
4954#if wxUSE_UNICODE
4955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4956#else
4957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4958#endif
4959 }
4960 return resultobj;
4961fail:
4962 return NULL;
4963}
4964
4965
4966SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4967 PyObject *resultobj = 0;
4968 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4969 int result;
4970 void *argp1 = 0 ;
4971 int res1 = 0 ;
4972 PyObject *swig_obj[1] ;
4973
4974 if (!args) SWIG_fail;
4975 swig_obj[0] = args;
4976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4977 if (!SWIG_IsOK(res1)) {
4978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4979 }
4980 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter();
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 resultobj = SWIG_From_int(static_cast< int >(result));
4988 return resultobj;
4989fail:
4990 return NULL;
4991}
4992
4993
4994SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4997 int result;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5007 }
5008 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_From_int(static_cast< int >(result));
5016 return resultobj;
5017fail:
5018 return NULL;
5019}
5020
5021
5022SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5023 PyObject *resultobj = 0;
5024 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 PyObject *swig_obj[1] ;
5029
5030 if (!args) SWIG_fail;
5031 swig_obj[0] = args;
5032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5033 if (!SWIG_IsOK(res1)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5035 }
5036 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing();
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 resultobj = SWIG_From_int(static_cast< int >(result));
5044 return resultobj;
5045fail:
5046 return NULL;
5047}
5048
5049
5050SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5051 PyObject *resultobj = 0;
5052 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5053 int result;
5054 void *argp1 = 0 ;
5055 int res1 = 0 ;
5056 PyObject *swig_obj[1] ;
5057
5058 if (!args) SWIG_fail;
5059 swig_obj[0] = args;
5060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5061 if (!SWIG_IsOK(res1)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5063 }
5064 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle();
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = SWIG_From_int(static_cast< int >(result));
5072 return resultobj;
5073fail:
5074 return NULL;
5075}
5076
5077
5078SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5079 PyObject *resultobj = 0;
5080 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5081 int result;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 PyObject *swig_obj[1] ;
5085
5086 if (!args) SWIG_fail;
5087 swig_obj[0] = args;
5088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5089 if (!SWIG_IsOK(res1)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5091 }
5092 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber();
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_From_int(static_cast< int >(result));
5100 return resultobj;
5101fail:
5102 return NULL;
5103}
5104
5105
70d7cb34 5106SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
f05326ba
RD
5107 PyObject *resultobj = 0;
5108 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
70d7cb34 5109 wxString *result = 0 ;
f05326ba
RD
5110 void *argp1 = 0 ;
5111 int res1 = 0 ;
5112 PyObject *swig_obj[1] ;
5113
5114 if (!args) SWIG_fail;
5115 swig_obj[0] = args;
5116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5117 if (!SWIG_IsOK(res1)) {
70d7cb34 5118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
f05326ba
RD
5119 }
5120 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
70d7cb34
RD
5123 {
5124 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletText();
5125 result = (wxString *) &_result_ref;
5126 }
f05326ba
RD
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
70d7cb34
RD
5130 {
5131#if wxUSE_UNICODE
5132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5133#else
5134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5135#endif
5136 }
f05326ba
RD
5137 return resultobj;
5138fail:
5139 return NULL;
5140}
5141
5142
b39fe951
RD
5143SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5144 PyObject *resultobj = 0;
5145 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5146 wxString *result = 0 ;
5147 void *argp1 = 0 ;
5148 int res1 = 0 ;
5149 PyObject *swig_obj[1] ;
5150
5151 if (!args) SWIG_fail;
5152 swig_obj[0] = args;
5153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5154 if (!SWIG_IsOK(res1)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5156 }
5157 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 {
5161 wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletFont();
5162 result = (wxString *) &_result_ref;
5163 }
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 {
5168#if wxUSE_UNICODE
5169 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5170#else
5171 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5172#endif
5173 }
5174 return resultobj;
5175fail:
5176 return NULL;
5177}
5178
5179
f05326ba
RD
5180SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5181 PyObject *resultobj = 0;
5182 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5183 bool result;
5184 void *argp1 = 0 ;
5185 int res1 = 0 ;
5186 PyObject *swig_obj[1] ;
5187
5188 if (!args) SWIG_fail;
5189 swig_obj[0] = args;
5190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5191 if (!SWIG_IsOK(res1)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5193 }
5194 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour();
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 {
5202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5203 }
5204 return resultobj;
5205fail:
5206 return NULL;
5207}
5208
5209
5210SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5211 PyObject *resultobj = 0;
5212 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5213 bool result;
5214 void *argp1 = 0 ;
5215 int res1 = 0 ;
5216 PyObject *swig_obj[1] ;
5217
5218 if (!args) SWIG_fail;
5219 swig_obj[0] = args;
5220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5221 if (!SWIG_IsOK(res1)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5223 }
5224 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour();
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 {
5232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5233 }
5234 return resultobj;
5235fail:
5236 return NULL;
5237}
5238
5239
5240SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5241 PyObject *resultobj = 0;
5242 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5243 bool result;
5244 void *argp1 = 0 ;
5245 int res1 = 0 ;
5246 PyObject *swig_obj[1] ;
5247
5248 if (!args) SWIG_fail;
5249 swig_obj[0] = args;
5250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5251 if (!SWIG_IsOK(res1)) {
5252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5253 }
5254 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment();
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 {
5262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5263 }
5264 return resultobj;
5265fail:
5266 return NULL;
5267}
5268
5269
5270SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *resultobj = 0;
5272 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5273 bool result;
5274 void *argp1 = 0 ;
5275 int res1 = 0 ;
5276 PyObject *swig_obj[1] ;
5277
5278 if (!args) SWIG_fail;
5279 swig_obj[0] = args;
5280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5281 if (!SWIG_IsOK(res1)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5283 }
5284 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 result = (bool)((wxRichTextAttr const *)arg1)->HasTabs();
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5293 }
5294 return resultobj;
5295fail:
5296 return NULL;
5297}
5298
5299
5300SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5301 PyObject *resultobj = 0;
5302 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5303 bool result;
5304 void *argp1 = 0 ;
5305 int res1 = 0 ;
5306 PyObject *swig_obj[1] ;
5307
5308 if (!args) SWIG_fail;
5309 swig_obj[0] = args;
5310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5311 if (!SWIG_IsOK(res1)) {
5312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5313 }
5314 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent();
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 {
5322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5323 }
5324 return resultobj;
5325fail:
5326 return NULL;
5327}
5328
5329
5330SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5331 PyObject *resultobj = 0;
5332 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5333 bool result;
5334 void *argp1 = 0 ;
5335 int res1 = 0 ;
5336 PyObject *swig_obj[1] ;
5337
5338 if (!args) SWIG_fail;
5339 swig_obj[0] = args;
5340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5341 if (!SWIG_IsOK(res1)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5343 }
5344 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent();
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 {
5352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5353 }
5354 return resultobj;
5355fail:
5356 return NULL;
5357}
5358
5359
5360SWIGINTERN PyObject *_wrap_RichTextAttr_HasWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5361 PyObject *resultobj = 0;
5362 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5363 bool result;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 PyObject *swig_obj[1] ;
5367
5368 if (!args) SWIG_fail;
5369 swig_obj[0] = args;
5370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5371 if (!SWIG_IsOK(res1)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5373 }
5374 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (bool)((wxRichTextAttr const *)arg1)->HasWeight();
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 {
5382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5383 }
5384 return resultobj;
5385fail:
5386 return NULL;
5387}
5388
5389
5390SWIGINTERN PyObject *_wrap_RichTextAttr_HasSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5393 bool result;
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
5396 PyObject *swig_obj[1] ;
5397
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5403 }
5404 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (bool)((wxRichTextAttr const *)arg1)->HasSize();
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 {
5412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5413 }
5414 return resultobj;
5415fail:
5416 return NULL;
5417}
5418
5419
5420SWIGINTERN PyObject *_wrap_RichTextAttr_HasItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5421 PyObject *resultobj = 0;
5422 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5423 bool result;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 PyObject *swig_obj[1] ;
5427
5428 if (!args) SWIG_fail;
5429 swig_obj[0] = args;
5430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5431 if (!SWIG_IsOK(res1)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasItalic" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5433 }
5434 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (bool)((wxRichTextAttr const *)arg1)->HasItalic();
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 {
5442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5443 }
5444 return resultobj;
5445fail:
5446 return NULL;
5447}
5448
5449
5450SWIGINTERN PyObject *_wrap_RichTextAttr_HasUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5451 PyObject *resultobj = 0;
5452 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5453 bool result;
5454 void *argp1 = 0 ;
5455 int res1 = 0 ;
5456 PyObject *swig_obj[1] ;
5457
5458 if (!args) SWIG_fail;
5459 swig_obj[0] = args;
5460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5461 if (!SWIG_IsOK(res1)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5463 }
5464 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 result = (bool)((wxRichTextAttr const *)arg1)->HasUnderlined();
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5473 }
5474 return resultobj;
5475fail:
5476 return NULL;
5477}
5478
5479
5480SWIGINTERN PyObject *_wrap_RichTextAttr_HasFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5481 PyObject *resultobj = 0;
5482 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5483 bool result;
5484 void *argp1 = 0 ;
5485 int res1 = 0 ;
5486 PyObject *swig_obj[1] ;
5487
5488 if (!args) SWIG_fail;
5489 swig_obj[0] = args;
5490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5491 if (!SWIG_IsOK(res1)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5493 }
5494 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (bool)((wxRichTextAttr const *)arg1)->HasFaceName();
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 {
5502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5503 }
5504 return resultobj;
5505fail:
5506 return NULL;
5507}
5508
5509
5510SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5511 PyObject *resultobj = 0;
5512 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5513 bool result;
5514 void *argp1 = 0 ;
5515 int res1 = 0 ;
5516 PyObject *swig_obj[1] ;
5517
5518 if (!args) SWIG_fail;
5519 swig_obj[0] = args;
5520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5521 if (!SWIG_IsOK(res1)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5523 }
5524 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 result = (bool)((wxRichTextAttr const *)arg1)->HasFont();
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5533 }
5534 return resultobj;
5535fail:
5536 return NULL;
5537}
5538
5539
5540SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5541 PyObject *resultobj = 0;
5542 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5543 bool result;
5544 void *argp1 = 0 ;
5545 int res1 = 0 ;
5546 PyObject *swig_obj[1] ;
5547
5548 if (!args) SWIG_fail;
5549 swig_obj[0] = args;
5550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5551 if (!SWIG_IsOK(res1)) {
5552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5553 }
5554 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter();
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 {
5562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5563 }
5564 return resultobj;
5565fail:
5566 return NULL;
5567}
5568
5569
5570SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5571 PyObject *resultobj = 0;
5572 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5573 bool result;
5574 void *argp1 = 0 ;
5575 int res1 = 0 ;
5576 PyObject *swig_obj[1] ;
5577
5578 if (!args) SWIG_fail;
5579 swig_obj[0] = args;
5580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5581 if (!SWIG_IsOK(res1)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5583 }
5584 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore();
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 {
5592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5593 }
5594 return resultobj;
5595fail:
5596 return NULL;
5597}
5598
5599
5600SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5601 PyObject *resultobj = 0;
5602 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5603 bool result;
5604 void *argp1 = 0 ;
5605 int res1 = 0 ;
5606 PyObject *swig_obj[1] ;
5607
5608 if (!args) SWIG_fail;
5609 swig_obj[0] = args;
5610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5611 if (!SWIG_IsOK(res1)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5613 }
5614 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing();
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5623 }
5624 return resultobj;
5625fail:
5626 return NULL;
5627}
5628
5629
5630SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5631 PyObject *resultobj = 0;
5632 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5633 bool result;
5634 void *argp1 = 0 ;
5635 int res1 = 0 ;
5636 PyObject *swig_obj[1] ;
5637
5638 if (!args) SWIG_fail;
5639 swig_obj[0] = args;
5640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5641 if (!SWIG_IsOK(res1)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5643 }
5644 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName();
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 {
5652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5653 }
5654 return resultobj;
5655fail:
5656 return NULL;
5657}
5658
5659
5660SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5661 PyObject *resultobj = 0;
5662 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5663 bool result;
5664 void *argp1 = 0 ;
5665 int res1 = 0 ;
5666 PyObject *swig_obj[1] ;
5667
5668 if (!args) SWIG_fail;
5669 swig_obj[0] = args;
5670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5671 if (!SWIG_IsOK(res1)) {
5672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5673 }
5674 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName();
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 {
5682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5683 }
5684 return resultobj;
5685fail:
5686 return NULL;
5687}
5688
5689
5690SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5691 PyObject *resultobj = 0;
5692 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5693 bool result;
5694 void *argp1 = 0 ;
5695 int res1 = 0 ;
5696 PyObject *swig_obj[1] ;
5697
5698 if (!args) SWIG_fail;
5699 swig_obj[0] = args;
5700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5701 if (!SWIG_IsOK(res1)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5703 }
5704 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle();
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 return resultobj;
5715fail:
5716 return NULL;
5717}
5718
5719
5720SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5721 PyObject *resultobj = 0;
5722 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5723 bool result;
5724 void *argp1 = 0 ;
5725 int res1 = 0 ;
5726 PyObject *swig_obj[1] ;
5727
5728 if (!args) SWIG_fail;
5729 swig_obj[0] = args;
5730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5733 }
5734 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber();
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 return resultobj;
5745fail:
5746 return NULL;
5747}
5748
5749
70d7cb34 5750SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
f05326ba
RD
5751 PyObject *resultobj = 0;
5752 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5753 bool result;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 PyObject *swig_obj[1] ;
5757
5758 if (!args) SWIG_fail;
5759 swig_obj[0] = args;
5760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
70d7cb34 5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
f05326ba
RD
5763 }
5764 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5765 {
5766 PyThreadState* __tstate = wxPyBeginAllowThreads();
70d7cb34 5767 result = (bool)((wxRichTextAttr const *)arg1)->HasBulletText();
f05326ba
RD
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 {
5772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5773 }
5774 return resultobj;
5775fail:
5776 return NULL;
5777}
5778
5779
5780SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj = 0;
5782 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5783 long arg2 ;
5784 bool result;
5785 void *argp1 = 0 ;
5786 int res1 = 0 ;
5787 long val2 ;
5788 int ecode2 = 0 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char * kwnames[] = {
5792 (char *) "self",(char *) "flag", NULL
5793 };
5794
5795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5797 if (!SWIG_IsOK(res1)) {
5798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5799 }
5800 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5801 ecode2 = SWIG_AsVal_long(obj1, &val2);
5802 if (!SWIG_IsOK(ecode2)) {
5803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5804 }
5805 arg2 = static_cast< long >(val2);
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2);
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 {
5813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5814 }
5815 return resultobj;
5816fail:
5817 return NULL;
5818}
5819
5820
5821SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5822 PyObject *resultobj = 0;
5823 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5824 bool result;
5825 void *argp1 = 0 ;
5826 int res1 = 0 ;
5827 PyObject *swig_obj[1] ;
5828
5829 if (!args) SWIG_fail;
5830 swig_obj[0] = args;
5831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5834 }
5835 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle();
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5844 }
5845 return resultobj;
5846fail:
5847 return NULL;
5848}
5849
5850
5851SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5852 PyObject *resultobj = 0;
5853 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5854 bool result;
5855 void *argp1 = 0 ;
5856 int res1 = 0 ;
5857 PyObject *swig_obj[1] ;
5858
5859 if (!args) SWIG_fail;
5860 swig_obj[0] = args;
5861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5862 if (!SWIG_IsOK(res1)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5864 }
5865 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle();
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 {
5873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5874 }
5875 return resultobj;
5876fail:
5877 return NULL;
5878}
5879
5880
5881SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5882 PyObject *resultobj = 0;
5883 wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5884 bool result;
5885 void *argp1 = 0 ;
5886 int res1 = 0 ;
5887 PyObject *swig_obj[1] ;
5888
5889 if (!args) SWIG_fail;
5890 swig_obj[0] = args;
5891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5892 if (!SWIG_IsOK(res1)) {
5893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5894 }
5895 arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (bool)((wxRichTextAttr const *)arg1)->IsDefault();
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5904 }
5905 return resultobj;
5906fail:
5907 return NULL;
5908}
5909
5910
5911SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5912 PyObject *obj;
5913 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5914 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj));
5915 return SWIG_Py_Void();
5916}
5917
5918SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5919 return SWIG_Python_InitShadowInstance(args);
5920}
5921
5922SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj = 0;
5924 wxWindow *arg1 = (wxWindow *) 0 ;
5925 int arg2 = (int) -1 ;
0ef86618
RD
5926 wxString const &arg3_defvalue = wxPyEmptyString ;
5927 wxString *arg3 = (wxString *) &arg3_defvalue ;
5928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5930 wxSize const &arg5_defvalue = wxDefaultSize ;
5931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5932 long arg6 = (long) wxRE_MULTILINE ;
f05326ba
RD
5933 wxRichTextCtrl *result = 0 ;
5934 void *argp1 = 0 ;
5935 int res1 = 0 ;
5936 int val2 ;
5937 int ecode2 = 0 ;
0ef86618
RD
5938 bool temp3 = false ;
5939 wxPoint temp4 ;
5940 wxSize temp5 ;
5941 long val6 ;
5942 int ecode6 = 0 ;
f05326ba
RD
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 PyObject * obj2 = 0 ;
5946 PyObject * obj3 = 0 ;
5947 PyObject * obj4 = 0 ;
0ef86618 5948 PyObject * obj5 = 0 ;
f05326ba 5949 char * kwnames[] = {
0ef86618 5950 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
f05326ba
RD
5951 };
5952
0ef86618 5953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
f05326ba
RD
5954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5955 if (!SWIG_IsOK(res1)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5957 }
5958 arg1 = reinterpret_cast< wxWindow * >(argp1);
5959 if (obj1) {
5960 ecode2 = SWIG_AsVal_int(obj1, &val2);
5961 if (!SWIG_IsOK(ecode2)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextCtrl" "', expected argument " "2"" of type '" "int""'");
5963 }
5964 arg2 = static_cast< int >(val2);
5965 }
5966 if (obj2) {
5967 {
0ef86618
RD
5968 arg3 = wxString_in_helper(obj2);
5969 if (arg3 == NULL) SWIG_fail;
5970 temp3 = true;
f05326ba
RD
5971 }
5972 }
5973 if (obj3) {
5974 {
5975 arg4 = &temp4;
0ef86618 5976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f05326ba
RD
5977 }
5978 }
5979 if (obj4) {
0ef86618
RD
5980 {
5981 arg5 = &temp5;
5982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5983 }
5984 }
5985 if (obj5) {
5986 ecode6 = SWIG_AsVal_long(obj5, &val6);
5987 if (!SWIG_IsOK(ecode6)) {
5988 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RichTextCtrl" "', expected argument " "6"" of type '" "long""'");
f05326ba 5989 }
0ef86618 5990 arg6 = static_cast< long >(val6);
f05326ba
RD
5991 }
5992 {
5993 if (!wxPyCheckForApp()) SWIG_fail;
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ef86618 5995 result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
f05326ba
RD
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_NEW | 0 );
0ef86618
RD
6000 {
6001 if (temp3)
6002 delete arg3;
6003 }
f05326ba
RD
6004 return resultobj;
6005fail:
0ef86618
RD
6006 {
6007 if (temp3)
6008 delete arg3;
6009 }
f05326ba
RD
6010 return NULL;
6011}
6012
6013
6014SWIGINTERN PyObject *_wrap_new_PreRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6015 PyObject *resultobj = 0;
6016 wxRichTextCtrl *result = 0 ;
6017
6018 if (!SWIG_Python_UnpackTuple(args,"new_PreRichTextCtrl",0,0,0)) SWIG_fail;
6019 {
6020 if (!wxPyCheckForApp()) SWIG_fail;
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxRichTextCtrl *)new wxRichTextCtrl();
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, SWIG_POINTER_OWN | 0 );
6027 return resultobj;
6028fail:
6029 return NULL;
6030}
6031
6032
6033SWIGINTERN PyObject *_wrap_RichTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj = 0;
6035 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6036 wxWindow *arg2 = (wxWindow *) 0 ;
6037 int arg3 = (int) -1 ;
0ef86618
RD
6038 wxString const &arg4_defvalue = wxPyEmptyString ;
6039 wxString *arg4 = (wxString *) &arg4_defvalue ;
6040 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6041 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6042 wxSize const &arg6_defvalue = wxDefaultSize ;
6043 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6044 long arg7 = (long) wxRE_MULTILINE ;
f05326ba
RD
6045 bool result;
6046 void *argp1 = 0 ;
6047 int res1 = 0 ;
6048 void *argp2 = 0 ;
6049 int res2 = 0 ;
6050 int val3 ;
6051 int ecode3 = 0 ;
0ef86618
RD
6052 bool temp4 = false ;
6053 wxPoint temp5 ;
6054 wxSize temp6 ;
6055 long val7 ;
6056 int ecode7 = 0 ;
f05326ba
RD
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 PyObject * obj2 = 0 ;
6060 PyObject * obj3 = 0 ;
6061 PyObject * obj4 = 0 ;
6062 PyObject * obj5 = 0 ;
0ef86618 6063 PyObject * obj6 = 0 ;
f05326ba 6064 char * kwnames[] = {
0ef86618 6065 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL
f05326ba
RD
6066 };
6067
0ef86618 6068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
f05326ba
RD
6069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6070 if (!SWIG_IsOK(res1)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6072 }
6073 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6074 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6075 if (!SWIG_IsOK(res2)) {
6076 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6077 }
6078 arg2 = reinterpret_cast< wxWindow * >(argp2);
6079 if (obj2) {
6080 ecode3 = SWIG_AsVal_int(obj2, &val3);
6081 if (!SWIG_IsOK(ecode3)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
6083 }
6084 arg3 = static_cast< int >(val3);
6085 }
6086 if (obj3) {
6087 {
0ef86618
RD
6088 arg4 = wxString_in_helper(obj3);
6089 if (arg4 == NULL) SWIG_fail;
6090 temp4 = true;
f05326ba
RD
6091 }
6092 }
6093 if (obj4) {
6094 {
6095 arg5 = &temp5;
0ef86618 6096 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f05326ba
RD
6097 }
6098 }
6099 if (obj5) {
0ef86618
RD
6100 {
6101 arg6 = &temp6;
6102 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6103 }
6104 }
6105 if (obj6) {
6106 ecode7 = SWIG_AsVal_long(obj6, &val7);
6107 if (!SWIG_IsOK(ecode7)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
f05326ba 6109 }
0ef86618 6110 arg7 = static_cast< long >(val7);
f05326ba
RD
6111 }
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ef86618 6114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7);
f05326ba
RD
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 }
0ef86618
RD
6121 {
6122 if (temp4)
6123 delete arg4;
6124 }
f05326ba
RD
6125 return resultobj;
6126fail:
0ef86618
RD
6127 {
6128 if (temp4)
6129 delete arg4;
6130 }
f05326ba
RD
6131 return NULL;
6132}
6133
6134
6135SWIGINTERN PyObject *_wrap_RichTextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6136 PyObject *resultobj = 0;
6137 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6138 wxString result;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 PyObject *swig_obj[1] ;
6142
6143 if (!args) SWIG_fail;
6144 swig_obj[0] = args;
6145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6148 }
6149 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = ((wxRichTextCtrl const *)arg1)->GetValue();
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157#if wxUSE_UNICODE
6158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6159#else
6160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6161#endif
6162 }
6163 return resultobj;
6164fail:
6165 return NULL;
6166}
6167
6168
6169SWIGINTERN PyObject *_wrap_RichTextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj = 0;
6171 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6172 wxString *arg2 = 0 ;
6173 void *argp1 = 0 ;
6174 int res1 = 0 ;
6175 bool temp2 = false ;
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 char * kwnames[] = {
6179 (char *) "self",(char *) "value", NULL
6180 };
6181
6182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
6183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6184 if (!SWIG_IsOK(res1)) {
6185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetValue" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6186 }
6187 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6188 {
6189 arg2 = wxString_in_helper(obj1);
6190 if (arg2 == NULL) SWIG_fail;
6191 temp2 = true;
6192 }
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 (arg1)->SetValue((wxString const &)*arg2);
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 resultobj = SWIG_Py_Void();
6200 {
6201 if (temp2)
6202 delete arg2;
6203 }
6204 return resultobj;
6205fail:
6206 {
6207 if (temp2)
6208 delete arg2;
6209 }
6210 return NULL;
6211}
6212
6213
6214SWIGINTERN PyObject *_wrap_RichTextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6215 PyObject *resultobj = 0;
6216 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6217 long arg2 ;
6218 long arg3 ;
6219 wxString result;
6220 void *argp1 = 0 ;
6221 int res1 = 0 ;
6222 long val2 ;
6223 int ecode2 = 0 ;
6224 long val3 ;
6225 int ecode3 = 0 ;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 PyObject * obj2 = 0 ;
6229 char * kwnames[] = {
6230 (char *) "self",(char *) "from",(char *) "to", NULL
6231 };
6232
6233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6235 if (!SWIG_IsOK(res1)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6237 }
6238 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6239 ecode2 = SWIG_AsVal_long(obj1, &val2);
6240 if (!SWIG_IsOK(ecode2)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
6242 }
6243 arg2 = static_cast< long >(val2);
6244 ecode3 = SWIG_AsVal_long(obj2, &val3);
6245 if (!SWIG_IsOK(ecode3)) {
6246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
6247 }
6248 arg3 = static_cast< long >(val3);
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 result = ((wxRichTextCtrl const *)arg1)->GetRange(arg2,arg3);
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 {
6256#if wxUSE_UNICODE
6257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6258#else
6259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6260#endif
6261 }
6262 return resultobj;
6263fail:
6264 return NULL;
6265}
6266
6267
6268SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj = 0;
6270 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6271 long arg2 ;
6272 int result;
6273 void *argp1 = 0 ;
6274 int res1 = 0 ;
6275 long val2 ;
6276 int ecode2 = 0 ;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 char * kwnames[] = {
6280 (char *) "self",(char *) "lineNo", NULL
6281 };
6282
6283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
6284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6285 if (!SWIG_IsOK(res1)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6287 }
6288 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6289 ecode2 = SWIG_AsVal_long(obj1, &val2);
6290 if (!SWIG_IsOK(ecode2)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
6292 }
6293 arg2 = static_cast< long >(val2);
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (int)((wxRichTextCtrl const *)arg1)->GetLineLength(arg2);
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 resultobj = SWIG_From_int(static_cast< int >(result));
6301 return resultobj;
6302fail:
6303 return NULL;
6304}
6305
6306
6307SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = 0;
6309 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6310 long arg2 ;
6311 wxString result;
6312 void *argp1 = 0 ;
6313 int res1 = 0 ;
6314 long val2 ;
6315 int ecode2 = 0 ;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 char * kwnames[] = {
6319 (char *) "self",(char *) "lineNo", NULL
6320 };
6321
6322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
6323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6324 if (!SWIG_IsOK(res1)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6326 }
6327 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6328 ecode2 = SWIG_AsVal_long(obj1, &val2);
6329 if (!SWIG_IsOK(ecode2)) {
6330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
6331 }
6332 arg2 = static_cast< long >(val2);
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = ((wxRichTextCtrl const *)arg1)->GetLineText(arg2);
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 {
6340#if wxUSE_UNICODE
6341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6342#else
6343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6344#endif
6345 }
6346 return resultobj;
6347fail:
6348 return NULL;
6349}
6350
6351
6352SWIGINTERN PyObject *_wrap_RichTextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6353 PyObject *resultobj = 0;
6354 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6355 int result;
6356 void *argp1 = 0 ;
6357 int res1 = 0 ;
6358 PyObject *swig_obj[1] ;
6359
6360 if (!args) SWIG_fail;
6361 swig_obj[0] = args;
6362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6363 if (!SWIG_IsOK(res1)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6365 }
6366 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = (int)((wxRichTextCtrl const *)arg1)->GetNumberOfLines();
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = SWIG_From_int(static_cast< int >(result));
6374 return resultobj;
6375fail:
6376 return NULL;
6377}
6378
6379
6380SWIGINTERN PyObject *_wrap_RichTextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6381 PyObject *resultobj = 0;
6382 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6383 bool result;
6384 void *argp1 = 0 ;
6385 int res1 = 0 ;
6386 PyObject *swig_obj[1] ;
6387
6388 if (!args) SWIG_fail;
6389 swig_obj[0] = args;
6390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6391 if (!SWIG_IsOK(res1)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsModified" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6393 }
6394 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (bool)((wxRichTextCtrl const *)arg1)->IsModified();
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 return resultobj;
6405fail:
6406 return NULL;
6407}
6408
6409
6410SWIGINTERN PyObject *_wrap_RichTextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6411 PyObject *resultobj = 0;
6412 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6413 bool result;
6414 void *argp1 = 0 ;
6415 int res1 = 0 ;
6416 PyObject *swig_obj[1] ;
6417
6418 if (!args) SWIG_fail;
6419 swig_obj[0] = args;
6420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6421 if (!SWIG_IsOK(res1)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6423 }
6424 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (bool)((wxRichTextCtrl const *)arg1)->IsEditable();
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 {
6432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6433 }
6434 return resultobj;
6435fail:
6436 return NULL;
6437}
6438
6439
6440SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6441 PyObject *resultobj = 0;
6442 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6443 bool result;
6444 void *argp1 = 0 ;
6445 int res1 = 0 ;
6446 PyObject *swig_obj[1] ;
6447
6448 if (!args) SWIG_fail;
6449 swig_obj[0] = args;
6450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6451 if (!SWIG_IsOK(res1)) {
6452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6453 }
6454 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (bool)((wxRichTextCtrl const *)arg1)->IsSingleLine();
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 {
6462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6463 }
6464 return resultobj;
6465fail:
6466 return NULL;
6467}
6468
6469
6470SWIGINTERN PyObject *_wrap_RichTextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6471 PyObject *resultobj = 0;
6472 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6473 bool result;
6474 void *argp1 = 0 ;
6475 int res1 = 0 ;
6476 PyObject *swig_obj[1] ;
6477
6478 if (!args) SWIG_fail;
6479 swig_obj[0] = args;
6480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6481 if (!SWIG_IsOK(res1)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6483 }
6484 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 result = (bool)((wxRichTextCtrl const *)arg1)->IsMultiLine();
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 {
6492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6493 }
6494 return resultobj;
6495fail:
6496 return NULL;
6497}
6498
6499
6500SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6501 PyObject *resultobj = 0;
6502 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6503 long *arg2 = (long *) 0 ;
6504 long *arg3 = (long *) 0 ;
6505 void *argp1 = 0 ;
6506 int res1 = 0 ;
6507 long temp2 ;
6508 int res2 = SWIG_TMPOBJ ;
6509 long temp3 ;
6510 int res3 = SWIG_TMPOBJ ;
6511 PyObject *swig_obj[1] ;
6512
6513 arg2 = &temp2;
6514 arg3 = &temp3;
6515 if (!args) SWIG_fail;
6516 swig_obj[0] = args;
6517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6518 if (!SWIG_IsOK(res1)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6520 }
6521 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 ((wxRichTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 resultobj = SWIG_Py_Void();
6529 if (SWIG_IsTmpObj(res2)) {
6530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6531 } else {
6532 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6534 }
6535 if (SWIG_IsTmpObj(res3)) {
6536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6537 } else {
6538 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6540 }
6541 return resultobj;
6542fail:
6543 return NULL;
6544}
6545
6546
6547SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6548 PyObject *resultobj = 0;
6549 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6550 wxString result;
6551 void *argp1 = 0 ;
6552 int res1 = 0 ;
6553 PyObject *swig_obj[1] ;
6554
6555 if (!args) SWIG_fail;
6556 swig_obj[0] = args;
6557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6558 if (!SWIG_IsOK(res1)) {
6559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6560 }
6561 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 result = ((wxRichTextCtrl const *)arg1)->GetStringSelection();
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 {
6569#if wxUSE_UNICODE
6570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6571#else
6572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6573#endif
6574 }
6575 return resultobj;
6576fail:
6577 return NULL;
6578}
6579
6580
6581SWIGINTERN PyObject *_wrap_RichTextCtrl_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6582 PyObject *resultobj = 0;
6583 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6584 wxString result;
6585 void *argp1 = 0 ;
6586 int res1 = 0 ;
6587 PyObject *swig_obj[1] ;
6588
6589 if (!args) SWIG_fail;
6590 swig_obj[0] = args;
6591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6592 if (!SWIG_IsOK(res1)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6594 }
6595 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = ((wxRichTextCtrl const *)arg1)->GetFilename();
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 {
6603#if wxUSE_UNICODE
6604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6605#else
6606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6607#endif
6608 }
6609 return resultobj;
6610fail:
6611 return NULL;
6612}
6613
6614
6615SWIGINTERN PyObject *_wrap_RichTextCtrl_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj = 0;
6617 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6618 wxString *arg2 = 0 ;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 bool temp2 = false ;
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
6624 char * kwnames[] = {
6625 (char *) "self",(char *) "filename", NULL
6626 };
6627
6628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
6629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6630 if (!SWIG_IsOK(res1)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetFilename" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6632 }
6633 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6634 {
6635 arg2 = wxString_in_helper(obj1);
6636 if (arg2 == NULL) SWIG_fail;
6637 temp2 = true;
6638 }
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 (arg1)->SetFilename((wxString const &)*arg2);
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 resultobj = SWIG_Py_Void();
6646 {
6647 if (temp2)
6648 delete arg2;
6649 }
6650 return resultobj;
6651fail:
6652 {
6653 if (temp2)
6654 delete arg2;
6655 }
6656 return NULL;
6657}
6658
6659
6660SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6661 PyObject *resultobj = 0;
6662 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6663 long arg2 ;
6664 void *argp1 = 0 ;
6665 int res1 = 0 ;
6666 long val2 ;
6667 int ecode2 = 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char * kwnames[] = {
6671 (char *) "self",(char *) "threshold", NULL
6672 };
6673
6674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDelayedLayoutThreshold",kwnames,&obj0,&obj1)) SWIG_fail;
6675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6676 if (!SWIG_IsOK(res1)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6678 }
6679 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6680 ecode2 = SWIG_AsVal_long(obj1, &val2);
6681 if (!SWIG_IsOK(ecode2)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetDelayedLayoutThreshold" "', expected argument " "2"" of type '" "long""'");
6683 }
6684 arg2 = static_cast< long >(val2);
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetDelayedLayoutThreshold(arg2);
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 resultobj = SWIG_Py_Void();
6692 return resultobj;
6693fail:
6694 return NULL;
6695}
6696
6697
6698SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDelayedLayoutThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6699 PyObject *resultobj = 0;
6700 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6701 long result;
6702 void *argp1 = 0 ;
6703 int res1 = 0 ;
6704 PyObject *swig_obj[1] ;
6705
6706 if (!args) SWIG_fail;
6707 swig_obj[0] = args;
6708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6709 if (!SWIG_IsOK(res1)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDelayedLayoutThreshold" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
6711 }
6712 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = (long)((wxRichTextCtrl const *)arg1)->GetDelayedLayoutThreshold();
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = SWIG_From_long(static_cast< long >(result));
6720 return resultobj;
6721fail:
6722 return NULL;
6723}
6724
6725
6726SWIGINTERN PyObject *_wrap_RichTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6727 PyObject *resultobj = 0;
6728 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6729 void *argp1 = 0 ;
6730 int res1 = 0 ;
6731 PyObject *swig_obj[1] ;
6732
6733 if (!args) SWIG_fail;
6734 swig_obj[0] = args;
6735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6736 if (!SWIG_IsOK(res1)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Clear" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6738 }
6739 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 (arg1)->Clear();
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = SWIG_Py_Void();
6747 return resultobj;
6748fail:
6749 return NULL;
6750}
6751
6752
6753SWIGINTERN PyObject *_wrap_RichTextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj = 0;
6755 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6756 long arg2 ;
6757 long arg3 ;
6758 wxString *arg4 = 0 ;
6759 void *argp1 = 0 ;
6760 int res1 = 0 ;
6761 long val2 ;
6762 int ecode2 = 0 ;
6763 long val3 ;
6764 int ecode3 = 0 ;
6765 bool temp4 = false ;
6766 PyObject * obj0 = 0 ;
6767 PyObject * obj1 = 0 ;
6768 PyObject * obj2 = 0 ;
6769 PyObject * obj3 = 0 ;
6770 char * kwnames[] = {
6771 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6772 };
6773
6774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6776 if (!SWIG_IsOK(res1)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Replace" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6778 }
6779 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6780 ecode2 = SWIG_AsVal_long(obj1, &val2);
6781 if (!SWIG_IsOK(ecode2)) {
6782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
6783 }
6784 arg2 = static_cast< long >(val2);
6785 ecode3 = SWIG_AsVal_long(obj2, &val3);
6786 if (!SWIG_IsOK(ecode3)) {
6787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
6788 }
6789 arg3 = static_cast< long >(val3);
6790 {
6791 arg4 = wxString_in_helper(obj3);
6792 if (arg4 == NULL) SWIG_fail;
6793 temp4 = true;
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 resultobj = SWIG_Py_Void();
6802 {
6803 if (temp4)
6804 delete arg4;
6805 }
6806 return resultobj;
6807fail:
6808 {
6809 if (temp4)
6810 delete arg4;
6811 }
6812 return NULL;
6813}
6814
6815
6816SWIGINTERN PyObject *_wrap_RichTextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj = 0;
6818 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6819 long arg2 ;
6820 long arg3 ;
6821 void *argp1 = 0 ;
6822 int res1 = 0 ;
6823 long val2 ;
6824 int ecode2 = 0 ;
6825 long val3 ;
6826 int ecode3 = 0 ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 PyObject * obj2 = 0 ;
6830 char * kwnames[] = {
6831 (char *) "self",(char *) "from",(char *) "to", NULL
6832 };
6833
6834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6836 if (!SWIG_IsOK(res1)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Remove" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6838 }
6839 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6840 ecode2 = SWIG_AsVal_long(obj1, &val2);
6841 if (!SWIG_IsOK(ecode2)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
6843 }
6844 arg2 = static_cast< long >(val2);
6845 ecode3 = SWIG_AsVal_long(obj2, &val3);
6846 if (!SWIG_IsOK(ecode3)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
6848 }
6849 arg3 = static_cast< long >(val3);
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 (arg1)->Remove(arg2,arg3);
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 resultobj = SWIG_Py_Void();
6857 return resultobj;
6858fail:
6859 return NULL;
6860}
6861
6862
6863SWIGINTERN PyObject *_wrap_RichTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj = 0;
6865 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6866 wxString *arg2 = 0 ;
6867 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6868 bool result;
6869 void *argp1 = 0 ;
6870 int res1 = 0 ;
6871 bool temp2 = false ;
6872 int val3 ;
6873 int ecode3 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 PyObject * obj2 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "file",(char *) "type", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6885 }
6886 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6887 {
6888 arg2 = wxString_in_helper(obj1);
6889 if (arg2 == NULL) SWIG_fail;
6890 temp2 = true;
6891 }
6892 if (obj2) {
6893 ecode3 = SWIG_AsVal_int(obj2, &val3);
6894 if (!SWIG_IsOK(ecode3)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
6896 }
6897 arg3 = static_cast< int >(val3);
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 {
6906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6907 }
6908 {
6909 if (temp2)
6910 delete arg2;
6911 }
6912 return resultobj;
6913fail:
6914 {
6915 if (temp2)
6916 delete arg2;
6917 }
6918 return NULL;
6919}
6920
6921
6922SWIGINTERN PyObject *_wrap_RichTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj = 0;
6924 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6925 wxString const &arg2_defvalue = wxPyEmptyString ;
6926 wxString *arg2 = (wxString *) &arg2_defvalue ;
6927 int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
6928 bool result;
6929 void *argp1 = 0 ;
6930 int res1 = 0 ;
6931 bool temp2 = false ;
6932 int val3 ;
6933 int ecode3 = 0 ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 PyObject * obj2 = 0 ;
6937 char * kwnames[] = {
6938 (char *) "self",(char *) "file",(char *) "type", NULL
6939 };
6940
6941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6943 if (!SWIG_IsOK(res1)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
6945 }
6946 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
6947 if (obj1) {
6948 {
6949 arg2 = wxString_in_helper(obj1);
6950 if (arg2 == NULL) SWIG_fail;
6951 temp2 = true;
6952 }
6953 }
6954 if (obj2) {
6955 ecode3 = SWIG_AsVal_int(obj2, &val3);
6956 if (!SWIG_IsOK(ecode3)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
6958 }
6959 arg3 = static_cast< int >(val3);
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 {
6968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6969 }
6970 {
6971 if (temp2)
6972 delete arg2;
6973 }
6974 return resultobj;
6975fail:
6976 {
6977 if (temp2)
6978 delete arg2;
6979 }
6980 return NULL;
6981}
6982
6983
70d7cb34
RD
6984SWIGINTERN PyObject *_wrap_RichTextCtrl_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj = 0;
6986 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
6987 int arg2 ;
6988 void *argp1 = 0 ;
6989 int res1 = 0 ;
6990 int val2 ;
6991 int ecode2 = 0 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char * kwnames[] = {
6995 (char *) "self",(char *) "flags", NULL
6996 };
6997
6998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail;
6999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7000 if (!SWIG_IsOK(res1)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7002 }
7003 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7004 ecode2 = SWIG_AsVal_int(obj1, &val2);
7005 if (!SWIG_IsOK(ecode2)) {
7006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
7007 }
7008 arg2 = static_cast< int >(val2);
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetHandlerFlags(arg2);
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 resultobj = SWIG_Py_Void();
7016 return resultobj;
7017fail:
7018 return NULL;
7019}
7020
7021
7022SWIGINTERN PyObject *_wrap_RichTextCtrl_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7023 PyObject *resultobj = 0;
7024 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7025 int result;
7026 void *argp1 = 0 ;
7027 int res1 = 0 ;
7028 PyObject *swig_obj[1] ;
7029
7030 if (!args) SWIG_fail;
7031 swig_obj[0] = args;
7032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7035 }
7036 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = (int)((wxRichTextCtrl const *)arg1)->GetHandlerFlags();
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_From_int(static_cast< int >(result));
7044 return resultobj;
7045fail:
7046 return NULL;
7047}
7048
7049
f05326ba
RD
7050SWIGINTERN PyObject *_wrap_RichTextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7051 PyObject *resultobj = 0;
7052 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7053 void *argp1 = 0 ;
7054 int res1 = 0 ;
7055 PyObject *swig_obj[1] ;
7056
7057 if (!args) SWIG_fail;
7058 swig_obj[0] = args;
7059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7060 if (!SWIG_IsOK(res1)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7062 }
7063 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 (arg1)->MarkDirty();
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 resultobj = SWIG_Py_Void();
7071 return resultobj;
7072fail:
7073 return NULL;
7074}
7075
7076
7077SWIGINTERN PyObject *_wrap_RichTextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7078 PyObject *resultobj = 0;
7079 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 PyObject *swig_obj[1] ;
7083
7084 if (!args) SWIG_fail;
7085 swig_obj[0] = args;
7086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7087 if (!SWIG_IsOK(res1)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7089 }
7090 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 (arg1)->DiscardEdits();
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 resultobj = SWIG_Py_Void();
7098 return resultobj;
7099fail:
7100 return NULL;
7101}
7102
7103
7104SWIGINTERN PyObject *_wrap_RichTextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj = 0;
7106 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7107 unsigned long arg2 ;
7108 void *argp1 = 0 ;
7109 int res1 = 0 ;
7110 unsigned long val2 ;
7111 int ecode2 = 0 ;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 char * kwnames[] = {
7115 (char *) "self",(char *) "len", NULL
7116 };
7117
7118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
7119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7120 if (!SWIG_IsOK(res1)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7122 }
7123 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7124 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
7125 if (!SWIG_IsOK(ecode2)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
7127 }
7128 arg2 = static_cast< unsigned long >(val2);
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 (arg1)->SetMaxLength(arg2);
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = SWIG_Py_Void();
7136 return resultobj;
7137fail:
7138 return NULL;
7139}
7140
7141
7142SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj = 0;
7144 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7145 wxString *arg2 = 0 ;
7146 void *argp1 = 0 ;
7147 int res1 = 0 ;
7148 bool temp2 = false ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 char * kwnames[] = {
7152 (char *) "self",(char *) "text", NULL
7153 };
7154
7155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
7156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7157 if (!SWIG_IsOK(res1)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7159 }
7160 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7161 {
7162 arg2 = wxString_in_helper(obj1);
7163 if (arg2 == NULL) SWIG_fail;
7164 temp2 = true;
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->WriteText((wxString const &)*arg2);
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_Py_Void();
7173 {
7174 if (temp2)
7175 delete arg2;
7176 }
7177 return resultobj;
7178fail:
7179 {
7180 if (temp2)
7181 delete arg2;
7182 }
7183 return NULL;
7184}
7185
7186
7187SWIGINTERN PyObject *_wrap_RichTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj = 0;
7189 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7190 wxString *arg2 = 0 ;
7191 void *argp1 = 0 ;
7192 int res1 = 0 ;
7193 bool temp2 = false ;
7194 PyObject * obj0 = 0 ;
7195 PyObject * obj1 = 0 ;
7196 char * kwnames[] = {
7197 (char *) "self",(char *) "text", NULL
7198 };
7199
7200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
7201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7202 if (!SWIG_IsOK(res1)) {
7203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7204 }
7205 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7206 {
7207 arg2 = wxString_in_helper(obj1);
7208 if (arg2 == NULL) SWIG_fail;
7209 temp2 = true;
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->AppendText((wxString const &)*arg2);
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_Py_Void();
7218 {
7219 if (temp2)
7220 delete arg2;
7221 }
7222 return resultobj;
7223fail:
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return NULL;
7229}
7230
7231
7232SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = 0;
7234 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7235 wxRichTextRange *arg2 = 0 ;
7236 wxRichTextAttr *arg3 = 0 ;
7237 bool result;
7238 void *argp1 = 0 ;
7239 int res1 = 0 ;
7240 wxRichTextRange temp2 ;
7241 void *argp3 = 0 ;
7242 int res3 = 0 ;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 PyObject * obj2 = 0 ;
7246 char * kwnames[] = {
7247 (char *) "self",(char *) "range",(char *) "style", NULL
7248 };
7249
7250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7252 if (!SWIG_IsOK(res1)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7254 }
7255 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7256 {
7257 arg2 = &temp2;
7258 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7259 }
7260 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7261 if (!SWIG_IsOK(res3)) {
7262 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7263 }
7264 if (!argp3) {
7265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7266 }
7267 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 {
7275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7276 }
7277 return resultobj;
7278fail:
7279 return NULL;
7280}
7281
7282
b39fe951
RD
7283SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj = 0;
7285 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7286 wxRichTextRange *arg2 = 0 ;
7287 wxRichTextAttr *arg3 = 0 ;
7288 int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
7289 bool result;
7290 void *argp1 = 0 ;
7291 int res1 = 0 ;
7292 wxRichTextRange temp2 ;
7293 void *argp3 = 0 ;
7294 int res3 = 0 ;
7295 int val4 ;
7296 int ecode4 = 0 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 PyObject * obj2 = 0 ;
7300 PyObject * obj3 = 0 ;
7301 char * kwnames[] = {
7302 (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
7303 };
7304
7305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextCtrl_SetStyleEx",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7307 if (!SWIG_IsOK(res1)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7309 }
7310 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7311 {
7312 arg2 = &temp2;
7313 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7314 }
7315 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7316 if (!SWIG_IsOK(res3)) {
7317 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7318 }
7319 if (!argp3) {
7320 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
7321 }
7322 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7323 if (obj3) {
7324 ecode4 = SWIG_AsVal_int(obj3, &val4);
7325 if (!SWIG_IsOK(ecode4)) {
7326 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "4"" of type '" "int""'");
7327 }
7328 arg4 = static_cast< int >(val4);
7329 }
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (bool)(arg1)->SetStyleEx((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3,arg4);
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 {
7337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7338 }
7339 return resultobj;
7340fail:
7341 return NULL;
7342}
7343
7344
f05326ba
RD
7345SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj = 0;
7347 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7348 long arg2 ;
7349 wxRichTextAttr *arg3 = 0 ;
7350 bool result;
7351 void *argp1 = 0 ;
7352 int res1 = 0 ;
7353 long val2 ;
7354 int ecode2 = 0 ;
7355 void *argp3 = 0 ;
7356 int res3 = 0 ;
7357 PyObject * obj0 = 0 ;
7358 PyObject * obj1 = 0 ;
7359 PyObject * obj2 = 0 ;
7360 char * kwnames[] = {
7361 (char *) "self",(char *) "position",(char *) "style", NULL
7362 };
7363
7364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7366 if (!SWIG_IsOK(res1)) {
79df624a 7367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
f05326ba
RD
7368 }
7369 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7370 ecode2 = SWIG_AsVal_long(obj1, &val2);
7371 if (!SWIG_IsOK(ecode2)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7373 }
7374 arg2 = static_cast< long >(val2);
7375 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 );
7376 if (!SWIG_IsOK(res3)) {
7377 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7378 }
7379 if (!argp3) {
7380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7381 }
7382 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 7385 result = (bool)(arg1)->GetStyle(arg2,*arg3);
f05326ba
RD
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 {
7390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7391 }
7392 return resultobj;
7393fail:
7394 return NULL;
7395}
7396
7397
c2829a8f
RD
7398SWIGINTERN PyObject *_wrap_RichTextCtrl_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj = 0;
7400 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7401 long arg2 ;
7402 wxRichTextAttr *arg3 = 0 ;
7403 bool result;
7404 void *argp1 = 0 ;
7405 int res1 = 0 ;
7406 long val2 ;
7407 int ecode2 = 0 ;
7408 void *argp3 = 0 ;
7409 int res3 = 0 ;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 PyObject * obj2 = 0 ;
7413 char * kwnames[] = {
7414 (char *) "self",(char *) "position",(char *) "style", NULL
7415 };
7416
7417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7419 if (!SWIG_IsOK(res1)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7421 }
7422 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7423 ecode2 = SWIG_AsVal_long(obj1, &val2);
7424 if (!SWIG_IsOK(ecode2)) {
7425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
7426 }
7427 arg2 = static_cast< long >(val2);
7428 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 );
7429 if (!SWIG_IsOK(res3)) {
7430 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7431 }
7432 if (!argp3) {
7433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'");
7434 }
7435 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 {
7443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7444 }
7445 return resultobj;
7446fail:
7447 return NULL;
7448}
7449
7450
f05326ba
RD
7451SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj = 0;
7453 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7454 wxRichTextAttr *arg2 = 0 ;
7455 bool result;
7456 void *argp1 = 0 ;
7457 int res1 = 0 ;
7458 void *argp2 = 0 ;
7459 int res2 = 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char * kwnames[] = {
7463 (char *) "self",(char *) "style", NULL
7464 };
7465
7466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
7467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7468 if (!SWIG_IsOK(res1)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7470 }
7471 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7472 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
7473 if (!SWIG_IsOK(res2)) {
7474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7475 }
7476 if (!argp2) {
7477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
7478 }
7479 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)(arg1)->SetDefaultStyle((wxRichTextAttr const &)*arg2);
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 {
7487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7488 }
7489 return resultobj;
7490fail:
7491 return NULL;
7492}
7493
7494
7495SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7496 PyObject *resultobj = 0;
7497 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7498 wxRichTextAttr result;
7499 void *argp1 = 0 ;
7500 int res1 = 0 ;
7501 PyObject *swig_obj[1] ;
7502
7503 if (!args) SWIG_fail;
7504 swig_obj[0] = args;
7505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7506 if (!SWIG_IsOK(res1)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7508 }
7509 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = ((wxRichTextCtrl const *)arg1)->GetDefaultStyleEx();
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 resultobj = SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr& >(result))), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_OWN | 0 );
7517 return resultobj;
7518fail:
7519 return NULL;
7520}
7521
7522
7523SWIGINTERN PyObject *_wrap_RichTextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj = 0;
7525 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7526 long arg2 ;
7527 long arg3 ;
7528 long result;
7529 void *argp1 = 0 ;
7530 int res1 = 0 ;
7531 long val2 ;
7532 int ecode2 = 0 ;
7533 long val3 ;
7534 int ecode3 = 0 ;
7535 PyObject * obj0 = 0 ;
7536 PyObject * obj1 = 0 ;
7537 PyObject * obj2 = 0 ;
7538 char * kwnames[] = {
7539 (char *) "self",(char *) "x",(char *) "y", NULL
7540 };
7541
7542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7544 if (!SWIG_IsOK(res1)) {
7545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7546 }
7547 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7548 ecode2 = SWIG_AsVal_long(obj1, &val2);
7549 if (!SWIG_IsOK(ecode2)) {
7550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
7551 }
7552 arg2 = static_cast< long >(val2);
7553 ecode3 = SWIG_AsVal_long(obj2, &val3);
7554 if (!SWIG_IsOK(ecode3)) {
7555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
7556 }
7557 arg3 = static_cast< long >(val3);
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (long)((wxRichTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = SWIG_From_long(static_cast< long >(result));
7565 return resultobj;
7566fail:
7567 return NULL;
7568}
7569
7570
7571SWIGINTERN PyObject *_wrap_RichTextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj = 0;
7573 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7574 long arg2 ;
7575 long *arg3 = (long *) 0 ;
7576 long *arg4 = (long *) 0 ;
7577 void *argp1 = 0 ;
7578 int res1 = 0 ;
7579 long val2 ;
7580 int ecode2 = 0 ;
7581 long temp3 ;
7582 int res3 = SWIG_TMPOBJ ;
7583 long temp4 ;
7584 int res4 = SWIG_TMPOBJ ;
7585 PyObject * obj0 = 0 ;
7586 PyObject * obj1 = 0 ;
7587 char * kwnames[] = {
7588 (char *) "self",(char *) "pos", NULL
7589 };
7590
7591 arg3 = &temp3;
7592 arg4 = &temp4;
7593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
7594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7595 if (!SWIG_IsOK(res1)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7597 }
7598 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7599 ecode2 = SWIG_AsVal_long(obj1, &val2);
7600 if (!SWIG_IsOK(ecode2)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
7602 }
7603 arg2 = static_cast< long >(val2);
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 ((wxRichTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = SWIG_Py_Void();
7611 if (SWIG_IsTmpObj(res3)) {
7612 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7613 } else {
7614 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7615 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7616 }
7617 if (SWIG_IsTmpObj(res4)) {
7618 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
7619 } else {
7620 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7621 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
7622 }
7623 return resultobj;
7624fail:
7625 return NULL;
7626}
7627
7628
7629SWIGINTERN PyObject *_wrap_RichTextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj = 0;
7631 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7632 long arg2 ;
7633 void *argp1 = 0 ;
7634 int res1 = 0 ;
7635 long val2 ;
7636 int ecode2 = 0 ;
7637 PyObject * obj0 = 0 ;
7638 PyObject * obj1 = 0 ;
7639 char * kwnames[] = {
7640 (char *) "self",(char *) "position", NULL
7641 };
7642
7643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
7644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7645 if (!SWIG_IsOK(res1)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7647 }
7648 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7649 ecode2 = SWIG_AsVal_long(obj1, &val2);
7650 if (!SWIG_IsOK(ecode2)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
7652 }
7653 arg2 = static_cast< long >(val2);
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 (arg1)->ShowPosition(arg2);
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 resultobj = SWIG_Py_Void();
7661 return resultobj;
7662fail:
7663 return NULL;
7664}
7665
7666
7667SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj = 0;
7669 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7670 wxPoint *arg2 = 0 ;
7671 long *arg3 = (long *) 0 ;
7672 wxTextCtrlHitTestResult result;
7673 void *argp1 = 0 ;
7674 int res1 = 0 ;
7675 wxPoint temp2 ;
7676 long temp3 ;
7677 int res3 = SWIG_TMPOBJ ;
7678 PyObject * obj0 = 0 ;
7679 PyObject * obj1 = 0 ;
7680 char * kwnames[] = {
7681 (char *) "self",(char *) "pt", NULL
7682 };
7683
7684 arg3 = &temp3;
7685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
7686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7687 if (!SWIG_IsOK(res1)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTest" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7689 }
7690 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7691 {
7692 arg2 = &temp2;
7693 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7694 }
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7702 if (SWIG_IsTmpObj(res3)) {
7703 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7704 } else {
7705 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7706 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7707 }
7708 return resultobj;
7709fail:
7710 return NULL;
7711}
7712
7713
7714SWIGINTERN PyObject *_wrap_RichTextCtrl_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj = 0;
7716 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7717 wxPoint *arg2 = 0 ;
7718 wxTextCoord *arg3 = (wxTextCoord *) 0 ;
7719 wxTextCoord *arg4 = (wxTextCoord *) 0 ;
7720 wxTextCtrlHitTestResult result;
7721 void *argp1 = 0 ;
7722 int res1 = 0 ;
7723 wxPoint temp2 ;
7724 void *argp3 = 0 ;
7725 int res3 = 0 ;
7726 void *argp4 = 0 ;
7727 int res4 = 0 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 PyObject * obj2 = 0 ;
7731 PyObject * obj3 = 0 ;
7732 char * kwnames[] = {
7733 (char *) "self",(char *) "pt",(char *) "OUTPUT",(char *) "OUTPUT", NULL
7734 };
7735
7736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextCtrl_HitTestXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7738 if (!SWIG_IsOK(res1)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7740 }
7741 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7742 {
7743 arg2 = &temp2;
7744 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7745 }
7746 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7747 if (!SWIG_IsOK(res3)) {
7748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "3"" of type '" "wxTextCoord *""'");
7749 }
7750 arg3 = reinterpret_cast< wxTextCoord * >(argp3);
7751 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextCoord, 0 | 0 );
7752 if (!SWIG_IsOK(res4)) {
7753 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextCtrl_HitTestXY" "', expected argument " "4"" of type '" "wxTextCoord *""'");
7754 }
7755 arg4 = reinterpret_cast< wxTextCoord * >(argp4);
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = ((wxRichTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_NewPointerObj((new wxTextCtrlHitTestResult(static_cast< const wxTextCtrlHitTestResult& >(result))), SWIGTYPE_p_wxTextCtrlHitTestResult, SWIG_POINTER_OWN | 0 );
7763 return resultobj;
7764fail:
7765 return NULL;
7766}
7767
7768
7769SWIGINTERN PyObject *_wrap_RichTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7770 PyObject *resultobj = 0;
7771 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7772 void *argp1 = 0 ;
7773 int res1 = 0 ;
7774 PyObject *swig_obj[1] ;
7775
7776 if (!args) SWIG_fail;
7777 swig_obj[0] = args;
7778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7779 if (!SWIG_IsOK(res1)) {
7780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Copy" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7781 }
7782 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 (arg1)->Copy();
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = SWIG_Py_Void();
7790 return resultobj;
7791fail:
7792 return NULL;
7793}
7794
7795
7796SWIGINTERN PyObject *_wrap_RichTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7797 PyObject *resultobj = 0;
7798 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7799 void *argp1 = 0 ;
7800 int res1 = 0 ;
7801 PyObject *swig_obj[1] ;
7802
7803 if (!args) SWIG_fail;
7804 swig_obj[0] = args;
7805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7806 if (!SWIG_IsOK(res1)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Cut" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7808 }
7809 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->Cut();
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = SWIG_Py_Void();
7817 return resultobj;
7818fail:
7819 return NULL;
7820}
7821
7822
7823SWIGINTERN PyObject *_wrap_RichTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7824 PyObject *resultobj = 0;
7825 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 PyObject *swig_obj[1] ;
7829
7830 if (!args) SWIG_fail;
7831 swig_obj[0] = args;
7832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7833 if (!SWIG_IsOK(res1)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Paste" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7835 }
7836 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 (arg1)->Paste();
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_Py_Void();
7844 return resultobj;
7845fail:
7846 return NULL;
7847}
7848
7849
7850SWIGINTERN PyObject *_wrap_RichTextCtrl_DeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7851 PyObject *resultobj = 0;
7852 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7853 void *argp1 = 0 ;
7854 int res1 = 0 ;
7855 PyObject *swig_obj[1] ;
7856
7857 if (!args) SWIG_fail;
7858 swig_obj[0] = args;
7859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7860 if (!SWIG_IsOK(res1)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_DeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
7862 }
7863 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->DeleteSelection();
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 resultobj = SWIG_Py_Void();
7871 return resultobj;
7872fail:
7873 return NULL;
7874}
7875
7876
7877SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7878 PyObject *resultobj = 0;
7879 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7880 bool result;
7881 void *argp1 = 0 ;
7882 int res1 = 0 ;
7883 PyObject *swig_obj[1] ;
7884
7885 if (!args) SWIG_fail;
7886 swig_obj[0] = args;
7887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7888 if (!SWIG_IsOK(res1)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7890 }
7891 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (bool)((wxRichTextCtrl const *)arg1)->CanCopy();
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 {
7899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7900 }
7901 return resultobj;
7902fail:
7903 return NULL;
7904}
7905
7906
7907SWIGINTERN PyObject *_wrap_RichTextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7908 PyObject *resultobj = 0;
7909 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7910 bool result;
7911 void *argp1 = 0 ;
7912 int res1 = 0 ;
7913 PyObject *swig_obj[1] ;
7914
7915 if (!args) SWIG_fail;
7916 swig_obj[0] = args;
7917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7918 if (!SWIG_IsOK(res1)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanCut" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7920 }
7921 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (bool)((wxRichTextCtrl const *)arg1)->CanCut();
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 {
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 }
7931 return resultobj;
7932fail:
7933 return NULL;
7934}
7935
7936
7937SWIGINTERN PyObject *_wrap_RichTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7938 PyObject *resultobj = 0;
7939 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7940 bool result;
7941 void *argp1 = 0 ;
7942 int res1 = 0 ;
7943 PyObject *swig_obj[1] ;
7944
7945 if (!args) SWIG_fail;
7946 swig_obj[0] = args;
7947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7948 if (!SWIG_IsOK(res1)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7950 }
7951 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = (bool)((wxRichTextCtrl const *)arg1)->CanPaste();
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 {
7959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7960 }
7961 return resultobj;
7962fail:
7963 return NULL;
7964}
7965
7966
7967SWIGINTERN PyObject *_wrap_RichTextCtrl_CanDeleteSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7968 PyObject *resultobj = 0;
7969 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7970 bool result;
7971 void *argp1 = 0 ;
7972 int res1 = 0 ;
7973 PyObject *swig_obj[1] ;
7974
7975 if (!args) SWIG_fail;
7976 swig_obj[0] = args;
7977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
7978 if (!SWIG_IsOK(res1)) {
7979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanDeleteSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
7980 }
7981 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (bool)((wxRichTextCtrl const *)arg1)->CanDeleteSelection();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 {
7989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7990 }
7991 return resultobj;
7992fail:
7993 return NULL;
7994}
7995
7996
7997SWIGINTERN PyObject *_wrap_RichTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8000 void *argp1 = 0 ;
8001 int res1 = 0 ;
8002 PyObject *swig_obj[1] ;
8003
8004 if (!args) SWIG_fail;
8005 swig_obj[0] = args;
8006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Undo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8009 }
8010 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->Undo();
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 resultobj = SWIG_Py_Void();
8018 return resultobj;
8019fail:
8020 return NULL;
8021}
8022
8023
8024SWIGINTERN PyObject *_wrap_RichTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8025 PyObject *resultobj = 0;
8026 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8027 void *argp1 = 0 ;
8028 int res1 = 0 ;
8029 PyObject *swig_obj[1] ;
8030
8031 if (!args) SWIG_fail;
8032 swig_obj[0] = args;
8033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8034 if (!SWIG_IsOK(res1)) {
8035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Redo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8036 }
8037 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 (arg1)->Redo();
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_Py_Void();
8045 return resultobj;
8046fail:
8047 return NULL;
8048}
8049
8050
8051SWIGINTERN PyObject *_wrap_RichTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 PyObject *resultobj = 0;
8053 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8054 bool result;
8055 void *argp1 = 0 ;
8056 int res1 = 0 ;
8057 PyObject *swig_obj[1] ;
8058
8059 if (!args) SWIG_fail;
8060 swig_obj[0] = args;
8061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8062 if (!SWIG_IsOK(res1)) {
8063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8064 }
8065 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (bool)((wxRichTextCtrl const *)arg1)->CanUndo();
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 {
8073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8074 }
8075 return resultobj;
8076fail:
8077 return NULL;
8078}
8079
8080
8081SWIGINTERN PyObject *_wrap_RichTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8082 PyObject *resultobj = 0;
8083 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8084 bool result;
8085 void *argp1 = 0 ;
8086 int res1 = 0 ;
8087 PyObject *swig_obj[1] ;
8088
8089 if (!args) SWIG_fail;
8090 swig_obj[0] = args;
8091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8092 if (!SWIG_IsOK(res1)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8094 }
8095 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (bool)((wxRichTextCtrl const *)arg1)->CanRedo();
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 {
8103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8104 }
8105 return resultobj;
8106fail:
8107 return NULL;
8108}
8109
8110
8111SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj = 0;
8113 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8114 long arg2 ;
8115 void *argp1 = 0 ;
8116 int res1 = 0 ;
8117 long val2 ;
8118 int ecode2 = 0 ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char * kwnames[] = {
8122 (char *) "self",(char *) "pos", NULL
8123 };
8124
8125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
8126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8127 if (!SWIG_IsOK(res1)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8129 }
8130 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8131 ecode2 = SWIG_AsVal_long(obj1, &val2);
8132 if (!SWIG_IsOK(ecode2)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
8134 }
8135 arg2 = static_cast< long >(val2);
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetInsertionPoint(arg2);
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_Py_Void();
8143 return resultobj;
8144fail:
8145 return NULL;
8146}
8147
8148
8149SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8150 PyObject *resultobj = 0;
8151 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8152 void *argp1 = 0 ;
8153 int res1 = 0 ;
8154 PyObject *swig_obj[1] ;
8155
8156 if (!args) SWIG_fail;
8157 swig_obj[0] = args;
8158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8159 if (!SWIG_IsOK(res1)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8161 }
8162 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->SetInsertionPointEnd();
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_Py_Void();
8170 return resultobj;
8171fail:
8172 return NULL;
8173}
8174
8175
8176SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8177 PyObject *resultobj = 0;
8178 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8179 long result;
8180 void *argp1 = 0 ;
8181 int res1 = 0 ;
8182 PyObject *swig_obj[1] ;
8183
8184 if (!args) SWIG_fail;
8185 swig_obj[0] = args;
8186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8187 if (!SWIG_IsOK(res1)) {
8188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8189 }
8190 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (long)((wxRichTextCtrl const *)arg1)->GetInsertionPoint();
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = SWIG_From_long(static_cast< long >(result));
8198 return resultobj;
8199fail:
8200 return NULL;
8201}
8202
8203
8204SWIGINTERN PyObject *_wrap_RichTextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8205 PyObject *resultobj = 0;
8206 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8207 long result;
8208 void *argp1 = 0 ;
8209 int res1 = 0 ;
8210 PyObject *swig_obj[1] ;
8211
8212 if (!args) SWIG_fail;
8213 swig_obj[0] = args;
8214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8215 if (!SWIG_IsOK(res1)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8217 }
8218 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (long)((wxRichTextCtrl const *)arg1)->GetLastPosition();
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 resultobj = SWIG_From_long(static_cast< long >(result));
8226 return resultobj;
8227fail:
8228 return NULL;
8229}
8230
8231
8232SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj = 0;
8234 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8235 long arg2 ;
8236 long arg3 ;
8237 void *argp1 = 0 ;
8238 int res1 = 0 ;
8239 long val2 ;
8240 int ecode2 = 0 ;
8241 long val3 ;
8242 int ecode3 = 0 ;
8243 PyObject * obj0 = 0 ;
8244 PyObject * obj1 = 0 ;
8245 PyObject * obj2 = 0 ;
8246 char * kwnames[] = {
8247 (char *) "self",(char *) "from",(char *) "to", NULL
8248 };
8249
8250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8252 if (!SWIG_IsOK(res1)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8254 }
8255 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8256 ecode2 = SWIG_AsVal_long(obj1, &val2);
8257 if (!SWIG_IsOK(ecode2)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
8259 }
8260 arg2 = static_cast< long >(val2);
8261 ecode3 = SWIG_AsVal_long(obj2, &val3);
8262 if (!SWIG_IsOK(ecode3)) {
8263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
8264 }
8265 arg3 = static_cast< long >(val3);
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->SetSelection(arg2,arg3);
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 resultobj = SWIG_Py_Void();
8273 return resultobj;
8274fail:
8275 return NULL;
8276}
8277
8278
8279SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8280 PyObject *resultobj = 0;
8281 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8282 void *argp1 = 0 ;
8283 int res1 = 0 ;
8284 PyObject *swig_obj[1] ;
8285
8286 if (!args) SWIG_fail;
8287 swig_obj[0] = args;
8288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8289 if (!SWIG_IsOK(res1)) {
8290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8291 }
8292 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 (arg1)->SelectAll();
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 resultobj = SWIG_Py_Void();
8300 return resultobj;
8301fail:
8302 return NULL;
8303}
8304
8305
8306SWIGINTERN PyObject *_wrap_RichTextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj = 0;
8308 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8309 bool arg2 ;
8310 void *argp1 = 0 ;
8311 int res1 = 0 ;
8312 bool val2 ;
8313 int ecode2 = 0 ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char * kwnames[] = {
8317 (char *) "self",(char *) "editable", NULL
8318 };
8319
8320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
8321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8322 if (!SWIG_IsOK(res1)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8324 }
8325 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8326 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8327 if (!SWIG_IsOK(ecode2)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
8329 }
8330 arg2 = static_cast< bool >(val2);
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 (arg1)->SetEditable(arg2);
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 resultobj = SWIG_Py_Void();
8338 return resultobj;
8339fail:
8340 return NULL;
8341}
8342
8343
8344SWIGINTERN PyObject *_wrap_RichTextCtrl_HasSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8345 PyObject *resultobj = 0;
8346 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8347 bool result;
8348 void *argp1 = 0 ;
8349 int res1 = 0 ;
8350 PyObject *swig_obj[1] ;
8351
8352 if (!args) SWIG_fail;
8353 swig_obj[0] = args;
8354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8355 if (!SWIG_IsOK(res1)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
8357 }
8358 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (bool)((wxRichTextCtrl const *)arg1)->HasSelection();
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 {
8366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8367 }
8368 return resultobj;
8369fail:
8370 return NULL;
8371}
8372
8373
8374SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj = 0;
8376 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8377 wxImage *arg2 = 0 ;
8378 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8379 bool result;
8380 void *argp1 = 0 ;
8381 int res1 = 0 ;
8382 void *argp2 = 0 ;
8383 int res2 = 0 ;
8384 int val3 ;
8385 int ecode3 = 0 ;
8386 PyObject * obj0 = 0 ;
8387 PyObject * obj1 = 0 ;
8388 PyObject * obj2 = 0 ;
8389 char * kwnames[] = {
8390 (char *) "self",(char *) "image",(char *) "bitmapType", NULL
8391 };
8392
8393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8395 if (!SWIG_IsOK(res1)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8397 }
8398 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8399 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
8400 if (!SWIG_IsOK(res2)) {
8401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8402 }
8403 if (!argp2) {
8404 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImage" "', expected argument " "2"" of type '" "wxImage const &""'");
8405 }
8406 arg2 = reinterpret_cast< wxImage * >(argp2);
8407 if (obj2) {
8408 ecode3 = SWIG_AsVal_int(obj2, &val3);
8409 if (!SWIG_IsOK(ecode3)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImage" "', expected argument " "3"" of type '" "int""'");
8411 }
8412 arg3 = static_cast< int >(val3);
8413 }
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (bool)(arg1)->WriteImage((wxImage const &)*arg2,arg3);
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 {
8421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8422 }
8423 return resultobj;
8424fail:
8425 return NULL;
8426}
8427
8428
8429SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj = 0;
8431 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8432 wxBitmap *arg2 = 0 ;
8433 int arg3 = (int) wxBITMAP_TYPE_PNG ;
8434 bool result;
8435 void *argp1 = 0 ;
8436 int res1 = 0 ;
8437 void *argp2 = 0 ;
8438 int res2 = 0 ;
8439 int val3 ;
8440 int ecode3 = 0 ;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 PyObject * obj2 = 0 ;
8444 char * kwnames[] = {
8445 (char *) "self",(char *) "bitmap",(char *) "bitmapType", NULL
8446 };
8447
8448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_WriteBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8450 if (!SWIG_IsOK(res1)) {
8451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8452 }
8453 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8454 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8455 if (!SWIG_IsOK(res2)) {
8456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8457 }
8458 if (!argp2) {
8459 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8460 }
8461 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8462 if (obj2) {
8463 ecode3 = SWIG_AsVal_int(obj2, &val3);
8464 if (!SWIG_IsOK(ecode3)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteBitmap" "', expected argument " "3"" of type '" "int""'");
8466 }
8467 arg3 = static_cast< int >(val3);
8468 }
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (bool)(arg1)->WriteImage((wxBitmap const &)*arg2,arg3);
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 {
8476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8477 }
8478 return resultobj;
8479fail:
8480 return NULL;
8481}
8482
8483
8484SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj = 0;
8486 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8487 wxString *arg2 = 0 ;
8488 int arg3 ;
8489 bool result;
8490 void *argp1 = 0 ;
8491 int res1 = 0 ;
8492 bool temp2 = false ;
8493 int val3 ;
8494 int ecode3 = 0 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 PyObject * obj2 = 0 ;
8498 char * kwnames[] = {
8499 (char *) "self",(char *) "filename",(char *) "bitmapType", NULL
8500 };
8501
8502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_WriteImageFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8506 }
8507 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8508 {
8509 arg2 = wxString_in_helper(obj1);
8510 if (arg2 == NULL) SWIG_fail;
8511 temp2 = true;
8512 }
8513 ecode3 = SWIG_AsVal_int(obj2, &val3);
8514 if (!SWIG_IsOK(ecode3)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WriteImageFile" "', expected argument " "3"" of type '" "int""'");
8516 }
8517 arg3 = static_cast< int >(val3);
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (bool)(arg1)->WriteImage((wxString const &)*arg2,arg3);
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 {
8525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8526 }
8527 {
8528 if (temp2)
8529 delete arg2;
8530 }
8531 return resultobj;
8532fail:
8533 {
8534 if (temp2)
8535 delete arg2;
8536 }
8537 return NULL;
8538}
8539
8540
8541SWIGINTERN PyObject *_wrap_RichTextCtrl_WriteImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj = 0;
8543 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8544 wxRichTextImageBlock *arg2 = 0 ;
8545 bool result;
8546 void *argp1 = 0 ;
8547 int res1 = 0 ;
8548 void *argp2 = 0 ;
8549 int res2 = 0 ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 char * kwnames[] = {
8553 (char *) "self",(char *) "imageBlock", NULL
8554 };
8555
8556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_WriteImageBlock",kwnames,&obj0,&obj1)) SWIG_fail;
8557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8558 if (!SWIG_IsOK(res1)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8560 }
8561 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
8563 if (!SWIG_IsOK(res2)) {
8564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8565 }
8566 if (!argp2) {
8567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_WriteImageBlock" "', expected argument " "2"" of type '" "wxRichTextImageBlock const &""'");
8568 }
8569 arg2 = reinterpret_cast< wxRichTextImageBlock * >(argp2);
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)(arg1)->WriteImage((wxRichTextImageBlock const &)*arg2);
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 {
8577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8578 }
8579 return resultobj;
8580fail:
8581 return NULL;
8582}
8583
8584
8585SWIGINTERN PyObject *_wrap_RichTextCtrl_Newline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8586 PyObject *resultobj = 0;
8587 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8588 bool result;
8589 void *argp1 = 0 ;
8590 int res1 = 0 ;
8591 PyObject *swig_obj[1] ;
8592
8593 if (!args) SWIG_fail;
8594 swig_obj[0] = args;
8595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8596 if (!SWIG_IsOK(res1)) {
8597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Newline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8598 }
8599 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (bool)(arg1)->Newline();
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8608 }
8609 return resultobj;
8610fail:
8611 return NULL;
8612}
8613
8614
8615SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj = 0;
8617 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8618 wxRichTextAttr *arg2 = 0 ;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 void *argp2 = 0 ;
8622 int res2 = 0 ;
8623 PyObject * obj0 = 0 ;
8624 PyObject * obj1 = 0 ;
8625 char * kwnames[] = {
8626 (char *) "self",(char *) "style", NULL
8627 };
8628
8629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
8630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8631 if (!SWIG_IsOK(res1)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8633 }
8634 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8635 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
8636 if (!SWIG_IsOK(res2)) {
8637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8638 }
8639 if (!argp2) {
8640 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'");
8641 }
8642 arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 (arg1)->SetBasicStyle((wxRichTextAttr const &)*arg2);
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 resultobj = SWIG_Py_Void();
8650 return resultobj;
8651fail:
8652 return NULL;
8653}
8654
8655
8656SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8657 PyObject *resultobj = 0;
8658 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8659 bool result;
8660 void *argp1 = 0 ;
8661 int res1 = 0 ;
8662 PyObject *swig_obj[1] ;
8663
8664 if (!args) SWIG_fail;
8665 swig_obj[0] = args;
8666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8667 if (!SWIG_IsOK(res1)) {
8668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8669 }
8670 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)(arg1)->EndStyle();
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 {
8678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8679 }
8680 return resultobj;
8681fail:
8682 return NULL;
8683}
8684
8685
8686SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8687 PyObject *resultobj = 0;
8688 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8689 bool result;
8690 void *argp1 = 0 ;
8691 int res1 = 0 ;
8692 PyObject *swig_obj[1] ;
8693
8694 if (!args) SWIG_fail;
8695 swig_obj[0] = args;
8696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8697 if (!SWIG_IsOK(res1)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8699 }
8700 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (bool)(arg1)->EndAllStyles();
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 {
8708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8709 }
8710 return resultobj;
8711fail:
8712 return NULL;
8713}
8714
8715
8716SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8717 PyObject *resultobj = 0;
8718 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8719 bool result;
8720 void *argp1 = 0 ;
8721 int res1 = 0 ;
8722 PyObject *swig_obj[1] ;
8723
8724 if (!args) SWIG_fail;
8725 swig_obj[0] = args;
8726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8729 }
8730 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->BeginBold();
8734 wxPyEndAllowThreads(__tstate);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 {
8738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8739 }
8740 return resultobj;
8741fail:
8742 return NULL;
8743}
8744
8745
8746SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8747 PyObject *resultobj = 0;
8748 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8749 bool result;
8750 void *argp1 = 0 ;
8751 int res1 = 0 ;
8752 PyObject *swig_obj[1] ;
8753
8754 if (!args) SWIG_fail;
8755 swig_obj[0] = args;
8756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8757 if (!SWIG_IsOK(res1)) {
8758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8759 }
8760 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 result = (bool)(arg1)->EndBold();
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8769 }
8770 return resultobj;
8771fail:
8772 return NULL;
8773}
8774
8775
8776SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8777 PyObject *resultobj = 0;
8778 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8779 bool result;
8780 void *argp1 = 0 ;
8781 int res1 = 0 ;
8782 PyObject *swig_obj[1] ;
8783
8784 if (!args) SWIG_fail;
8785 swig_obj[0] = args;
8786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8787 if (!SWIG_IsOK(res1)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8789 }
8790 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (bool)(arg1)->BeginItalic();
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 {
8798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8799 }
8800 return resultobj;
8801fail:
8802 return NULL;
8803}
8804
8805
8806SWIGINTERN PyObject *_wrap_RichTextCtrl_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8807 PyObject *resultobj = 0;
8808 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8809 bool result;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 PyObject *swig_obj[1] ;
8813
8814 if (!args) SWIG_fail;
8815 swig_obj[0] = args;
8816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8817 if (!SWIG_IsOK(res1)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndItalic" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8819 }
8820 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (bool)(arg1)->EndItalic();
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8829 }
8830 return resultobj;
8831fail:
8832 return NULL;
8833}
8834
8835
8836SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8837 PyObject *resultobj = 0;
8838 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8839 bool result;
8840 void *argp1 = 0 ;
8841 int res1 = 0 ;
8842 PyObject *swig_obj[1] ;
8843
8844 if (!args) SWIG_fail;
8845 swig_obj[0] = args;
8846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8847 if (!SWIG_IsOK(res1)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8849 }
8850 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 result = (bool)(arg1)->BeginUnderline();
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8859 }
8860 return resultobj;
8861fail:
8862 return NULL;
8863}
8864
8865
8866SWIGINTERN PyObject *_wrap_RichTextCtrl_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8867 PyObject *resultobj = 0;
8868 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8869 bool result;
8870 void *argp1 = 0 ;
8871 int res1 = 0 ;
8872 PyObject *swig_obj[1] ;
8873
8874 if (!args) SWIG_fail;
8875 swig_obj[0] = args;
8876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8877 if (!SWIG_IsOK(res1)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8879 }
8880 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (bool)(arg1)->EndUnderline();
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 {
8888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8889 }
8890 return resultobj;
8891fail:
8892 return NULL;
8893}
8894
8895
8896SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj = 0;
8898 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8899 int arg2 ;
8900 bool result;
8901 void *argp1 = 0 ;
8902 int res1 = 0 ;
8903 int val2 ;
8904 int ecode2 = 0 ;
8905 PyObject * obj0 = 0 ;
8906 PyObject * obj1 = 0 ;
8907 char * kwnames[] = {
8908 (char *) "self",(char *) "pointSize", NULL
8909 };
8910
8911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
8912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8913 if (!SWIG_IsOK(res1)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8915 }
8916 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8917 ecode2 = SWIG_AsVal_int(obj1, &val2);
8918 if (!SWIG_IsOK(ecode2)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
8920 }
8921 arg2 = static_cast< int >(val2);
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (bool)(arg1)->BeginFontSize(arg2);
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8930 }
8931 return resultobj;
8932fail:
8933 return NULL;
8934}
8935
8936
8937SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8938 PyObject *resultobj = 0;
8939 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8940 bool result;
8941 void *argp1 = 0 ;
8942 int res1 = 0 ;
8943 PyObject *swig_obj[1] ;
8944
8945 if (!args) SWIG_fail;
8946 swig_obj[0] = args;
8947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8950 }
8951 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 result = (bool)(arg1)->EndFontSize();
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 {
8959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8960 }
8961 return resultobj;
8962fail:
8963 return NULL;
8964}
8965
8966
8967SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj = 0;
8969 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8970 wxFont *arg2 = 0 ;
8971 bool result;
8972 void *argp1 = 0 ;
8973 int res1 = 0 ;
8974 void *argp2 = 0 ;
8975 int res2 = 0 ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 char * kwnames[] = {
8979 (char *) "self",(char *) "font", NULL
8980 };
8981
8982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
8983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
8984 if (!SWIG_IsOK(res1)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
8986 }
8987 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8988 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
8989 if (!SWIG_IsOK(res2)) {
8990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8991 }
8992 if (!argp2) {
8993 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
8994 }
8995 arg2 = reinterpret_cast< wxFont * >(argp2);
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 {
9003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9004 }
9005 return resultobj;
9006fail:
9007 return NULL;
9008}
9009
9010
9011SWIGINTERN PyObject *_wrap_RichTextCtrl_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9012 PyObject *resultobj = 0;
9013 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9014 bool result;
9015 void *argp1 = 0 ;
9016 int res1 = 0 ;
9017 PyObject *swig_obj[1] ;
9018
9019 if (!args) SWIG_fail;
9020 swig_obj[0] = args;
9021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9022 if (!SWIG_IsOK(res1)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndFont" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9024 }
9025 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (bool)(arg1)->EndFont();
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9034 }
9035 return resultobj;
9036fail:
9037 return NULL;
9038}
9039
9040
9041SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj = 0;
9043 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9044 wxColour *arg2 = 0 ;
9045 bool result;
9046 void *argp1 = 0 ;
9047 int res1 = 0 ;
9048 wxColour temp2 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char * kwnames[] = {
9052 (char *) "self",(char *) "colour", NULL
9053 };
9054
9055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
9056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9057 if (!SWIG_IsOK(res1)) {
9058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9059 }
9060 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9061 {
9062 arg2 = &temp2;
9063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 {
9072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9073 }
9074 return resultobj;
9075fail:
9076 return NULL;
9077}
9078
9079
9080SWIGINTERN PyObject *_wrap_RichTextCtrl_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9081 PyObject *resultobj = 0;
9082 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9083 bool result;
9084 void *argp1 = 0 ;
9085 int res1 = 0 ;
9086 PyObject *swig_obj[1] ;
9087
9088 if (!args) SWIG_fail;
9089 swig_obj[0] = args;
9090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9091 if (!SWIG_IsOK(res1)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9093 }
9094 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = (bool)(arg1)->EndTextColour();
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 {
9102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9103 }
9104 return resultobj;
9105fail:
9106 return NULL;
9107}
9108
9109
9110SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj = 0;
9112 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9113 wxTextAttrAlignment arg2 ;
9114 bool result;
9115 void *argp1 = 0 ;
9116 int res1 = 0 ;
9117 int val2 ;
9118 int ecode2 = 0 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char * kwnames[] = {
9122 (char *) "self",(char *) "alignment", NULL
9123 };
9124
9125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
9126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9127 if (!SWIG_IsOK(res1)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9129 }
9130 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9131 ecode2 = SWIG_AsVal_int(obj1, &val2);
9132 if (!SWIG_IsOK(ecode2)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
9134 }
9135 arg2 = static_cast< wxTextAttrAlignment >(val2);
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (bool)(arg1)->BeginAlignment(arg2);
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 {
9143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9144 }
9145 return resultobj;
9146fail:
9147 return NULL;
9148}
9149
9150
9151SWIGINTERN PyObject *_wrap_RichTextCtrl_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9152 PyObject *resultobj = 0;
9153 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9154 bool result;
9155 void *argp1 = 0 ;
9156 int res1 = 0 ;
9157 PyObject *swig_obj[1] ;
9158
9159 if (!args) SWIG_fail;
9160 swig_obj[0] = args;
9161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9162 if (!SWIG_IsOK(res1)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9164 }
9165 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (bool)(arg1)->EndAlignment();
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9174 }
9175 return resultobj;
9176fail:
9177 return NULL;
9178}
9179
9180
9181SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj = 0;
9183 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9184 int arg2 ;
9185 int arg3 = (int) 0 ;
9186 bool result;
9187 void *argp1 = 0 ;
9188 int res1 = 0 ;
9189 int val2 ;
9190 int ecode2 = 0 ;
9191 int val3 ;
9192 int ecode3 = 0 ;
9193 PyObject * obj0 = 0 ;
9194 PyObject * obj1 = 0 ;
9195 PyObject * obj2 = 0 ;
9196 char * kwnames[] = {
9197 (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
9198 };
9199
9200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9202 if (!SWIG_IsOK(res1)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9204 }
9205 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9206 ecode2 = SWIG_AsVal_int(obj1, &val2);
9207 if (!SWIG_IsOK(ecode2)) {
9208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
9209 }
9210 arg2 = static_cast< int >(val2);
9211 if (obj2) {
9212 ecode3 = SWIG_AsVal_int(obj2, &val3);
9213 if (!SWIG_IsOK(ecode3)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
9215 }
9216 arg3 = static_cast< int >(val3);
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 {
9225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9226 }
9227 return resultobj;
9228fail:
9229 return NULL;
9230}
9231
9232
9233SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9234 PyObject *resultobj = 0;
9235 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9236 bool result;
9237 void *argp1 = 0 ;
9238 int res1 = 0 ;
9239 PyObject *swig_obj[1] ;
9240
9241 if (!args) SWIG_fail;
9242 swig_obj[0] = args;
9243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9244 if (!SWIG_IsOK(res1)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9246 }
9247 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 result = (bool)(arg1)->EndLeftIndent();
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 {
9255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9256 }
9257 return resultobj;
9258fail:
9259 return NULL;
9260}
9261
9262
9263SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9266 int arg2 ;
9267 bool result;
9268 void *argp1 = 0 ;
9269 int res1 = 0 ;
9270 int val2 ;
9271 int ecode2 = 0 ;
9272 PyObject * obj0 = 0 ;
9273 PyObject * obj1 = 0 ;
9274 char * kwnames[] = {
9275 (char *) "self",(char *) "rightIndent", NULL
9276 };
9277
9278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
9279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9280 if (!SWIG_IsOK(res1)) {
9281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9282 }
9283 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9284 ecode2 = SWIG_AsVal_int(obj1, &val2);
9285 if (!SWIG_IsOK(ecode2)) {
9286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
9287 }
9288 arg2 = static_cast< int >(val2);
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (bool)(arg1)->BeginRightIndent(arg2);
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 {
9296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9297 }
9298 return resultobj;
9299fail:
9300 return NULL;
9301}
9302
9303
9304SWIGINTERN PyObject *_wrap_RichTextCtrl_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9305 PyObject *resultobj = 0;
9306 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9307 bool result;
9308 void *argp1 = 0 ;
9309 int res1 = 0 ;
9310 PyObject *swig_obj[1] ;
9311
9312 if (!args) SWIG_fail;
9313 swig_obj[0] = args;
9314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9315 if (!SWIG_IsOK(res1)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9317 }
9318 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (bool)(arg1)->EndRightIndent();
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 {
9326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9327 }
9328 return resultobj;
9329fail:
9330 return NULL;
9331}
9332
9333
9334SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj = 0;
9336 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9337 int arg2 ;
9338 int arg3 ;
9339 bool result;
9340 void *argp1 = 0 ;
9341 int res1 = 0 ;
9342 int val2 ;
9343 int ecode2 = 0 ;
9344 int val3 ;
9345 int ecode3 = 0 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char * kwnames[] = {
9350 (char *) "self",(char *) "before",(char *) "after", NULL
9351 };
9352
9353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) 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_BeginParagraphSpacing" "', 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_BeginParagraphSpacing" "', 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_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
9367 }
9368 arg3 = static_cast< int >(val3);
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 {
9376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9377 }
9378 return resultobj;
9379fail:
9380 return NULL;
9381}
9382
9383
9384SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9385 PyObject *resultobj = 0;
9386 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9387 bool result;
9388 void *argp1 = 0 ;
9389 int res1 = 0 ;
9390 PyObject *swig_obj[1] ;
9391
9392 if (!args) SWIG_fail;
9393 swig_obj[0] = args;
9394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9397 }
9398 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (bool)(arg1)->EndParagraphSpacing();
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 {
9406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9407 }
9408 return resultobj;
9409fail:
9410 return NULL;
9411}
9412
9413
9414SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj = 0;
9416 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9417 int arg2 ;
9418 bool result;
9419 void *argp1 = 0 ;
9420 int res1 = 0 ;
9421 int val2 ;
9422 int ecode2 = 0 ;
9423 PyObject * obj0 = 0 ;
9424 PyObject * obj1 = 0 ;
9425 char * kwnames[] = {
9426 (char *) "self",(char *) "lineSpacing", NULL
9427 };
9428
9429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
9430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9431 if (!SWIG_IsOK(res1)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9433 }
9434 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9435 ecode2 = SWIG_AsVal_int(obj1, &val2);
9436 if (!SWIG_IsOK(ecode2)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
9438 }
9439 arg2 = static_cast< int >(val2);
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (bool)(arg1)->BeginLineSpacing(arg2);
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 {
9447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9448 }
9449 return resultobj;
9450fail:
9451 return NULL;
9452}
9453
9454
9455SWIGINTERN PyObject *_wrap_RichTextCtrl_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9456 PyObject *resultobj = 0;
9457 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9458 bool result;
9459 void *argp1 = 0 ;
9460 int res1 = 0 ;
9461 PyObject *swig_obj[1] ;
9462
9463 if (!args) SWIG_fail;
9464 swig_obj[0] = args;
9465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9466 if (!SWIG_IsOK(res1)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9468 }
9469 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (bool)(arg1)->EndLineSpacing();
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 {
9477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9478 }
9479 return resultobj;
9480fail:
9481 return NULL;
9482}
9483
9484
9485SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj = 0;
9487 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9488 int arg2 ;
9489 int arg3 ;
9490 int arg4 ;
9491 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
9492 bool result;
9493 void *argp1 = 0 ;
9494 int res1 = 0 ;
9495 int val2 ;
9496 int ecode2 = 0 ;
9497 int val3 ;
9498 int ecode3 = 0 ;
9499 int val4 ;
9500 int ecode4 = 0 ;
9501 int val5 ;
9502 int ecode5 = 0 ;
9503 PyObject * obj0 = 0 ;
9504 PyObject * obj1 = 0 ;
9505 PyObject * obj2 = 0 ;
9506 PyObject * obj3 = 0 ;
9507 PyObject * obj4 = 0 ;
9508 char * kwnames[] = {
9509 (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9510 };
9511
9512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9514 if (!SWIG_IsOK(res1)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9516 }
9517 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9518 ecode2 = SWIG_AsVal_int(obj1, &val2);
9519 if (!SWIG_IsOK(ecode2)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
9521 }
9522 arg2 = static_cast< int >(val2);
9523 ecode3 = SWIG_AsVal_int(obj2, &val3);
9524 if (!SWIG_IsOK(ecode3)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
9526 }
9527 arg3 = static_cast< int >(val3);
9528 ecode4 = SWIG_AsVal_int(obj3, &val4);
9529 if (!SWIG_IsOK(ecode4)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
9531 }
9532 arg4 = static_cast< int >(val4);
9533 if (obj4) {
9534 ecode5 = SWIG_AsVal_int(obj4, &val5);
9535 if (!SWIG_IsOK(ecode5)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
9537 }
9538 arg5 = static_cast< int >(val5);
9539 }
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 {
9547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9548 }
9549 return resultobj;
9550fail:
9551 return NULL;
9552}
9553
9554
9555SWIGINTERN PyObject *_wrap_RichTextCtrl_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9556 PyObject *resultobj = 0;
9557 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9558 bool result;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 PyObject *swig_obj[1] ;
9562
9563 if (!args) SWIG_fail;
9564 swig_obj[0] = args;
9565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9566 if (!SWIG_IsOK(res1)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9568 }
9569 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (bool)(arg1)->EndNumberedBullet();
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 {
9577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9578 }
9579 return resultobj;
9580fail:
9581 return NULL;
9582}
9583
9584
9585SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj = 0;
9587 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
70d7cb34 9588 wxString *arg2 = 0 ;
f05326ba
RD
9589 int arg3 ;
9590 int arg4 ;
9591 int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
9592 bool result;
9593 void *argp1 = 0 ;
9594 int res1 = 0 ;
70d7cb34 9595 bool temp2 = false ;
f05326ba
RD
9596 int val3 ;
9597 int ecode3 = 0 ;
9598 int val4 ;
9599 int ecode4 = 0 ;
9600 int val5 ;
9601 int ecode5 = 0 ;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 PyObject * obj2 = 0 ;
9605 PyObject * obj3 = 0 ;
9606 PyObject * obj4 = 0 ;
9607 char * kwnames[] = {
9608 (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
9609 };
9610
9611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9613 if (!SWIG_IsOK(res1)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9615 }
9616 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
70d7cb34
RD
9617 {
9618 arg2 = wxString_in_helper(obj1);
9619 if (arg2 == NULL) SWIG_fail;
9620 temp2 = true;
9621 }
f05326ba
RD
9622 ecode3 = SWIG_AsVal_int(obj2, &val3);
9623 if (!SWIG_IsOK(ecode3)) {
9624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
9625 }
9626 arg3 = static_cast< int >(val3);
9627 ecode4 = SWIG_AsVal_int(obj3, &val4);
9628 if (!SWIG_IsOK(ecode4)) {
9629 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
9630 }
9631 arg4 = static_cast< int >(val4);
9632 if (obj4) {
9633 ecode5 = SWIG_AsVal_int(obj4, &val5);
9634 if (!SWIG_IsOK(ecode5)) {
9635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
9636 }
9637 arg5 = static_cast< int >(val5);
9638 }
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
70d7cb34 9641 result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5);
f05326ba
RD
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
70d7cb34
RD
9648 {
9649 if (temp2)
9650 delete arg2;
9651 }
f05326ba
RD
9652 return resultobj;
9653fail:
70d7cb34
RD
9654 {
9655 if (temp2)
9656 delete arg2;
9657 }
f05326ba
RD
9658 return NULL;
9659}
9660
9661
9662SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9663 PyObject *resultobj = 0;
9664 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9665 bool result;
9666 void *argp1 = 0 ;
9667 int res1 = 0 ;
9668 PyObject *swig_obj[1] ;
9669
9670 if (!args) SWIG_fail;
9671 swig_obj[0] = args;
9672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9673 if (!SWIG_IsOK(res1)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9675 }
9676 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (bool)(arg1)->EndSymbolBullet();
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 {
9684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9685 }
9686 return resultobj;
9687fail:
9688 return NULL;
9689}
9690
9691
9692SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj = 0;
9694 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9695 wxString *arg2 = 0 ;
9696 bool result;
9697 void *argp1 = 0 ;
9698 int res1 = 0 ;
9699 bool temp2 = false ;
9700 PyObject * obj0 = 0 ;
9701 PyObject * obj1 = 0 ;
9702 char * kwnames[] = {
9703 (char *) "self",(char *) "characterStyle", NULL
9704 };
9705
9706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9708 if (!SWIG_IsOK(res1)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9710 }
9711 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9712 {
9713 arg2 = wxString_in_helper(obj1);
9714 if (arg2 == NULL) SWIG_fail;
9715 temp2 = true;
9716 }
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 {
9724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9725 }
9726 {
9727 if (temp2)
9728 delete arg2;
9729 }
9730 return resultobj;
9731fail:
9732 {
9733 if (temp2)
9734 delete arg2;
9735 }
9736 return NULL;
9737}
9738
9739
9740SWIGINTERN PyObject *_wrap_RichTextCtrl_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9741 PyObject *resultobj = 0;
9742 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9743 bool result;
9744 void *argp1 = 0 ;
9745 int res1 = 0 ;
9746 PyObject *swig_obj[1] ;
9747
9748 if (!args) SWIG_fail;
9749 swig_obj[0] = args;
9750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9751 if (!SWIG_IsOK(res1)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9753 }
9754 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (bool)(arg1)->EndCharacterStyle();
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
9764 return resultobj;
9765fail:
9766 return NULL;
9767}
9768
9769
9770SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj = 0;
9772 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9773 wxString *arg2 = 0 ;
9774 bool result;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 bool temp2 = false ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char * kwnames[] = {
9781 (char *) "self",(char *) "paragraphStyle", NULL
9782 };
9783
9784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
9785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9786 if (!SWIG_IsOK(res1)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9788 }
9789 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9790 {
9791 arg2 = wxString_in_helper(obj1);
9792 if (arg2 == NULL) SWIG_fail;
9793 temp2 = true;
9794 }
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 {
9802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9803 }
9804 {
9805 if (temp2)
9806 delete arg2;
9807 }
9808 return resultobj;
9809fail:
9810 {
9811 if (temp2)
9812 delete arg2;
9813 }
9814 return NULL;
9815}
9816
9817
9818SWIGINTERN PyObject *_wrap_RichTextCtrl_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9819 PyObject *resultobj = 0;
9820 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9821 bool result;
9822 void *argp1 = 0 ;
9823 int res1 = 0 ;
9824 PyObject *swig_obj[1] ;
9825
9826 if (!args) SWIG_fail;
9827 swig_obj[0] = args;
9828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9831 }
9832 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->EndParagraphStyle();
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 {
9840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9841 }
9842 return resultobj;
9843fail:
9844 return NULL;
9845}
9846
9847
70d7cb34
RD
9848SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9851 wxString *arg2 = 0 ;
9852 int arg3 = (int) 1 ;
9853 int arg4 = (int) 1 ;
9854 bool result;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 bool temp2 = false ;
9858 int val3 ;
9859 int ecode3 = 0 ;
9860 int val4 ;
9861 int ecode4 = 0 ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 PyObject * obj2 = 0 ;
9865 PyObject * obj3 = 0 ;
9866 char * kwnames[] = {
9867 (char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL
9868 };
9869
9870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextCtrl_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9872 if (!SWIG_IsOK(res1)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9874 }
9875 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9876 {
9877 arg2 = wxString_in_helper(obj1);
9878 if (arg2 == NULL) SWIG_fail;
9879 temp2 = true;
9880 }
9881 if (obj2) {
9882 ecode3 = SWIG_AsVal_int(obj2, &val3);
9883 if (!SWIG_IsOK(ecode3)) {
9884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
9885 }
9886 arg3 = static_cast< int >(val3);
9887 }
9888 if (obj3) {
9889 ecode4 = SWIG_AsVal_int(obj3, &val4);
9890 if (!SWIG_IsOK(ecode4)) {
9891 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
9892 }
9893 arg4 = static_cast< int >(val4);
9894 }
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4);
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 {
9902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9903 }
9904 {
9905 if (temp2)
9906 delete arg2;
9907 }
9908 return resultobj;
9909fail:
9910 {
9911 if (temp2)
9912 delete arg2;
9913 }
9914 return NULL;
9915}
9916
9917
9918SWIGINTERN PyObject *_wrap_RichTextCtrl_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9919 PyObject *resultobj = 0;
9920 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9921 bool result;
9922 void *argp1 = 0 ;
9923 int res1 = 0 ;
9924 PyObject *swig_obj[1] ;
9925
9926 if (!args) SWIG_fail;
9927 swig_obj[0] = args;
9928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9929 if (!SWIG_IsOK(res1)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9931 }
9932 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = (bool)(arg1)->EndListStyle();
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9941 }
9942 return resultobj;
9943fail:
9944 return NULL;
9945}
9946
9947
9948SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj = 0;
9950 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9951 wxString *arg2 = 0 ;
9952 wxString const &arg3_defvalue = wxEmptyString ;
9953 wxString *arg3 = (wxString *) &arg3_defvalue ;
9954 bool result;
9955 void *argp1 = 0 ;
9956 int res1 = 0 ;
9957 bool temp2 = false ;
9958 bool temp3 = false ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 PyObject * obj2 = 0 ;
9962 char * kwnames[] = {
9963 (char *) "self",(char *) "url",(char *) "characterStyle", NULL
9964 };
9965
9966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9968 if (!SWIG_IsOK(res1)) {
9969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
9970 }
9971 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
9972 {
9973 arg2 = wxString_in_helper(obj1);
9974 if (arg2 == NULL) SWIG_fail;
9975 temp2 = true;
9976 }
9977 if (obj2) {
9978 {
9979 arg3 = wxString_in_helper(obj2);
9980 if (arg3 == NULL) SWIG_fail;
9981 temp3 = true;
9982 }
9983 }
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3);
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 {
9991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9992 }
9993 {
9994 if (temp2)
9995 delete arg2;
9996 }
9997 {
9998 if (temp3)
9999 delete arg3;
10000 }
10001 return resultobj;
10002fail:
10003 {
10004 if (temp2)
10005 delete arg2;
10006 }
10007 {
10008 if (temp3)
10009 delete arg3;
10010 }
10011 return NULL;
10012}
10013
10014
10015SWIGINTERN PyObject *_wrap_RichTextCtrl_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10016 PyObject *resultobj = 0;
10017 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10018 bool result;
10019 void *argp1 = 0 ;
10020 int res1 = 0 ;
10021 PyObject *swig_obj[1] ;
10022
10023 if (!args) SWIG_fail;
10024 swig_obj[0] = args;
10025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndURL" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10028 }
10029 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 result = (bool)(arg1)->EndURL();
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 {
10037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10038 }
10039 return resultobj;
10040fail:
10041 return NULL;
10042}
10043
10044
f05326ba
RD
10045SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10046 PyObject *resultobj = 0;
10047 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10048 bool result;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 PyObject *swig_obj[1] ;
10052
10053 if (!args) SWIG_fail;
10054 swig_obj[0] = args;
10055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10056 if (!SWIG_IsOK(res1)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyleToCursorStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10058 }
10059 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (bool)(arg1)->SetDefaultStyleToCursorStyle();
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 {
10067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10068 }
10069 return resultobj;
10070fail:
10071 return NULL;
10072}
10073
10074
10075SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectNone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10076 PyObject *resultobj = 0;
10077 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 PyObject *swig_obj[1] ;
10081
10082 if (!args) SWIG_fail;
10083 swig_obj[0] = args;
10084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10085 if (!SWIG_IsOK(res1)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectNone" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10087 }
10088 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 (arg1)->SelectNone();
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 resultobj = SWIG_Py_Void();
10096 return resultobj;
10097fail:
10098 return NULL;
10099}
10100
10101
c2829a8f
RD
10102SWIGINTERN PyObject *_wrap_RichTextCtrl_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj = 0;
10104 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10105 long arg2 ;
10106 bool result;
10107 void *argp1 = 0 ;
10108 int res1 = 0 ;
10109 long val2 ;
10110 int ecode2 = 0 ;
10111 PyObject * obj0 = 0 ;
10112 PyObject * obj1 = 0 ;
10113 char * kwnames[] = {
10114 (char *) "self",(char *) "position", NULL
10115 };
10116
10117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10119 if (!SWIG_IsOK(res1)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10121 }
10122 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10123 ecode2 = SWIG_AsVal_long(obj1, &val2);
10124 if (!SWIG_IsOK(ecode2)) {
10125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_SelectWord" "', expected argument " "2"" of type '" "long""'");
10126 }
10127 arg2 = static_cast< long >(val2);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (bool)(arg1)->SelectWord(arg2);
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 {
10135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10136 }
10137 return resultobj;
10138fail:
10139 return NULL;
10140}
10141
10142
f05326ba
RD
10143SWIGINTERN PyObject *_wrap_RichTextCtrl_GetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10144 PyObject *resultobj = 0;
10145 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
79df624a 10146 wxRichTextRange result;
f05326ba
RD
10147 void *argp1 = 0 ;
10148 int res1 = 0 ;
10149 PyObject *swig_obj[1] ;
10150
10151 if (!args) SWIG_fail;
10152 swig_obj[0] = args;
10153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10154 if (!SWIG_IsOK(res1)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10156 }
10157 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 10160 result = ((wxRichTextCtrl const *)arg1)->GetSelectionRange();
f05326ba
RD
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
79df624a 10164 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
f05326ba
RD
10165 return resultobj;
10166fail:
10167 return NULL;
10168}
10169
10170
10171SWIGINTERN PyObject *_wrap_RichTextCtrl_SetSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj = 0;
10173 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10174 wxRichTextRange *arg2 = 0 ;
10175 void *argp1 = 0 ;
10176 int res1 = 0 ;
10177 wxRichTextRange temp2 ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 char * kwnames[] = {
10181 (char *) "self",(char *) "range", NULL
10182 };
10183
10184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
10185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10186 if (!SWIG_IsOK(res1)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10188 }
10189 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10190 {
10191 arg2 = &temp2;
10192 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10193 }
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 (arg1)->SetSelectionRange((wxRichTextRange const &)*arg2);
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_Py_Void();
10201 return resultobj;
10202fail:
10203 return NULL;
10204}
10205
10206
79df624a
RD
10207SWIGINTERN PyObject *_wrap_RichTextCtrl_GetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10208 PyObject *resultobj = 0;
10209 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10210 wxRichTextRange *result = 0 ;
10211 void *argp1 = 0 ;
10212 int res1 = 0 ;
10213 PyObject *swig_obj[1] ;
10214
10215 if (!args) SWIG_fail;
10216 swig_obj[0] = args;
10217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10218 if (!SWIG_IsOK(res1)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
10220 }
10221 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 {
10225 wxRichTextRange const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetInternalSelectionRange();
10226 result = (wxRichTextRange *) &_result_ref;
10227 }
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 | 0 );
10232 return resultobj;
10233fail:
10234 return NULL;
10235}
10236
10237
10238SWIGINTERN PyObject *_wrap_RichTextCtrl_SetInternalSelectionRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj = 0;
10240 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10241 wxRichTextRange *arg2 = 0 ;
10242 void *argp1 = 0 ;
10243 int res1 = 0 ;
10244 wxRichTextRange temp2 ;
10245 PyObject * obj0 = 0 ;
10246 PyObject * obj1 = 0 ;
10247 char * kwnames[] = {
10248 (char *) "self",(char *) "range", NULL
10249 };
10250
10251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetInternalSelectionRange",kwnames,&obj0,&obj1)) SWIG_fail;
10252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10253 if (!SWIG_IsOK(res1)) {
10254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetInternalSelectionRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10255 }
10256 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10257 {
10258 arg2 = &temp2;
10259 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 (arg1)->SetInternalSelectionRange((wxRichTextRange const &)*arg2);
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 resultobj = SWIG_Py_Void();
10268 return resultobj;
10269fail:
10270 return NULL;
10271}
10272
10273
f05326ba
RD
10274SWIGINTERN PyObject *_wrap_RichTextCtrl_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj = 0;
10276 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10277 wxString *arg2 = 0 ;
10278 wxRichTextRange result;
10279 void *argp1 = 0 ;
10280 int res1 = 0 ;
10281 bool temp2 = false ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 char * kwnames[] = {
10285 (char *) "self",(char *) "text", NULL
10286 };
10287
10288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
10289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10290 if (!SWIG_IsOK(res1)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10292 }
10293 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10294 {
10295 arg2 = wxString_in_helper(obj1);
10296 if (arg2 == NULL) SWIG_fail;
10297 temp2 = true;
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (arg1)->AddParagraph((wxString const &)*arg2);
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
10306 {
10307 if (temp2)
10308 delete arg2;
10309 }
10310 return resultobj;
10311fail:
10312 {
10313 if (temp2)
10314 delete arg2;
10315 }
10316 return NULL;
10317}
10318
10319
10320SWIGINTERN PyObject *_wrap_RichTextCtrl_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = 0;
10322 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10323 wxImage *arg2 = 0 ;
10324 wxRichTextRange result;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
10327 void *argp2 = 0 ;
10328 int res2 = 0 ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331 char * kwnames[] = {
10332 (char *) "self",(char *) "image", NULL
10333 };
10334
10335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_AddImage",kwnames,&obj0,&obj1)) SWIG_fail;
10336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10337 if (!SWIG_IsOK(res1)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_AddImage" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10339 }
10340 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10341 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
10342 if (!SWIG_IsOK(res2)) {
10343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10344 }
10345 if (!argp2) {
10346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
10347 }
10348 arg2 = reinterpret_cast< wxImage * >(argp2);
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (arg1)->AddImage((wxImage const &)*arg2);
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
10356 return resultobj;
10357fail:
10358 return NULL;
10359}
10360
10361
10362SWIGINTERN PyObject *_wrap_RichTextCtrl_LayoutContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj = 0;
10364 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10365 bool arg2 = (bool) false ;
10366 bool result;
10367 void *argp1 = 0 ;
10368 int res1 = 0 ;
10369 bool val2 ;
10370 int ecode2 = 0 ;
10371 PyObject * obj0 = 0 ;
10372 PyObject * obj1 = 0 ;
10373 char * kwnames[] = {
10374 (char *) "self",(char *) "onlyVisibleRect", NULL
10375 };
10376
10377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_LayoutContent",kwnames,&obj0,&obj1)) SWIG_fail;
10378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10379 if (!SWIG_IsOK(res1)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10381 }
10382 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10383 if (obj1) {
10384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10385 if (!SWIG_IsOK(ecode2)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_LayoutContent" "', expected argument " "2"" of type '" "bool""'");
10387 }
10388 arg2 = static_cast< bool >(val2);
10389 }
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (bool)(arg1)->LayoutContent(arg2);
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 {
10397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10398 }
10399 return resultobj;
10400fail:
10401 return NULL;
10402}
10403
10404
10405SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj = 0;
10407 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10408 long arg2 ;
10409 bool arg3 = (bool) false ;
10410 bool result;
10411 void *argp1 = 0 ;
10412 int res1 = 0 ;
10413 long val2 ;
10414 int ecode2 = 0 ;
10415 bool val3 ;
10416 int ecode3 = 0 ;
10417 PyObject * obj0 = 0 ;
10418 PyObject * obj1 = 0 ;
10419 PyObject * obj2 = 0 ;
10420 char * kwnames[] = {
10421 (char *) "self",(char *) "pos",(char *) "showAtLineStart", NULL
10422 };
10423
10424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_MoveCaret",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10426 if (!SWIG_IsOK(res1)) {
10427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10428 }
10429 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10430 ecode2 = SWIG_AsVal_long(obj1, &val2);
10431 if (!SWIG_IsOK(ecode2)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "2"" of type '" "long""'");
10433 }
10434 arg2 = static_cast< long >(val2);
10435 if (obj2) {
10436 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10437 if (!SWIG_IsOK(ecode3)) {
10438 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveCaret" "', expected argument " "3"" of type '" "bool""'");
10439 }
10440 arg3 = static_cast< bool >(val3);
10441 }
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (bool)(arg1)->MoveCaret(arg2,arg3);
10445 wxPyEndAllowThreads(__tstate);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 {
10449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10450 }
10451 return resultobj;
10452fail:
10453 return NULL;
10454}
10455
10456
10457SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj = 0;
10459 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10460 int arg2 = (int) 1 ;
10461 int arg3 = (int) 0 ;
10462 bool result;
10463 void *argp1 = 0 ;
10464 int res1 = 0 ;
10465 int val2 ;
10466 int ecode2 = 0 ;
10467 int val3 ;
10468 int ecode3 = 0 ;
10469 PyObject * obj0 = 0 ;
10470 PyObject * obj1 = 0 ;
10471 PyObject * obj2 = 0 ;
10472 char * kwnames[] = {
10473 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10474 };
10475
10476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10478 if (!SWIG_IsOK(res1)) {
10479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10480 }
10481 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10482 if (obj1) {
10483 ecode2 = SWIG_AsVal_int(obj1, &val2);
10484 if (!SWIG_IsOK(ecode2)) {
10485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "2"" of type '" "int""'");
10486 }
10487 arg2 = static_cast< int >(val2);
10488 }
10489 if (obj2) {
10490 ecode3 = SWIG_AsVal_int(obj2, &val3);
10491 if (!SWIG_IsOK(ecode3)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveRight" "', expected argument " "3"" of type '" "int""'");
10493 }
10494 arg3 = static_cast< int >(val3);
10495 }
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (bool)(arg1)->MoveRight(arg2,arg3);
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 {
10503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10504 }
10505 return resultobj;
10506fail:
10507 return NULL;
10508}
10509
10510
10511SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj = 0;
10513 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10514 int arg2 = (int) 1 ;
10515 int arg3 = (int) 0 ;
10516 bool result;
10517 void *argp1 = 0 ;
10518 int res1 = 0 ;
10519 int val2 ;
10520 int ecode2 = 0 ;
10521 int val3 ;
10522 int ecode3 = 0 ;
10523 PyObject * obj0 = 0 ;
10524 PyObject * obj1 = 0 ;
10525 PyObject * obj2 = 0 ;
10526 char * kwnames[] = {
10527 (char *) "self",(char *) "noPositions",(char *) "flags", NULL
10528 };
10529
10530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10532 if (!SWIG_IsOK(res1)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10534 }
10535 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10536 if (obj1) {
10537 ecode2 = SWIG_AsVal_int(obj1, &val2);
10538 if (!SWIG_IsOK(ecode2)) {
10539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "2"" of type '" "int""'");
10540 }
10541 arg2 = static_cast< int >(val2);
10542 }
10543 if (obj2) {
10544 ecode3 = SWIG_AsVal_int(obj2, &val3);
10545 if (!SWIG_IsOK(ecode3)) {
10546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveLeft" "', expected argument " "3"" of type '" "int""'");
10547 }
10548 arg3 = static_cast< int >(val3);
10549 }
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (bool)(arg1)->MoveLeft(arg2,arg3);
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 {
10557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10558 }
10559 return resultobj;
10560fail:
10561 return NULL;
10562}
10563
10564
10565SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj = 0;
10567 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10568 int arg2 = (int) 1 ;
10569 int arg3 = (int) 0 ;
10570 bool result;
10571 void *argp1 = 0 ;
10572 int res1 = 0 ;
10573 int val2 ;
10574 int ecode2 = 0 ;
10575 int val3 ;
10576 int ecode3 = 0 ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 PyObject * obj2 = 0 ;
10580 char * kwnames[] = {
10581 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10582 };
10583
10584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10586 if (!SWIG_IsOK(res1)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10588 }
10589 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10590 if (obj1) {
10591 ecode2 = SWIG_AsVal_int(obj1, &val2);
10592 if (!SWIG_IsOK(ecode2)) {
10593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "2"" of type '" "int""'");
10594 }
10595 arg2 = static_cast< int >(val2);
10596 }
10597 if (obj2) {
10598 ecode3 = SWIG_AsVal_int(obj2, &val3);
10599 if (!SWIG_IsOK(ecode3)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveUp" "', expected argument " "3"" of type '" "int""'");
10601 }
10602 arg3 = static_cast< int >(val3);
10603 }
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (bool)(arg1)->MoveUp(arg2,arg3);
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 {
10611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10612 }
10613 return resultobj;
10614fail:
10615 return NULL;
10616}
10617
10618
10619SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj = 0;
10621 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10622 int arg2 = (int) 1 ;
10623 int arg3 = (int) 0 ;
10624 bool result;
10625 void *argp1 = 0 ;
10626 int res1 = 0 ;
10627 int val2 ;
10628 int ecode2 = 0 ;
10629 int val3 ;
10630 int ecode3 = 0 ;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 PyObject * obj2 = 0 ;
10634 char * kwnames[] = {
10635 (char *) "self",(char *) "noLines",(char *) "flags", NULL
10636 };
10637
10638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_MoveDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10640 if (!SWIG_IsOK(res1)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10642 }
10643 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10644 if (obj1) {
10645 ecode2 = SWIG_AsVal_int(obj1, &val2);
10646 if (!SWIG_IsOK(ecode2)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "2"" of type '" "int""'");
10648 }
10649 arg2 = static_cast< int >(val2);
10650 }
10651 if (obj2) {
10652 ecode3 = SWIG_AsVal_int(obj2, &val3);
10653 if (!SWIG_IsOK(ecode3)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_MoveDown" "', expected argument " "3"" of type '" "int""'");
10655 }
10656 arg3 = static_cast< int >(val3);
10657 }
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (bool)(arg1)->MoveDown(arg2,arg3);
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 {
10665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10666 }
10667 return resultobj;
10668fail:
10669 return NULL;
10670}
10671
10672
10673SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj = 0;
10675 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10676 int arg2 = (int) 0 ;
10677 bool result;
10678 void *argp1 = 0 ;
10679 int res1 = 0 ;
10680 int val2 ;
10681 int ecode2 = 0 ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 char * kwnames[] = {
10685 (char *) "self",(char *) "flags", NULL
10686 };
10687
10688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10690 if (!SWIG_IsOK(res1)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10692 }
10693 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10694 if (obj1) {
10695 ecode2 = SWIG_AsVal_int(obj1, &val2);
10696 if (!SWIG_IsOK(ecode2)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineEnd" "', expected argument " "2"" of type '" "int""'");
10698 }
10699 arg2 = static_cast< int >(val2);
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (bool)(arg1)->MoveToLineEnd(arg2);
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 {
10708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10709 }
10710 return resultobj;
10711fail:
10712 return NULL;
10713}
10714
10715
10716SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToLineStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10717 PyObject *resultobj = 0;
10718 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10719 int arg2 = (int) 0 ;
10720 bool result;
10721 void *argp1 = 0 ;
10722 int res1 = 0 ;
10723 int val2 ;
10724 int ecode2 = 0 ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 char * kwnames[] = {
10728 (char *) "self",(char *) "flags", NULL
10729 };
10730
10731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToLineStart",kwnames,&obj0,&obj1)) SWIG_fail;
10732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10733 if (!SWIG_IsOK(res1)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10735 }
10736 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10737 if (obj1) {
10738 ecode2 = SWIG_AsVal_int(obj1, &val2);
10739 if (!SWIG_IsOK(ecode2)) {
10740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToLineStart" "', expected argument " "2"" of type '" "int""'");
10741 }
10742 arg2 = static_cast< int >(val2);
10743 }
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 result = (bool)(arg1)->MoveToLineStart(arg2);
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 {
10751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10752 }
10753 return resultobj;
10754fail:
10755 return NULL;
10756}
10757
10758
10759SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj = 0;
10761 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10762 int arg2 = (int) 0 ;
10763 bool result;
10764 void *argp1 = 0 ;
10765 int res1 = 0 ;
10766 int val2 ;
10767 int ecode2 = 0 ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 char * kwnames[] = {
10771 (char *) "self",(char *) "flags", NULL
10772 };
10773
10774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10776 if (!SWIG_IsOK(res1)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10778 }
10779 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10780 if (obj1) {
10781 ecode2 = SWIG_AsVal_int(obj1, &val2);
10782 if (!SWIG_IsOK(ecode2)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphEnd" "', expected argument " "2"" of type '" "int""'");
10784 }
10785 arg2 = static_cast< int >(val2);
10786 }
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (bool)(arg1)->MoveToParagraphEnd(arg2);
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 {
10794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10795 }
10796 return resultobj;
10797fail:
10798 return NULL;
10799}
10800
10801
10802SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveToParagraphStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj = 0;
10804 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10805 int arg2 = (int) 0 ;
10806 bool result;
10807 void *argp1 = 0 ;
10808 int res1 = 0 ;
10809 int val2 ;
10810 int ecode2 = 0 ;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 char * kwnames[] = {
10814 (char *) "self",(char *) "flags", NULL
10815 };
10816
10817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveToParagraphStart",kwnames,&obj0,&obj1)) SWIG_fail;
10818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10819 if (!SWIG_IsOK(res1)) {
10820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10821 }
10822 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10823 if (obj1) {
10824 ecode2 = SWIG_AsVal_int(obj1, &val2);
10825 if (!SWIG_IsOK(ecode2)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveToParagraphStart" "', expected argument " "2"" of type '" "int""'");
10827 }
10828 arg2 = static_cast< int >(val2);
10829 }
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (bool)(arg1)->MoveToParagraphStart(arg2);
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 {
10837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10838 }
10839 return resultobj;
10840fail:
10841 return NULL;
10842}
10843
10844
10845SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj = 0;
10847 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10848 int arg2 = (int) 0 ;
10849 bool result;
10850 void *argp1 = 0 ;
10851 int res1 = 0 ;
10852 int val2 ;
10853 int ecode2 = 0 ;
10854 PyObject * obj0 = 0 ;
10855 PyObject * obj1 = 0 ;
10856 char * kwnames[] = {
10857 (char *) "self",(char *) "flags", NULL
10858 };
10859
10860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveHome",kwnames,&obj0,&obj1)) SWIG_fail;
10861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10862 if (!SWIG_IsOK(res1)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10864 }
10865 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10866 if (obj1) {
10867 ecode2 = SWIG_AsVal_int(obj1, &val2);
10868 if (!SWIG_IsOK(ecode2)) {
10869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveHome" "', expected argument " "2"" of type '" "int""'");
10870 }
10871 arg2 = static_cast< int >(val2);
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (bool)(arg1)->MoveHome(arg2);
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 {
10880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10881 }
10882 return resultobj;
10883fail:
10884 return NULL;
10885}
10886
10887
10888SWIGINTERN PyObject *_wrap_RichTextCtrl_MoveEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj = 0;
10890 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10891 int arg2 = (int) 0 ;
10892 bool result;
10893 void *argp1 = 0 ;
10894 int res1 = 0 ;
10895 int val2 ;
10896 int ecode2 = 0 ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char * kwnames[] = {
10900 (char *) "self",(char *) "flags", NULL
10901 };
10902
10903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_MoveEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10905 if (!SWIG_IsOK(res1)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10907 }
10908 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10909 if (obj1) {
10910 ecode2 = SWIG_AsVal_int(obj1, &val2);
10911 if (!SWIG_IsOK(ecode2)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_MoveEnd" "', expected argument " "2"" of type '" "int""'");
10913 }
10914 arg2 = static_cast< int >(val2);
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (bool)(arg1)->MoveEnd(arg2);
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 {
10923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10924 }
10925 return resultobj;
10926fail:
10927 return NULL;
10928}
10929
10930
10931SWIGINTERN PyObject *_wrap_RichTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj = 0;
10933 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10934 int arg2 = (int) 1 ;
10935 int arg3 = (int) 0 ;
10936 bool result;
10937 void *argp1 = 0 ;
10938 int res1 = 0 ;
10939 int val2 ;
10940 int ecode2 = 0 ;
10941 int val3 ;
10942 int ecode3 = 0 ;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 PyObject * obj2 = 0 ;
10946 char * kwnames[] = {
10947 (char *) "self",(char *) "noPages",(char *) "flags", NULL
10948 };
10949
10950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageUp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
10952 if (!SWIG_IsOK(res1)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
10954 }
10955 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
10956 if (obj1) {
10957 ecode2 = SWIG_AsVal_int(obj1, &val2);
10958 if (!SWIG_IsOK(ecode2)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageUp" "', expected argument " "2"" of type '" "int""'");
10960 }
10961 arg2 = static_cast< int >(val2);
10962 }
10963 if (obj2) {
10964 ecode3 = SWIG_AsVal_int(obj2, &val3);
10965 if (!SWIG_IsOK(ecode3)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageUp" "', expected argument " "3"" of type '" "int""'");
10967 }
10968 arg3 = static_cast< int >(val3);
10969 }
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = (bool)(arg1)->PageUp(arg2,arg3);
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 {
10977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10978 }
10979 return resultobj;
10980fail:
10981 return NULL;
10982}
10983
10984
10985SWIGINTERN PyObject *_wrap_RichTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj = 0;
10987 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
10988 int arg2 = (int) 1 ;
10989 int arg3 = (int) 0 ;
10990 bool result;
10991 void *argp1 = 0 ;
10992 int res1 = 0 ;
10993 int val2 ;
10994 int ecode2 = 0 ;
10995 int val3 ;
10996 int ecode3 = 0 ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 PyObject * obj2 = 0 ;
11000 char * kwnames[] = {
11001 (char *) "self",(char *) "noPages",(char *) "flags", NULL
11002 };
11003
11004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_PageDown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11006 if (!SWIG_IsOK(res1)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11008 }
11009 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11010 if (obj1) {
11011 ecode2 = SWIG_AsVal_int(obj1, &val2);
11012 if (!SWIG_IsOK(ecode2)) {
11013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PageDown" "', expected argument " "2"" of type '" "int""'");
11014 }
11015 arg2 = static_cast< int >(val2);
11016 }
11017 if (obj2) {
11018 ecode3 = SWIG_AsVal_int(obj2, &val3);
11019 if (!SWIG_IsOK(ecode3)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_PageDown" "', expected argument " "3"" of type '" "int""'");
11021 }
11022 arg3 = static_cast< int >(val3);
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (bool)(arg1)->PageDown(arg2,arg3);
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11032 }
11033 return resultobj;
11034fail:
11035 return NULL;
11036}
11037
11038
11039SWIGINTERN PyObject *_wrap_RichTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj = 0;
11041 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11042 int arg2 = (int) 1 ;
11043 int arg3 = (int) 0 ;
11044 bool result;
11045 void *argp1 = 0 ;
11046 int res1 = 0 ;
11047 int val2 ;
11048 int ecode2 = 0 ;
11049 int val3 ;
11050 int ecode3 = 0 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 PyObject * obj2 = 0 ;
11054 char * kwnames[] = {
11055 (char *) "self",(char *) "noPages",(char *) "flags", NULL
11056 };
11057
11058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordLeft",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11060 if (!SWIG_IsOK(res1)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11062 }
11063 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11064 if (obj1) {
11065 ecode2 = SWIG_AsVal_int(obj1, &val2);
11066 if (!SWIG_IsOK(ecode2)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "2"" of type '" "int""'");
11068 }
11069 arg2 = static_cast< int >(val2);
11070 }
11071 if (obj2) {
11072 ecode3 = SWIG_AsVal_int(obj2, &val3);
11073 if (!SWIG_IsOK(ecode3)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordLeft" "', expected argument " "3"" of type '" "int""'");
11075 }
11076 arg3 = static_cast< int >(val3);
11077 }
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (bool)(arg1)->WordLeft(arg2,arg3);
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 {
11085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11086 }
11087 return resultobj;
11088fail:
11089 return NULL;
11090}
11091
11092
11093SWIGINTERN PyObject *_wrap_RichTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj = 0;
11095 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11096 int arg2 = (int) 1 ;
11097 int arg3 = (int) 0 ;
11098 bool result;
11099 void *argp1 = 0 ;
11100 int res1 = 0 ;
11101 int val2 ;
11102 int ecode2 = 0 ;
11103 int val3 ;
11104 int ecode3 = 0 ;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj1 = 0 ;
11107 PyObject * obj2 = 0 ;
11108 char * kwnames[] = {
11109 (char *) "self",(char *) "noPages",(char *) "flags", NULL
11110 };
11111
11112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:RichTextCtrl_WordRight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11114 if (!SWIG_IsOK(res1)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11116 }
11117 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11118 if (obj1) {
11119 ecode2 = SWIG_AsVal_int(obj1, &val2);
11120 if (!SWIG_IsOK(ecode2)) {
11121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_WordRight" "', expected argument " "2"" of type '" "int""'");
11122 }
11123 arg2 = static_cast< int >(val2);
11124 }
11125 if (obj2) {
11126 ecode3 = SWIG_AsVal_int(obj2, &val3);
11127 if (!SWIG_IsOK(ecode3)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_WordRight" "', expected argument " "3"" of type '" "int""'");
11129 }
11130 arg3 = static_cast< int >(val3);
11131 }
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)(arg1)->WordRight(arg2,arg3);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142fail:
11143 return NULL;
11144}
11145
11146
11147SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11148 PyObject *resultobj = 0;
11149 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11150 wxRichTextBuffer *result = 0 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 PyObject *swig_obj[1] ;
11154
11155 if (!args) SWIG_fail;
11156 swig_obj[0] = args;
11157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11158 if (!SWIG_IsOK(res1)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11160 }
11161 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
11164 {
11165 wxRichTextBuffer const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetBuffer();
11166 result = (wxRichTextBuffer *) &_result_ref;
11167 }
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
11172 return resultobj;
11173fail:
11174 return NULL;
11175}
11176
11177
11178SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11179 PyObject *resultobj = 0;
11180 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11181 wxString *arg2 = 0 ;
11182 bool result;
11183 void *argp1 = 0 ;
11184 int res1 = 0 ;
11185 bool temp2 = false ;
11186 PyObject * obj0 = 0 ;
11187 PyObject * obj1 = 0 ;
11188 char * kwnames[] = {
11189 (char *) "self",(char *) "cmdName", NULL
11190 };
11191
11192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
11193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11194 if (!SWIG_IsOK(res1)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11196 }
11197 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11198 {
11199 arg2 = wxString_in_helper(obj1);
11200 if (arg2 == NULL) SWIG_fail;
11201 temp2 = true;
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 {
11210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11211 }
11212 {
11213 if (temp2)
11214 delete arg2;
11215 }
11216 return resultobj;
11217fail:
11218 {
11219 if (temp2)
11220 delete arg2;
11221 }
11222 return NULL;
11223}
11224
11225
11226SWIGINTERN PyObject *_wrap_RichTextCtrl_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11227 PyObject *resultobj = 0;
11228 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11229 bool result;
11230 void *argp1 = 0 ;
11231 int res1 = 0 ;
11232 PyObject *swig_obj[1] ;
11233
11234 if (!args) SWIG_fail;
11235 swig_obj[0] = args;
11236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11237 if (!SWIG_IsOK(res1)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11239 }
11240 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11241 {
11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
11243 result = (bool)(arg1)->EndBatchUndo();
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 {
11248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11249 }
11250 return resultobj;
11251fail:
11252 return NULL;
11253}
11254
11255
11256SWIGINTERN PyObject *_wrap_RichTextCtrl_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11257 PyObject *resultobj = 0;
11258 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11259 bool result;
11260 void *argp1 = 0 ;
11261 int res1 = 0 ;
11262 PyObject *swig_obj[1] ;
11263
11264 if (!args) SWIG_fail;
11265 swig_obj[0] = args;
11266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11269 }
11270 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (bool)((wxRichTextCtrl const *)arg1)->BatchingUndo();
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11279 }
11280 return resultobj;
11281fail:
11282 return NULL;
11283}
11284
11285
11286SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11287 PyObject *resultobj = 0;
11288 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11289 bool result;
11290 void *argp1 = 0 ;
11291 int res1 = 0 ;
11292 PyObject *swig_obj[1] ;
11293
11294 if (!args) SWIG_fail;
11295 swig_obj[0] = args;
11296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11297 if (!SWIG_IsOK(res1)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11299 }
11300 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (bool)(arg1)->BeginSuppressUndo();
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 {
11308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11309 }
11310 return resultobj;
11311fail:
11312 return NULL;
11313}
11314
11315
11316SWIGINTERN PyObject *_wrap_RichTextCtrl_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11317 PyObject *resultobj = 0;
11318 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11319 bool result;
11320 void *argp1 = 0 ;
11321 int res1 = 0 ;
11322 PyObject *swig_obj[1] ;
11323
11324 if (!args) SWIG_fail;
11325 swig_obj[0] = args;
11326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11327 if (!SWIG_IsOK(res1)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11329 }
11330 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 result = (bool)(arg1)->EndSuppressUndo();
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 {
11338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11339 }
11340 return resultobj;
11341fail:
11342 return NULL;
11343}
11344
11345
11346SWIGINTERN PyObject *_wrap_RichTextCtrl_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11347 PyObject *resultobj = 0;
11348 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11349 bool result;
11350 void *argp1 = 0 ;
11351 int res1 = 0 ;
11352 PyObject *swig_obj[1] ;
11353
11354 if (!args) SWIG_fail;
11355 swig_obj[0] = args;
11356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11357 if (!SWIG_IsOK(res1)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11359 }
11360 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (bool)((wxRichTextCtrl const *)arg1)->SuppressingUndo();
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 {
11368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11369 }
11370 return resultobj;
11371fail:
11372 return NULL;
11373}
11374
11375
11376SWIGINTERN PyObject *_wrap_RichTextCtrl_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj = 0;
11378 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11379 wxRichTextRange *arg2 = 0 ;
11380 wxRichTextAttr *arg3 = 0 ;
11381 bool result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 wxRichTextRange temp2 ;
11385 void *argp3 = 0 ;
11386 int res3 = 0 ;
11387 PyObject * obj0 = 0 ;
11388 PyObject * obj1 = 0 ;
11389 PyObject * obj2 = 0 ;
11390 char * kwnames[] = {
11391 (char *) "self",(char *) "range",(char *) "style", NULL
11392 };
11393
11394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11396 if (!SWIG_IsOK(res1)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11398 }
11399 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11400 {
11401 arg2 = &temp2;
11402 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11403 }
11404 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
11405 if (!SWIG_IsOK(res3)) {
11406 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11407 }
11408 if (!argp3) {
11409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11410 }
11411 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 {
11419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11420 }
11421 return resultobj;
11422fail:
11423 return NULL;
11424}
11425
11426
11427SWIGINTERN PyObject *_wrap_RichTextCtrl_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj = 0;
11429 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11430 wxRichTextRange *arg2 = 0 ;
11431 wxRichTextAttr *arg3 = 0 ;
11432 bool result;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 wxRichTextRange temp2 ;
11436 void *argp3 = 0 ;
11437 int res3 = 0 ;
11438 PyObject * obj0 = 0 ;
11439 PyObject * obj1 = 0 ;
11440 PyObject * obj2 = 0 ;
11441 char * kwnames[] = {
11442 (char *) "self",(char *) "range",(char *) "style", NULL
11443 };
11444
11445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11447 if (!SWIG_IsOK(res1)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11449 }
11450 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11451 {
11452 arg2 = &temp2;
11453 if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11454 }
11455 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr, 0 | 0);
11456 if (!SWIG_IsOK(res3)) {
11457 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11458 }
11459 if (!argp3) {
11460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'");
11461 }
11462 arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11471 }
11472 return resultobj;
11473fail:
11474 return NULL;
11475}
11476
11477
11478SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11479 PyObject *resultobj = 0;
11480 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11481 bool result;
11482 void *argp1 = 0 ;
11483 int res1 = 0 ;
11484 PyObject *swig_obj[1] ;
11485
11486 if (!args) SWIG_fail;
11487 swig_obj[0] = args;
11488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11489 if (!SWIG_IsOK(res1)) {
79df624a 11490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionBold" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
f05326ba
RD
11491 }
11492 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 11495 result = (bool)(arg1)->IsSelectionBold();
f05326ba
RD
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 {
11500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11501 }
11502 return resultobj;
11503fail:
11504 return NULL;
11505}
11506
11507
11508SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionItalics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11509 PyObject *resultobj = 0;
11510 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11511 bool result;
11512 void *argp1 = 0 ;
11513 int res1 = 0 ;
11514 PyObject *swig_obj[1] ;
11515
11516 if (!args) SWIG_fail;
11517 swig_obj[0] = args;
11518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11519 if (!SWIG_IsOK(res1)) {
79df624a 11520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionItalics" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
f05326ba
RD
11521 }
11522 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 11525 result = (bool)(arg1)->IsSelectionItalics();
f05326ba
RD
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11531 }
11532 return resultobj;
11533fail:
11534 return NULL;
11535}
11536
11537
11538SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11539 PyObject *resultobj = 0;
11540 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11541 bool result;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 PyObject *swig_obj[1] ;
11545
11546 if (!args) SWIG_fail;
11547 swig_obj[0] = args;
11548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11549 if (!SWIG_IsOK(res1)) {
79df624a 11550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionUnderlined" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
f05326ba
RD
11551 }
11552 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 11555 result = (bool)(arg1)->IsSelectionUnderlined();
f05326ba
RD
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11561 }
11562 return resultobj;
11563fail:
11564 return NULL;
11565}
11566
11567
11568SWIGINTERN PyObject *_wrap_RichTextCtrl_IsSelectionAligned(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj = 0;
11570 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11571 wxTextAttrAlignment arg2 ;
11572 bool result;
11573 void *argp1 = 0 ;
11574 int res1 = 0 ;
11575 int val2 ;
11576 int ecode2 = 0 ;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 char * kwnames[] = {
11580 (char *) "self",(char *) "alignment", NULL
11581 };
11582
11583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_IsSelectionAligned",kwnames,&obj0,&obj1)) SWIG_fail;
11584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11585 if (!SWIG_IsOK(res1)) {
79df624a 11586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
f05326ba
RD
11587 }
11588 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11589 ecode2 = SWIG_AsVal_int(obj1, &val2);
11590 if (!SWIG_IsOK(ecode2)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_IsSelectionAligned" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11592 }
11593 arg2 = static_cast< wxTextAttrAlignment >(val2);
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
79df624a 11596 result = (bool)(arg1)->IsSelectionAligned(arg2);
f05326ba
RD
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 {
11601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11602 }
11603 return resultobj;
11604fail:
11605 return NULL;
11606}
11607
11608
11609SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyBoldToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11610 PyObject *resultobj = 0;
11611 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11612 bool result;
11613 void *argp1 = 0 ;
11614 int res1 = 0 ;
11615 PyObject *swig_obj[1] ;
11616
11617 if (!args) SWIG_fail;
11618 swig_obj[0] = args;
11619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11620 if (!SWIG_IsOK(res1)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyBoldToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11622 }
11623 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 result = (bool)(arg1)->ApplyBoldToSelection();
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 {
11631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11632 }
11633 return resultobj;
11634fail:
11635 return NULL;
11636}
11637
11638
11639SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyItalicToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11640 PyObject *resultobj = 0;
11641 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11642 bool result;
11643 void *argp1 = 0 ;
11644 int res1 = 0 ;
11645 PyObject *swig_obj[1] ;
11646
11647 if (!args) SWIG_fail;
11648 swig_obj[0] = args;
11649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11650 if (!SWIG_IsOK(res1)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyItalicToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11652 }
11653 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (bool)(arg1)->ApplyItalicToSelection();
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 {
11661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11662 }
11663 return resultobj;
11664fail:
11665 return NULL;
11666}
11667
11668
11669SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyUnderlineToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11670 PyObject *resultobj = 0;
11671 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11672 bool result;
11673 void *argp1 = 0 ;
11674 int res1 = 0 ;
11675 PyObject *swig_obj[1] ;
11676
11677 if (!args) SWIG_fail;
11678 swig_obj[0] = args;
11679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11680 if (!SWIG_IsOK(res1)) {
11681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyUnderlineToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11682 }
11683 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 result = (bool)(arg1)->ApplyUnderlineToSelection();
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 {
11691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11692 }
11693 return resultobj;
11694fail:
11695 return NULL;
11696}
11697
11698
11699SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyAlignmentToSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj = 0;
11701 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11702 wxTextAttrAlignment arg2 ;
11703 bool result;
11704 void *argp1 = 0 ;
11705 int res1 = 0 ;
11706 int val2 ;
11707 int ecode2 = 0 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char * kwnames[] = {
11711 (char *) "self",(char *) "alignment", NULL
11712 };
11713
11714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyAlignmentToSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11716 if (!SWIG_IsOK(res1)) {
11717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11718 }
11719 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11720 ecode2 = SWIG_AsVal_int(obj1, &val2);
11721 if (!SWIG_IsOK(ecode2)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_ApplyAlignmentToSelection" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
11723 }
11724 arg2 = static_cast< wxTextAttrAlignment >(val2);
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = (bool)(arg1)->ApplyAlignmentToSelection(arg2);
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 {
11732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11733 }
11734 return resultobj;
11735fail:
11736 return NULL;
11737}
11738
11739
11740SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj = 0;
11742 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11743 wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
11744 void *argp1 = 0 ;
11745 int res1 = 0 ;
11746 void *argp2 = 0 ;
11747 int res2 = 0 ;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 char * kwnames[] = {
11751 (char *) "self",(char *) "styleSheet", NULL
11752 };
11753
11754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11756 if (!SWIG_IsOK(res1)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11758 }
11759 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11761 if (!SWIG_IsOK(res2)) {
11762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11763 }
11764 arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 (arg1)->SetStyleSheet(arg2);
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 resultobj = SWIG_Py_Void();
11772 return resultobj;
11773fail:
11774 return NULL;
11775}
11776
11777
11778SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11779 PyObject *resultobj = 0;
11780 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11781 wxRichTextStyleSheet *result = 0 ;
11782 void *argp1 = 0 ;
11783 int res1 = 0 ;
11784 PyObject *swig_obj[1] ;
11785
11786 if (!args) SWIG_fail;
11787 swig_obj[0] = args;
11788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11789 if (!SWIG_IsOK(res1)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'");
11791 }
11792 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (wxRichTextStyleSheet *)((wxRichTextCtrl const *)arg1)->GetStyleSheet();
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11800 return resultobj;
11801fail:
11802 return NULL;
11803}
11804
11805
c2829a8f
RD
11806SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11807 PyObject *resultobj = 0;
11808 wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11809 wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) NULL ;
11810 bool result;
11811 void *argp1 = 0 ;
11812 int res1 = 0 ;
11813 void *argp2 = 0 ;
11814 int res2 = 0 ;
11815 PyObject * obj0 = 0 ;
11816 PyObject * obj1 = 0 ;
11817 char * kwnames[] = {
11818 (char *) "self",(char *) "styleSheet", NULL
11819 };
11820
11821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextCtrl_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
11823 if (!SWIG_IsOK(res1)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'");
11825 }
11826 arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11827 if (obj1) {
11828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11829 if (!SWIG_IsOK(res2)) {
11830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11831 }
11832 arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11833 }
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (bool)(arg1)->ApplyStyleSheet(arg2);
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 {
11841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11842 }
11843 return resultobj;
11844fail:
11845 return NULL;
11846}
11847
11848
f05326ba
RD
11849SWIGINTERN PyObject *RichTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11850 PyObject *obj;
11851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11852 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCtrl, SWIG_NewClientData(obj));
11853 return SWIG_Py_Void();
11854}
11855
11856SWIGINTERN PyObject *RichTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11857 return SWIG_Python_InitShadowInstance(args);
11858}
11859
11860SWIGINTERN PyObject *_wrap_new_RichTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj = 0;
11862 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11863 int arg2 = (int) 0 ;
11864 wxRichTextEvent *result = 0 ;
11865 int val1 ;
11866 int ecode1 = 0 ;
11867 int val2 ;
11868 int ecode2 = 0 ;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 char * kwnames[] = {
11872 (char *) "commandType",(char *) "winid", NULL
11873 };
11874
11875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RichTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11876 if (obj0) {
11877 ecode1 = SWIG_AsVal_int(obj0, &val1);
11878 if (!SWIG_IsOK(ecode1)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RichTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11880 }
11881 arg1 = static_cast< wxEventType >(val1);
11882 }
11883 if (obj1) {
11884 ecode2 = SWIG_AsVal_int(obj1, &val2);
11885 if (!SWIG_IsOK(ecode2)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RichTextEvent" "', expected argument " "2"" of type '" "int""'");
11887 }
11888 arg2 = static_cast< int >(val2);
11889 }
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (wxRichTextEvent *)new wxRichTextEvent(arg1,arg2);
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextEvent, SWIG_POINTER_NEW | 0 );
11897 return resultobj;
11898fail:
11899 return NULL;
11900}
11901
11902
11903SWIGINTERN PyObject *_wrap_RichTextEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11904 PyObject *resultobj = 0;
11905 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11906 int result;
11907 void *argp1 = 0 ;
11908 int res1 = 0 ;
11909 PyObject *swig_obj[1] ;
11910
11911 if (!args) SWIG_fail;
11912 swig_obj[0] = args;
11913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11914 if (!SWIG_IsOK(res1)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11916 }
11917 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (int)((wxRichTextEvent const *)arg1)->GetIndex();
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_From_int(static_cast< int >(result));
11925 return resultobj;
11926fail:
11927 return NULL;
11928}
11929
11930
11931SWIGINTERN PyObject *_wrap_RichTextEvent_SetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj = 0;
11933 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11934 int arg2 ;
11935 void *argp1 = 0 ;
11936 int res1 = 0 ;
11937 int val2 ;
11938 int ecode2 = 0 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char * kwnames[] = {
11942 (char *) "self",(char *) "n", NULL
11943 };
11944
11945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetIndex",kwnames,&obj0,&obj1)) SWIG_fail;
11946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetIndex" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
11949 }
11950 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11951 ecode2 = SWIG_AsVal_int(obj1, &val2);
11952 if (!SWIG_IsOK(ecode2)) {
11953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetIndex" "', expected argument " "2"" of type '" "int""'");
11954 }
11955 arg2 = static_cast< int >(val2);
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 (arg1)->SetIndex(arg2);
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 resultobj = SWIG_Py_Void();
11963 return resultobj;
11964fail:
11965 return NULL;
11966}
11967
11968
11969SWIGINTERN PyObject *_wrap_RichTextEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11970 PyObject *resultobj = 0;
11971 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
11972 int result;
11973 void *argp1 = 0 ;
11974 int res1 = 0 ;
11975 PyObject *swig_obj[1] ;
11976
11977 if (!args) SWIG_fail;
11978 swig_obj[0] = args;
11979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
11980 if (!SWIG_IsOK(res1)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'");
11982 }
11983 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)((wxRichTextEvent const *)arg1)->GetFlags();
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_From_int(static_cast< int >(result));
11991 return resultobj;
11992fail:
11993 return NULL;
11994}
11995
11996
11997SWIGINTERN PyObject *_wrap_RichTextEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = 0;
11999 wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
12000 int arg2 ;
12001 void *argp1 = 0 ;
12002 int res1 = 0 ;
12003 int val2 ;
12004 int ecode2 = 0 ;
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 char * kwnames[] = {
12008 (char *) "self",(char *) "flags", NULL
12009 };
12010
12011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetFlags" "', expected argument " "1"" of type '" "wxRichTextEvent *""'");
12015 }
12016 arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
12017 ecode2 = SWIG_AsVal_int(obj1, &val2);
12018 if (!SWIG_IsOK(ecode2)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12020 }
12021 arg2 = static_cast< int >(val2);
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 (arg1)->SetFlags(arg2);
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = SWIG_Py_Void();
12029 return resultobj;
12030fail:
12031 return NULL;
12032}
12033
12034
12035SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12036 PyObject *obj;
12037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12038 SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextEvent, SWIG_NewClientData(obj));
12039 return SWIG_Py_Void();
12040}
12041
12042SWIGINTERN PyObject *RichTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12043 return SWIG_Python_InitShadowInstance(args);
12044}
12045
12046static PyMethodDef SwigMethods[] = {
12047 { (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
12048 { (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL},
12049 { (char *)"RichTextRange___eq__", (PyCFunction) _wrap_RichTextRange___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
12050 { (char *)"RichTextRange___sub__", (PyCFunction) _wrap_RichTextRange___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
12051 { (char *)"RichTextRange___add__", (PyCFunction) _wrap_RichTextRange___add__, METH_VARARGS | METH_KEYWORDS, NULL},
12052 { (char *)"RichTextRange_SetRange", (PyCFunction) _wrap_RichTextRange_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
12053 { (char *)"RichTextRange_SetStart", (PyCFunction) _wrap_RichTextRange_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12054 { (char *)"RichTextRange_GetStart", (PyCFunction)_wrap_RichTextRange_GetStart, METH_O, NULL},
12055 { (char *)"RichTextRange_SetEnd", (PyCFunction) _wrap_RichTextRange_SetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12056 { (char *)"RichTextRange_GetEnd", (PyCFunction)_wrap_RichTextRange_GetEnd, METH_O, NULL},
12057 { (char *)"RichTextRange_IsOutside", (PyCFunction) _wrap_RichTextRange_IsOutside, METH_VARARGS | METH_KEYWORDS, NULL},
12058 { (char *)"RichTextRange_IsWithin", (PyCFunction) _wrap_RichTextRange_IsWithin, METH_VARARGS | METH_KEYWORDS, NULL},
12059 { (char *)"RichTextRange_Contains", (PyCFunction) _wrap_RichTextRange_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
12060 { (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
12061 { (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
12062 { (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
12063 { (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
12064 { (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
12065 { (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
12066 { (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
12067 { (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL},
12068 { (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL},
12069 { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12070 { (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12071 { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12072 { (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
12073 { (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
12074 { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12075 { (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12076 { (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12077 { (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12078 { (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
12079 { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
12080 { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12081 { (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
12082 { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
12083 { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
12084 { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
12085 { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12086 { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
12087 { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12088 { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34 12089 { (char *)"RichTextAttr_SetBulletText", (PyCFunction) _wrap_RichTextAttr_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 12090 { (char *)"RichTextAttr_SetBulletFont", (PyCFunction) _wrap_RichTextAttr_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba
RD
12091 { (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL},
12092 { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL},
12093 { (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL},
12094 { (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL},
12095 { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL},
12096 { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL},
12097 { (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL},
12098 { (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL},
12099 { (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL},
12100 { (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL},
12101 { (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL},
12102 { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL},
12103 { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL},
12104 { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL},
12105 { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL},
12106 { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL},
12107 { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL},
12108 { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL},
12109 { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL},
12110 { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL},
70d7cb34 12111 { (char *)"RichTextAttr_GetBulletText", (PyCFunction)_wrap_RichTextAttr_GetBulletText, METH_O, NULL},
b39fe951 12112 { (char *)"RichTextAttr_GetBulletFont", (PyCFunction)_wrap_RichTextAttr_GetBulletFont, METH_O, NULL},
f05326ba
RD
12113 { (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL},
12114 { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL},
12115 { (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL},
12116 { (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL},
12117 { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL},
12118 { (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL},
12119 { (char *)"RichTextAttr_HasWeight", (PyCFunction)_wrap_RichTextAttr_HasWeight, METH_O, NULL},
12120 { (char *)"RichTextAttr_HasSize", (PyCFunction)_wrap_RichTextAttr_HasSize, METH_O, NULL},
12121 { (char *)"RichTextAttr_HasItalic", (PyCFunction)_wrap_RichTextAttr_HasItalic, METH_O, NULL},
12122 { (char *)"RichTextAttr_HasUnderlined", (PyCFunction)_wrap_RichTextAttr_HasUnderlined, METH_O, NULL},
12123 { (char *)"RichTextAttr_HasFaceName", (PyCFunction)_wrap_RichTextAttr_HasFaceName, METH_O, NULL},
12124 { (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL},
12125 { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL},
12126 { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL},
12127 { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL},
12128 { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL},
12129 { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL},
12130 { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL},
12131 { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL},
70d7cb34 12132 { (char *)"RichTextAttr_HasBulletText", (PyCFunction)_wrap_RichTextAttr_HasBulletText, METH_O, NULL},
f05326ba
RD
12133 { (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
12134 { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL},
12135 { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL},
12136 { (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL},
12137 { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL},
12138 { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL},
12139 { (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
12140 { (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
12141 { (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12142 { (char *)"RichTextCtrl_GetValue", (PyCFunction)_wrap_RichTextCtrl_GetValue, METH_O, NULL},
12143 { (char *)"RichTextCtrl_SetValue", (PyCFunction) _wrap_RichTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
12144 { (char *)"RichTextCtrl_GetRange", (PyCFunction) _wrap_RichTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
12145 { (char *)"RichTextCtrl_GetLineLength", (PyCFunction) _wrap_RichTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
12146 { (char *)"RichTextCtrl_GetLineText", (PyCFunction) _wrap_RichTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
12147 { (char *)"RichTextCtrl_GetNumberOfLines", (PyCFunction)_wrap_RichTextCtrl_GetNumberOfLines, METH_O, NULL},
12148 { (char *)"RichTextCtrl_IsModified", (PyCFunction)_wrap_RichTextCtrl_IsModified, METH_O, NULL},
12149 { (char *)"RichTextCtrl_IsEditable", (PyCFunction)_wrap_RichTextCtrl_IsEditable, METH_O, NULL},
12150 { (char *)"RichTextCtrl_IsSingleLine", (PyCFunction)_wrap_RichTextCtrl_IsSingleLine, METH_O, NULL},
12151 { (char *)"RichTextCtrl_IsMultiLine", (PyCFunction)_wrap_RichTextCtrl_IsMultiLine, METH_O, NULL},
12152 { (char *)"RichTextCtrl_GetSelection", (PyCFunction)_wrap_RichTextCtrl_GetSelection, METH_O, NULL},
12153 { (char *)"RichTextCtrl_GetStringSelection", (PyCFunction)_wrap_RichTextCtrl_GetStringSelection, METH_O, NULL},
12154 { (char *)"RichTextCtrl_GetFilename", (PyCFunction)_wrap_RichTextCtrl_GetFilename, METH_O, NULL},
12155 { (char *)"RichTextCtrl_SetFilename", (PyCFunction) _wrap_RichTextCtrl_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
12156 { (char *)"RichTextCtrl_SetDelayedLayoutThreshold", (PyCFunction) _wrap_RichTextCtrl_SetDelayedLayoutThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
12157 { (char *)"RichTextCtrl_GetDelayedLayoutThreshold", (PyCFunction)_wrap_RichTextCtrl_GetDelayedLayoutThreshold, METH_O, NULL},
12158 { (char *)"RichTextCtrl_Clear", (PyCFunction)_wrap_RichTextCtrl_Clear, METH_O, NULL},
12159 { (char *)"RichTextCtrl_Replace", (PyCFunction) _wrap_RichTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
12160 { (char *)"RichTextCtrl_Remove", (PyCFunction) _wrap_RichTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
12161 { (char *)"RichTextCtrl_LoadFile", (PyCFunction) _wrap_RichTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12162 { (char *)"RichTextCtrl_SaveFile", (PyCFunction) _wrap_RichTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
12163 { (char *)"RichTextCtrl_SetHandlerFlags", (PyCFunction) _wrap_RichTextCtrl_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL},
12164 { (char *)"RichTextCtrl_GetHandlerFlags", (PyCFunction)_wrap_RichTextCtrl_GetHandlerFlags, METH_O, NULL},
f05326ba
RD
12165 { (char *)"RichTextCtrl_MarkDirty", (PyCFunction)_wrap_RichTextCtrl_MarkDirty, METH_O, NULL},
12166 { (char *)"RichTextCtrl_DiscardEdits", (PyCFunction)_wrap_RichTextCtrl_DiscardEdits, METH_O, NULL},
12167 { (char *)"RichTextCtrl_SetMaxLength", (PyCFunction) _wrap_RichTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
12168 { (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
12169 { (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
12170 { (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 12171 { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction) _wrap_RichTextCtrl_SetStyleEx, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 12172 { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
c2829a8f 12173 { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction) _wrap_RichTextCtrl_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba
RD
12174 { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12175 { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL},
12176 { (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
12177 { (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
12178 { (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
12179 { (char *)"RichTextCtrl_HitTest", (PyCFunction) _wrap_RichTextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
12180 { (char *)"RichTextCtrl_HitTestXY", (PyCFunction) _wrap_RichTextCtrl_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
12181 { (char *)"RichTextCtrl_Copy", (PyCFunction)_wrap_RichTextCtrl_Copy, METH_O, NULL},
12182 { (char *)"RichTextCtrl_Cut", (PyCFunction)_wrap_RichTextCtrl_Cut, METH_O, NULL},
12183 { (char *)"RichTextCtrl_Paste", (PyCFunction)_wrap_RichTextCtrl_Paste, METH_O, NULL},
12184 { (char *)"RichTextCtrl_DeleteSelection", (PyCFunction)_wrap_RichTextCtrl_DeleteSelection, METH_O, NULL},
12185 { (char *)"RichTextCtrl_CanCopy", (PyCFunction)_wrap_RichTextCtrl_CanCopy, METH_O, NULL},
12186 { (char *)"RichTextCtrl_CanCut", (PyCFunction)_wrap_RichTextCtrl_CanCut, METH_O, NULL},
12187 { (char *)"RichTextCtrl_CanPaste", (PyCFunction)_wrap_RichTextCtrl_CanPaste, METH_O, NULL},
12188 { (char *)"RichTextCtrl_CanDeleteSelection", (PyCFunction)_wrap_RichTextCtrl_CanDeleteSelection, METH_O, NULL},
12189 { (char *)"RichTextCtrl_Undo", (PyCFunction)_wrap_RichTextCtrl_Undo, METH_O, NULL},
12190 { (char *)"RichTextCtrl_Redo", (PyCFunction)_wrap_RichTextCtrl_Redo, METH_O, NULL},
12191 { (char *)"RichTextCtrl_CanUndo", (PyCFunction)_wrap_RichTextCtrl_CanUndo, METH_O, NULL},
12192 { (char *)"RichTextCtrl_CanRedo", (PyCFunction)_wrap_RichTextCtrl_CanRedo, METH_O, NULL},
12193 { (char *)"RichTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_RichTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
12194 { (char *)"RichTextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_RichTextCtrl_SetInsertionPointEnd, METH_O, NULL},
12195 { (char *)"RichTextCtrl_GetInsertionPoint", (PyCFunction)_wrap_RichTextCtrl_GetInsertionPoint, METH_O, NULL},
12196 { (char *)"RichTextCtrl_GetLastPosition", (PyCFunction)_wrap_RichTextCtrl_GetLastPosition, METH_O, NULL},
12197 { (char *)"RichTextCtrl_SetSelection", (PyCFunction) _wrap_RichTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12198 { (char *)"RichTextCtrl_SelectAll", (PyCFunction)_wrap_RichTextCtrl_SelectAll, METH_O, NULL},
12199 { (char *)"RichTextCtrl_SetEditable", (PyCFunction) _wrap_RichTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
12200 { (char *)"RichTextCtrl_HasSelection", (PyCFunction)_wrap_RichTextCtrl_HasSelection, METH_O, NULL},
12201 { (char *)"RichTextCtrl_WriteImage", (PyCFunction) _wrap_RichTextCtrl_WriteImage, METH_VARARGS | METH_KEYWORDS, NULL},
12202 { (char *)"RichTextCtrl_WriteBitmap", (PyCFunction) _wrap_RichTextCtrl_WriteBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
12203 { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL},
12204 { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL},
12205 { (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL},
12206 { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12207 { (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL},
12208 { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL},
12209 { (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL},
12210 { (char *)"RichTextCtrl_EndBold", (PyCFunction)_wrap_RichTextCtrl_EndBold, METH_O, NULL},
12211 { (char *)"RichTextCtrl_BeginItalic", (PyCFunction)_wrap_RichTextCtrl_BeginItalic, METH_O, NULL},
12212 { (char *)"RichTextCtrl_EndItalic", (PyCFunction)_wrap_RichTextCtrl_EndItalic, METH_O, NULL},
12213 { (char *)"RichTextCtrl_BeginUnderline", (PyCFunction)_wrap_RichTextCtrl_BeginUnderline, METH_O, NULL},
12214 { (char *)"RichTextCtrl_EndUnderline", (PyCFunction)_wrap_RichTextCtrl_EndUnderline, METH_O, NULL},
12215 { (char *)"RichTextCtrl_BeginFontSize", (PyCFunction) _wrap_RichTextCtrl_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12216 { (char *)"RichTextCtrl_EndFontSize", (PyCFunction)_wrap_RichTextCtrl_EndFontSize, METH_O, NULL},
12217 { (char *)"RichTextCtrl_BeginFont", (PyCFunction) _wrap_RichTextCtrl_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
12218 { (char *)"RichTextCtrl_EndFont", (PyCFunction)_wrap_RichTextCtrl_EndFont, METH_O, NULL},
12219 { (char *)"RichTextCtrl_BeginTextColour", (PyCFunction) _wrap_RichTextCtrl_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12220 { (char *)"RichTextCtrl_EndTextColour", (PyCFunction)_wrap_RichTextCtrl_EndTextColour, METH_O, NULL},
12221 { (char *)"RichTextCtrl_BeginAlignment", (PyCFunction) _wrap_RichTextCtrl_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
12222 { (char *)"RichTextCtrl_EndAlignment", (PyCFunction)_wrap_RichTextCtrl_EndAlignment, METH_O, NULL},
12223 { (char *)"RichTextCtrl_BeginLeftIndent", (PyCFunction) _wrap_RichTextCtrl_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12224 { (char *)"RichTextCtrl_EndLeftIndent", (PyCFunction)_wrap_RichTextCtrl_EndLeftIndent, METH_O, NULL},
12225 { (char *)"RichTextCtrl_BeginRightIndent", (PyCFunction) _wrap_RichTextCtrl_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12226 { (char *)"RichTextCtrl_EndRightIndent", (PyCFunction)_wrap_RichTextCtrl_EndRightIndent, METH_O, NULL},
12227 { (char *)"RichTextCtrl_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
12228 { (char *)"RichTextCtrl_EndParagraphSpacing", (PyCFunction)_wrap_RichTextCtrl_EndParagraphSpacing, METH_O, NULL},
12229 { (char *)"RichTextCtrl_BeginLineSpacing", (PyCFunction) _wrap_RichTextCtrl_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
12230 { (char *)"RichTextCtrl_EndLineSpacing", (PyCFunction)_wrap_RichTextCtrl_EndLineSpacing, METH_O, NULL},
12231 { (char *)"RichTextCtrl_BeginNumberedBullet", (PyCFunction) _wrap_RichTextCtrl_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
12232 { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL},
12233 { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
12234 { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL},
12235 { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12236 { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL},
12237 { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12238 { (char *)"RichTextCtrl_EndParagraphStyle", (PyCFunction)_wrap_RichTextCtrl_EndParagraphStyle, METH_O, NULL},
70d7cb34
RD
12239 { (char *)"RichTextCtrl_BeginListStyle", (PyCFunction) _wrap_RichTextCtrl_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12240 { (char *)"RichTextCtrl_EndListStyle", (PyCFunction)_wrap_RichTextCtrl_EndListStyle, METH_O, NULL},
12241 { (char *)"RichTextCtrl_BeginURL", (PyCFunction) _wrap_RichTextCtrl_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL},
12242 { (char *)"RichTextCtrl_EndURL", (PyCFunction)_wrap_RichTextCtrl_EndURL, METH_O, NULL},
f05326ba
RD
12243 { (char *)"RichTextCtrl_SetDefaultStyleToCursorStyle", (PyCFunction)_wrap_RichTextCtrl_SetDefaultStyleToCursorStyle, METH_O, NULL},
12244 { (char *)"RichTextCtrl_SelectNone", (PyCFunction)_wrap_RichTextCtrl_SelectNone, METH_O, NULL},
c2829a8f 12245 { (char *)"RichTextCtrl_SelectWord", (PyCFunction) _wrap_RichTextCtrl_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba
RD
12246 { (char *)"RichTextCtrl_GetSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetSelectionRange, METH_O, NULL},
12247 { (char *)"RichTextCtrl_SetSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
79df624a
RD
12248 { (char *)"RichTextCtrl_GetInternalSelectionRange", (PyCFunction)_wrap_RichTextCtrl_GetInternalSelectionRange, METH_O, NULL},
12249 { (char *)"RichTextCtrl_SetInternalSelectionRange", (PyCFunction) _wrap_RichTextCtrl_SetInternalSelectionRange, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba
RD
12250 { (char *)"RichTextCtrl_AddParagraph", (PyCFunction) _wrap_RichTextCtrl_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
12251 { (char *)"RichTextCtrl_AddImage", (PyCFunction) _wrap_RichTextCtrl_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
12252 { (char *)"RichTextCtrl_LayoutContent", (PyCFunction) _wrap_RichTextCtrl_LayoutContent, METH_VARARGS | METH_KEYWORDS, NULL},
12253 { (char *)"RichTextCtrl_MoveCaret", (PyCFunction) _wrap_RichTextCtrl_MoveCaret, METH_VARARGS | METH_KEYWORDS, NULL},
12254 { (char *)"RichTextCtrl_MoveRight", (PyCFunction) _wrap_RichTextCtrl_MoveRight, METH_VARARGS | METH_KEYWORDS, NULL},
12255 { (char *)"RichTextCtrl_MoveLeft", (PyCFunction) _wrap_RichTextCtrl_MoveLeft, METH_VARARGS | METH_KEYWORDS, NULL},
12256 { (char *)"RichTextCtrl_MoveUp", (PyCFunction) _wrap_RichTextCtrl_MoveUp, METH_VARARGS | METH_KEYWORDS, NULL},
12257 { (char *)"RichTextCtrl_MoveDown", (PyCFunction) _wrap_RichTextCtrl_MoveDown, METH_VARARGS | METH_KEYWORDS, NULL},
12258 { (char *)"RichTextCtrl_MoveToLineEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToLineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12259 { (char *)"RichTextCtrl_MoveToLineStart", (PyCFunction) _wrap_RichTextCtrl_MoveToLineStart, METH_VARARGS | METH_KEYWORDS, NULL},
12260 { (char *)"RichTextCtrl_MoveToParagraphEnd", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12261 { (char *)"RichTextCtrl_MoveToParagraphStart", (PyCFunction) _wrap_RichTextCtrl_MoveToParagraphStart, METH_VARARGS | METH_KEYWORDS, NULL},
12262 { (char *)"RichTextCtrl_MoveHome", (PyCFunction) _wrap_RichTextCtrl_MoveHome, METH_VARARGS | METH_KEYWORDS, NULL},
12263 { (char *)"RichTextCtrl_MoveEnd", (PyCFunction) _wrap_RichTextCtrl_MoveEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12264 { (char *)"RichTextCtrl_PageUp", (PyCFunction) _wrap_RichTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
12265 { (char *)"RichTextCtrl_PageDown", (PyCFunction) _wrap_RichTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
12266 { (char *)"RichTextCtrl_WordLeft", (PyCFunction) _wrap_RichTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
12267 { (char *)"RichTextCtrl_WordRight", (PyCFunction) _wrap_RichTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
12268 { (char *)"RichTextCtrl_GetBuffer", (PyCFunction)_wrap_RichTextCtrl_GetBuffer, METH_O, NULL},
12269 { (char *)"RichTextCtrl_BeginBatchUndo", (PyCFunction) _wrap_RichTextCtrl_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
12270 { (char *)"RichTextCtrl_EndBatchUndo", (PyCFunction)_wrap_RichTextCtrl_EndBatchUndo, METH_O, NULL},
12271 { (char *)"RichTextCtrl_BatchingUndo", (PyCFunction)_wrap_RichTextCtrl_BatchingUndo, METH_O, NULL},
12272 { (char *)"RichTextCtrl_BeginSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_BeginSuppressUndo, METH_O, NULL},
12273 { (char *)"RichTextCtrl_EndSuppressUndo", (PyCFunction)_wrap_RichTextCtrl_EndSuppressUndo, METH_O, NULL},
12274 { (char *)"RichTextCtrl_SuppressingUndo", (PyCFunction)_wrap_RichTextCtrl_SuppressingUndo, METH_O, NULL},
12275 { (char *)"RichTextCtrl_HasCharacterAttributes", (PyCFunction) _wrap_RichTextCtrl_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12276 { (char *)"RichTextCtrl_HasParagraphAttributes", (PyCFunction) _wrap_RichTextCtrl_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12277 { (char *)"RichTextCtrl_IsSelectionBold", (PyCFunction)_wrap_RichTextCtrl_IsSelectionBold, METH_O, NULL},
12278 { (char *)"RichTextCtrl_IsSelectionItalics", (PyCFunction)_wrap_RichTextCtrl_IsSelectionItalics, METH_O, NULL},
12279 { (char *)"RichTextCtrl_IsSelectionUnderlined", (PyCFunction)_wrap_RichTextCtrl_IsSelectionUnderlined, METH_O, NULL},
12280 { (char *)"RichTextCtrl_IsSelectionAligned", (PyCFunction) _wrap_RichTextCtrl_IsSelectionAligned, METH_VARARGS | METH_KEYWORDS, NULL},
12281 { (char *)"RichTextCtrl_ApplyBoldToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyBoldToSelection, METH_O, NULL},
12282 { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL},
12283 { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL},
12284 { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12285 { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
12286 { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL},
c2829a8f 12287 { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction) _wrap_RichTextCtrl_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba
RD
12288 { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL},
12289 { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL},
12290 { (char *)"new_RichTextEvent", (PyCFunction) _wrap_new_RichTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12291 { (char *)"RichTextEvent_GetIndex", (PyCFunction)_wrap_RichTextEvent_GetIndex, METH_O, NULL},
12292 { (char *)"RichTextEvent_SetIndex", (PyCFunction) _wrap_RichTextEvent_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12293 { (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL},
12294 { (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
12295 { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL},
12296 { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL},
12297 { NULL, NULL, 0, NULL }
12298};
12299
12300
12301/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12302
12303static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
12304 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
12305}
12306static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
12307 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
12308}
12309static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
12310 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12311}
12312static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
12313 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12314}
12315static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
12316 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12317}
12318static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
12319 return (void *)((wxPanel *) ((wxPyPanel *) x));
12320}
12321static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) {
12322 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x));
12323}
12324static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
12325 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
12326}
12327static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
12328 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
12329}
12330static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
12331 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12332}
12333static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
12334 return (void *)((wxNotifyEvent *) ((wxRichTextEvent *) x));
12335}
12336static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
12337 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
12338}
12339static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
12340 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12341}
12342static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) {
12343 return (void *)((wxScrolledWindow *) ((wxRichTextCtrl *) x));
12344}
12345static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
12346 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
12347}
12348static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
12349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12350}
12351static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
12352 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12353}
12354static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
12355 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
12356}
12357static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12358 return (void *)((wxWindow *) ((wxMenuBar *) x));
12359}
12360static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
12361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12362}
12363static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
12364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12365}
12366static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
12367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12368}
27e45892
RD
12369static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
12370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12371}
f05326ba
RD
12372static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
12373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12374}
12375static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
12376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12377}
12378static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
12379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12380}
12381static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
12382 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12383}
12384static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
12385 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12386}
12387static void *_p_wxPanelTo_p_wxWindow(void *x) {
12388 return (void *)((wxWindow *) ((wxPanel *) x));
12389}
12390static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
12391 return (void *)((wxWindow *) ((wxStatusBar *) x));
12392}
12393static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
12394 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
12395}
12396static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
12397 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12398}
12399static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
12400 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12401}
12402static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
12403 return (void *)((wxWindow *) ((wxPopupWindow *) x));
12404}
12405static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
12406 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
12407}
12408static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
12409 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
12410}
12411static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
12412 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
12413}
12414static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
12415 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
12416}
12417static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
12418 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
12419}
12420static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
12421 return (void *)((wxWindow *) ((wxSashWindow *) x));
12422}
12423static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
12424 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
12425}
12426static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
12427 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12428}
12429static void *_p_wxControlTo_p_wxWindow(void *x) {
12430 return (void *)((wxWindow *) ((wxControl *) x));
12431}
12432static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
12433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12434}
12435static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
12436 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12437}
12438static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
12439 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12440}
12441static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12442 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12443}
12444static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
12445 return (void *)((wxWindow *) ((wxPyWindow *) x));
12446}
12447static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
12448 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12449}
12450static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
12451 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12452}
12453static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
12454 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12455}
12456static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
12457 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
12458}
12459static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
12460 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12461}
12462static void *_p_wxFrameTo_p_wxWindow(void *x) {
12463 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
12464}
12465static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
12466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12467}
12468static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
12469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12470}
12471static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
12472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12473}
12474static void *_p_wxDialogTo_p_wxWindow(void *x) {
12475 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
12476}
12477static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
12478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12479}
12480static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
12481 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
12482}
12483static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12485}
12486static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12487 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12488}
12489static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12490 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12491}
12492static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12493 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12494}
12495static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12496 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12497}
12498static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12499 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12500}
12501static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12502 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12503}
12504static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12505 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12506}
12507static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12508 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12509}
12510static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12511 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12512}
12513static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12514 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12515}
0f83f5da
RD
12516static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12517 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12518}
f05326ba
RD
12519static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12520 return (void *)((wxEvent *) ((wxPyEvent *) x));
12521}
12522static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12523 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12524}
12525static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12526 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12527}
12528static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12530}
12531static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12532 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12533}
12534static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12535 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12536}
12537static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12538 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12539}
12540static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12541 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12542}
12543static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12544 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12545}
12546static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12547 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12548}
12549static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12551}
f05326ba
RD
12552static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12553 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12554}
12555static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12556 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12557}
0f83f5da
RD
12558static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12560}
f05326ba
RD
12561static void *_p_wxRichTextEventTo_p_wxEvent(void *x) {
12562 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
12563}
12564static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12566}
12567static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12568 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12569}
12570static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12571 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12572}
12573static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12574 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12575}
12576static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12577 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12578}
12579static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12580 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12581}
12582static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12583 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12584}
12585static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12586 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12587}
12588static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12589 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12590}
12591static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12592 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12593}
12594static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12595 return (void *)((wxEvent *) ((wxShowEvent *) x));
12596}
12597static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12598 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12599}
12600static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12601 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12602}
12603static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12604 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12605}
12606static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12607 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12608}
12609static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12610 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12611}
12612static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12613 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12614}
12615static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12616 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12617}
0ef86618
RD
12618static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12619 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
f05326ba 12620}
0ef86618
RD
12621static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12622 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
f05326ba 12623}
0ef86618
RD
12624static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
f05326ba 12626}
0ef86618
RD
12627static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
f05326ba 12629}
0ef86618
RD
12630static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12631 return (void *)((wxObject *) ((wxSizerItem *) x));
12632}
0f83f5da
RD
12633static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12634 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12635}
0ef86618
RD
12636static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
f05326ba
RD
12638}
12639static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12640 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12641}
0ef86618
RD
12642static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12643 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
f05326ba 12644}
0ef86618
RD
12645static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12646 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
f05326ba 12647}
0ef86618
RD
12648static void *_p_wxSizerTo_p_wxObject(void *x) {
12649 return (void *)((wxObject *) ((wxSizer *) x));
f05326ba 12650}
0ef86618
RD
12651static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12652 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
f05326ba 12653}
0ef86618
RD
12654static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
f05326ba 12656}
0ef86618
RD
12657static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
f05326ba 12659}
0ef86618
RD
12660static void *_p_wxEventTo_p_wxObject(void *x) {
12661 return (void *)((wxObject *) ((wxEvent *) x));
12662}
12663static void *_p_wxFontDataTo_p_wxObject(void *x) {
12664 return (void *)((wxObject *) ((wxFontData *) x));
f05326ba 12665}
0ef86618
RD
12666static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12667 return (void *)((wxObject *) ((wxPrintData *) x));
f05326ba 12668}
0ef86618
RD
12669static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12670 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
f05326ba 12671}
0ef86618
RD
12672static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12673 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12674}
12675static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12676 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
f05326ba
RD
12677}
12678static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12679 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12680}
0ef86618
RD
12681static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12682 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
f05326ba 12683}
0ef86618
RD
12684static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
f05326ba 12686}
0ef86618
RD
12687static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
f05326ba 12689}
0ef86618
RD
12690static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12691 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
f05326ba 12692}
0ef86618
RD
12693static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12694 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
f05326ba 12695}
0ef86618
RD
12696static void *_p_wxRichTextEventTo_p_wxObject(void *x) {
12697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxRichTextEvent *) x));
f05326ba 12698}
0ef86618
RD
12699static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12700 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
f05326ba 12701}
0ef86618
RD
12702static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12703 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
f05326ba 12704}
0ef86618
RD
12705static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12706 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
f05326ba 12707}
0ef86618
RD
12708static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12709 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
f05326ba 12710}
0ef86618
RD
12711static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
f05326ba 12713}
0ef86618
RD
12714static void *_p_wxControlTo_p_wxObject(void *x) {
12715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
f05326ba 12716}
0ef86618
RD
12717static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12718 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
f05326ba 12719}
0ef86618
RD
12720static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
f05326ba 12722}
0ef86618
RD
12723static void *_p_wxFSFileTo_p_wxObject(void *x) {
12724 return (void *)((wxObject *) ((wxFSFile *) x));
f05326ba 12725}
0ef86618
RD
12726static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12727 return (void *)((wxObject *) ((wxFindReplaceData *) x));
f05326ba 12728}
0ef86618
RD
12729static void *_p_wxPySizerTo_p_wxObject(void *x) {
12730 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
f05326ba 12731}
0ef86618
RD
12732static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
f05326ba 12734}
0ef86618
RD
12735static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) {
12736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
f05326ba 12737}
0ef86618
RD
12738static void *_p_wxColourDataTo_p_wxObject(void *x) {
12739 return (void *)((wxObject *) ((wxColourData *) x));
f05326ba 12740}
0ef86618
RD
12741static void *_p_wxPyEventTo_p_wxObject(void *x) {
12742 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
f05326ba 12743}
0ef86618
RD
12744static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
f05326ba 12746}
0ef86618
RD
12747static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
f05326ba 12749}
0ef86618
RD
12750static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
f05326ba 12752}
0ef86618
RD
12753static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
f05326ba 12755}
0ef86618
RD
12756static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
f05326ba 12758}
0ef86618
RD
12759static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
f05326ba 12761}
0ef86618
RD
12762static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
f05326ba 12764}
0ef86618
RD
12765static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
f05326ba 12767}
27e45892
RD
12768static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12770}
0ef86618
RD
12771static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
f05326ba 12773}
0ef86618
RD
12774static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
f05326ba 12776}
0ef86618
RD
12777static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
f05326ba 12779}
0ef86618
RD
12780static void *_p_wxShowEventTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
f05326ba 12782}
0ef86618
RD
12783static void *_p_wxPrinterTo_p_wxObject(void *x) {
12784 return (void *)((wxObject *) ((wxPrinter *) x));
12785}
12786static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12787 return (void *)((wxObject *) ((wxMenuItem *) x));
f05326ba
RD
12788}
12789static void *_p_wxDateEventTo_p_wxObject(void *x) {
12790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12791}
0ef86618
RD
12792static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
f05326ba 12794}
0ef86618
RD
12795static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
f05326ba 12797}
0ef86618
RD
12798static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
f05326ba 12800}
0ef86618
RD
12801static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
f05326ba 12803}
0ef86618
RD
12804static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
f05326ba 12806}
0ef86618
RD
12807static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
f05326ba 12809}
0ef86618
RD
12810static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
f05326ba 12812}
0ef86618
RD
12813static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
f05326ba 12815}
0ef86618
RD
12816static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
f05326ba 12818}
0ef86618
RD
12819static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
f05326ba 12821}
0ef86618
RD
12822static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
f05326ba 12824}
0ef86618
RD
12825static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
f05326ba 12827}
0ef86618
RD
12828static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
f05326ba 12830}
0ef86618
RD
12831static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
f05326ba 12833}
0ef86618
RD
12834static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
f05326ba 12836}
0ef86618
RD
12837static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
f05326ba 12839}
0ef86618
RD
12840static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
f05326ba 12842}
0ef86618
RD
12843static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
f05326ba 12845}
0ef86618
RD
12846static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) ((wxImageHandler *) x));
f05326ba
RD
12848}
12849static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12851}
0ef86618
RD
12852static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
f05326ba 12854}
0ef86618
RD
12855static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) ((wxEvtHandler *) x));
f05326ba 12857}
0f83f5da
RD
12858static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12860}
0ef86618
RD
12861static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
f05326ba 12863}
0ef86618
RD
12864static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
f05326ba 12866}
0ef86618
RD
12867static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
f05326ba 12869}
0ef86618
RD
12870static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
f05326ba 12872}
0ef86618
RD
12873static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
f05326ba 12875}
0ef86618
RD
12876static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
f05326ba 12878}
0ef86618
RD
12879static void *_p_wxImageTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) ((wxImage *) x));
f05326ba 12881}
0ef86618
RD
12882static void *_p_wxFrameTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
f05326ba 12884}
0ef86618
RD
12885static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) ((wxPyPrintout *) x));
f05326ba 12887}
0ef86618
RD
12888static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
f05326ba 12890}
0ef86618
RD
12891static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
f05326ba 12893}
0ef86618
RD
12894static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
f05326ba 12896}
0ef86618
RD
12897static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
f05326ba 12899}
0ef86618
RD
12900static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
f05326ba 12902}
0ef86618
RD
12903static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
f05326ba 12905}
0ef86618
RD
12906static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
f05326ba 12908}
0ef86618
RD
12909static void *_p_wxWindowTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
f05326ba 12911}
0ef86618
RD
12912static void *_p_wxMenuTo_p_wxObject(void *x) {
12913 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
f05326ba 12914}
0ef86618
RD
12915static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
f05326ba 12917}
0ef86618
RD
12918static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
f05326ba
RD
12920}
12921static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12923}
0ef86618
RD
12924static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
f05326ba 12926}
0ef86618
RD
12927static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
f05326ba 12929}
0ef86618
RD
12930static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
f05326ba 12932}
0ef86618
RD
12933static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
f05326ba 12935}
0ef86618
RD
12936static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
f05326ba 12938}
0ef86618
RD
12939static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
f05326ba 12941}
0ef86618
RD
12942static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
f05326ba 12944}
0ef86618
RD
12945static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
f05326ba 12947}
0ef86618
RD
12948static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
f05326ba 12950}
0ef86618
RD
12951static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
f05326ba 12953}
0ef86618
RD
12954static void *_p_wxSashEventTo_p_wxObject(void *x) {
12955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
f05326ba 12956}
0ef86618
RD
12957static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12958 return (void *)((wxObject *) ((wxPrintPreview *) x));
f05326ba 12959}
0ef86618
RD
12960static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12961 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
f05326ba 12962}
0ef86618
RD
12963static void *_p_wxPanelTo_p_wxObject(void *x) {
12964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
f05326ba 12965}
0ef86618
RD
12966static void *_p_wxDialogTo_p_wxObject(void *x) {
12967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
f05326ba 12968}
0ef86618
RD
12969static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
f05326ba 12971}
0ef86618
RD
12972static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
f05326ba 12974}
0ef86618
RD
12975static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
f05326ba 12977}
0ef86618
RD
12978static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12979 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
f05326ba 12980}
0ef86618
RD
12981static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12982 return (void *)((wxObject *) ((wxPrintDialog *) x));
f05326ba 12983}
0ef86618
RD
12984static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12985 return (void *)((wxObject *) ((wxFileSystem *) x));
f05326ba 12986}
0ef86618
RD
12987static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12988 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
f05326ba 12989}
0ef86618
RD
12990static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12991 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
f05326ba 12992}
0ef86618
RD
12993static void *_p_wxPyAppTo_p_wxObject(void *x) {
12994 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
f05326ba 12995}
0ef86618
RD
12996static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12997 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
f05326ba 12998}
0ef86618
RD
12999static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13000 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
f05326ba 13001}
0ef86618
RD
13002static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13003 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
f05326ba 13004}
0ef86618
RD
13005static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13006 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
f05326ba
RD
13007}
13008static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13009 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13010}
0ef86618
RD
13011static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
f05326ba 13013}
0ef86618
RD
13014static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
f05326ba 13016}
0ef86618
RD
13017static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13018 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
f05326ba
RD
13019}
13020static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13021 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13022}
0ef86618
RD
13023static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13024 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
f05326ba 13025}
0ef86618
RD
13026static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
f05326ba 13028}
0ef86618
RD
13029static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13030 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13031}
13032static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13033 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13034}
13035static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13036 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13037}
13038static void *_p_wxValidatorTo_p_wxObject(void *x) {
13039 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
f05326ba
RD
13040}
13041static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13043}
13044static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13046}
13047static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
13048 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
13049}
13050static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13051 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13052}
13053static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13054 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13055}
13056static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13057 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13058}
13059static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13060 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13061}
13062static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13064}
13065static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13067}
13068static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13070}
13071static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13073}
13074static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13075 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13076}
27e45892
RD
13077static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13078 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13079}
f05326ba
RD
13080static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13081 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13082}
13083static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13084 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13085}
13086static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13087 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13088}
13089static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13090 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13091}
13092static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13094}
13095static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13096 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13097}
13098static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13099 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13100}
13101static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13102 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13103}
13104static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13106}
13107static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13108 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13109}
13110static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13112}
13113static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13115}
13116static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13118}
13119static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13120 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13121}
13122static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13123 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13124}
13125static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13127}
13128static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13130}
13131static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13132 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13133}
13134static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13135 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13136}
13137static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
13138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13139}
13140static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
13141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13142}
13143static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13145}
13146static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13147 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13148}
13149static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13150 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13151}
13152static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13154}
13155static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13157}
13158static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13160}
13161static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13163}
13164static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13166}
13167static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13168 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13169}
13170static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
13171 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
13172}
13173static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13175}
13176static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13178}
13179static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13180 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13181}
13182static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13183 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13184}
13185static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13187}
13188static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13190}
13191static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
13192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
13193}
13194static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13195 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13196}
13197static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13198 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13199}
13200static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13201 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13202}
13203static void *_p_wxRichTextEventTo_p_wxCommandEvent(void *x) {
13204 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxRichTextEvent *) x));
13205}
13206static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13207 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13208}
13209static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13210 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13211}
13212static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13213 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13214}
13215static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13216 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13217}
13218static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13219 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13220}
13221static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13222 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13223}
13224static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13225 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13226}
13227static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13228 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13229}
13230static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13231 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13232}
13233static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13234 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13235}
13236static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13237static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13238static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
13239static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
13240static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13241static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13242static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13243static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
13244static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13245static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
13246static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13247static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13248static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13249static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13250static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13251static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13252static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13253static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13254static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13255static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13256static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13257static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13258static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13259static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13260static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13261static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13262static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13263static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13264static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13265static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13266static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13267static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13268static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 13269static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
f05326ba
RD
13270static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13271static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13272static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13273static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13274static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13275static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13276static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13277static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13278static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13279static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13280static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13281static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13282static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13283static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13284static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13285static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13286static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13287static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13288static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13289static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13290static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13291static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13292static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13293static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13294static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13295static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13296static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13297static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
13298static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
27e45892
RD
13299static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13300static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
f05326ba
RD
13301static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13302static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
27e45892 13303static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
f05326ba
RD
13304static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13305static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13306static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13307static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
f05326ba 13308static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
f05326ba
RD
13309static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13310static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13311static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
13312static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13313static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13314static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13315static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13316static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
27e45892 13317static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
f05326ba
RD
13318static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13319static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13320static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13321static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13322static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
13323static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13324static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13325static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13326static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13327static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13328static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13329static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13330static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13331static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13332static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13333static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13334static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13335static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13336static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13337static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13338static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13339static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13340static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13341static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
13342static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
13343static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
f05326ba 13344static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0ef86618 13345static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 13346static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0ef86618 13347static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
f05326ba 13348static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
0ef86618
RD
13349static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13350static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
f05326ba 13351static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
0ef86618
RD
13352static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13353static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13354static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13355static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13356static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
f05326ba 13357static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
0ef86618
RD
13358static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13359static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13360static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13361static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13362static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
f05326ba
RD
13363static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13364static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13365static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13366static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13367static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13368static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13369static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 13370static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
0ef86618
RD
13371static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13372static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13373static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13374static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13375static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13376static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13377static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13378static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13379static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13380static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13381static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13382static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13383static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13384static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13385static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
f05326ba
RD
13386static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13387static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13388static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
13389static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
13390static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
13391static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
13392static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
13393static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
13394static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
13395static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13396static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
13397static swig_type_info _swigt__p_wxTextCtrlHitTestResult = {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
13398static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13399
13400static swig_type_info *swig_type_initial[] = {
13401 &_swigt__p_char,
13402 &_swigt__p_form_ops_t,
13403 &_swigt__p_int,
13404 &_swigt__p_long,
13405 &_swigt__p_unsigned_char,
13406 &_swigt__p_unsigned_int,
13407 &_swigt__p_unsigned_long,
13408 &_swigt__p_wxANIHandler,
13409 &_swigt__p_wxAcceleratorTable,
13410 &_swigt__p_wxActivateEvent,
13411 &_swigt__p_wxArrayInt,
13412 &_swigt__p_wxBMPHandler,
13413 &_swigt__p_wxBitmap,
13414 &_swigt__p_wxBoxSizer,
f05326ba
RD
13415 &_swigt__p_wxCURHandler,
13416 &_swigt__p_wxCalculateLayoutEvent,
13417 &_swigt__p_wxChar,
13418 &_swigt__p_wxChildFocusEvent,
f05326ba
RD
13419 &_swigt__p_wxClipboardTextEvent,
13420 &_swigt__p_wxCloseEvent,
13421 &_swigt__p_wxColour,
13422 &_swigt__p_wxColourData,
13423 &_swigt__p_wxColourDialog,
13424 &_swigt__p_wxCommandEvent,
13425 &_swigt__p_wxContextMenuEvent,
13426 &_swigt__p_wxControl,
13427 &_swigt__p_wxControlWithItems,
f05326ba
RD
13428 &_swigt__p_wxDateEvent,
13429 &_swigt__p_wxDialog,
13430 &_swigt__p_wxDirDialog,
13431 &_swigt__p_wxDisplayChangedEvent,
13432 &_swigt__p_wxDropFilesEvent,
13433 &_swigt__p_wxDuplexMode,
f05326ba
RD
13434 &_swigt__p_wxEraseEvent,
13435 &_swigt__p_wxEvent,
13436 &_swigt__p_wxEvtHandler,
13437 &_swigt__p_wxFSFile,
13438 &_swigt__p_wxFileDialog,
13439 &_swigt__p_wxFileSystem,
13440 &_swigt__p_wxFindDialogEvent,
13441 &_swigt__p_wxFindReplaceData,
13442 &_swigt__p_wxFindReplaceDialog,
13443 &_swigt__p_wxFlexGridSizer,
13444 &_swigt__p_wxFocusEvent,
13445 &_swigt__p_wxFont,
13446 &_swigt__p_wxFontData,
13447 &_swigt__p_wxFontDialog,
13448 &_swigt__p_wxFrame,
13449 &_swigt__p_wxGBSizerItem,
f05326ba
RD
13450 &_swigt__p_wxGIFHandler,
13451 &_swigt__p_wxGridBagSizer,
13452 &_swigt__p_wxGridSizer,
13453 &_swigt__p_wxICOHandler,
f05326ba
RD
13454 &_swigt__p_wxIconizeEvent,
13455 &_swigt__p_wxIdleEvent,
13456 &_swigt__p_wxImage,
13457 &_swigt__p_wxImageHandler,
f05326ba
RD
13458 &_swigt__p_wxIndividualLayoutConstraint,
13459 &_swigt__p_wxInitDialogEvent,
13460 &_swigt__p_wxJPEGHandler,
13461 &_swigt__p_wxKeyEvent,
13462 &_swigt__p_wxLayoutAlgorithm,
13463 &_swigt__p_wxLayoutConstraints,
13464 &_swigt__p_wxMDIChildFrame,
13465 &_swigt__p_wxMDIClientWindow,
13466 &_swigt__p_wxMDIParentFrame,
f05326ba 13467 &_swigt__p_wxMaximizeEvent,
f05326ba
RD
13468 &_swigt__p_wxMenu,
13469 &_swigt__p_wxMenuBar,
13470 &_swigt__p_wxMenuEvent,
13471 &_swigt__p_wxMenuItem,
13472 &_swigt__p_wxMessageDialog,
f05326ba 13473 &_swigt__p_wxMiniFrame,
f05326ba 13474 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 13475 &_swigt__p_wxMouseCaptureLostEvent,
f05326ba
RD
13476 &_swigt__p_wxMouseEvent,
13477 &_swigt__p_wxMoveEvent,
13478 &_swigt__p_wxMultiChoiceDialog,
13479 &_swigt__p_wxNavigationKeyEvent,
13480 &_swigt__p_wxNcPaintEvent,
13481 &_swigt__p_wxNotifyEvent,
27e45892 13482 &_swigt__p_wxNumberEntryDialog,
f05326ba
RD
13483 &_swigt__p_wxObject,
13484 &_swigt__p_wxPCXHandler,
13485 &_swigt__p_wxPNGHandler,
13486 &_swigt__p_wxPNMHandler,
13487 &_swigt__p_wxPageSetupDialog,
13488 &_swigt__p_wxPageSetupDialogData,
f05326ba 13489 &_swigt__p_wxPaintEvent,
f05326ba
RD
13490 &_swigt__p_wxPaletteChangedEvent,
13491 &_swigt__p_wxPanel,
13492 &_swigt__p_wxPaperSize,
13493 &_swigt__p_wxPasswordEntryDialog,
f05326ba 13494 &_swigt__p_wxPopupWindow,
f05326ba
RD
13495 &_swigt__p_wxPreviewCanvas,
13496 &_swigt__p_wxPreviewControlBar,
13497 &_swigt__p_wxPreviewFrame,
13498 &_swigt__p_wxPrintData,
13499 &_swigt__p_wxPrintDialog,
13500 &_swigt__p_wxPrintDialogData,
13501 &_swigt__p_wxPrintPreview,
13502 &_swigt__p_wxPrinter,
f05326ba
RD
13503 &_swigt__p_wxProgressDialog,
13504 &_swigt__p_wxPyApp,
13505 &_swigt__p_wxPyCommandEvent,
13506 &_swigt__p_wxPyEvent,
13507 &_swigt__p_wxPyHtmlListBox,
13508 &_swigt__p_wxPyImageHandler,
13509 &_swigt__p_wxPyPanel,
13510 &_swigt__p_wxPyPopupTransientWindow,
13511 &_swigt__p_wxPyPreviewControlBar,
13512 &_swigt__p_wxPyPreviewFrame,
13513 &_swigt__p_wxPyPrintPreview,
13514 &_swigt__p_wxPyPrintout,
13515 &_swigt__p_wxPyScrolledWindow,
13516 &_swigt__p_wxPySizer,
13517 &_swigt__p_wxPyTaskBarIcon,
13518 &_swigt__p_wxPyVListBox,
13519 &_swigt__p_wxPyVScrolledWindow,
13520 &_swigt__p_wxPyValidator,
13521 &_swigt__p_wxPyWindow,
13522 &_swigt__p_wxQueryLayoutInfoEvent,
13523 &_swigt__p_wxQueryNewPaletteEvent,
f05326ba
RD
13524 &_swigt__p_wxRichTextAttr,
13525 &_swigt__p_wxRichTextBuffer,
13526 &_swigt__p_wxRichTextCtrl,
13527 &_swigt__p_wxRichTextEvent,
13528 &_swigt__p_wxRichTextImageBlock,
13529 &_swigt__p_wxRichTextRange,
13530 &_swigt__p_wxRichTextStyleSheet,
13531 &_swigt__p_wxSashEvent,
13532 &_swigt__p_wxSashLayoutWindow,
13533 &_swigt__p_wxSashWindow,
f05326ba
RD
13534 &_swigt__p_wxScrollEvent,
13535 &_swigt__p_wxScrollWinEvent,
13536 &_swigt__p_wxScrolledWindow,
13537 &_swigt__p_wxSetCursorEvent,
13538 &_swigt__p_wxShowEvent,
13539 &_swigt__p_wxSingleChoiceDialog,
13540 &_swigt__p_wxSizeEvent,
13541 &_swigt__p_wxSizer,
13542 &_swigt__p_wxSizerItem,
13543 &_swigt__p_wxSplashScreen,
13544 &_swigt__p_wxSplashScreenWindow,
13545 &_swigt__p_wxSplitterEvent,
13546 &_swigt__p_wxSplitterWindow,
13547 &_swigt__p_wxStaticBoxSizer,
13548 &_swigt__p_wxStatusBar,
13549 &_swigt__p_wxStdDialogButtonSizer,
13550 &_swigt__p_wxSysColourChangedEvent,
13551 &_swigt__p_wxTIFFHandler,
13552 &_swigt__p_wxTaskBarIconEvent,
13553 &_swigt__p_wxTextCoord,
13554 &_swigt__p_wxTextCtrlHitTestResult,
13555 &_swigt__p_wxTextEntryDialog,
13556 &_swigt__p_wxTipWindow,
13557 &_swigt__p_wxTopLevelWindow,
13558 &_swigt__p_wxUpdateUIEvent,
13559 &_swigt__p_wxValidator,
13560 &_swigt__p_wxWindow,
13561 &_swigt__p_wxWindowCreateEvent,
f05326ba
RD
13562 &_swigt__p_wxWindowDestroyEvent,
13563 &_swigt__p_wxXPMHandler,
13564};
13565
13566static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13567static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13568static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13569static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
13570static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13571static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13572static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13573static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
13574static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13575static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
13576static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13577static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13578static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13579static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13580static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13581static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13582static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13583static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13584static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13585static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13586static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13587static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13588static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13589static 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}};
13590static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13591static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13592static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13593static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13594static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13595static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13596static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13597static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 13598static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13599static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13600static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13601static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13602static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13603static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13604static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13605static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13606static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13607static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13608static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13609static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13610static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13611static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13612static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13613static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13614static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13615static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13616static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13617static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13618static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13619static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13620static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 13621static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13622static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13623static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13624static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13625static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13626static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
13627static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
27e45892
RD
13628static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13629static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13630static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13631static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13632static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13633static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13634static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13635static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13636static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13637static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13638static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13639static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13640static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13641static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13642static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13643static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13644static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13645static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13646static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13647static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13648static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13649static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13650static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13651static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
13652static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13653static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13654static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13655static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13656static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13657static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13658static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13659static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13660static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13661static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13662static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13663static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13664static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13665static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13666static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13667static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13668static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13669static 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
13670static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13671static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13672static 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 13673static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
0ef86618 13674static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 13675static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0ef86618 13676static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13677static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13678static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13679static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13680static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13681static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13682static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13683static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13684static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13685static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
f05326ba 13686static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13687static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13688static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13689static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13690static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13691static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
f05326ba
RD
13692static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13693static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13694static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13695static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13696static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13697static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13698static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13699static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
0ef86618
RD
13700static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13701static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13702static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13703static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13704static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13705static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13706static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13707static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13708static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13709static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13710static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13711static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13712static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13713static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13714static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 13715static 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_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_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
13716static 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}};
13717static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13718static swig_cast_info _swigc__p_wxRichTextAttr[] = { {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}};
13719static swig_cast_info _swigc__p_wxRichTextBuffer[] = { {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
13720static swig_cast_info _swigc__p_wxRichTextCtrl[] = { {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13721static swig_cast_info _swigc__p_wxRichTextEvent[] = { {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13722static swig_cast_info _swigc__p_wxRichTextImageBlock[] = { {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}};
13723static swig_cast_info _swigc__p_wxRichTextRange[] = { {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}};
13724static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = { {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}};
13725static 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}};
13726static swig_cast_info _swigc__p_wxTextCoord[] = { {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}};
13727static swig_cast_info _swigc__p_wxTextCtrlHitTestResult[] = { {&_swigt__p_wxTextCtrlHitTestResult, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13728static 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
13729
13730static swig_cast_info *swig_cast_initial[] = {
13731 _swigc__p_char,
13732 _swigc__p_form_ops_t,
13733 _swigc__p_int,
13734 _swigc__p_long,
13735 _swigc__p_unsigned_char,
13736 _swigc__p_unsigned_int,
13737 _swigc__p_unsigned_long,
13738 _swigc__p_wxANIHandler,
13739 _swigc__p_wxAcceleratorTable,
13740 _swigc__p_wxActivateEvent,
13741 _swigc__p_wxArrayInt,
13742 _swigc__p_wxBMPHandler,
13743 _swigc__p_wxBitmap,
13744 _swigc__p_wxBoxSizer,
f05326ba
RD
13745 _swigc__p_wxCURHandler,
13746 _swigc__p_wxCalculateLayoutEvent,
13747 _swigc__p_wxChar,
13748 _swigc__p_wxChildFocusEvent,
f05326ba
RD
13749 _swigc__p_wxClipboardTextEvent,
13750 _swigc__p_wxCloseEvent,
13751 _swigc__p_wxColour,
13752 _swigc__p_wxColourData,
13753 _swigc__p_wxColourDialog,
13754 _swigc__p_wxCommandEvent,
13755 _swigc__p_wxContextMenuEvent,
13756 _swigc__p_wxControl,
13757 _swigc__p_wxControlWithItems,
f05326ba
RD
13758 _swigc__p_wxDateEvent,
13759 _swigc__p_wxDialog,
13760 _swigc__p_wxDirDialog,
13761 _swigc__p_wxDisplayChangedEvent,
13762 _swigc__p_wxDropFilesEvent,
13763 _swigc__p_wxDuplexMode,
f05326ba
RD
13764 _swigc__p_wxEraseEvent,
13765 _swigc__p_wxEvent,
13766 _swigc__p_wxEvtHandler,
13767 _swigc__p_wxFSFile,
13768 _swigc__p_wxFileDialog,
13769 _swigc__p_wxFileSystem,
13770 _swigc__p_wxFindDialogEvent,
13771 _swigc__p_wxFindReplaceData,
13772 _swigc__p_wxFindReplaceDialog,
13773 _swigc__p_wxFlexGridSizer,
13774 _swigc__p_wxFocusEvent,
13775 _swigc__p_wxFont,
13776 _swigc__p_wxFontData,
13777 _swigc__p_wxFontDialog,
13778 _swigc__p_wxFrame,
13779 _swigc__p_wxGBSizerItem,
f05326ba
RD
13780 _swigc__p_wxGIFHandler,
13781 _swigc__p_wxGridBagSizer,
13782 _swigc__p_wxGridSizer,
13783 _swigc__p_wxICOHandler,
f05326ba
RD
13784 _swigc__p_wxIconizeEvent,
13785 _swigc__p_wxIdleEvent,
13786 _swigc__p_wxImage,
13787 _swigc__p_wxImageHandler,
f05326ba
RD
13788 _swigc__p_wxIndividualLayoutConstraint,
13789 _swigc__p_wxInitDialogEvent,
13790 _swigc__p_wxJPEGHandler,
13791 _swigc__p_wxKeyEvent,
13792 _swigc__p_wxLayoutAlgorithm,
13793 _swigc__p_wxLayoutConstraints,
13794 _swigc__p_wxMDIChildFrame,
13795 _swigc__p_wxMDIClientWindow,
13796 _swigc__p_wxMDIParentFrame,
f05326ba 13797 _swigc__p_wxMaximizeEvent,
f05326ba
RD
13798 _swigc__p_wxMenu,
13799 _swigc__p_wxMenuBar,
13800 _swigc__p_wxMenuEvent,
13801 _swigc__p_wxMenuItem,
13802 _swigc__p_wxMessageDialog,
f05326ba 13803 _swigc__p_wxMiniFrame,
f05326ba 13804 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 13805 _swigc__p_wxMouseCaptureLostEvent,
f05326ba
RD
13806 _swigc__p_wxMouseEvent,
13807 _swigc__p_wxMoveEvent,
13808 _swigc__p_wxMultiChoiceDialog,
13809 _swigc__p_wxNavigationKeyEvent,
13810 _swigc__p_wxNcPaintEvent,
13811 _swigc__p_wxNotifyEvent,
27e45892 13812 _swigc__p_wxNumberEntryDialog,
f05326ba
RD
13813 _swigc__p_wxObject,
13814 _swigc__p_wxPCXHandler,
13815 _swigc__p_wxPNGHandler,
13816 _swigc__p_wxPNMHandler,
13817 _swigc__p_wxPageSetupDialog,
13818 _swigc__p_wxPageSetupDialogData,
f05326ba 13819 _swigc__p_wxPaintEvent,
f05326ba
RD
13820 _swigc__p_wxPaletteChangedEvent,
13821 _swigc__p_wxPanel,
13822 _swigc__p_wxPaperSize,
13823 _swigc__p_wxPasswordEntryDialog,
f05326ba 13824 _swigc__p_wxPopupWindow,
f05326ba
RD
13825 _swigc__p_wxPreviewCanvas,
13826 _swigc__p_wxPreviewControlBar,
13827 _swigc__p_wxPreviewFrame,
13828 _swigc__p_wxPrintData,
13829 _swigc__p_wxPrintDialog,
13830 _swigc__p_wxPrintDialogData,
13831 _swigc__p_wxPrintPreview,
13832 _swigc__p_wxPrinter,
f05326ba
RD
13833 _swigc__p_wxProgressDialog,
13834 _swigc__p_wxPyApp,
13835 _swigc__p_wxPyCommandEvent,
13836 _swigc__p_wxPyEvent,
13837 _swigc__p_wxPyHtmlListBox,
13838 _swigc__p_wxPyImageHandler,
13839 _swigc__p_wxPyPanel,
13840 _swigc__p_wxPyPopupTransientWindow,
13841 _swigc__p_wxPyPreviewControlBar,
13842 _swigc__p_wxPyPreviewFrame,
13843 _swigc__p_wxPyPrintPreview,
13844 _swigc__p_wxPyPrintout,
13845 _swigc__p_wxPyScrolledWindow,
13846 _swigc__p_wxPySizer,
13847 _swigc__p_wxPyTaskBarIcon,
13848 _swigc__p_wxPyVListBox,
13849 _swigc__p_wxPyVScrolledWindow,
13850 _swigc__p_wxPyValidator,
13851 _swigc__p_wxPyWindow,
13852 _swigc__p_wxQueryLayoutInfoEvent,
13853 _swigc__p_wxQueryNewPaletteEvent,
f05326ba
RD
13854 _swigc__p_wxRichTextAttr,
13855 _swigc__p_wxRichTextBuffer,
13856 _swigc__p_wxRichTextCtrl,
13857 _swigc__p_wxRichTextEvent,
13858 _swigc__p_wxRichTextImageBlock,
13859 _swigc__p_wxRichTextRange,
13860 _swigc__p_wxRichTextStyleSheet,
13861 _swigc__p_wxSashEvent,
13862 _swigc__p_wxSashLayoutWindow,
13863 _swigc__p_wxSashWindow,
f05326ba
RD
13864 _swigc__p_wxScrollEvent,
13865 _swigc__p_wxScrollWinEvent,
13866 _swigc__p_wxScrolledWindow,
13867 _swigc__p_wxSetCursorEvent,
13868 _swigc__p_wxShowEvent,
13869 _swigc__p_wxSingleChoiceDialog,
13870 _swigc__p_wxSizeEvent,
13871 _swigc__p_wxSizer,
13872 _swigc__p_wxSizerItem,
13873 _swigc__p_wxSplashScreen,
13874 _swigc__p_wxSplashScreenWindow,
13875 _swigc__p_wxSplitterEvent,
13876 _swigc__p_wxSplitterWindow,
13877 _swigc__p_wxStaticBoxSizer,
13878 _swigc__p_wxStatusBar,
13879 _swigc__p_wxStdDialogButtonSizer,
13880 _swigc__p_wxSysColourChangedEvent,
13881 _swigc__p_wxTIFFHandler,
13882 _swigc__p_wxTaskBarIconEvent,
13883 _swigc__p_wxTextCoord,
13884 _swigc__p_wxTextCtrlHitTestResult,
13885 _swigc__p_wxTextEntryDialog,
13886 _swigc__p_wxTipWindow,
13887 _swigc__p_wxTopLevelWindow,
13888 _swigc__p_wxUpdateUIEvent,
13889 _swigc__p_wxValidator,
13890 _swigc__p_wxWindow,
13891 _swigc__p_wxWindowCreateEvent,
f05326ba
RD
13892 _swigc__p_wxWindowDestroyEvent,
13893 _swigc__p_wxXPMHandler,
13894};
13895
13896
13897/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13898
13899static swig_const_info swig_const_table[] = {
13900{0, 0, 0, 0.0, 0, 0}};
13901
13902#ifdef __cplusplus
13903}
13904#endif
13905/* -----------------------------------------------------------------------------
13906 * Type initialization:
13907 * This problem is tough by the requirement that no dynamic
13908 * memory is used. Also, since swig_type_info structures store pointers to
13909 * swig_cast_info structures and swig_cast_info structures store pointers back
13910 * to swig_type_info structures, we need some lookup code at initialization.
13911 * The idea is that swig generates all the structures that are needed.
13912 * The runtime then collects these partially filled structures.
13913 * The SWIG_InitializeModule function takes these initial arrays out of
13914 * swig_module, and does all the lookup, filling in the swig_module.types
13915 * array with the correct data and linking the correct swig_cast_info
13916 * structures together.
13917 *
13918 * The generated swig_type_info structures are assigned staticly to an initial
13919 * array. We just loop though that array, and handle each type individually.
13920 * First we lookup if this type has been already loaded, and if so, use the
13921 * loaded structure instead of the generated one. Then we have to fill in the
13922 * cast linked list. The cast data is initially stored in something like a
13923 * two-dimensional array. Each row corresponds to a type (there are the same
13924 * number of rows as there are in the swig_type_initial array). Each entry in
13925 * a column is one of the swig_cast_info structures for that type.
13926 * The cast_initial array is actually an array of arrays, because each row has
13927 * a variable number of columns. So to actually build the cast linked list,
13928 * we find the array of casts associated with the type, and loop through it
13929 * adding the casts to the list. The one last trick we need to do is making
13930 * sure the type pointer in the swig_cast_info struct is correct.
13931 *
13932 * First off, we lookup the cast->type name to see if it is already loaded.
13933 * There are three cases to handle:
13934 * 1) If the cast->type has already been loaded AND the type we are adding
13935 * casting info to has not been loaded (it is in this module), THEN we
13936 * replace the cast->type pointer with the type pointer that has already
13937 * been loaded.
13938 * 2) If BOTH types (the one we are adding casting info to, and the
13939 * cast->type) are loaded, THEN the cast info has already been loaded by
13940 * the previous module so we just ignore it.
13941 * 3) Finally, if cast->type has not already been loaded, then we add that
13942 * swig_cast_info to the linked list (because the cast->type) pointer will
13943 * be correct.
13944 * ----------------------------------------------------------------------------- */
13945
13946#ifdef __cplusplus
13947extern "C" {
13948#if 0
13949} /* c-mode */
13950#endif
13951#endif
13952
13953#if 0
13954#define SWIGRUNTIME_DEBUG
13955#endif
13956
13957SWIGRUNTIME void
13958SWIG_InitializeModule(void *clientdata) {
13959 size_t i;
13960 swig_module_info *module_head;
13961 static int init_run = 0;
13962
13963 clientdata = clientdata;
13964
13965 if (init_run) return;
13966 init_run = 1;
13967
13968 /* Initialize the swig_module */
13969 swig_module.type_initial = swig_type_initial;
13970 swig_module.cast_initial = swig_cast_initial;
13971
13972 /* Try and load any already created modules */
13973 module_head = SWIG_GetModule(clientdata);
13974 if (module_head) {
13975 swig_module.next = module_head->next;
13976 module_head->next = &swig_module;
13977 } else {
13978 /* This is the first module loaded */
13979 swig_module.next = &swig_module;
13980 SWIG_SetModule(clientdata, &swig_module);
13981 }
13982
13983 /* Now work on filling in swig_module.types */
13984#ifdef SWIGRUNTIME_DEBUG
13985 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13986#endif
13987 for (i = 0; i < swig_module.size; ++i) {
13988 swig_type_info *type = 0;
13989 swig_type_info *ret;
13990 swig_cast_info *cast;
13991
13992#ifdef SWIGRUNTIME_DEBUG
13993 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13994#endif
13995
13996 /* if there is another module already loaded */
13997 if (swig_module.next != &swig_module) {
13998 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13999 }
14000 if (type) {
14001 /* Overwrite clientdata field */
14002#ifdef SWIGRUNTIME_DEBUG
14003 printf("SWIG_InitializeModule: found type %s\n", type->name);
14004#endif
14005 if (swig_module.type_initial[i]->clientdata) {
14006 type->clientdata = swig_module.type_initial[i]->clientdata;
14007#ifdef SWIGRUNTIME_DEBUG
14008 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14009#endif
14010 }
14011 } else {
14012 type = swig_module.type_initial[i];
14013 }
14014
14015 /* Insert casting types */
14016 cast = swig_module.cast_initial[i];
14017 while (cast->type) {
14018 /* Don't need to add information already in the list */
14019 ret = 0;
14020#ifdef SWIGRUNTIME_DEBUG
14021 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14022#endif
14023 if (swig_module.next != &swig_module) {
14024 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14025#ifdef SWIGRUNTIME_DEBUG
14026 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14027#endif
14028 }
14029 if (ret) {
14030 if (type == swig_module.type_initial[i]) {
14031#ifdef SWIGRUNTIME_DEBUG
14032 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14033#endif
14034 cast->type = ret;
14035 ret = 0;
14036 } else {
14037 /* Check for casting already in the list */
14038 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14039#ifdef SWIGRUNTIME_DEBUG
14040 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14041#endif
14042 if (!ocast) ret = 0;
14043 }
14044 }
14045
14046 if (!ret) {
14047#ifdef SWIGRUNTIME_DEBUG
14048 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14049#endif
14050 if (type->cast) {
14051 type->cast->prev = cast;
14052 cast->next = type->cast;
14053 }
14054 type->cast = cast;
14055 }
14056 cast++;
14057 }
14058 /* Set entry in modules->types array equal to the type */
14059 swig_module.types[i] = type;
14060 }
14061 swig_module.types[i] = 0;
14062
14063#ifdef SWIGRUNTIME_DEBUG
14064 printf("**** SWIG_InitializeModule: Cast List ******\n");
14065 for (i = 0; i < swig_module.size; ++i) {
14066 int j = 0;
14067 swig_cast_info *cast = swig_module.cast_initial[i];
14068 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14069 while (cast->type) {
14070 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14071 cast++;
14072 ++j;
14073 }
14074 printf("---- Total casts: %d\n",j);
14075 }
14076 printf("**** SWIG_InitializeModule: Cast List ******\n");
14077#endif
14078}
14079
14080/* This function will propagate the clientdata field of type to
14081* any new swig_type_info structures that have been added into the list
14082* of equivalent types. It is like calling
14083* SWIG_TypeClientData(type, clientdata) a second time.
14084*/
14085SWIGRUNTIME void
14086SWIG_PropagateClientData(void) {
14087 size_t i;
14088 swig_cast_info *equiv;
14089 static int init_run = 0;
14090
14091 if (init_run) return;
14092 init_run = 1;
14093
14094 for (i = 0; i < swig_module.size; i++) {
14095 if (swig_module.types[i]->clientdata) {
14096 equiv = swig_module.types[i]->cast;
14097 while (equiv) {
14098 if (!equiv->converter) {
14099 if (equiv->type && !equiv->type->clientdata)
14100 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14101 }
14102 equiv = equiv->next;
14103 }
14104 }
14105 }
14106}
14107
14108#ifdef __cplusplus
14109#if 0
14110{
14111 /* c-mode */
14112#endif
14113}
14114#endif
14115
14116
14117
14118#ifdef __cplusplus
14119extern "C" {
14120#endif
14121
14122 /* Python-specific SWIG API */
14123#define SWIG_newvarlink() SWIG_Python_newvarlink()
14124#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14125#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14126
14127 /* -----------------------------------------------------------------------------
14128 * global variable support code.
14129 * ----------------------------------------------------------------------------- */
14130
14131 typedef struct swig_globalvar {
14132 char *name; /* Name of global variable */
14133 PyObject *(*get_attr)(void); /* Return the current value */
14134 int (*set_attr)(PyObject *); /* Set the value */
14135 struct swig_globalvar *next;
14136 } swig_globalvar;
14137
14138 typedef struct swig_varlinkobject {
14139 PyObject_HEAD
14140 swig_globalvar *vars;
14141 } swig_varlinkobject;
14142
14143 SWIGINTERN PyObject *
14144 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14145 return PyString_FromString("<Swig global variables>");
14146 }
14147
14148 SWIGINTERN PyObject *
14149 swig_varlink_str(swig_varlinkobject *v) {
14150 PyObject *str = PyString_FromString("(");
14151 swig_globalvar *var;
14152 for (var = v->vars; var; var=var->next) {
14153 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14154 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14155 }
14156 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14157 return str;
14158 }
14159
14160 SWIGINTERN int
14161 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14162 PyObject *str = swig_varlink_str(v);
14163 fprintf(fp,"Swig global variables ");
14164 fprintf(fp,"%s\n", PyString_AsString(str));
14165 Py_DECREF(str);
14166 return 0;
14167 }
14168
14169 SWIGINTERN void
14170 swig_varlink_dealloc(swig_varlinkobject *v) {
14171 swig_globalvar *var = v->vars;
14172 while (var) {
14173 swig_globalvar *n = var->next;
14174 free(var->name);
14175 free(var);
14176 var = n;
14177 }
14178 }
14179
14180 SWIGINTERN PyObject *
14181 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14182 PyObject *res = NULL;
14183 swig_globalvar *var = v->vars;
14184 while (var) {
14185 if (strcmp(var->name,n) == 0) {
14186 res = (*var->get_attr)();
14187 break;
14188 }
14189 var = var->next;
14190 }
14191 if (res == NULL && !PyErr_Occurred()) {
14192 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14193 }
14194 return res;
14195 }
14196
14197 SWIGINTERN int
14198 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14199 int res = 1;
14200 swig_globalvar *var = v->vars;
14201 while (var) {
14202 if (strcmp(var->name,n) == 0) {
14203 res = (*var->set_attr)(p);
14204 break;
14205 }
14206 var = var->next;
14207 }
14208 if (res == 1 && !PyErr_Occurred()) {
14209 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14210 }
14211 return res;
14212 }
14213
14214 SWIGINTERN PyTypeObject*
14215 swig_varlink_type(void) {
14216 static char varlink__doc__[] = "Swig var link object";
14217 static PyTypeObject varlink_type;
14218 static int type_init = 0;
14219 if (!type_init) {
14220 const PyTypeObject tmp
14221 = {
14222 PyObject_HEAD_INIT(NULL)
14223 0, /* Number of items in variable part (ob_size) */
14224 (char *)"swigvarlink", /* Type name (tp_name) */
14225 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14226 0, /* Itemsize (tp_itemsize) */
14227 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14228 (printfunc) swig_varlink_print, /* Print (tp_print) */
14229 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14230 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14231 0, /* tp_compare */
14232 (reprfunc) swig_varlink_repr, /* tp_repr */
14233 0, /* tp_as_number */
14234 0, /* tp_as_sequence */
14235 0, /* tp_as_mapping */
14236 0, /* tp_hash */
14237 0, /* tp_call */
14238 (reprfunc)swig_varlink_str, /* tp_str */
14239 0, /* tp_getattro */
14240 0, /* tp_setattro */
14241 0, /* tp_as_buffer */
14242 0, /* tp_flags */
14243 varlink__doc__, /* tp_doc */
14244 0, /* tp_traverse */
14245 0, /* tp_clear */
14246 0, /* tp_richcompare */
14247 0, /* tp_weaklistoffset */
14248#if PY_VERSION_HEX >= 0x02020000
14249 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14250#endif
14251#if PY_VERSION_HEX >= 0x02030000
14252 0, /* tp_del */
14253#endif
14254#ifdef COUNT_ALLOCS
14255 0,0,0,0 /* tp_alloc -> tp_next */
14256#endif
14257 };
14258 varlink_type = tmp;
14259 varlink_type.ob_type = &PyType_Type;
14260 type_init = 1;
14261 }
14262 return &varlink_type;
14263 }
14264
14265 /* Create a variable linking object for use later */
14266 SWIGINTERN PyObject *
14267 SWIG_Python_newvarlink(void) {
14268 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14269 if (result) {
14270 result->vars = 0;
14271 }
14272 return ((PyObject*) result);
14273 }
14274
14275 SWIGINTERN void
14276 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14277 swig_varlinkobject *v = (swig_varlinkobject *) p;
14278 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14279 if (gv) {
14280 size_t size = strlen(name)+1;
14281 gv->name = (char *)malloc(size);
14282 if (gv->name) {
14283 strncpy(gv->name,name,size);
14284 gv->get_attr = get_attr;
14285 gv->set_attr = set_attr;
14286 gv->next = v->vars;
14287 }
14288 }
14289 v->vars = gv;
14290 }
14291
14292 SWIGINTERN PyObject *
14293 SWIG_globals() {
14294 static PyObject *_SWIG_globals = 0;
14295 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14296 return _SWIG_globals;
14297 }
14298
14299 /* -----------------------------------------------------------------------------
14300 * constants/methods manipulation
14301 * ----------------------------------------------------------------------------- */
14302
14303 /* Install Constants */
14304 SWIGINTERN void
14305 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14306 PyObject *obj = 0;
14307 size_t i;
14308 for (i = 0; constants[i].type; ++i) {
14309 switch(constants[i].type) {
14310 case SWIG_PY_POINTER:
14311 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14312 break;
14313 case SWIG_PY_BINARY:
14314 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14315 break;
14316 default:
14317 obj = 0;
14318 break;
14319 }
14320 if (obj) {
14321 PyDict_SetItemString(d, constants[i].name, obj);
14322 Py_DECREF(obj);
14323 }
14324 }
14325 }
14326
14327 /* -----------------------------------------------------------------------------*/
14328 /* Fix SwigMethods to carry the callback ptrs when needed */
14329 /* -----------------------------------------------------------------------------*/
14330
14331 SWIGINTERN void
14332 SWIG_Python_FixMethods(PyMethodDef *methods,
14333 swig_const_info *const_table,
14334 swig_type_info **types,
14335 swig_type_info **types_initial) {
14336 size_t i;
14337 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 14338 const char *c = methods[i].ml_doc;
f05326ba
RD
14339 if (c && (c = strstr(c, "swig_ptr: "))) {
14340 int j;
14341 swig_const_info *ci = 0;
453fb36b 14342 const char *name = c + 10;
f05326ba
RD
14343 for (j = 0; const_table[j].type; ++j) {
14344 if (strncmp(const_table[j].name, name,
14345 strlen(const_table[j].name)) == 0) {
14346 ci = &(const_table[j]);
14347 break;
14348 }
14349 }
14350 if (ci) {
14351 size_t shift = (ci->ptype) - types;
14352 swig_type_info *ty = types_initial[shift];
14353 size_t ldoc = (c - methods[i].ml_doc);
14354 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14355 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14356 if (ndoc) {
14357 char *buff = ndoc;
14358 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14359 if (ptr) {
14360 strncpy(buff, methods[i].ml_doc, ldoc);
14361 buff += ldoc;
14362 strncpy(buff, "swig_ptr: ", 10);
14363 buff += 10;
14364 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14365 methods[i].ml_doc = ndoc;
14366 }
14367 }
14368 }
14369 }
14370 }
14371 }
14372
14373#ifdef __cplusplus
14374}
14375#endif
14376
14377/* -----------------------------------------------------------------------------*
14378 * Partial Init method
14379 * -----------------------------------------------------------------------------*/
14380
14381#ifdef __cplusplus
14382extern "C"
14383#endif
14384SWIGEXPORT void SWIG_init(void) {
14385 PyObject *m, *d;
14386
14387 /* Fix SwigMethods to carry the callback ptrs when needed */
14388 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14389
14390 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14391 d = PyModule_GetDict(m);
14392
14393 SWIG_InitializeModule(0);
14394 SWIG_InstallConstants(d,swig_const_table);
14395
14396
14397 SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
14398 SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
14399 SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
14400 SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
14401 SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
14402 SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
14403 SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
14404 SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
14405 SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
14406 SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
14407 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY)));
14408 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT)));
14409 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML)));
14410 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_HTML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_HTML)));
14411 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_RTF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_RTF)));
14412 SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_PDF",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_PDF)));
14413 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_WIDTH)));
14414 SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT)));
14415 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH)));
14416 SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT)));
14417 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE)));
14418 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE)));
14419 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER)));
14420 SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON)));
14421 SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED)));
14422 SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED)));
b39fe951
RD
14423 SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE)));
14424 SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_WITH_UNDO",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_WITH_UNDO)));
14425 SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE)));
14426 SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY)));
14427 SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY)));
c2829a8f
RD
14428 SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE)));
14429 SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE)));
f05326ba
RD
14430 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
14431 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
14432 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
14433 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
14434 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
14435 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
14436 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
14437 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
14438 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
14439 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
14440 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
14441 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
14442 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_AFTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_AFTER)));
14443 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARA_SPACING_BEFORE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARA_SPACING_BEFORE)));
14444 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING)));
14445 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER_STYLE_NAME)));
14446 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME)));
14447 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE)));
14448 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER)));
f05326ba
RD
14449 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE)));
14450 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC)));
14451 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER)));
14452 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER)));
14453 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER)));
14454 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ROMAN_LOWER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER)));
14455 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_SYMBOL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_SYMBOL)));
14456 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP)));
14457 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES)));
14458 SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD)));
14459 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL)));
14460 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF)));
14461 SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE)));
14462 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
14463 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
14464 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
14465 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
14466 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
14467 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
14468 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14469 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set);
14470 SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set);
14471 SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
14472 SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
14473 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
14474 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED));
14475 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED));
14476 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK));
14477 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK));
14478 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK));
14479 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK));
14480 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN));
70d7cb34
RD
14481 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING));
14482 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED));
14483 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING));
14484 PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED));
f05326ba 14485
73703a80 14486 wxRichTextModuleInit();
f05326ba
RD
14487
14488}
14489