]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/stc/mac/stc_wrap.cpp
Another package name fix
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
... / ...
CommitLineData
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
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
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 */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
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_unsigned_char swig_types[3]
2470#define SWIGTYPE_p_unsigned_int swig_types[4]
2471#define SWIGTYPE_p_unsigned_long swig_types[5]
2472#define SWIGTYPE_p_void 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_wxBMPHandler swig_types[10]
2477#define SWIGTYPE_p_wxBitmap swig_types[11]
2478#define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479#define SWIGTYPE_p_wxBusyInfo swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482#define SWIGTYPE_p_wxClipboard swig_types[16]
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxCommandEvent swig_types[20]
2487#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2488#define SWIGTYPE_p_wxControl swig_types[22]
2489#define SWIGTYPE_p_wxControlWithItems swig_types[23]
2490#define SWIGTYPE_p_wxDC swig_types[24]
2491#define SWIGTYPE_p_wxDateEvent swig_types[25]
2492#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
2493#define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
2494#define SWIGTYPE_p_wxDuplexMode swig_types[28]
2495#define SWIGTYPE_p_wxEraseEvent swig_types[29]
2496#define SWIGTYPE_p_wxEvent swig_types[30]
2497#define SWIGTYPE_p_wxEvtHandler swig_types[31]
2498#define SWIGTYPE_p_wxFSFile swig_types[32]
2499#define SWIGTYPE_p_wxFileHistory swig_types[33]
2500#define SWIGTYPE_p_wxFileSystem swig_types[34]
2501#define SWIGTYPE_p_wxFlexGridSizer swig_types[35]
2502#define SWIGTYPE_p_wxFocusEvent swig_types[36]
2503#define SWIGTYPE_p_wxFont swig_types[37]
2504#define SWIGTYPE_p_wxGBSizerItem swig_types[38]
2505#define SWIGTYPE_p_wxGIFHandler swig_types[39]
2506#define SWIGTYPE_p_wxGridBagSizer swig_types[40]
2507#define SWIGTYPE_p_wxGridSizer swig_types[41]
2508#define SWIGTYPE_p_wxICOHandler swig_types[42]
2509#define SWIGTYPE_p_wxIconizeEvent swig_types[43]
2510#define SWIGTYPE_p_wxIdleEvent swig_types[44]
2511#define SWIGTYPE_p_wxImage swig_types[45]
2512#define SWIGTYPE_p_wxImageHandler swig_types[46]
2513#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47]
2514#define SWIGTYPE_p_wxInitDialogEvent swig_types[48]
2515#define SWIGTYPE_p_wxJPEGHandler swig_types[49]
2516#define SWIGTYPE_p_wxJoystickEvent swig_types[50]
2517#define SWIGTYPE_p_wxKeyEvent swig_types[51]
2518#define SWIGTYPE_p_wxLayoutConstraints swig_types[52]
2519#define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
2520#define SWIGTYPE_p_wxMemoryBuffer swig_types[54]
2521#define SWIGTYPE_p_wxMenu swig_types[55]
2522#define SWIGTYPE_p_wxMenuBar swig_types[56]
2523#define SWIGTYPE_p_wxMenuEvent swig_types[57]
2524#define SWIGTYPE_p_wxMenuItem swig_types[58]
2525#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[59]
2526#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[60]
2527#define SWIGTYPE_p_wxMouseEvent swig_types[61]
2528#define SWIGTYPE_p_wxMoveEvent swig_types[62]
2529#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxNcPaintEvent swig_types[64]
2531#define SWIGTYPE_p_wxNotifyEvent swig_types[65]
2532#define SWIGTYPE_p_wxObject swig_types[66]
2533#define SWIGTYPE_p_wxPCXHandler swig_types[67]
2534#define SWIGTYPE_p_wxPNGHandler swig_types[68]
2535#define SWIGTYPE_p_wxPNMHandler swig_types[69]
2536#define SWIGTYPE_p_wxPaintEvent swig_types[70]
2537#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[71]
2538#define SWIGTYPE_p_wxPaperSize swig_types[72]
2539#define SWIGTYPE_p_wxPoint swig_types[73]
2540#define SWIGTYPE_p_wxPowerEvent swig_types[74]
2541#define SWIGTYPE_p_wxProcessEvent swig_types[75]
2542#define SWIGTYPE_p_wxPyApp swig_types[76]
2543#define SWIGTYPE_p_wxPyCommandEvent swig_types[77]
2544#define SWIGTYPE_p_wxPyEvent swig_types[78]
2545#define SWIGTYPE_p_wxPyImageHandler swig_types[79]
2546#define SWIGTYPE_p_wxPyProcess swig_types[80]
2547#define SWIGTYPE_p_wxPySizer swig_types[81]
2548#define SWIGTYPE_p_wxPyTimer swig_types[82]
2549#define SWIGTYPE_p_wxPyValidator swig_types[83]
2550#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[84]
2551#define SWIGTYPE_p_wxRect swig_types[85]
2552#define SWIGTYPE_p_wxScrollBar swig_types[86]
2553#define SWIGTYPE_p_wxScrollEvent swig_types[87]
2554#define SWIGTYPE_p_wxScrollWinEvent swig_types[88]
2555#define SWIGTYPE_p_wxSetCursorEvent swig_types[89]
2556#define SWIGTYPE_p_wxShowEvent swig_types[90]
2557#define SWIGTYPE_p_wxSizeEvent swig_types[91]
2558#define SWIGTYPE_p_wxSizer swig_types[92]
2559#define SWIGTYPE_p_wxSizerItem swig_types[93]
2560#define SWIGTYPE_p_wxStaticBoxSizer swig_types[94]
2561#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[95]
2562#define SWIGTYPE_p_wxStyledTextCtrl swig_types[96]
2563#define SWIGTYPE_p_wxStyledTextEvent swig_types[97]
2564#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[98]
2565#define SWIGTYPE_p_wxSystemOptions swig_types[99]
2566#define SWIGTYPE_p_wxTGAHandler swig_types[100]
2567#define SWIGTYPE_p_wxTIFFHandler swig_types[101]
2568#define SWIGTYPE_p_wxTimerEvent swig_types[102]
2569#define SWIGTYPE_p_wxToolTip swig_types[103]
2570#define SWIGTYPE_p_wxUpdateUIEvent swig_types[104]
2571#define SWIGTYPE_p_wxValidator swig_types[105]
2572#define SWIGTYPE_p_wxWindow swig_types[106]
2573#define SWIGTYPE_p_wxWindowCreateEvent swig_types[107]
2574#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[108]
2575#define SWIGTYPE_p_wxXPMHandler swig_types[109]
2576static swig_type_info *swig_types[111];
2577static swig_module_info swig_module = {swig_types, 110, 0, 0, 0, 0};
2578#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2579#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2580
2581/* -------- TYPES TABLE (END) -------- */
2582
2583#if (PY_VERSION_HEX <= 0x02000000)
2584# if !defined(SWIG_PYTHON_CLASSIC)
2585# error "This python version requires to use swig with the '-classic' option"
2586# endif
2587#endif
2588#if (PY_VERSION_HEX <= 0x02020000)
2589# error "This python version requires to use swig with the '-nomodern' option"
2590#endif
2591#if (PY_VERSION_HEX <= 0x02020000)
2592# error "This python version requires to use swig with the '-nomodernargs' option"
2593#endif
2594#ifndef METH_O
2595# error "This python version requires to use swig with the '-nofastunpack' option"
2596#endif
2597
2598/*-----------------------------------------------
2599 @(target):= _stc.so
2600 ------------------------------------------------*/
2601#define SWIG_init init_stc
2602
2603#define SWIG_name "_stc"
2604
2605#define SWIGVERSION 0x010329
2606
2607
2608#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2609#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2610
2611
2612#include <stdexcept>
2613
2614
2615namespace swig {
2616 class PyObject_ptr {
2617 protected:
2618 PyObject *_obj;
2619
2620 public:
2621 PyObject_ptr() :_obj(0)
2622 {
2623 }
2624
2625 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2626 {
2627 Py_XINCREF(_obj);
2628 }
2629
2630 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2631 {
2632 if (initial_ref) Py_XINCREF(_obj);
2633 }
2634
2635 PyObject_ptr & operator=(const PyObject_ptr& item)
2636 {
2637 Py_XINCREF(item._obj);
2638 Py_XDECREF(_obj);
2639 _obj = item._obj;
2640 return *this;
2641 }
2642
2643 ~PyObject_ptr()
2644 {
2645 Py_XDECREF(_obj);
2646 }
2647
2648 operator PyObject *() const
2649 {
2650 return _obj;
2651 }
2652
2653 PyObject *operator->() const
2654 {
2655 return _obj;
2656 }
2657 };
2658}
2659
2660
2661namespace swig {
2662 struct PyObject_var : PyObject_ptr {
2663 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2664
2665 PyObject_var & operator = (PyObject* obj)
2666 {
2667 Py_XDECREF(_obj);
2668 _obj = obj;
2669 return *this;
2670 }
2671 };
2672}
2673
2674
2675#include "wx/wxPython/wxPython.h"
2676#include "wx/wxPython/pyclasses.h"
2677#include <wx/stc/stc.h>
2678
2679
2680 static const wxString wxPySTCNameStr(wxSTCNameStr);
2681
2682 #define SWIG_From_long PyInt_FromLong
2683
2684
2685SWIGINTERNINLINE PyObject *
2686SWIG_From_int (int value)
2687{
2688 return SWIG_From_long (value);
2689}
2690
2691
2692#include <limits.h>
2693#ifndef LLONG_MIN
2694# define LLONG_MIN LONG_LONG_MIN
2695#endif
2696#ifndef LLONG_MAX
2697# define LLONG_MAX LONG_LONG_MAX
2698#endif
2699#ifndef ULLONG_MAX
2700# define ULLONG_MAX ULONG_LONG_MAX
2701#endif
2702
2703
2704SWIGINTERN int
2705SWIG_AsVal_long (PyObject* obj, long* val)
2706{
2707 if (PyNumber_Check(obj)) {
2708 if (val) *val = PyInt_AsLong(obj);
2709 return SWIG_OK;
2710 }
2711 return SWIG_TypeError;
2712}
2713
2714
2715SWIGINTERN int
2716SWIG_AsVal_int (PyObject * obj, int *val)
2717{
2718 long v;
2719 int res = SWIG_AsVal_long (obj, &v);
2720 if (SWIG_IsOK(res)) {
2721 if ((v < INT_MIN || v > INT_MAX)) {
2722 return SWIG_OverflowError;
2723 } else {
2724 if (val) *val = static_cast< int >(v);
2725 }
2726 }
2727 return res;
2728}
2729
2730
2731SWIGINTERN int
2732SWIG_AsVal_bool (PyObject *obj, bool *val)
2733{
2734 if (obj == Py_True) {
2735 if (val) *val = true;
2736 return SWIG_OK;
2737 } else if (obj == Py_False) {
2738 if (val) *val = false;
2739 return SWIG_OK;
2740 } else {
2741 long v = 0;
2742 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2743 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2744 return res;
2745 }
2746}
2747
2748
2749SWIGINTERN swig_type_info*
2750SWIG_pchar_descriptor()
2751{
2752 static int init = 0;
2753 static swig_type_info* info = 0;
2754 if (!init) {
2755 info = SWIG_TypeQuery("_p_char");
2756 init = 1;
2757 }
2758 return info;
2759}
2760
2761
2762SWIGINTERN int
2763SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2764{
2765 if (PyString_Check(obj)) {
2766 char *cstr; Py_ssize_t len;
2767 PyString_AsStringAndSize(obj, &cstr, &len);
2768 if (cptr) {
2769 if (alloc) {
2770 /*
2771 In python the user should not be able to modify the inner
2772 string representation. To warranty that, if you define
2773 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2774 buffer is always returned.
2775
2776 The default behavior is just to return the pointer value,
2777 so, be careful.
2778 */
2779#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2780 if (*alloc != SWIG_OLDOBJ)
2781#else
2782 if (*alloc == SWIG_NEWOBJ)
2783#endif
2784 {
2785 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2786 *alloc = SWIG_NEWOBJ;
2787 }
2788 else {
2789 *cptr = cstr;
2790 *alloc = SWIG_OLDOBJ;
2791 }
2792 } else {
2793 *cptr = PyString_AsString(obj);
2794 }
2795 }
2796 if (psize) *psize = len + 1;
2797 return SWIG_OK;
2798 } else {
2799 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2800 if (pchar_descriptor) {
2801 void* vptr = 0;
2802 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2803 if (cptr) *cptr = (char *) vptr;
2804 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2805 if (alloc) *alloc = SWIG_OLDOBJ;
2806 return SWIG_OK;
2807 }
2808 }
2809 }
2810 return SWIG_TypeError;
2811}
2812
2813
2814
2815
2816#ifdef __cplusplus
2817extern "C" {
2818#endif
2819SWIGINTERN int STCNameStr_set(PyObject *) {
2820 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2821 return 1;
2822}
2823
2824
2825SWIGINTERN PyObject *STCNameStr_get(void) {
2826 PyObject *pyobj = 0;
2827
2828 {
2829#if wxUSE_UNICODE
2830 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2831#else
2832 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2833#endif
2834 }
2835 return pyobj;
2836}
2837
2838
2839SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj = 0;
2841 wxWindow *arg1 = (wxWindow *) 0 ;
2842 int arg2 = (int) wxID_ANY ;
2843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2845 wxSize const &arg4_defvalue = wxDefaultSize ;
2846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2847 long arg5 = (long) 0 ;
2848 wxString const &arg6_defvalue = wxPySTCNameStr ;
2849 wxString *arg6 = (wxString *) &arg6_defvalue ;
2850 wxStyledTextCtrl *result = 0 ;
2851 void *argp1 = 0 ;
2852 int res1 = 0 ;
2853 int val2 ;
2854 int ecode2 = 0 ;
2855 wxPoint temp3 ;
2856 wxSize temp4 ;
2857 long val5 ;
2858 int ecode5 = 0 ;
2859 bool temp6 = false ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 PyObject * obj4 = 0 ;
2865 PyObject * obj5 = 0 ;
2866 char * kwnames[] = {
2867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2868 };
2869
2870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2872 if (!SWIG_IsOK(res1)) {
2873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2874 }
2875 arg1 = reinterpret_cast< wxWindow * >(argp1);
2876 if (obj1) {
2877 ecode2 = SWIG_AsVal_int(obj1, &val2);
2878 if (!SWIG_IsOK(ecode2)) {
2879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2880 }
2881 arg2 = static_cast< int >(val2);
2882 }
2883 if (obj2) {
2884 {
2885 arg3 = &temp3;
2886 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2887 }
2888 }
2889 if (obj3) {
2890 {
2891 arg4 = &temp4;
2892 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2893 }
2894 }
2895 if (obj4) {
2896 ecode5 = SWIG_AsVal_long(obj4, &val5);
2897 if (!SWIG_IsOK(ecode5)) {
2898 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2899 }
2900 arg5 = static_cast< long >(val5);
2901 }
2902 if (obj5) {
2903 {
2904 arg6 = wxString_in_helper(obj5);
2905 if (arg6 == NULL) SWIG_fail;
2906 temp6 = true;
2907 }
2908 }
2909 {
2910 if (!wxPyCheckForApp()) SWIG_fail;
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2917 {
2918 if (temp6)
2919 delete arg6;
2920 }
2921 return resultobj;
2922fail:
2923 {
2924 if (temp6)
2925 delete arg6;
2926 }
2927 return NULL;
2928}
2929
2930
2931SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2932 PyObject *resultobj = 0;
2933 wxStyledTextCtrl *result = 0 ;
2934
2935 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2936 {
2937 if (!wxPyCheckForApp()) SWIG_fail;
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2944 return resultobj;
2945fail:
2946 return NULL;
2947}
2948
2949
2950SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj = 0;
2952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2953 wxWindow *arg2 = (wxWindow *) 0 ;
2954 int arg3 = (int) wxID_ANY ;
2955 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2956 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2957 wxSize const &arg5_defvalue = wxDefaultSize ;
2958 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2959 long arg6 = (long) 0 ;
2960 wxString const &arg7_defvalue = wxSTCNameStr ;
2961 wxString *arg7 = (wxString *) &arg7_defvalue ;
2962 bool result;
2963 void *argp1 = 0 ;
2964 int res1 = 0 ;
2965 void *argp2 = 0 ;
2966 int res2 = 0 ;
2967 int val3 ;
2968 int ecode3 = 0 ;
2969 wxPoint temp4 ;
2970 wxSize temp5 ;
2971 long val6 ;
2972 int ecode6 = 0 ;
2973 bool temp7 = false ;
2974 PyObject * obj0 = 0 ;
2975 PyObject * obj1 = 0 ;
2976 PyObject * obj2 = 0 ;
2977 PyObject * obj3 = 0 ;
2978 PyObject * obj4 = 0 ;
2979 PyObject * obj5 = 0 ;
2980 PyObject * obj6 = 0 ;
2981 char * kwnames[] = {
2982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2983 };
2984
2985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2987 if (!SWIG_IsOK(res1)) {
2988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2989 }
2990 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2991 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2992 if (!SWIG_IsOK(res2)) {
2993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2994 }
2995 arg2 = reinterpret_cast< wxWindow * >(argp2);
2996 if (obj2) {
2997 ecode3 = SWIG_AsVal_int(obj2, &val3);
2998 if (!SWIG_IsOK(ecode3)) {
2999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
3000 }
3001 arg3 = static_cast< int >(val3);
3002 }
3003 if (obj3) {
3004 {
3005 arg4 = &temp4;
3006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3007 }
3008 }
3009 if (obj4) {
3010 {
3011 arg5 = &temp5;
3012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3013 }
3014 }
3015 if (obj5) {
3016 ecode6 = SWIG_AsVal_long(obj5, &val6);
3017 if (!SWIG_IsOK(ecode6)) {
3018 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3019 }
3020 arg6 = static_cast< long >(val6);
3021 }
3022 if (obj6) {
3023 {
3024 arg7 = wxString_in_helper(obj6);
3025 if (arg7 == NULL) SWIG_fail;
3026 temp7 = true;
3027 }
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 {
3036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3037 }
3038 {
3039 if (temp7)
3040 delete arg7;
3041 }
3042 return resultobj;
3043fail:
3044 {
3045 if (temp7)
3046 delete arg7;
3047 }
3048 return NULL;
3049}
3050
3051
3052SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj = 0;
3054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3055 wxString *arg2 = 0 ;
3056 void *argp1 = 0 ;
3057 int res1 = 0 ;
3058 bool temp2 = false ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj1 = 0 ;
3061 char * kwnames[] = {
3062 (char *) "self",(char *) "text", NULL
3063 };
3064
3065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3067 if (!SWIG_IsOK(res1)) {
3068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3069 }
3070 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3071 {
3072 arg2 = wxString_in_helper(obj1);
3073 if (arg2 == NULL) SWIG_fail;
3074 temp2 = true;
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 (arg1)->AddText((wxString const &)*arg2);
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 resultobj = SWIG_Py_Void();
3083 {
3084 if (temp2)
3085 delete arg2;
3086 }
3087 return resultobj;
3088fail:
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 return NULL;
3094}
3095
3096
3097SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj = 0;
3099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3100 wxMemoryBuffer *arg2 = 0 ;
3101 void *argp1 = 0 ;
3102 int res1 = 0 ;
3103 bool temp2 = false ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 char * kwnames[] = {
3107 (char *) "self",(char *) "data", NULL
3108 };
3109
3110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3112 if (!SWIG_IsOK(res1)) {
3113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3114 }
3115 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3116 {
3117 if (!PyString_Check(obj1)) {
3118 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3119 SWIG_fail;
3120 }
3121 char* str = PyString_AS_STRING(obj1);
3122 int len = PyString_GET_SIZE(obj1);
3123 arg2 = new wxMemoryBuffer(len);
3124 temp2 = true;
3125 memcpy(arg2->GetData(), str, len);
3126 arg2->SetDataLen(len);
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 resultobj = SWIG_Py_Void();
3135 {
3136 if (temp2) delete arg2;
3137 }
3138 return resultobj;
3139fail:
3140 {
3141 if (temp2) delete arg2;
3142 }
3143 return NULL;
3144}
3145
3146
3147SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3148 PyObject *resultobj = 0;
3149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3150 int arg2 ;
3151 wxString *arg3 = 0 ;
3152 void *argp1 = 0 ;
3153 int res1 = 0 ;
3154 int val2 ;
3155 int ecode2 = 0 ;
3156 bool temp3 = false ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159 PyObject * obj2 = 0 ;
3160 char * kwnames[] = {
3161 (char *) "self",(char *) "pos",(char *) "text", NULL
3162 };
3163
3164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3166 if (!SWIG_IsOK(res1)) {
3167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3168 }
3169 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3170 ecode2 = SWIG_AsVal_int(obj1, &val2);
3171 if (!SWIG_IsOK(ecode2)) {
3172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3173 }
3174 arg2 = static_cast< int >(val2);
3175 {
3176 arg3 = wxString_in_helper(obj2);
3177 if (arg3 == NULL) SWIG_fail;
3178 temp3 = true;
3179 }
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 resultobj = SWIG_Py_Void();
3187 {
3188 if (temp3)
3189 delete arg3;
3190 }
3191 return resultobj;
3192fail:
3193 {
3194 if (temp3)
3195 delete arg3;
3196 }
3197 return NULL;
3198}
3199
3200
3201SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3202 PyObject *resultobj = 0;
3203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3204 void *argp1 = 0 ;
3205 int res1 = 0 ;
3206 PyObject *swig_obj[1] ;
3207
3208 if (!args) SWIG_fail;
3209 swig_obj[0] = args;
3210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3211 if (!SWIG_IsOK(res1)) {
3212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3213 }
3214 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->ClearAll();
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 resultobj = SWIG_Py_Void();
3222 return resultobj;
3223fail:
3224 return NULL;
3225}
3226
3227
3228SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3229 PyObject *resultobj = 0;
3230 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3231 void *argp1 = 0 ;
3232 int res1 = 0 ;
3233 PyObject *swig_obj[1] ;
3234
3235 if (!args) SWIG_fail;
3236 swig_obj[0] = args;
3237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3238 if (!SWIG_IsOK(res1)) {
3239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3240 }
3241 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 (arg1)->ClearDocumentStyle();
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 resultobj = SWIG_Py_Void();
3249 return resultobj;
3250fail:
3251 return NULL;
3252}
3253
3254
3255SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3256 PyObject *resultobj = 0;
3257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3258 int result;
3259 void *argp1 = 0 ;
3260 int res1 = 0 ;
3261 PyObject *swig_obj[1] ;
3262
3263 if (!args) SWIG_fail;
3264 swig_obj[0] = args;
3265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3266 if (!SWIG_IsOK(res1)) {
3267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3268 }
3269 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (int)(arg1)->GetLength();
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 resultobj = SWIG_From_int(static_cast< int >(result));
3277 return resultobj;
3278fail:
3279 return NULL;
3280}
3281
3282
3283SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj = 0;
3285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3286 int arg2 ;
3287 int result;
3288 void *argp1 = 0 ;
3289 int res1 = 0 ;
3290 int val2 ;
3291 int ecode2 = 0 ;
3292 PyObject * obj0 = 0 ;
3293 PyObject * obj1 = 0 ;
3294 char * kwnames[] = {
3295 (char *) "self",(char *) "pos", NULL
3296 };
3297
3298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3300 if (!SWIG_IsOK(res1)) {
3301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3302 }
3303 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3304 ecode2 = SWIG_AsVal_int(obj1, &val2);
3305 if (!SWIG_IsOK(ecode2)) {
3306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3307 }
3308 arg2 = static_cast< int >(val2);
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 result = (int)(arg1)->GetCharAt(arg2);
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 resultobj = SWIG_From_int(static_cast< int >(result));
3316 return resultobj;
3317fail:
3318 return NULL;
3319}
3320
3321
3322SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3323 PyObject *resultobj = 0;
3324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3325 int result;
3326 void *argp1 = 0 ;
3327 int res1 = 0 ;
3328 PyObject *swig_obj[1] ;
3329
3330 if (!args) SWIG_fail;
3331 swig_obj[0] = args;
3332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3333 if (!SWIG_IsOK(res1)) {
3334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3335 }
3336 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3337 {
3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
3339 result = (int)(arg1)->GetCurrentPos();
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 resultobj = SWIG_From_int(static_cast< int >(result));
3344 return resultobj;
3345fail:
3346 return NULL;
3347}
3348
3349
3350SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3351 PyObject *resultobj = 0;
3352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3353 int result;
3354 void *argp1 = 0 ;
3355 int res1 = 0 ;
3356 PyObject *swig_obj[1] ;
3357
3358 if (!args) SWIG_fail;
3359 swig_obj[0] = args;
3360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3361 if (!SWIG_IsOK(res1)) {
3362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3363 }
3364 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (int)(arg1)->GetAnchor();
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 resultobj = SWIG_From_int(static_cast< int >(result));
3372 return resultobj;
3373fail:
3374 return NULL;
3375}
3376
3377
3378SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3379 PyObject *resultobj = 0;
3380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3381 int arg2 ;
3382 int result;
3383 void *argp1 = 0 ;
3384 int res1 = 0 ;
3385 int val2 ;
3386 int ecode2 = 0 ;
3387 PyObject * obj0 = 0 ;
3388 PyObject * obj1 = 0 ;
3389 char * kwnames[] = {
3390 (char *) "self",(char *) "pos", NULL
3391 };
3392
3393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3395 if (!SWIG_IsOK(res1)) {
3396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3397 }
3398 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3399 ecode2 = SWIG_AsVal_int(obj1, &val2);
3400 if (!SWIG_IsOK(ecode2)) {
3401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3402 }
3403 arg2 = static_cast< int >(val2);
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 result = (int)(arg1)->GetStyleAt(arg2);
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 resultobj = SWIG_From_int(static_cast< int >(result));
3411 return resultobj;
3412fail:
3413 return NULL;
3414}
3415
3416
3417SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3418 PyObject *resultobj = 0;
3419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3420 void *argp1 = 0 ;
3421 int res1 = 0 ;
3422 PyObject *swig_obj[1] ;
3423
3424 if (!args) SWIG_fail;
3425 swig_obj[0] = args;
3426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3427 if (!SWIG_IsOK(res1)) {
3428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3429 }
3430 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 (arg1)->Redo();
3434 wxPyEndAllowThreads(__tstate);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
3437 resultobj = SWIG_Py_Void();
3438 return resultobj;
3439fail:
3440 return NULL;
3441}
3442
3443
3444SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3445 PyObject *resultobj = 0;
3446 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3447 bool arg2 ;
3448 void *argp1 = 0 ;
3449 int res1 = 0 ;
3450 bool val2 ;
3451 int ecode2 = 0 ;
3452 PyObject * obj0 = 0 ;
3453 PyObject * obj1 = 0 ;
3454 char * kwnames[] = {
3455 (char *) "self",(char *) "collectUndo", NULL
3456 };
3457
3458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3460 if (!SWIG_IsOK(res1)) {
3461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3462 }
3463 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3464 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3465 if (!SWIG_IsOK(ecode2)) {
3466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3467 }
3468 arg2 = static_cast< bool >(val2);
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 (arg1)->SetUndoCollection(arg2);
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 resultobj = SWIG_Py_Void();
3476 return resultobj;
3477fail:
3478 return NULL;
3479}
3480
3481
3482SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3483 PyObject *resultobj = 0;
3484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3485 void *argp1 = 0 ;
3486 int res1 = 0 ;
3487 PyObject *swig_obj[1] ;
3488
3489 if (!args) SWIG_fail;
3490 swig_obj[0] = args;
3491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3492 if (!SWIG_IsOK(res1)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3494 }
3495 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->SelectAll();
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 resultobj = SWIG_Py_Void();
3503 return resultobj;
3504fail:
3505 return NULL;
3506}
3507
3508
3509SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3510 PyObject *resultobj = 0;
3511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3512 void *argp1 = 0 ;
3513 int res1 = 0 ;
3514 PyObject *swig_obj[1] ;
3515
3516 if (!args) SWIG_fail;
3517 swig_obj[0] = args;
3518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3519 if (!SWIG_IsOK(res1)) {
3520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3521 }
3522 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 (arg1)->SetSavePoint();
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 resultobj = SWIG_Py_Void();
3530 return resultobj;
3531fail:
3532 return NULL;
3533}
3534
3535
3536SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj = 0;
3538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3539 int arg2 ;
3540 int arg3 ;
3541 wxMemoryBuffer result;
3542 void *argp1 = 0 ;
3543 int res1 = 0 ;
3544 int val2 ;
3545 int ecode2 = 0 ;
3546 int val3 ;
3547 int ecode3 = 0 ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 PyObject * obj2 = 0 ;
3551 char * kwnames[] = {
3552 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3553 };
3554
3555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3557 if (!SWIG_IsOK(res1)) {
3558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3559 }
3560 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3561 ecode2 = SWIG_AsVal_int(obj1, &val2);
3562 if (!SWIG_IsOK(ecode2)) {
3563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3564 }
3565 arg2 = static_cast< int >(val2);
3566 ecode3 = SWIG_AsVal_int(obj2, &val3);
3567 if (!SWIG_IsOK(ecode3)) {
3568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3569 }
3570 arg3 = static_cast< int >(val3);
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (arg1)->GetStyledText(arg2,arg3);
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 {
3578 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3579 }
3580 return resultobj;
3581fail:
3582 return NULL;
3583}
3584
3585
3586SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3587 PyObject *resultobj = 0;
3588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3589 bool result;
3590 void *argp1 = 0 ;
3591 int res1 = 0 ;
3592 PyObject *swig_obj[1] ;
3593
3594 if (!args) SWIG_fail;
3595 swig_obj[0] = args;
3596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3597 if (!SWIG_IsOK(res1)) {
3598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3599 }
3600 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = (bool)(arg1)->CanRedo();
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 {
3608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3609 }
3610 return resultobj;
3611fail:
3612 return NULL;
3613}
3614
3615
3616SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3617 PyObject *resultobj = 0;
3618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3619 int arg2 ;
3620 int result;
3621 void *argp1 = 0 ;
3622 int res1 = 0 ;
3623 int val2 ;
3624 int ecode2 = 0 ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj1 = 0 ;
3627 char * kwnames[] = {
3628 (char *) "self",(char *) "handle", NULL
3629 };
3630
3631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3633 if (!SWIG_IsOK(res1)) {
3634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3635 }
3636 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3637 ecode2 = SWIG_AsVal_int(obj1, &val2);
3638 if (!SWIG_IsOK(ecode2)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3640 }
3641 arg2 = static_cast< int >(val2);
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = SWIG_From_int(static_cast< int >(result));
3649 return resultobj;
3650fail:
3651 return NULL;
3652}
3653
3654
3655SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj = 0;
3657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3658 int arg2 ;
3659 void *argp1 = 0 ;
3660 int res1 = 0 ;
3661 int val2 ;
3662 int ecode2 = 0 ;
3663 PyObject * obj0 = 0 ;
3664 PyObject * obj1 = 0 ;
3665 char * kwnames[] = {
3666 (char *) "self",(char *) "handle", NULL
3667 };
3668
3669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3671 if (!SWIG_IsOK(res1)) {
3672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3673 }
3674 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3675 ecode2 = SWIG_AsVal_int(obj1, &val2);
3676 if (!SWIG_IsOK(ecode2)) {
3677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3678 }
3679 arg2 = static_cast< int >(val2);
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 (arg1)->MarkerDeleteHandle(arg2);
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 resultobj = SWIG_Py_Void();
3687 return resultobj;
3688fail:
3689 return NULL;
3690}
3691
3692
3693SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3694 PyObject *resultobj = 0;
3695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3696 bool result;
3697 void *argp1 = 0 ;
3698 int res1 = 0 ;
3699 PyObject *swig_obj[1] ;
3700
3701 if (!args) SWIG_fail;
3702 swig_obj[0] = args;
3703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3704 if (!SWIG_IsOK(res1)) {
3705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3706 }
3707 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 result = (bool)(arg1)->GetUndoCollection();
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 {
3715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3716 }
3717 return resultobj;
3718fail:
3719 return NULL;
3720}
3721
3722
3723SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3724 PyObject *resultobj = 0;
3725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3726 int result;
3727 void *argp1 = 0 ;
3728 int res1 = 0 ;
3729 PyObject *swig_obj[1] ;
3730
3731 if (!args) SWIG_fail;
3732 swig_obj[0] = args;
3733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3734 if (!SWIG_IsOK(res1)) {
3735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3736 }
3737 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (int)(arg1)->GetViewWhiteSpace();
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 resultobj = SWIG_From_int(static_cast< int >(result));
3745 return resultobj;
3746fail:
3747 return NULL;
3748}
3749
3750
3751SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3754 int arg2 ;
3755 void *argp1 = 0 ;
3756 int res1 = 0 ;
3757 int val2 ;
3758 int ecode2 = 0 ;
3759 PyObject * obj0 = 0 ;
3760 PyObject * obj1 = 0 ;
3761 char * kwnames[] = {
3762 (char *) "self",(char *) "viewWS", NULL
3763 };
3764
3765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3767 if (!SWIG_IsOK(res1)) {
3768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3769 }
3770 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3771 ecode2 = SWIG_AsVal_int(obj1, &val2);
3772 if (!SWIG_IsOK(ecode2)) {
3773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3774 }
3775 arg2 = static_cast< int >(val2);
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 (arg1)->SetViewWhiteSpace(arg2);
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 resultobj = SWIG_Py_Void();
3783 return resultobj;
3784fail:
3785 return NULL;
3786}
3787
3788
3789SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3790 PyObject *resultobj = 0;
3791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3792 wxPoint arg2 ;
3793 int result;
3794 void *argp1 = 0 ;
3795 int res1 = 0 ;
3796 void *argp2 ;
3797 int res2 = 0 ;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 char * kwnames[] = {
3801 (char *) "self",(char *) "pt", NULL
3802 };
3803
3804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3806 if (!SWIG_IsOK(res1)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3808 }
3809 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3810 {
3811 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3812 if (!SWIG_IsOK(res2)) {
3813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3814 }
3815 if (!argp2) {
3816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3817 } else {
3818 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3819 arg2 = *temp;
3820 if (SWIG_IsNewObj(res2)) delete temp;
3821 }
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (int)(arg1)->PositionFromPoint(arg2);
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_From_int(static_cast< int >(result));
3830 return resultobj;
3831fail:
3832 return NULL;
3833}
3834
3835
3836SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3839 int arg2 ;
3840 int arg3 ;
3841 int result;
3842 void *argp1 = 0 ;
3843 int res1 = 0 ;
3844 int val2 ;
3845 int ecode2 = 0 ;
3846 int val3 ;
3847 int ecode3 = 0 ;
3848 PyObject * obj0 = 0 ;
3849 PyObject * obj1 = 0 ;
3850 PyObject * obj2 = 0 ;
3851 char * kwnames[] = {
3852 (char *) "self",(char *) "x",(char *) "y", NULL
3853 };
3854
3855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3857 if (!SWIG_IsOK(res1)) {
3858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3859 }
3860 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3861 ecode2 = SWIG_AsVal_int(obj1, &val2);
3862 if (!SWIG_IsOK(ecode2)) {
3863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3864 }
3865 arg2 = static_cast< int >(val2);
3866 ecode3 = SWIG_AsVal_int(obj2, &val3);
3867 if (!SWIG_IsOK(ecode3)) {
3868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3869 }
3870 arg3 = static_cast< int >(val3);
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 resultobj = SWIG_From_int(static_cast< int >(result));
3878 return resultobj;
3879fail:
3880 return NULL;
3881}
3882
3883
3884SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj = 0;
3886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3887 int arg2 ;
3888 void *argp1 = 0 ;
3889 int res1 = 0 ;
3890 int val2 ;
3891 int ecode2 = 0 ;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char * kwnames[] = {
3895 (char *) "self",(char *) "line", NULL
3896 };
3897
3898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3902 }
3903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3904 ecode2 = SWIG_AsVal_int(obj1, &val2);
3905 if (!SWIG_IsOK(ecode2)) {
3906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3907 }
3908 arg2 = static_cast< int >(val2);
3909 {
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 (arg1)->GotoLine(arg2);
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 resultobj = SWIG_Py_Void();
3916 return resultobj;
3917fail:
3918 return NULL;
3919}
3920
3921
3922SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj = 0;
3924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3925 int arg2 ;
3926 void *argp1 = 0 ;
3927 int res1 = 0 ;
3928 int val2 ;
3929 int ecode2 = 0 ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 char * kwnames[] = {
3933 (char *) "self",(char *) "pos", NULL
3934 };
3935
3936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3938 if (!SWIG_IsOK(res1)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3940 }
3941 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3942 ecode2 = SWIG_AsVal_int(obj1, &val2);
3943 if (!SWIG_IsOK(ecode2)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3945 }
3946 arg2 = static_cast< int >(val2);
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 (arg1)->GotoPos(arg2);
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 resultobj = SWIG_Py_Void();
3954 return resultobj;
3955fail:
3956 return NULL;
3957}
3958
3959
3960SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj = 0;
3962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3963 int arg2 ;
3964 void *argp1 = 0 ;
3965 int res1 = 0 ;
3966 int val2 ;
3967 int ecode2 = 0 ;
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
3970 char * kwnames[] = {
3971 (char *) "self",(char *) "posAnchor", NULL
3972 };
3973
3974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3976 if (!SWIG_IsOK(res1)) {
3977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3978 }
3979 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3980 ecode2 = SWIG_AsVal_int(obj1, &val2);
3981 if (!SWIG_IsOK(ecode2)) {
3982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3983 }
3984 arg2 = static_cast< int >(val2);
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 (arg1)->SetAnchor(arg2);
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_Py_Void();
3992 return resultobj;
3993fail:
3994 return NULL;
3995}
3996
3997
3998SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3999 PyObject *resultobj = 0;
4000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4001 int *arg2 = (int *) 0 ;
4002 wxString result;
4003 void *argp1 = 0 ;
4004 int res1 = 0 ;
4005 int temp2 ;
4006 int res2 = SWIG_TMPOBJ ;
4007 PyObject *swig_obj[1] ;
4008
4009 arg2 = &temp2;
4010 if (!args) SWIG_fail;
4011 swig_obj[0] = args;
4012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4013 if (!SWIG_IsOK(res1)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4015 }
4016 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (arg1)->GetCurLine(arg2);
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 {
4024#if wxUSE_UNICODE
4025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4026#else
4027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4028#endif
4029 }
4030 if (SWIG_IsTmpObj(res2)) {
4031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4032 } else {
4033 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4035 }
4036 return resultobj;
4037fail:
4038 return NULL;
4039}
4040
4041
4042SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4043 PyObject *resultobj = 0;
4044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4045 int result;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 PyObject *swig_obj[1] ;
4049
4050 if (!args) SWIG_fail;
4051 swig_obj[0] = args;
4052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4053 if (!SWIG_IsOK(res1)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4055 }
4056 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (int)(arg1)->GetEndStyled();
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 resultobj = SWIG_From_int(static_cast< int >(result));
4064 return resultobj;
4065fail:
4066 return NULL;
4067}
4068
4069
4070SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj = 0;
4072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4073 int arg2 ;
4074 void *argp1 = 0 ;
4075 int res1 = 0 ;
4076 int val2 ;
4077 int ecode2 = 0 ;
4078 PyObject * obj0 = 0 ;
4079 PyObject * obj1 = 0 ;
4080 char * kwnames[] = {
4081 (char *) "self",(char *) "eolMode", NULL
4082 };
4083
4084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4086 if (!SWIG_IsOK(res1)) {
4087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4088 }
4089 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4090 ecode2 = SWIG_AsVal_int(obj1, &val2);
4091 if (!SWIG_IsOK(ecode2)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4093 }
4094 arg2 = static_cast< int >(val2);
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->ConvertEOLs(arg2);
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 resultobj = SWIG_Py_Void();
4102 return resultobj;
4103fail:
4104 return NULL;
4105}
4106
4107
4108SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4109 PyObject *resultobj = 0;
4110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4111 int result;
4112 void *argp1 = 0 ;
4113 int res1 = 0 ;
4114 PyObject *swig_obj[1] ;
4115
4116 if (!args) SWIG_fail;
4117 swig_obj[0] = args;
4118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4119 if (!SWIG_IsOK(res1)) {
4120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4121 }
4122 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (int)(arg1)->GetEOLMode();
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_From_int(static_cast< int >(result));
4130 return resultobj;
4131fail:
4132 return NULL;
4133}
4134
4135
4136SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj = 0;
4138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4139 int arg2 ;
4140 void *argp1 = 0 ;
4141 int res1 = 0 ;
4142 int val2 ;
4143 int ecode2 = 0 ;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 char * kwnames[] = {
4147 (char *) "self",(char *) "eolMode", NULL
4148 };
4149
4150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4152 if (!SWIG_IsOK(res1)) {
4153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4154 }
4155 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4156 ecode2 = SWIG_AsVal_int(obj1, &val2);
4157 if (!SWIG_IsOK(ecode2)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4159 }
4160 arg2 = static_cast< int >(val2);
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 (arg1)->SetEOLMode(arg2);
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 resultobj = SWIG_Py_Void();
4168 return resultobj;
4169fail:
4170 return NULL;
4171}
4172
4173
4174SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj = 0;
4176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4177 int arg2 ;
4178 int arg3 ;
4179 void *argp1 = 0 ;
4180 int res1 = 0 ;
4181 int val2 ;
4182 int ecode2 = 0 ;
4183 int val3 ;
4184 int ecode3 = 0 ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 PyObject * obj2 = 0 ;
4188 char * kwnames[] = {
4189 (char *) "self",(char *) "pos",(char *) "mask", NULL
4190 };
4191
4192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4194 if (!SWIG_IsOK(res1)) {
4195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4196 }
4197 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4198 ecode2 = SWIG_AsVal_int(obj1, &val2);
4199 if (!SWIG_IsOK(ecode2)) {
4200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4201 }
4202 arg2 = static_cast< int >(val2);
4203 ecode3 = SWIG_AsVal_int(obj2, &val3);
4204 if (!SWIG_IsOK(ecode3)) {
4205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4206 }
4207 arg3 = static_cast< int >(val3);
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 (arg1)->StartStyling(arg2,arg3);
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = SWIG_Py_Void();
4215 return resultobj;
4216fail:
4217 return NULL;
4218}
4219
4220
4221SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj = 0;
4223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4224 int arg2 ;
4225 int arg3 ;
4226 void *argp1 = 0 ;
4227 int res1 = 0 ;
4228 int val2 ;
4229 int ecode2 = 0 ;
4230 int val3 ;
4231 int ecode3 = 0 ;
4232 PyObject * obj0 = 0 ;
4233 PyObject * obj1 = 0 ;
4234 PyObject * obj2 = 0 ;
4235 char * kwnames[] = {
4236 (char *) "self",(char *) "length",(char *) "style", NULL
4237 };
4238
4239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4241 if (!SWIG_IsOK(res1)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4243 }
4244 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4245 ecode2 = SWIG_AsVal_int(obj1, &val2);
4246 if (!SWIG_IsOK(ecode2)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4248 }
4249 arg2 = static_cast< int >(val2);
4250 ecode3 = SWIG_AsVal_int(obj2, &val3);
4251 if (!SWIG_IsOK(ecode3)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4253 }
4254 arg3 = static_cast< int >(val3);
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->SetStyling(arg2,arg3);
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 resultobj = SWIG_Py_Void();
4262 return resultobj;
4263fail:
4264 return NULL;
4265}
4266
4267
4268SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4269 PyObject *resultobj = 0;
4270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4271 bool result;
4272 void *argp1 = 0 ;
4273 int res1 = 0 ;
4274 PyObject *swig_obj[1] ;
4275
4276 if (!args) SWIG_fail;
4277 swig_obj[0] = args;
4278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4281 }
4282 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (bool)(arg1)->GetBufferedDraw();
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4289 {
4290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4291 }
4292 return resultobj;
4293fail:
4294 return NULL;
4295}
4296
4297
4298SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj = 0;
4300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4301 bool arg2 ;
4302 void *argp1 = 0 ;
4303 int res1 = 0 ;
4304 bool val2 ;
4305 int ecode2 = 0 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char * kwnames[] = {
4309 (char *) "self",(char *) "buffered", NULL
4310 };
4311
4312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4314 if (!SWIG_IsOK(res1)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4316 }
4317 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4319 if (!SWIG_IsOK(ecode2)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4321 }
4322 arg2 = static_cast< bool >(val2);
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 (arg1)->SetBufferedDraw(arg2);
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 resultobj = SWIG_Py_Void();
4330 return resultobj;
4331fail:
4332 return NULL;
4333}
4334
4335
4336SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj = 0;
4338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4339 int arg2 ;
4340 void *argp1 = 0 ;
4341 int res1 = 0 ;
4342 int val2 ;
4343 int ecode2 = 0 ;
4344 PyObject * obj0 = 0 ;
4345 PyObject * obj1 = 0 ;
4346 char * kwnames[] = {
4347 (char *) "self",(char *) "tabWidth", NULL
4348 };
4349
4350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4352 if (!SWIG_IsOK(res1)) {
4353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4354 }
4355 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4356 ecode2 = SWIG_AsVal_int(obj1, &val2);
4357 if (!SWIG_IsOK(ecode2)) {
4358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4359 }
4360 arg2 = static_cast< int >(val2);
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->SetTabWidth(arg2);
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 resultobj = SWIG_Py_Void();
4368 return resultobj;
4369fail:
4370 return NULL;
4371}
4372
4373
4374SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4375 PyObject *resultobj = 0;
4376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4377 int result;
4378 void *argp1 = 0 ;
4379 int res1 = 0 ;
4380 PyObject *swig_obj[1] ;
4381
4382 if (!args) SWIG_fail;
4383 swig_obj[0] = args;
4384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4385 if (!SWIG_IsOK(res1)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4387 }
4388 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (int)(arg1)->GetTabWidth();
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 resultobj = SWIG_From_int(static_cast< int >(result));
4396 return resultobj;
4397fail:
4398 return NULL;
4399}
4400
4401
4402SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj = 0;
4404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4405 int arg2 ;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "codePage", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4420 }
4421 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetCodePage(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_Py_Void();
4434 return resultobj;
4435fail:
4436 return NULL;
4437}
4438
4439
4440SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 wxColour const &arg4_defvalue = wxNullColour ;
4446 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4447 wxColour const &arg5_defvalue = wxNullColour ;
4448 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4449 void *argp1 = 0 ;
4450 int res1 = 0 ;
4451 int val2 ;
4452 int ecode2 = 0 ;
4453 int val3 ;
4454 int ecode3 = 0 ;
4455 wxColour temp4 ;
4456 wxColour temp5 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 PyObject * obj2 = 0 ;
4460 PyObject * obj3 = 0 ;
4461 PyObject * obj4 = 0 ;
4462 char * kwnames[] = {
4463 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4464 };
4465
4466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4468 if (!SWIG_IsOK(res1)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4470 }
4471 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4472 ecode2 = SWIG_AsVal_int(obj1, &val2);
4473 if (!SWIG_IsOK(ecode2)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4475 }
4476 arg2 = static_cast< int >(val2);
4477 ecode3 = SWIG_AsVal_int(obj2, &val3);
4478 if (!SWIG_IsOK(ecode3)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4480 }
4481 arg3 = static_cast< int >(val3);
4482 if (obj3) {
4483 {
4484 arg4 = &temp4;
4485 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
4486 }
4487 }
4488 if (obj4) {
4489 {
4490 arg5 = &temp5;
4491 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
4492 }
4493 }
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4497 wxPyEndAllowThreads(__tstate);
4498 if (PyErr_Occurred()) SWIG_fail;
4499 }
4500 resultobj = SWIG_Py_Void();
4501 return resultobj;
4502fail:
4503 return NULL;
4504}
4505
4506
4507SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj = 0;
4509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4510 int arg2 ;
4511 wxColour *arg3 = 0 ;
4512 void *argp1 = 0 ;
4513 int res1 = 0 ;
4514 int val2 ;
4515 int ecode2 = 0 ;
4516 wxColour temp3 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 char * kwnames[] = {
4521 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4522 };
4523
4524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4526 if (!SWIG_IsOK(res1)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4528 }
4529 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4530 ecode2 = SWIG_AsVal_int(obj1, &val2);
4531 if (!SWIG_IsOK(ecode2)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4533 }
4534 arg2 = static_cast< int >(val2);
4535 {
4536 arg3 = &temp3;
4537 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4538 }
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = SWIG_Py_Void();
4546 return resultobj;
4547fail:
4548 return NULL;
4549}
4550
4551
4552SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj = 0;
4554 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4555 int arg2 ;
4556 wxColour *arg3 = 0 ;
4557 void *argp1 = 0 ;
4558 int res1 = 0 ;
4559 int val2 ;
4560 int ecode2 = 0 ;
4561 wxColour temp3 ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 PyObject * obj2 = 0 ;
4565 char * kwnames[] = {
4566 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4567 };
4568
4569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4571 if (!SWIG_IsOK(res1)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4573 }
4574 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4575 ecode2 = SWIG_AsVal_int(obj1, &val2);
4576 if (!SWIG_IsOK(ecode2)) {
4577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4578 }
4579 arg2 = static_cast< int >(val2);
4580 {
4581 arg3 = &temp3;
4582 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4583 }
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 resultobj = SWIG_Py_Void();
4591 return resultobj;
4592fail:
4593 return NULL;
4594}
4595
4596
4597SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj = 0;
4599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4600 int arg2 ;
4601 int arg3 ;
4602 int result;
4603 void *argp1 = 0 ;
4604 int res1 = 0 ;
4605 int val2 ;
4606 int ecode2 = 0 ;
4607 int val3 ;
4608 int ecode3 = 0 ;
4609 PyObject * obj0 = 0 ;
4610 PyObject * obj1 = 0 ;
4611 PyObject * obj2 = 0 ;
4612 char * kwnames[] = {
4613 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4614 };
4615
4616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4618 if (!SWIG_IsOK(res1)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4620 }
4621 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4622 ecode2 = SWIG_AsVal_int(obj1, &val2);
4623 if (!SWIG_IsOK(ecode2)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4625 }
4626 arg2 = static_cast< int >(val2);
4627 ecode3 = SWIG_AsVal_int(obj2, &val3);
4628 if (!SWIG_IsOK(ecode3)) {
4629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4630 }
4631 arg3 = static_cast< int >(val3);
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = SWIG_From_int(static_cast< int >(result));
4639 return resultobj;
4640fail:
4641 return NULL;
4642}
4643
4644
4645SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj = 0;
4647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4648 int arg2 ;
4649 int arg3 ;
4650 void *argp1 = 0 ;
4651 int res1 = 0 ;
4652 int val2 ;
4653 int ecode2 = 0 ;
4654 int val3 ;
4655 int ecode3 = 0 ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 char * kwnames[] = {
4660 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4661 };
4662
4663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4665 if (!SWIG_IsOK(res1)) {
4666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4667 }
4668 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4669 ecode2 = SWIG_AsVal_int(obj1, &val2);
4670 if (!SWIG_IsOK(ecode2)) {
4671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4672 }
4673 arg2 = static_cast< int >(val2);
4674 ecode3 = SWIG_AsVal_int(obj2, &val3);
4675 if (!SWIG_IsOK(ecode3)) {
4676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4677 }
4678 arg3 = static_cast< int >(val3);
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 (arg1)->MarkerDelete(arg2,arg3);
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = SWIG_Py_Void();
4686 return resultobj;
4687fail:
4688 return NULL;
4689}
4690
4691
4692SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj = 0;
4694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4695 int arg2 ;
4696 void *argp1 = 0 ;
4697 int res1 = 0 ;
4698 int val2 ;
4699 int ecode2 = 0 ;
4700 PyObject * obj0 = 0 ;
4701 PyObject * obj1 = 0 ;
4702 char * kwnames[] = {
4703 (char *) "self",(char *) "markerNumber", NULL
4704 };
4705
4706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4708 if (!SWIG_IsOK(res1)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4710 }
4711 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4712 ecode2 = SWIG_AsVal_int(obj1, &val2);
4713 if (!SWIG_IsOK(ecode2)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4715 }
4716 arg2 = static_cast< int >(val2);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 (arg1)->MarkerDeleteAll(arg2);
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_Py_Void();
4724 return resultobj;
4725fail:
4726 return NULL;
4727}
4728
4729
4730SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj = 0;
4732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4733 int arg2 ;
4734 int result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 int val2 ;
4738 int ecode2 = 0 ;
4739 PyObject * obj0 = 0 ;
4740 PyObject * obj1 = 0 ;
4741 char * kwnames[] = {
4742 (char *) "self",(char *) "line", NULL
4743 };
4744
4745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4747 if (!SWIG_IsOK(res1)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4749 }
4750 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4751 ecode2 = SWIG_AsVal_int(obj1, &val2);
4752 if (!SWIG_IsOK(ecode2)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4754 }
4755 arg2 = static_cast< int >(val2);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (int)(arg1)->MarkerGet(arg2);
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_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj = 0;
4771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4772 int arg2 ;
4773 int arg3 ;
4774 int result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 int val2 ;
4778 int ecode2 = 0 ;
4779 int val3 ;
4780 int ecode3 = 0 ;
4781 PyObject * obj0 = 0 ;
4782 PyObject * obj1 = 0 ;
4783 PyObject * obj2 = 0 ;
4784 char * kwnames[] = {
4785 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4786 };
4787
4788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4790 if (!SWIG_IsOK(res1)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4792 }
4793 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4794 ecode2 = SWIG_AsVal_int(obj1, &val2);
4795 if (!SWIG_IsOK(ecode2)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4797 }
4798 arg2 = static_cast< int >(val2);
4799 ecode3 = SWIG_AsVal_int(obj2, &val3);
4800 if (!SWIG_IsOK(ecode3)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4802 }
4803 arg3 = static_cast< int >(val3);
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = (int)(arg1)->MarkerNext(arg2,arg3);
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_From_int(static_cast< int >(result));
4811 return resultobj;
4812fail:
4813 return NULL;
4814}
4815
4816
4817SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj = 0;
4819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4820 int arg2 ;
4821 int arg3 ;
4822 int result;
4823 void *argp1 = 0 ;
4824 int res1 = 0 ;
4825 int val2 ;
4826 int ecode2 = 0 ;
4827 int val3 ;
4828 int ecode3 = 0 ;
4829 PyObject * obj0 = 0 ;
4830 PyObject * obj1 = 0 ;
4831 PyObject * obj2 = 0 ;
4832 char * kwnames[] = {
4833 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4834 };
4835
4836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4840 }
4841 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4842 ecode2 = SWIG_AsVal_int(obj1, &val2);
4843 if (!SWIG_IsOK(ecode2)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4845 }
4846 arg2 = static_cast< int >(val2);
4847 ecode3 = SWIG_AsVal_int(obj2, &val3);
4848 if (!SWIG_IsOK(ecode3)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4850 }
4851 arg3 = static_cast< int >(val3);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_From_int(static_cast< int >(result));
4859 return resultobj;
4860fail:
4861 return NULL;
4862}
4863
4864
4865SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj = 0;
4867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4868 int arg2 ;
4869 wxBitmap *arg3 = 0 ;
4870 void *argp1 = 0 ;
4871 int res1 = 0 ;
4872 int val2 ;
4873 int ecode2 = 0 ;
4874 void *argp3 = 0 ;
4875 int res3 = 0 ;
4876 PyObject * obj0 = 0 ;
4877 PyObject * obj1 = 0 ;
4878 PyObject * obj2 = 0 ;
4879 char * kwnames[] = {
4880 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4881 };
4882
4883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4885 if (!SWIG_IsOK(res1)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4887 }
4888 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4889 ecode2 = SWIG_AsVal_int(obj1, &val2);
4890 if (!SWIG_IsOK(ecode2)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4892 }
4893 arg2 = static_cast< int >(val2);
4894 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4895 if (!SWIG_IsOK(res3)) {
4896 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4897 }
4898 if (!argp3) {
4899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4900 }
4901 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_Py_Void();
4909 return resultobj;
4910fail:
4911 return NULL;
4912}
4913
4914
4915SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj = 0;
4917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4918 int arg2 ;
4919 int arg3 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 PyObject * obj0 = 0 ;
4927 PyObject * obj1 = 0 ;
4928 PyObject * obj2 = 0 ;
4929 char * kwnames[] = {
4930 (char *) "self",(char *) "line",(char *) "set", NULL
4931 };
4932
4933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4937 }
4938 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4939 ecode2 = SWIG_AsVal_int(obj1, &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(obj2, &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 (arg1)->MarkerAddSet(arg2,arg3);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 return resultobj;
4957fail:
4958 return NULL;
4959}
4960
4961
4962SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj = 0;
4964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4965 int arg2 ;
4966 int arg3 ;
4967 void *argp1 = 0 ;
4968 int res1 = 0 ;
4969 int val2 ;
4970 int ecode2 = 0 ;
4971 int val3 ;
4972 int ecode3 = 0 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 PyObject * obj2 = 0 ;
4976 char * kwnames[] = {
4977 (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL
4978 };
4979
4980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4982 if (!SWIG_IsOK(res1)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4984 }
4985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4986 ecode2 = SWIG_AsVal_int(obj1, &val2);
4987 if (!SWIG_IsOK(ecode2)) {
4988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
4989 }
4990 arg2 = static_cast< int >(val2);
4991 ecode3 = SWIG_AsVal_int(obj2, &val3);
4992 if (!SWIG_IsOK(ecode3)) {
4993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
4994 }
4995 arg3 = static_cast< int >(val3);
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->MarkerSetAlpha(arg2,arg3);
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 resultobj = SWIG_Py_Void();
5003 return resultobj;
5004fail:
5005 return NULL;
5006}
5007
5008
5009SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj = 0;
5011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5012 int arg2 ;
5013 int arg3 ;
5014 void *argp1 = 0 ;
5015 int res1 = 0 ;
5016 int val2 ;
5017 int ecode2 = 0 ;
5018 int val3 ;
5019 int ecode3 = 0 ;
5020 PyObject * obj0 = 0 ;
5021 PyObject * obj1 = 0 ;
5022 PyObject * obj2 = 0 ;
5023 char * kwnames[] = {
5024 (char *) "self",(char *) "margin",(char *) "marginType", NULL
5025 };
5026
5027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5029 if (!SWIG_IsOK(res1)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5031 }
5032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5033 ecode2 = SWIG_AsVal_int(obj1, &val2);
5034 if (!SWIG_IsOK(ecode2)) {
5035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
5036 }
5037 arg2 = static_cast< int >(val2);
5038 ecode3 = SWIG_AsVal_int(obj2, &val3);
5039 if (!SWIG_IsOK(ecode3)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
5041 }
5042 arg3 = static_cast< int >(val3);
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetMarginType(arg2,arg3);
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_Py_Void();
5050 return resultobj;
5051fail:
5052 return NULL;
5053}
5054
5055
5056SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj = 0;
5058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5059 int arg2 ;
5060 int result;
5061 void *argp1 = 0 ;
5062 int res1 = 0 ;
5063 int val2 ;
5064 int ecode2 = 0 ;
5065 PyObject * obj0 = 0 ;
5066 PyObject * obj1 = 0 ;
5067 char * kwnames[] = {
5068 (char *) "self",(char *) "margin", NULL
5069 };
5070
5071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5073 if (!SWIG_IsOK(res1)) {
5074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5075 }
5076 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5077 ecode2 = SWIG_AsVal_int(obj1, &val2);
5078 if (!SWIG_IsOK(ecode2)) {
5079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5080 }
5081 arg2 = static_cast< int >(val2);
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)(arg1)->GetMarginType(arg2);
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 resultobj = SWIG_From_int(static_cast< int >(result));
5089 return resultobj;
5090fail:
5091 return NULL;
5092}
5093
5094
5095SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj = 0;
5097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5098 int arg2 ;
5099 int arg3 ;
5100 void *argp1 = 0 ;
5101 int res1 = 0 ;
5102 int val2 ;
5103 int ecode2 = 0 ;
5104 int val3 ;
5105 int ecode3 = 0 ;
5106 PyObject * obj0 = 0 ;
5107 PyObject * obj1 = 0 ;
5108 PyObject * obj2 = 0 ;
5109 char * kwnames[] = {
5110 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5111 };
5112
5113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5115 if (!SWIG_IsOK(res1)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5117 }
5118 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5119 ecode2 = SWIG_AsVal_int(obj1, &val2);
5120 if (!SWIG_IsOK(ecode2)) {
5121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5122 }
5123 arg2 = static_cast< int >(val2);
5124 ecode3 = SWIG_AsVal_int(obj2, &val3);
5125 if (!SWIG_IsOK(ecode3)) {
5126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5127 }
5128 arg3 = static_cast< int >(val3);
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 (arg1)->SetMarginWidth(arg2,arg3);
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 resultobj = SWIG_Py_Void();
5136 return resultobj;
5137fail:
5138 return NULL;
5139}
5140
5141
5142SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj = 0;
5144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5145 int arg2 ;
5146 int result;
5147 void *argp1 = 0 ;
5148 int res1 = 0 ;
5149 int val2 ;
5150 int ecode2 = 0 ;
5151 PyObject * obj0 = 0 ;
5152 PyObject * obj1 = 0 ;
5153 char * kwnames[] = {
5154 (char *) "self",(char *) "margin", NULL
5155 };
5156
5157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5159 if (!SWIG_IsOK(res1)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5161 }
5162 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5163 ecode2 = SWIG_AsVal_int(obj1, &val2);
5164 if (!SWIG_IsOK(ecode2)) {
5165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5166 }
5167 arg2 = static_cast< int >(val2);
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (int)(arg1)->GetMarginWidth(arg2);
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = SWIG_From_int(static_cast< int >(result));
5175 return resultobj;
5176fail:
5177 return NULL;
5178}
5179
5180
5181SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj = 0;
5183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5184 int arg2 ;
5185 int arg3 ;
5186 void *argp1 = 0 ;
5187 int res1 = 0 ;
5188 int val2 ;
5189 int ecode2 = 0 ;
5190 int val3 ;
5191 int ecode3 = 0 ;
5192 PyObject * obj0 = 0 ;
5193 PyObject * obj1 = 0 ;
5194 PyObject * obj2 = 0 ;
5195 char * kwnames[] = {
5196 (char *) "self",(char *) "margin",(char *) "mask", NULL
5197 };
5198
5199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5201 if (!SWIG_IsOK(res1)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5203 }
5204 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5205 ecode2 = SWIG_AsVal_int(obj1, &val2);
5206 if (!SWIG_IsOK(ecode2)) {
5207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5208 }
5209 arg2 = static_cast< int >(val2);
5210 ecode3 = SWIG_AsVal_int(obj2, &val3);
5211 if (!SWIG_IsOK(ecode3)) {
5212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5213 }
5214 arg3 = static_cast< int >(val3);
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->SetMarginMask(arg2,arg3);
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 resultobj = SWIG_Py_Void();
5222 return resultobj;
5223fail:
5224 return NULL;
5225}
5226
5227
5228SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj = 0;
5230 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5231 int arg2 ;
5232 int result;
5233 void *argp1 = 0 ;
5234 int res1 = 0 ;
5235 int val2 ;
5236 int ecode2 = 0 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char * kwnames[] = {
5240 (char *) "self",(char *) "margin", NULL
5241 };
5242
5243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5245 if (!SWIG_IsOK(res1)) {
5246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5247 }
5248 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5249 ecode2 = SWIG_AsVal_int(obj1, &val2);
5250 if (!SWIG_IsOK(ecode2)) {
5251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5252 }
5253 arg2 = static_cast< int >(val2);
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = (int)(arg1)->GetMarginMask(arg2);
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = SWIG_From_int(static_cast< int >(result));
5261 return resultobj;
5262fail:
5263 return NULL;
5264}
5265
5266
5267SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj = 0;
5269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5270 int arg2 ;
5271 bool arg3 ;
5272 void *argp1 = 0 ;
5273 int res1 = 0 ;
5274 int val2 ;
5275 int ecode2 = 0 ;
5276 bool val3 ;
5277 int ecode3 = 0 ;
5278 PyObject * obj0 = 0 ;
5279 PyObject * obj1 = 0 ;
5280 PyObject * obj2 = 0 ;
5281 char * kwnames[] = {
5282 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5283 };
5284
5285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5287 if (!SWIG_IsOK(res1)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5289 }
5290 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5291 ecode2 = SWIG_AsVal_int(obj1, &val2);
5292 if (!SWIG_IsOK(ecode2)) {
5293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5294 }
5295 arg2 = static_cast< int >(val2);
5296 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5297 if (!SWIG_IsOK(ecode3)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5299 }
5300 arg3 = static_cast< bool >(val3);
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 (arg1)->SetMarginSensitive(arg2,arg3);
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = SWIG_Py_Void();
5308 return resultobj;
5309fail:
5310 return NULL;
5311}
5312
5313
5314SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj = 0;
5316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5317 int arg2 ;
5318 bool result;
5319 void *argp1 = 0 ;
5320 int res1 = 0 ;
5321 int val2 ;
5322 int ecode2 = 0 ;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 char * kwnames[] = {
5326 (char *) "self",(char *) "margin", NULL
5327 };
5328
5329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5331 if (!SWIG_IsOK(res1)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5333 }
5334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5335 ecode2 = SWIG_AsVal_int(obj1, &val2);
5336 if (!SWIG_IsOK(ecode2)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5338 }
5339 arg2 = static_cast< int >(val2);
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 result = (bool)(arg1)->GetMarginSensitive(arg2);
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 {
5347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5348 }
5349 return resultobj;
5350fail:
5351 return NULL;
5352}
5353
5354
5355SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5356 PyObject *resultobj = 0;
5357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5358 void *argp1 = 0 ;
5359 int res1 = 0 ;
5360 PyObject *swig_obj[1] ;
5361
5362 if (!args) SWIG_fail;
5363 swig_obj[0] = args;
5364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5365 if (!SWIG_IsOK(res1)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5367 }
5368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 (arg1)->StyleClearAll();
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_Py_Void();
5376 return resultobj;
5377fail:
5378 return NULL;
5379}
5380
5381
5382SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj = 0;
5384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5385 int arg2 ;
5386 wxColour *arg3 = 0 ;
5387 void *argp1 = 0 ;
5388 int res1 = 0 ;
5389 int val2 ;
5390 int ecode2 = 0 ;
5391 wxColour temp3 ;
5392 PyObject * obj0 = 0 ;
5393 PyObject * obj1 = 0 ;
5394 PyObject * obj2 = 0 ;
5395 char * kwnames[] = {
5396 (char *) "self",(char *) "style",(char *) "fore", NULL
5397 };
5398
5399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5403 }
5404 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5405 ecode2 = SWIG_AsVal_int(obj1, &val2);
5406 if (!SWIG_IsOK(ecode2)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5408 }
5409 arg2 = static_cast< int >(val2);
5410 {
5411 arg3 = &temp3;
5412 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5413 }
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_Py_Void();
5421 return resultobj;
5422fail:
5423 return NULL;
5424}
5425
5426
5427SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj = 0;
5429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5430 int arg2 ;
5431 wxColour *arg3 = 0 ;
5432 void *argp1 = 0 ;
5433 int res1 = 0 ;
5434 int val2 ;
5435 int ecode2 = 0 ;
5436 wxColour temp3 ;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 PyObject * obj2 = 0 ;
5440 char * kwnames[] = {
5441 (char *) "self",(char *) "style",(char *) "back", NULL
5442 };
5443
5444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5446 if (!SWIG_IsOK(res1)) {
5447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5448 }
5449 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5450 ecode2 = SWIG_AsVal_int(obj1, &val2);
5451 if (!SWIG_IsOK(ecode2)) {
5452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5453 }
5454 arg2 = static_cast< int >(val2);
5455 {
5456 arg3 = &temp3;
5457 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5458 }
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 resultobj = SWIG_Py_Void();
5466 return resultobj;
5467fail:
5468 return NULL;
5469}
5470
5471
5472SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5473 PyObject *resultobj = 0;
5474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5475 int arg2 ;
5476 bool arg3 ;
5477 void *argp1 = 0 ;
5478 int res1 = 0 ;
5479 int val2 ;
5480 int ecode2 = 0 ;
5481 bool val3 ;
5482 int ecode3 = 0 ;
5483 PyObject * obj0 = 0 ;
5484 PyObject * obj1 = 0 ;
5485 PyObject * obj2 = 0 ;
5486 char * kwnames[] = {
5487 (char *) "self",(char *) "style",(char *) "bold", NULL
5488 };
5489
5490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5494 }
5495 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5496 ecode2 = SWIG_AsVal_int(obj1, &val2);
5497 if (!SWIG_IsOK(ecode2)) {
5498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5499 }
5500 arg2 = static_cast< int >(val2);
5501 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5502 if (!SWIG_IsOK(ecode3)) {
5503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5504 }
5505 arg3 = static_cast< bool >(val3);
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->StyleSetBold(arg2,arg3);
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 resultobj = SWIG_Py_Void();
5513 return resultobj;
5514fail:
5515 return NULL;
5516}
5517
5518
5519SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj = 0;
5521 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5522 int arg2 ;
5523 bool arg3 ;
5524 void *argp1 = 0 ;
5525 int res1 = 0 ;
5526 int val2 ;
5527 int ecode2 = 0 ;
5528 bool val3 ;
5529 int ecode3 = 0 ;
5530 PyObject * obj0 = 0 ;
5531 PyObject * obj1 = 0 ;
5532 PyObject * obj2 = 0 ;
5533 char * kwnames[] = {
5534 (char *) "self",(char *) "style",(char *) "italic", NULL
5535 };
5536
5537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5539 if (!SWIG_IsOK(res1)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5541 }
5542 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5543 ecode2 = SWIG_AsVal_int(obj1, &val2);
5544 if (!SWIG_IsOK(ecode2)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5546 }
5547 arg2 = static_cast< int >(val2);
5548 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5549 if (!SWIG_IsOK(ecode3)) {
5550 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5551 }
5552 arg3 = static_cast< bool >(val3);
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 (arg1)->StyleSetItalic(arg2,arg3);
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 resultobj = SWIG_Py_Void();
5560 return resultobj;
5561fail:
5562 return NULL;
5563}
5564
5565
5566SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj = 0;
5568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5569 int arg2 ;
5570 int arg3 ;
5571 void *argp1 = 0 ;
5572 int res1 = 0 ;
5573 int val2 ;
5574 int ecode2 = 0 ;
5575 int val3 ;
5576 int ecode3 = 0 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 PyObject * obj2 = 0 ;
5580 char * kwnames[] = {
5581 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5582 };
5583
5584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5586 if (!SWIG_IsOK(res1)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5588 }
5589 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5590 ecode2 = SWIG_AsVal_int(obj1, &val2);
5591 if (!SWIG_IsOK(ecode2)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5593 }
5594 arg2 = static_cast< int >(val2);
5595 ecode3 = SWIG_AsVal_int(obj2, &val3);
5596 if (!SWIG_IsOK(ecode3)) {
5597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5598 }
5599 arg3 = static_cast< int >(val3);
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->StyleSetSize(arg2,arg3);
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 resultobj = SWIG_Py_Void();
5607 return resultobj;
5608fail:
5609 return NULL;
5610}
5611
5612
5613SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj = 0;
5615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5616 int arg2 ;
5617 wxString *arg3 = 0 ;
5618 void *argp1 = 0 ;
5619 int res1 = 0 ;
5620 int val2 ;
5621 int ecode2 = 0 ;
5622 bool temp3 = false ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 PyObject * obj2 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "style",(char *) "fontName", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5634 }
5635 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5636 ecode2 = SWIG_AsVal_int(obj1, &val2);
5637 if (!SWIG_IsOK(ecode2)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5639 }
5640 arg2 = static_cast< int >(val2);
5641 {
5642 arg3 = wxString_in_helper(obj2);
5643 if (arg3 == NULL) SWIG_fail;
5644 temp3 = true;
5645 }
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = SWIG_Py_Void();
5653 {
5654 if (temp3)
5655 delete arg3;
5656 }
5657 return resultobj;
5658fail:
5659 {
5660 if (temp3)
5661 delete arg3;
5662 }
5663 return NULL;
5664}
5665
5666
5667SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj = 0;
5669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5670 int arg2 ;
5671 bool arg3 ;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 int val2 ;
5675 int ecode2 = 0 ;
5676 bool val3 ;
5677 int ecode3 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 PyObject * obj2 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "style",(char *) "filled", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5689 }
5690 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5691 ecode2 = SWIG_AsVal_int(obj1, &val2);
5692 if (!SWIG_IsOK(ecode2)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5694 }
5695 arg2 = static_cast< int >(val2);
5696 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5697 if (!SWIG_IsOK(ecode3)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5699 }
5700 arg3 = static_cast< bool >(val3);
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->StyleSetEOLFilled(arg2,arg3);
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 resultobj = SWIG_Py_Void();
5708 return resultobj;
5709fail:
5710 return NULL;
5711}
5712
5713
5714SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5715 PyObject *resultobj = 0;
5716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5717 void *argp1 = 0 ;
5718 int res1 = 0 ;
5719 PyObject *swig_obj[1] ;
5720
5721 if (!args) SWIG_fail;
5722 swig_obj[0] = args;
5723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5724 if (!SWIG_IsOK(res1)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5726 }
5727 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 (arg1)->StyleResetDefault();
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 resultobj = SWIG_Py_Void();
5735 return resultobj;
5736fail:
5737 return NULL;
5738}
5739
5740
5741SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj = 0;
5743 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5744 int arg2 ;
5745 bool arg3 ;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 int val2 ;
5749 int ecode2 = 0 ;
5750 bool val3 ;
5751 int ecode3 = 0 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 char * kwnames[] = {
5756 (char *) "self",(char *) "style",(char *) "underline", NULL
5757 };
5758
5759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5763 }
5764 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5765 ecode2 = SWIG_AsVal_int(obj1, &val2);
5766 if (!SWIG_IsOK(ecode2)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5768 }
5769 arg2 = static_cast< int >(val2);
5770 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5771 if (!SWIG_IsOK(ecode3)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5773 }
5774 arg3 = static_cast< bool >(val3);
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 (arg1)->StyleSetUnderline(arg2,arg3);
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 resultobj = SWIG_Py_Void();
5782 return resultobj;
5783fail:
5784 return NULL;
5785}
5786
5787
5788SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj = 0;
5790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5791 int arg2 ;
5792 int arg3 ;
5793 void *argp1 = 0 ;
5794 int res1 = 0 ;
5795 int val2 ;
5796 int ecode2 = 0 ;
5797 int val3 ;
5798 int ecode3 = 0 ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 PyObject * obj2 = 0 ;
5802 char * kwnames[] = {
5803 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5804 };
5805
5806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5808 if (!SWIG_IsOK(res1)) {
5809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5810 }
5811 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5812 ecode2 = SWIG_AsVal_int(obj1, &val2);
5813 if (!SWIG_IsOK(ecode2)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5815 }
5816 arg2 = static_cast< int >(val2);
5817 ecode3 = SWIG_AsVal_int(obj2, &val3);
5818 if (!SWIG_IsOK(ecode3)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5820 }
5821 arg3 = static_cast< int >(val3);
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->StyleSetCase(arg2,arg3);
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 resultobj = SWIG_Py_Void();
5829 return resultobj;
5830fail:
5831 return NULL;
5832}
5833
5834
5835SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj = 0;
5837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5838 int arg2 ;
5839 bool arg3 ;
5840 void *argp1 = 0 ;
5841 int res1 = 0 ;
5842 int val2 ;
5843 int ecode2 = 0 ;
5844 bool val3 ;
5845 int ecode3 = 0 ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 PyObject * obj2 = 0 ;
5849 char * kwnames[] = {
5850 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5851 };
5852
5853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5855 if (!SWIG_IsOK(res1)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5857 }
5858 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5859 ecode2 = SWIG_AsVal_int(obj1, &val2);
5860 if (!SWIG_IsOK(ecode2)) {
5861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5862 }
5863 arg2 = static_cast< int >(val2);
5864 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5865 if (!SWIG_IsOK(ecode3)) {
5866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5867 }
5868 arg3 = static_cast< bool >(val3);
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 (arg1)->StyleSetHotSpot(arg2,arg3);
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = SWIG_Py_Void();
5876 return resultobj;
5877fail:
5878 return NULL;
5879}
5880
5881
5882SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj = 0;
5884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5885 bool arg2 ;
5886 wxColour *arg3 = 0 ;
5887 void *argp1 = 0 ;
5888 int res1 = 0 ;
5889 bool val2 ;
5890 int ecode2 = 0 ;
5891 wxColour temp3 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 PyObject * obj2 = 0 ;
5895 char * kwnames[] = {
5896 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5897 };
5898
5899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5901 if (!SWIG_IsOK(res1)) {
5902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5903 }
5904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5905 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5906 if (!SWIG_IsOK(ecode2)) {
5907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5908 }
5909 arg2 = static_cast< bool >(val2);
5910 {
5911 arg3 = &temp3;
5912 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5913 }
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922fail:
5923 return NULL;
5924}
5925
5926
5927SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj = 0;
5929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5930 bool arg2 ;
5931 wxColour *arg3 = 0 ;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 bool val2 ;
5935 int ecode2 = 0 ;
5936 wxColour temp3 ;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj1 = 0 ;
5939 PyObject * obj2 = 0 ;
5940 char * kwnames[] = {
5941 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5942 };
5943
5944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5946 if (!SWIG_IsOK(res1)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5948 }
5949 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5951 if (!SWIG_IsOK(ecode2)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5953 }
5954 arg2 = static_cast< bool >(val2);
5955 {
5956 arg3 = &temp3;
5957 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5958 }
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 resultobj = SWIG_Py_Void();
5966 return resultobj;
5967fail:
5968 return NULL;
5969}
5970
5971
5972SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5973 PyObject *resultobj = 0;
5974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5975 int result;
5976 void *argp1 = 0 ;
5977 int res1 = 0 ;
5978 PyObject *swig_obj[1] ;
5979
5980 if (!args) SWIG_fail;
5981 swig_obj[0] = args;
5982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5983 if (!SWIG_IsOK(res1)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5985 }
5986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (int)(arg1)->GetSelAlpha();
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 resultobj = SWIG_From_int(static_cast< int >(result));
5994 return resultobj;
5995fail:
5996 return NULL;
5997}
5998
5999
6000SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj = 0;
6002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6003 int arg2 ;
6004 void *argp1 = 0 ;
6005 int res1 = 0 ;
6006 int val2 ;
6007 int ecode2 = 0 ;
6008 PyObject * obj0 = 0 ;
6009 PyObject * obj1 = 0 ;
6010 char * kwnames[] = {
6011 (char *) "self",(char *) "alpha", NULL
6012 };
6013
6014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
6015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6016 if (!SWIG_IsOK(res1)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6018 }
6019 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6020 ecode2 = SWIG_AsVal_int(obj1, &val2);
6021 if (!SWIG_IsOK(ecode2)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
6023 }
6024 arg2 = static_cast< int >(val2);
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->SetSelAlpha(arg2);
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033fail:
6034 return NULL;
6035}
6036
6037
6038SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj = 0;
6040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6041 wxColour *arg2 = 0 ;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 wxColour temp2 ;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 char * kwnames[] = {
6048 (char *) "self",(char *) "fore", NULL
6049 };
6050
6051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6053 if (!SWIG_IsOK(res1)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6055 }
6056 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6057 {
6058 arg2 = &temp2;
6059 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 (arg1)->SetCaretForeground((wxColour const &)*arg2);
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_Py_Void();
6068 return resultobj;
6069fail:
6070 return NULL;
6071}
6072
6073
6074SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj = 0;
6076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6077 int arg2 ;
6078 int arg3 ;
6079 int arg4 ;
6080 void *argp1 = 0 ;
6081 int res1 = 0 ;
6082 int val2 ;
6083 int ecode2 = 0 ;
6084 int val3 ;
6085 int ecode3 = 0 ;
6086 int val4 ;
6087 int ecode4 = 0 ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 char * kwnames[] = {
6093 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
6094 };
6095
6096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6098 if (!SWIG_IsOK(res1)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6100 }
6101 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6102 ecode2 = SWIG_AsVal_int(obj1, &val2);
6103 if (!SWIG_IsOK(ecode2)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
6105 }
6106 arg2 = static_cast< int >(val2);
6107 ecode3 = SWIG_AsVal_int(obj2, &val3);
6108 if (!SWIG_IsOK(ecode3)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
6110 }
6111 arg3 = static_cast< int >(val3);
6112 ecode4 = SWIG_AsVal_int(obj3, &val4);
6113 if (!SWIG_IsOK(ecode4)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
6115 }
6116 arg4 = static_cast< int >(val4);
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_Py_Void();
6124 return resultobj;
6125fail:
6126 return NULL;
6127}
6128
6129
6130SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj = 0;
6132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6133 int arg2 ;
6134 int arg3 ;
6135 void *argp1 = 0 ;
6136 int res1 = 0 ;
6137 int val2 ;
6138 int ecode2 = 0 ;
6139 int val3 ;
6140 int ecode3 = 0 ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 PyObject * obj2 = 0 ;
6144 char * kwnames[] = {
6145 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6146 };
6147
6148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6150 if (!SWIG_IsOK(res1)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6152 }
6153 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6154 ecode2 = SWIG_AsVal_int(obj1, &val2);
6155 if (!SWIG_IsOK(ecode2)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6157 }
6158 arg2 = static_cast< int >(val2);
6159 ecode3 = SWIG_AsVal_int(obj2, &val3);
6160 if (!SWIG_IsOK(ecode3)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6162 }
6163 arg3 = static_cast< int >(val3);
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->CmdKeyClear(arg2,arg3);
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_Py_Void();
6171 return resultobj;
6172fail:
6173 return NULL;
6174}
6175
6176
6177SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6178 PyObject *resultobj = 0;
6179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6180 void *argp1 = 0 ;
6181 int res1 = 0 ;
6182 PyObject *swig_obj[1] ;
6183
6184 if (!args) SWIG_fail;
6185 swig_obj[0] = args;
6186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6189 }
6190 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->CmdKeyClearAll();
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = SWIG_Py_Void();
6198 return resultobj;
6199fail:
6200 return NULL;
6201}
6202
6203
6204SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj = 0;
6206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6207 int arg2 ;
6208 char *arg3 = (char *) 0 ;
6209 void *argp1 = 0 ;
6210 int res1 = 0 ;
6211 int val2 ;
6212 int ecode2 = 0 ;
6213 int res3 ;
6214 char *buf3 = 0 ;
6215 int alloc3 = 0 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 PyObject * obj2 = 0 ;
6219 char * kwnames[] = {
6220 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6221 };
6222
6223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6225 if (!SWIG_IsOK(res1)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6227 }
6228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6229 ecode2 = SWIG_AsVal_int(obj1, &val2);
6230 if (!SWIG_IsOK(ecode2)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6232 }
6233 arg2 = static_cast< int >(val2);
6234 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6235 if (!SWIG_IsOK(res3)) {
6236 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6237 }
6238 arg3 = buf3;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 (arg1)->SetStyleBytes(arg2,arg3);
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = SWIG_Py_Void();
6246 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6247 return resultobj;
6248fail:
6249 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6250 return NULL;
6251}
6252
6253
6254SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj = 0;
6256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6257 int arg2 ;
6258 bool arg3 ;
6259 void *argp1 = 0 ;
6260 int res1 = 0 ;
6261 int val2 ;
6262 int ecode2 = 0 ;
6263 bool val3 ;
6264 int ecode3 = 0 ;
6265 PyObject * obj0 = 0 ;
6266 PyObject * obj1 = 0 ;
6267 PyObject * obj2 = 0 ;
6268 char * kwnames[] = {
6269 (char *) "self",(char *) "style",(char *) "visible", NULL
6270 };
6271
6272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6274 if (!SWIG_IsOK(res1)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6276 }
6277 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6278 ecode2 = SWIG_AsVal_int(obj1, &val2);
6279 if (!SWIG_IsOK(ecode2)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6281 }
6282 arg2 = static_cast< int >(val2);
6283 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6284 if (!SWIG_IsOK(ecode3)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6286 }
6287 arg3 = static_cast< bool >(val3);
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 (arg1)->StyleSetVisible(arg2,arg3);
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 resultobj = SWIG_Py_Void();
6295 return resultobj;
6296fail:
6297 return NULL;
6298}
6299
6300
6301SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6302 PyObject *resultobj = 0;
6303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6304 int result;
6305 void *argp1 = 0 ;
6306 int res1 = 0 ;
6307 PyObject *swig_obj[1] ;
6308
6309 if (!args) SWIG_fail;
6310 swig_obj[0] = args;
6311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6312 if (!SWIG_IsOK(res1)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6314 }
6315 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (int)(arg1)->GetCaretPeriod();
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = SWIG_From_int(static_cast< int >(result));
6323 return resultobj;
6324fail:
6325 return NULL;
6326}
6327
6328
6329SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj = 0;
6331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6332 int arg2 ;
6333 void *argp1 = 0 ;
6334 int res1 = 0 ;
6335 int val2 ;
6336 int ecode2 = 0 ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char * kwnames[] = {
6340 (char *) "self",(char *) "periodMilliseconds", NULL
6341 };
6342
6343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
6344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6345 if (!SWIG_IsOK(res1)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6347 }
6348 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6349 ecode2 = SWIG_AsVal_int(obj1, &val2);
6350 if (!SWIG_IsOK(ecode2)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6352 }
6353 arg2 = static_cast< int >(val2);
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 (arg1)->SetCaretPeriod(arg2);
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 resultobj = SWIG_Py_Void();
6361 return resultobj;
6362fail:
6363 return NULL;
6364}
6365
6366
6367SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj = 0;
6369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6370 wxString *arg2 = 0 ;
6371 void *argp1 = 0 ;
6372 int res1 = 0 ;
6373 bool temp2 = false ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 char * kwnames[] = {
6377 (char *) "self",(char *) "characters", NULL
6378 };
6379
6380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6382 if (!SWIG_IsOK(res1)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6384 }
6385 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6386 {
6387 arg2 = wxString_in_helper(obj1);
6388 if (arg2 == NULL) SWIG_fail;
6389 temp2 = true;
6390 }
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 (arg1)->SetWordChars((wxString const &)*arg2);
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = SWIG_Py_Void();
6398 {
6399 if (temp2)
6400 delete arg2;
6401 }
6402 return resultobj;
6403fail:
6404 {
6405 if (temp2)
6406 delete arg2;
6407 }
6408 return NULL;
6409}
6410
6411
6412SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6413 PyObject *resultobj = 0;
6414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6415 void *argp1 = 0 ;
6416 int res1 = 0 ;
6417 PyObject *swig_obj[1] ;
6418
6419 if (!args) SWIG_fail;
6420 swig_obj[0] = args;
6421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6422 if (!SWIG_IsOK(res1)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6424 }
6425 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 (arg1)->BeginUndoAction();
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 resultobj = SWIG_Py_Void();
6433 return resultobj;
6434fail:
6435 return NULL;
6436}
6437
6438
6439SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6440 PyObject *resultobj = 0;
6441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6442 void *argp1 = 0 ;
6443 int res1 = 0 ;
6444 PyObject *swig_obj[1] ;
6445
6446 if (!args) SWIG_fail;
6447 swig_obj[0] = args;
6448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6449 if (!SWIG_IsOK(res1)) {
6450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6451 }
6452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 (arg1)->EndUndoAction();
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 resultobj = SWIG_Py_Void();
6460 return resultobj;
6461fail:
6462 return NULL;
6463}
6464
6465
6466SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6467 PyObject *resultobj = 0;
6468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6469 int arg2 ;
6470 int arg3 ;
6471 void *argp1 = 0 ;
6472 int res1 = 0 ;
6473 int val2 ;
6474 int ecode2 = 0 ;
6475 int val3 ;
6476 int ecode3 = 0 ;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 PyObject * obj2 = 0 ;
6480 char * kwnames[] = {
6481 (char *) "self",(char *) "indic",(char *) "style", NULL
6482 };
6483
6484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6486 if (!SWIG_IsOK(res1)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6488 }
6489 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6490 ecode2 = SWIG_AsVal_int(obj1, &val2);
6491 if (!SWIG_IsOK(ecode2)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6493 }
6494 arg2 = static_cast< int >(val2);
6495 ecode3 = SWIG_AsVal_int(obj2, &val3);
6496 if (!SWIG_IsOK(ecode3)) {
6497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6498 }
6499 arg3 = static_cast< int >(val3);
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 (arg1)->IndicatorSetStyle(arg2,arg3);
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 resultobj = SWIG_Py_Void();
6507 return resultobj;
6508fail:
6509 return NULL;
6510}
6511
6512
6513SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj = 0;
6515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6516 int arg2 ;
6517 int result;
6518 void *argp1 = 0 ;
6519 int res1 = 0 ;
6520 int val2 ;
6521 int ecode2 = 0 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char * kwnames[] = {
6525 (char *) "self",(char *) "indic", NULL
6526 };
6527
6528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6530 if (!SWIG_IsOK(res1)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6532 }
6533 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6534 ecode2 = SWIG_AsVal_int(obj1, &val2);
6535 if (!SWIG_IsOK(ecode2)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6537 }
6538 arg2 = static_cast< int >(val2);
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (int)(arg1)->IndicatorGetStyle(arg2);
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 resultobj = SWIG_From_int(static_cast< int >(result));
6546 return resultobj;
6547fail:
6548 return NULL;
6549}
6550
6551
6552SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj = 0;
6554 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6555 int arg2 ;
6556 wxColour *arg3 = 0 ;
6557 void *argp1 = 0 ;
6558 int res1 = 0 ;
6559 int val2 ;
6560 int ecode2 = 0 ;
6561 wxColour temp3 ;
6562 PyObject * obj0 = 0 ;
6563 PyObject * obj1 = 0 ;
6564 PyObject * obj2 = 0 ;
6565 char * kwnames[] = {
6566 (char *) "self",(char *) "indic",(char *) "fore", NULL
6567 };
6568
6569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6571 if (!SWIG_IsOK(res1)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6573 }
6574 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6575 ecode2 = SWIG_AsVal_int(obj1, &val2);
6576 if (!SWIG_IsOK(ecode2)) {
6577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6578 }
6579 arg2 = static_cast< int >(val2);
6580 {
6581 arg3 = &temp3;
6582 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6583 }
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 resultobj = SWIG_Py_Void();
6591 return resultobj;
6592fail:
6593 return NULL;
6594}
6595
6596
6597SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj = 0;
6599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6600 int arg2 ;
6601 wxColour result;
6602 void *argp1 = 0 ;
6603 int res1 = 0 ;
6604 int val2 ;
6605 int ecode2 = 0 ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 char * kwnames[] = {
6609 (char *) "self",(char *) "indic", NULL
6610 };
6611
6612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6614 if (!SWIG_IsOK(res1)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6616 }
6617 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6618 ecode2 = SWIG_AsVal_int(obj1, &val2);
6619 if (!SWIG_IsOK(ecode2)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6621 }
6622 arg2 = static_cast< int >(val2);
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (arg1)->IndicatorGetForeground(arg2);
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6630 return resultobj;
6631fail:
6632 return NULL;
6633}
6634
6635
6636SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj = 0;
6638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6639 bool arg2 ;
6640 wxColour *arg3 = 0 ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 bool val2 ;
6644 int ecode2 = 0 ;
6645 wxColour temp3 ;
6646 PyObject * obj0 = 0 ;
6647 PyObject * obj1 = 0 ;
6648 PyObject * obj2 = 0 ;
6649 char * kwnames[] = {
6650 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6651 };
6652
6653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6657 }
6658 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6659 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6660 if (!SWIG_IsOK(ecode2)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6662 }
6663 arg2 = static_cast< bool >(val2);
6664 {
6665 arg3 = &temp3;
6666 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6667 }
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 resultobj = SWIG_Py_Void();
6675 return resultobj;
6676fail:
6677 return NULL;
6678}
6679
6680
6681SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj = 0;
6683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6684 bool arg2 ;
6685 wxColour *arg3 = 0 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 bool val2 ;
6689 int ecode2 = 0 ;
6690 wxColour temp3 ;
6691 PyObject * obj0 = 0 ;
6692 PyObject * obj1 = 0 ;
6693 PyObject * obj2 = 0 ;
6694 char * kwnames[] = {
6695 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6696 };
6697
6698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6700 if (!SWIG_IsOK(res1)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6702 }
6703 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6704 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6705 if (!SWIG_IsOK(ecode2)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6707 }
6708 arg2 = static_cast< bool >(val2);
6709 {
6710 arg3 = &temp3;
6711 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6712 }
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = SWIG_Py_Void();
6720 return resultobj;
6721fail:
6722 return NULL;
6723}
6724
6725
6726SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj = 0;
6728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6729 int arg2 ;
6730 void *argp1 = 0 ;
6731 int res1 = 0 ;
6732 int val2 ;
6733 int ecode2 = 0 ;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 char * kwnames[] = {
6737 (char *) "self",(char *) "bits", NULL
6738 };
6739
6740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6742 if (!SWIG_IsOK(res1)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6744 }
6745 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6746 ecode2 = SWIG_AsVal_int(obj1, &val2);
6747 if (!SWIG_IsOK(ecode2)) {
6748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6749 }
6750 arg2 = static_cast< int >(val2);
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 (arg1)->SetStyleBits(arg2);
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 resultobj = SWIG_Py_Void();
6758 return resultobj;
6759fail:
6760 return NULL;
6761}
6762
6763
6764SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6765 PyObject *resultobj = 0;
6766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6767 int result;
6768 void *argp1 = 0 ;
6769 int res1 = 0 ;
6770 PyObject *swig_obj[1] ;
6771
6772 if (!args) SWIG_fail;
6773 swig_obj[0] = args;
6774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6775 if (!SWIG_IsOK(res1)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6777 }
6778 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 result = (int)(arg1)->GetStyleBits();
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 resultobj = SWIG_From_int(static_cast< int >(result));
6786 return resultobj;
6787fail:
6788 return NULL;
6789}
6790
6791
6792SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj = 0;
6794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6795 int arg2 ;
6796 int arg3 ;
6797 void *argp1 = 0 ;
6798 int res1 = 0 ;
6799 int val2 ;
6800 int ecode2 = 0 ;
6801 int val3 ;
6802 int ecode3 = 0 ;
6803 PyObject * obj0 = 0 ;
6804 PyObject * obj1 = 0 ;
6805 PyObject * obj2 = 0 ;
6806 char * kwnames[] = {
6807 (char *) "self",(char *) "line",(char *) "state", NULL
6808 };
6809
6810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6812 if (!SWIG_IsOK(res1)) {
6813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6814 }
6815 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6816 ecode2 = SWIG_AsVal_int(obj1, &val2);
6817 if (!SWIG_IsOK(ecode2)) {
6818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6819 }
6820 arg2 = static_cast< int >(val2);
6821 ecode3 = SWIG_AsVal_int(obj2, &val3);
6822 if (!SWIG_IsOK(ecode3)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6824 }
6825 arg3 = static_cast< int >(val3);
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 (arg1)->SetLineState(arg2,arg3);
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 resultobj = SWIG_Py_Void();
6833 return resultobj;
6834fail:
6835 return NULL;
6836}
6837
6838
6839SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj = 0;
6841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6842 int arg2 ;
6843 int result;
6844 void *argp1 = 0 ;
6845 int res1 = 0 ;
6846 int val2 ;
6847 int ecode2 = 0 ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char * kwnames[] = {
6851 (char *) "self",(char *) "line", NULL
6852 };
6853
6854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6856 if (!SWIG_IsOK(res1)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6858 }
6859 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6860 ecode2 = SWIG_AsVal_int(obj1, &val2);
6861 if (!SWIG_IsOK(ecode2)) {
6862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6863 }
6864 arg2 = static_cast< int >(val2);
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)(arg1)->GetLineState(arg2);
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_From_int(static_cast< int >(result));
6872 return resultobj;
6873fail:
6874 return NULL;
6875}
6876
6877
6878SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6879 PyObject *resultobj = 0;
6880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6881 int result;
6882 void *argp1 = 0 ;
6883 int res1 = 0 ;
6884 PyObject *swig_obj[1] ;
6885
6886 if (!args) SWIG_fail;
6887 swig_obj[0] = args;
6888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6889 if (!SWIG_IsOK(res1)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6891 }
6892 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (int)(arg1)->GetMaxLineState();
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = SWIG_From_int(static_cast< int >(result));
6900 return resultobj;
6901fail:
6902 return NULL;
6903}
6904
6905
6906SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6907 PyObject *resultobj = 0;
6908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6909 bool result;
6910 void *argp1 = 0 ;
6911 int res1 = 0 ;
6912 PyObject *swig_obj[1] ;
6913
6914 if (!args) SWIG_fail;
6915 swig_obj[0] = args;
6916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6917 if (!SWIG_IsOK(res1)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6919 }
6920 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (bool)(arg1)->GetCaretLineVisible();
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 {
6928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6929 }
6930 return resultobj;
6931fail:
6932 return NULL;
6933}
6934
6935
6936SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj = 0;
6938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6939 bool arg2 ;
6940 void *argp1 = 0 ;
6941 int res1 = 0 ;
6942 bool val2 ;
6943 int ecode2 = 0 ;
6944 PyObject * obj0 = 0 ;
6945 PyObject * obj1 = 0 ;
6946 char * kwnames[] = {
6947 (char *) "self",(char *) "show", NULL
6948 };
6949
6950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6952 if (!SWIG_IsOK(res1)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6954 }
6955 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6956 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6957 if (!SWIG_IsOK(ecode2)) {
6958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6959 }
6960 arg2 = static_cast< bool >(val2);
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->SetCaretLineVisible(arg2);
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 resultobj = SWIG_Py_Void();
6968 return resultobj;
6969fail:
6970 return NULL;
6971}
6972
6973
6974SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6975 PyObject *resultobj = 0;
6976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6977 wxColour result;
6978 void *argp1 = 0 ;
6979 int res1 = 0 ;
6980 PyObject *swig_obj[1] ;
6981
6982 if (!args) SWIG_fail;
6983 swig_obj[0] = args;
6984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6985 if (!SWIG_IsOK(res1)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6987 }
6988 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (arg1)->GetCaretLineBackground();
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6996 return resultobj;
6997fail:
6998 return NULL;
6999}
7000
7001
7002SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj = 0;
7004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7005 wxColour *arg2 = 0 ;
7006 void *argp1 = 0 ;
7007 int res1 = 0 ;
7008 wxColour temp2 ;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 char * kwnames[] = {
7012 (char *) "self",(char *) "back", NULL
7013 };
7014
7015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackground",kwnames,&obj0,&obj1)) SWIG_fail;
7016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7017 if (!SWIG_IsOK(res1)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7019 }
7020 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7021 {
7022 arg2 = &temp2;
7023 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7024 }
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 (arg1)->SetCaretLineBackground((wxColour const &)*arg2);
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = SWIG_Py_Void();
7032 return resultobj;
7033fail:
7034 return NULL;
7035}
7036
7037
7038SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj = 0;
7040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7041 int arg2 ;
7042 bool arg3 ;
7043 void *argp1 = 0 ;
7044 int res1 = 0 ;
7045 int val2 ;
7046 int ecode2 = 0 ;
7047 bool val3 ;
7048 int ecode3 = 0 ;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 PyObject * obj2 = 0 ;
7052 char * kwnames[] = {
7053 (char *) "self",(char *) "style",(char *) "changeable", NULL
7054 };
7055
7056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7058 if (!SWIG_IsOK(res1)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7060 }
7061 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7062 ecode2 = SWIG_AsVal_int(obj1, &val2);
7063 if (!SWIG_IsOK(ecode2)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
7065 }
7066 arg2 = static_cast< int >(val2);
7067 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7068 if (!SWIG_IsOK(ecode3)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
7070 }
7071 arg3 = static_cast< bool >(val3);
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->StyleSetChangeable(arg2,arg3);
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = SWIG_Py_Void();
7079 return resultobj;
7080fail:
7081 return NULL;
7082}
7083
7084
7085SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj = 0;
7087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7088 int arg2 ;
7089 wxString *arg3 = 0 ;
7090 void *argp1 = 0 ;
7091 int res1 = 0 ;
7092 int val2 ;
7093 int ecode2 = 0 ;
7094 bool temp3 = false ;
7095 PyObject * obj0 = 0 ;
7096 PyObject * obj1 = 0 ;
7097 PyObject * obj2 = 0 ;
7098 char * kwnames[] = {
7099 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
7100 };
7101
7102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7104 if (!SWIG_IsOK(res1)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7106 }
7107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7108 ecode2 = SWIG_AsVal_int(obj1, &val2);
7109 if (!SWIG_IsOK(ecode2)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
7111 }
7112 arg2 = static_cast< int >(val2);
7113 {
7114 arg3 = wxString_in_helper(obj2);
7115 if (arg3 == NULL) SWIG_fail;
7116 temp3 = true;
7117 }
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 resultobj = SWIG_Py_Void();
7125 {
7126 if (temp3)
7127 delete arg3;
7128 }
7129 return resultobj;
7130fail:
7131 {
7132 if (temp3)
7133 delete arg3;
7134 }
7135 return NULL;
7136}
7137
7138
7139SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7140 PyObject *resultobj = 0;
7141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7142 void *argp1 = 0 ;
7143 int res1 = 0 ;
7144 PyObject *swig_obj[1] ;
7145
7146 if (!args) SWIG_fail;
7147 swig_obj[0] = args;
7148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7149 if (!SWIG_IsOK(res1)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7151 }
7152 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 (arg1)->AutoCompCancel();
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_Py_Void();
7160 return resultobj;
7161fail:
7162 return NULL;
7163}
7164
7165
7166SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7167 PyObject *resultobj = 0;
7168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7169 bool result;
7170 void *argp1 = 0 ;
7171 int res1 = 0 ;
7172 PyObject *swig_obj[1] ;
7173
7174 if (!args) SWIG_fail;
7175 swig_obj[0] = args;
7176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7177 if (!SWIG_IsOK(res1)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7179 }
7180 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = (bool)(arg1)->AutoCompActive();
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7189 }
7190 return resultobj;
7191fail:
7192 return NULL;
7193}
7194
7195
7196SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7199 int result;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 PyObject *swig_obj[1] ;
7203
7204 if (!args) SWIG_fail;
7205 swig_obj[0] = args;
7206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7207 if (!SWIG_IsOK(res1)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7209 }
7210 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (int)(arg1)->AutoCompPosStart();
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_From_int(static_cast< int >(result));
7218 return resultobj;
7219fail:
7220 return NULL;
7221}
7222
7223
7224SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7225 PyObject *resultobj = 0;
7226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7227 void *argp1 = 0 ;
7228 int res1 = 0 ;
7229 PyObject *swig_obj[1] ;
7230
7231 if (!args) SWIG_fail;
7232 swig_obj[0] = args;
7233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7234 if (!SWIG_IsOK(res1)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7236 }
7237 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 (arg1)->AutoCompComplete();
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 resultobj = SWIG_Py_Void();
7245 return resultobj;
7246fail:
7247 return NULL;
7248}
7249
7250
7251SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj = 0;
7253 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7254 wxString *arg2 = 0 ;
7255 void *argp1 = 0 ;
7256 int res1 = 0 ;
7257 bool temp2 = false ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 char * kwnames[] = {
7261 (char *) "self",(char *) "characterSet", NULL
7262 };
7263
7264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7266 if (!SWIG_IsOK(res1)) {
7267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7268 }
7269 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7270 {
7271 arg2 = wxString_in_helper(obj1);
7272 if (arg2 == NULL) SWIG_fail;
7273 temp2 = true;
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 (arg1)->AutoCompStops((wxString const &)*arg2);
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 resultobj = SWIG_Py_Void();
7282 {
7283 if (temp2)
7284 delete arg2;
7285 }
7286 return resultobj;
7287fail:
7288 {
7289 if (temp2)
7290 delete arg2;
7291 }
7292 return NULL;
7293}
7294
7295
7296SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj = 0;
7298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7299 int arg2 ;
7300 void *argp1 = 0 ;
7301 int res1 = 0 ;
7302 int val2 ;
7303 int ecode2 = 0 ;
7304 PyObject * obj0 = 0 ;
7305 PyObject * obj1 = 0 ;
7306 char * kwnames[] = {
7307 (char *) "self",(char *) "separatorCharacter", NULL
7308 };
7309
7310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7312 if (!SWIG_IsOK(res1)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7314 }
7315 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7316 ecode2 = SWIG_AsVal_int(obj1, &val2);
7317 if (!SWIG_IsOK(ecode2)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7319 }
7320 arg2 = static_cast< int >(val2);
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->AutoCompSetSeparator(arg2);
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = SWIG_Py_Void();
7328 return resultobj;
7329fail:
7330 return NULL;
7331}
7332
7333
7334SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7335 PyObject *resultobj = 0;
7336 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7337 int result;
7338 void *argp1 = 0 ;
7339 int res1 = 0 ;
7340 PyObject *swig_obj[1] ;
7341
7342 if (!args) SWIG_fail;
7343 swig_obj[0] = args;
7344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7345 if (!SWIG_IsOK(res1)) {
7346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7347 }
7348 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (int)(arg1)->AutoCompGetSeparator();
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_From_int(static_cast< int >(result));
7356 return resultobj;
7357fail:
7358 return NULL;
7359}
7360
7361
7362SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj = 0;
7364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7365 wxString *arg2 = 0 ;
7366 void *argp1 = 0 ;
7367 int res1 = 0 ;
7368 bool temp2 = false ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 char * kwnames[] = {
7372 (char *) "self",(char *) "text", NULL
7373 };
7374
7375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7377 if (!SWIG_IsOK(res1)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7379 }
7380 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7381 {
7382 arg2 = wxString_in_helper(obj1);
7383 if (arg2 == NULL) SWIG_fail;
7384 temp2 = true;
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 (arg1)->AutoCompSelect((wxString const &)*arg2);
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 resultobj = SWIG_Py_Void();
7393 {
7394 if (temp2)
7395 delete arg2;
7396 }
7397 return resultobj;
7398fail:
7399 {
7400 if (temp2)
7401 delete arg2;
7402 }
7403 return NULL;
7404}
7405
7406
7407SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj = 0;
7409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7410 bool arg2 ;
7411 void *argp1 = 0 ;
7412 int res1 = 0 ;
7413 bool val2 ;
7414 int ecode2 = 0 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char * kwnames[] = {
7418 (char *) "self",(char *) "cancel", NULL
7419 };
7420
7421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7423 if (!SWIG_IsOK(res1)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7425 }
7426 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7427 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7428 if (!SWIG_IsOK(ecode2)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7430 }
7431 arg2 = static_cast< bool >(val2);
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->AutoCompSetCancelAtStart(arg2);
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_Py_Void();
7439 return resultobj;
7440fail:
7441 return NULL;
7442}
7443
7444
7445SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7446 PyObject *resultobj = 0;
7447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7448 bool result;
7449 void *argp1 = 0 ;
7450 int res1 = 0 ;
7451 PyObject *swig_obj[1] ;
7452
7453 if (!args) SWIG_fail;
7454 swig_obj[0] = args;
7455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7456 if (!SWIG_IsOK(res1)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7458 }
7459 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7468 }
7469 return resultobj;
7470fail:
7471 return NULL;
7472}
7473
7474
7475SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj = 0;
7477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7478 wxString *arg2 = 0 ;
7479 void *argp1 = 0 ;
7480 int res1 = 0 ;
7481 bool temp2 = false ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 char * kwnames[] = {
7485 (char *) "self",(char *) "characterSet", NULL
7486 };
7487
7488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7492 }
7493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7494 {
7495 arg2 = wxString_in_helper(obj1);
7496 if (arg2 == NULL) SWIG_fail;
7497 temp2 = true;
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 resultobj = SWIG_Py_Void();
7506 {
7507 if (temp2)
7508 delete arg2;
7509 }
7510 return resultobj;
7511fail:
7512 {
7513 if (temp2)
7514 delete arg2;
7515 }
7516 return NULL;
7517}
7518
7519
7520SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj = 0;
7522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7523 bool arg2 ;
7524 void *argp1 = 0 ;
7525 int res1 = 0 ;
7526 bool val2 ;
7527 int ecode2 = 0 ;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char * kwnames[] = {
7531 (char *) "self",(char *) "chooseSingle", NULL
7532 };
7533
7534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7536 if (!SWIG_IsOK(res1)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7538 }
7539 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7540 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7541 if (!SWIG_IsOK(ecode2)) {
7542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7543 }
7544 arg2 = static_cast< bool >(val2);
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 (arg1)->AutoCompSetChooseSingle(arg2);
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = SWIG_Py_Void();
7552 return resultobj;
7553fail:
7554 return NULL;
7555}
7556
7557
7558SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7559 PyObject *resultobj = 0;
7560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7561 bool result;
7562 void *argp1 = 0 ;
7563 int res1 = 0 ;
7564 PyObject *swig_obj[1] ;
7565
7566 if (!args) SWIG_fail;
7567 swig_obj[0] = args;
7568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7569 if (!SWIG_IsOK(res1)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7571 }
7572 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (bool)(arg1)->AutoCompGetChooseSingle();
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 {
7580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7581 }
7582 return resultobj;
7583fail:
7584 return NULL;
7585}
7586
7587
7588SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj = 0;
7590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7591 bool arg2 ;
7592 void *argp1 = 0 ;
7593 int res1 = 0 ;
7594 bool val2 ;
7595 int ecode2 = 0 ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char * kwnames[] = {
7599 (char *) "self",(char *) "ignoreCase", NULL
7600 };
7601
7602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7604 if (!SWIG_IsOK(res1)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7606 }
7607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7608 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7609 if (!SWIG_IsOK(ecode2)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7611 }
7612 arg2 = static_cast< bool >(val2);
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 (arg1)->AutoCompSetIgnoreCase(arg2);
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_Py_Void();
7620 return resultobj;
7621fail:
7622 return NULL;
7623}
7624
7625
7626SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7627 PyObject *resultobj = 0;
7628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7629 bool result;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 PyObject *swig_obj[1] ;
7633
7634 if (!args) SWIG_fail;
7635 swig_obj[0] = args;
7636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7639 }
7640 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 {
7648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7649 }
7650 return resultobj;
7651fail:
7652 return NULL;
7653}
7654
7655
7656SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj = 0;
7658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7659 int arg2 ;
7660 wxString *arg3 = 0 ;
7661 void *argp1 = 0 ;
7662 int res1 = 0 ;
7663 int val2 ;
7664 int ecode2 = 0 ;
7665 bool temp3 = false ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 PyObject * obj2 = 0 ;
7669 char * kwnames[] = {
7670 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7671 };
7672
7673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7675 if (!SWIG_IsOK(res1)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7677 }
7678 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7679 ecode2 = SWIG_AsVal_int(obj1, &val2);
7680 if (!SWIG_IsOK(ecode2)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7682 }
7683 arg2 = static_cast< int >(val2);
7684 {
7685 arg3 = wxString_in_helper(obj2);
7686 if (arg3 == NULL) SWIG_fail;
7687 temp3 = true;
7688 }
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = SWIG_Py_Void();
7696 {
7697 if (temp3)
7698 delete arg3;
7699 }
7700 return resultobj;
7701fail:
7702 {
7703 if (temp3)
7704 delete arg3;
7705 }
7706 return NULL;
7707}
7708
7709
7710SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj = 0;
7712 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7713 bool arg2 ;
7714 void *argp1 = 0 ;
7715 int res1 = 0 ;
7716 bool val2 ;
7717 int ecode2 = 0 ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 char * kwnames[] = {
7721 (char *) "self",(char *) "autoHide", NULL
7722 };
7723
7724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7726 if (!SWIG_IsOK(res1)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7728 }
7729 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7730 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7731 if (!SWIG_IsOK(ecode2)) {
7732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7733 }
7734 arg2 = static_cast< bool >(val2);
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 (arg1)->AutoCompSetAutoHide(arg2);
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = SWIG_Py_Void();
7742 return resultobj;
7743fail:
7744 return NULL;
7745}
7746
7747
7748SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7749 PyObject *resultobj = 0;
7750 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7751 bool result;
7752 void *argp1 = 0 ;
7753 int res1 = 0 ;
7754 PyObject *swig_obj[1] ;
7755
7756 if (!args) SWIG_fail;
7757 swig_obj[0] = args;
7758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7759 if (!SWIG_IsOK(res1)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7761 }
7762 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (bool)(arg1)->AutoCompGetAutoHide();
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 {
7770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7771 }
7772 return resultobj;
7773fail:
7774 return NULL;
7775}
7776
7777
7778SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7779 PyObject *resultobj = 0;
7780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7781 bool arg2 ;
7782 void *argp1 = 0 ;
7783 int res1 = 0 ;
7784 bool val2 ;
7785 int ecode2 = 0 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 char * kwnames[] = {
7789 (char *) "self",(char *) "dropRestOfWord", NULL
7790 };
7791
7792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7794 if (!SWIG_IsOK(res1)) {
7795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7796 }
7797 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7798 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7799 if (!SWIG_IsOK(ecode2)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7801 }
7802 arg2 = static_cast< bool >(val2);
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 (arg1)->AutoCompSetDropRestOfWord(arg2);
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 resultobj = SWIG_Py_Void();
7810 return resultobj;
7811fail:
7812 return NULL;
7813}
7814
7815
7816SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7817 PyObject *resultobj = 0;
7818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7819 bool result;
7820 void *argp1 = 0 ;
7821 int res1 = 0 ;
7822 PyObject *swig_obj[1] ;
7823
7824 if (!args) SWIG_fail;
7825 swig_obj[0] = args;
7826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7827 if (!SWIG_IsOK(res1)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7829 }
7830 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 {
7838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7839 }
7840 return resultobj;
7841fail:
7842 return NULL;
7843}
7844
7845
7846SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj = 0;
7848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7849 int arg2 ;
7850 wxBitmap *arg3 = 0 ;
7851 void *argp1 = 0 ;
7852 int res1 = 0 ;
7853 int val2 ;
7854 int ecode2 = 0 ;
7855 void *argp3 = 0 ;
7856 int res3 = 0 ;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 PyObject * obj2 = 0 ;
7860 char * kwnames[] = {
7861 (char *) "self",(char *) "type",(char *) "bmp", NULL
7862 };
7863
7864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7866 if (!SWIG_IsOK(res1)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7868 }
7869 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7870 ecode2 = SWIG_AsVal_int(obj1, &val2);
7871 if (!SWIG_IsOK(ecode2)) {
7872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7873 }
7874 arg2 = static_cast< int >(val2);
7875 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7876 if (!SWIG_IsOK(res3)) {
7877 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7878 }
7879 if (!argp3) {
7880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7881 }
7882 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_Py_Void();
7890 return resultobj;
7891fail:
7892 return NULL;
7893}
7894
7895
7896SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7897 PyObject *resultobj = 0;
7898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 PyObject *swig_obj[1] ;
7902
7903 if (!args) SWIG_fail;
7904 swig_obj[0] = args;
7905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7906 if (!SWIG_IsOK(res1)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7908 }
7909 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 (arg1)->ClearRegisteredImages();
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 resultobj = SWIG_Py_Void();
7917 return resultobj;
7918fail:
7919 return NULL;
7920}
7921
7922
7923SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7924 PyObject *resultobj = 0;
7925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7926 int result;
7927 void *argp1 = 0 ;
7928 int res1 = 0 ;
7929 PyObject *swig_obj[1] ;
7930
7931 if (!args) SWIG_fail;
7932 swig_obj[0] = args;
7933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7934 if (!SWIG_IsOK(res1)) {
7935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7936 }
7937 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 result = (int)(arg1)->AutoCompGetTypeSeparator();
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = SWIG_From_int(static_cast< int >(result));
7945 return resultobj;
7946fail:
7947 return NULL;
7948}
7949
7950
7951SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj = 0;
7953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7954 int arg2 ;
7955 void *argp1 = 0 ;
7956 int res1 = 0 ;
7957 int val2 ;
7958 int ecode2 = 0 ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 char * kwnames[] = {
7962 (char *) "self",(char *) "separatorCharacter", NULL
7963 };
7964
7965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7967 if (!SWIG_IsOK(res1)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7969 }
7970 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7971 ecode2 = SWIG_AsVal_int(obj1, &val2);
7972 if (!SWIG_IsOK(ecode2)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7974 }
7975 arg2 = static_cast< int >(val2);
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 (arg1)->AutoCompSetTypeSeparator(arg2);
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_Py_Void();
7983 return resultobj;
7984fail:
7985 return NULL;
7986}
7987
7988
7989SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj = 0;
7991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7992 int arg2 ;
7993 void *argp1 = 0 ;
7994 int res1 = 0 ;
7995 int val2 ;
7996 int ecode2 = 0 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char * kwnames[] = {
8000 (char *) "self",(char *) "characterCount", NULL
8001 };
8002
8003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
8004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8005 if (!SWIG_IsOK(res1)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8007 }
8008 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8009 ecode2 = SWIG_AsVal_int(obj1, &val2);
8010 if (!SWIG_IsOK(ecode2)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
8012 }
8013 arg2 = static_cast< int >(val2);
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->AutoCompSetMaxWidth(arg2);
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 resultobj = SWIG_Py_Void();
8021 return resultobj;
8022fail:
8023 return NULL;
8024}
8025
8026
8027SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8030 int result;
8031 void *argp1 = 0 ;
8032 int res1 = 0 ;
8033 PyObject *swig_obj[1] ;
8034
8035 if (!args) SWIG_fail;
8036 swig_obj[0] = args;
8037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8038 if (!SWIG_IsOK(res1)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8040 }
8041 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (int)(arg1)->AutoCompGetMaxWidth();
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 resultobj = SWIG_From_int(static_cast< int >(result));
8049 return resultobj;
8050fail:
8051 return NULL;
8052}
8053
8054
8055SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj = 0;
8057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8058 int arg2 ;
8059 void *argp1 = 0 ;
8060 int res1 = 0 ;
8061 int val2 ;
8062 int ecode2 = 0 ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 char * kwnames[] = {
8066 (char *) "self",(char *) "rowCount", NULL
8067 };
8068
8069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8071 if (!SWIG_IsOK(res1)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8073 }
8074 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8075 ecode2 = SWIG_AsVal_int(obj1, &val2);
8076 if (!SWIG_IsOK(ecode2)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
8078 }
8079 arg2 = static_cast< int >(val2);
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 (arg1)->AutoCompSetMaxHeight(arg2);
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 resultobj = SWIG_Py_Void();
8087 return resultobj;
8088fail:
8089 return NULL;
8090}
8091
8092
8093SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8094 PyObject *resultobj = 0;
8095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8096 int result;
8097 void *argp1 = 0 ;
8098 int res1 = 0 ;
8099 PyObject *swig_obj[1] ;
8100
8101 if (!args) SWIG_fail;
8102 swig_obj[0] = args;
8103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8104 if (!SWIG_IsOK(res1)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8106 }
8107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (int)(arg1)->AutoCompGetMaxHeight();
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = SWIG_From_int(static_cast< int >(result));
8115 return resultobj;
8116fail:
8117 return NULL;
8118}
8119
8120
8121SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj = 0;
8123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8124 int arg2 ;
8125 void *argp1 = 0 ;
8126 int res1 = 0 ;
8127 int val2 ;
8128 int ecode2 = 0 ;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 char * kwnames[] = {
8132 (char *) "self",(char *) "indentSize", NULL
8133 };
8134
8135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8137 if (!SWIG_IsOK(res1)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8139 }
8140 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8141 ecode2 = SWIG_AsVal_int(obj1, &val2);
8142 if (!SWIG_IsOK(ecode2)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8144 }
8145 arg2 = static_cast< int >(val2);
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 (arg1)->SetIndent(arg2);
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = SWIG_Py_Void();
8153 return resultobj;
8154fail:
8155 return NULL;
8156}
8157
8158
8159SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8160 PyObject *resultobj = 0;
8161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8162 int result;
8163 void *argp1 = 0 ;
8164 int res1 = 0 ;
8165 PyObject *swig_obj[1] ;
8166
8167 if (!args) SWIG_fail;
8168 swig_obj[0] = args;
8169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8170 if (!SWIG_IsOK(res1)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8172 }
8173 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 result = (int)(arg1)->GetIndent();
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 resultobj = SWIG_From_int(static_cast< int >(result));
8181 return resultobj;
8182fail:
8183 return NULL;
8184}
8185
8186
8187SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj = 0;
8189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8190 bool arg2 ;
8191 void *argp1 = 0 ;
8192 int res1 = 0 ;
8193 bool val2 ;
8194 int ecode2 = 0 ;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 char * kwnames[] = {
8198 (char *) "self",(char *) "useTabs", NULL
8199 };
8200
8201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8203 if (!SWIG_IsOK(res1)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8205 }
8206 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8207 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8208 if (!SWIG_IsOK(ecode2)) {
8209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8210 }
8211 arg2 = static_cast< bool >(val2);
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->SetUseTabs(arg2);
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_Py_Void();
8219 return resultobj;
8220fail:
8221 return NULL;
8222}
8223
8224
8225SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8226 PyObject *resultobj = 0;
8227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8228 bool result;
8229 void *argp1 = 0 ;
8230 int res1 = 0 ;
8231 PyObject *swig_obj[1] ;
8232
8233 if (!args) SWIG_fail;
8234 swig_obj[0] = args;
8235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8236 if (!SWIG_IsOK(res1)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8238 }
8239 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 result = (bool)(arg1)->GetUseTabs();
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 {
8247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8248 }
8249 return resultobj;
8250fail:
8251 return NULL;
8252}
8253
8254
8255SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj = 0;
8257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8258 int arg2 ;
8259 int arg3 ;
8260 void *argp1 = 0 ;
8261 int res1 = 0 ;
8262 int val2 ;
8263 int ecode2 = 0 ;
8264 int val3 ;
8265 int ecode3 = 0 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 char * kwnames[] = {
8270 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8271 };
8272
8273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8275 if (!SWIG_IsOK(res1)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8277 }
8278 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8279 ecode2 = SWIG_AsVal_int(obj1, &val2);
8280 if (!SWIG_IsOK(ecode2)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8282 }
8283 arg2 = static_cast< int >(val2);
8284 ecode3 = SWIG_AsVal_int(obj2, &val3);
8285 if (!SWIG_IsOK(ecode3)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8287 }
8288 arg3 = static_cast< int >(val3);
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 (arg1)->SetLineIndentation(arg2,arg3);
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = SWIG_Py_Void();
8296 return resultobj;
8297fail:
8298 return NULL;
8299}
8300
8301
8302SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj = 0;
8304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8305 int arg2 ;
8306 int result;
8307 void *argp1 = 0 ;
8308 int res1 = 0 ;
8309 int val2 ;
8310 int ecode2 = 0 ;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 char * kwnames[] = {
8314 (char *) "self",(char *) "line", NULL
8315 };
8316
8317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8319 if (!SWIG_IsOK(res1)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8321 }
8322 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8323 ecode2 = SWIG_AsVal_int(obj1, &val2);
8324 if (!SWIG_IsOK(ecode2)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8326 }
8327 arg2 = static_cast< int >(val2);
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (int)(arg1)->GetLineIndentation(arg2);
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 resultobj = SWIG_From_int(static_cast< int >(result));
8335 return resultobj;
8336fail:
8337 return NULL;
8338}
8339
8340
8341SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj = 0;
8343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8344 int arg2 ;
8345 int result;
8346 void *argp1 = 0 ;
8347 int res1 = 0 ;
8348 int val2 ;
8349 int ecode2 = 0 ;
8350 PyObject * obj0 = 0 ;
8351 PyObject * obj1 = 0 ;
8352 char * kwnames[] = {
8353 (char *) "self",(char *) "line", NULL
8354 };
8355
8356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8358 if (!SWIG_IsOK(res1)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8360 }
8361 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8362 ecode2 = SWIG_AsVal_int(obj1, &val2);
8363 if (!SWIG_IsOK(ecode2)) {
8364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8365 }
8366 arg2 = static_cast< int >(val2);
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (int)(arg1)->GetLineIndentPosition(arg2);
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 resultobj = SWIG_From_int(static_cast< int >(result));
8374 return resultobj;
8375fail:
8376 return NULL;
8377}
8378
8379
8380SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj = 0;
8382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8383 int arg2 ;
8384 int result;
8385 void *argp1 = 0 ;
8386 int res1 = 0 ;
8387 int val2 ;
8388 int ecode2 = 0 ;
8389 PyObject * obj0 = 0 ;
8390 PyObject * obj1 = 0 ;
8391 char * kwnames[] = {
8392 (char *) "self",(char *) "pos", NULL
8393 };
8394
8395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8397 if (!SWIG_IsOK(res1)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8399 }
8400 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8401 ecode2 = SWIG_AsVal_int(obj1, &val2);
8402 if (!SWIG_IsOK(ecode2)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8404 }
8405 arg2 = static_cast< int >(val2);
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (int)(arg1)->GetColumn(arg2);
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 resultobj = SWIG_From_int(static_cast< int >(result));
8413 return resultobj;
8414fail:
8415 return NULL;
8416}
8417
8418
8419SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj = 0;
8421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8422 bool arg2 ;
8423 void *argp1 = 0 ;
8424 int res1 = 0 ;
8425 bool val2 ;
8426 int ecode2 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char * kwnames[] = {
8430 (char *) "self",(char *) "show", NULL
8431 };
8432
8433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8435 if (!SWIG_IsOK(res1)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8437 }
8438 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8439 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8440 if (!SWIG_IsOK(ecode2)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8442 }
8443 arg2 = static_cast< bool >(val2);
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->SetUseHorizontalScrollBar(arg2);
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = SWIG_Py_Void();
8451 return resultobj;
8452fail:
8453 return NULL;
8454}
8455
8456
8457SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8458 PyObject *resultobj = 0;
8459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8460 bool result;
8461 void *argp1 = 0 ;
8462 int res1 = 0 ;
8463 PyObject *swig_obj[1] ;
8464
8465 if (!args) SWIG_fail;
8466 swig_obj[0] = args;
8467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8468 if (!SWIG_IsOK(res1)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8470 }
8471 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 {
8479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8480 }
8481 return resultobj;
8482fail:
8483 return NULL;
8484}
8485
8486
8487SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj = 0;
8489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8490 bool arg2 ;
8491 void *argp1 = 0 ;
8492 int res1 = 0 ;
8493 bool val2 ;
8494 int ecode2 = 0 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char * kwnames[] = {
8498 (char *) "self",(char *) "show", NULL
8499 };
8500
8501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8503 if (!SWIG_IsOK(res1)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8505 }
8506 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8507 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8508 if (!SWIG_IsOK(ecode2)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8510 }
8511 arg2 = static_cast< bool >(val2);
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 (arg1)->SetIndentationGuides(arg2);
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = SWIG_Py_Void();
8519 return resultobj;
8520fail:
8521 return NULL;
8522}
8523
8524
8525SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8526 PyObject *resultobj = 0;
8527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8528 bool result;
8529 void *argp1 = 0 ;
8530 int res1 = 0 ;
8531 PyObject *swig_obj[1] ;
8532
8533 if (!args) SWIG_fail;
8534 swig_obj[0] = args;
8535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8536 if (!SWIG_IsOK(res1)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8538 }
8539 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 result = (bool)(arg1)->GetIndentationGuides();
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 {
8547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8548 }
8549 return resultobj;
8550fail:
8551 return NULL;
8552}
8553
8554
8555SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj = 0;
8557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8558 int arg2 ;
8559 void *argp1 = 0 ;
8560 int res1 = 0 ;
8561 int val2 ;
8562 int ecode2 = 0 ;
8563 PyObject * obj0 = 0 ;
8564 PyObject * obj1 = 0 ;
8565 char * kwnames[] = {
8566 (char *) "self",(char *) "column", NULL
8567 };
8568
8569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8571 if (!SWIG_IsOK(res1)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8573 }
8574 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8575 ecode2 = SWIG_AsVal_int(obj1, &val2);
8576 if (!SWIG_IsOK(ecode2)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8578 }
8579 arg2 = static_cast< int >(val2);
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetHighlightGuide(arg2);
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_Py_Void();
8587 return resultobj;
8588fail:
8589 return NULL;
8590}
8591
8592
8593SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8594 PyObject *resultobj = 0;
8595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8596 int result;
8597 void *argp1 = 0 ;
8598 int res1 = 0 ;
8599 PyObject *swig_obj[1] ;
8600
8601 if (!args) SWIG_fail;
8602 swig_obj[0] = args;
8603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8604 if (!SWIG_IsOK(res1)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8606 }
8607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (int)(arg1)->GetHighlightGuide();
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 resultobj = SWIG_From_int(static_cast< int >(result));
8615 return resultobj;
8616fail:
8617 return NULL;
8618}
8619
8620
8621SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj = 0;
8623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8624 int arg2 ;
8625 int result;
8626 void *argp1 = 0 ;
8627 int res1 = 0 ;
8628 int val2 ;
8629 int ecode2 = 0 ;
8630 PyObject * obj0 = 0 ;
8631 PyObject * obj1 = 0 ;
8632 char * kwnames[] = {
8633 (char *) "self",(char *) "line", NULL
8634 };
8635
8636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8638 if (!SWIG_IsOK(res1)) {
8639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8640 }
8641 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8642 ecode2 = SWIG_AsVal_int(obj1, &val2);
8643 if (!SWIG_IsOK(ecode2)) {
8644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8645 }
8646 arg2 = static_cast< int >(val2);
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (int)(arg1)->GetLineEndPosition(arg2);
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 resultobj = SWIG_From_int(static_cast< int >(result));
8654 return resultobj;
8655fail:
8656 return NULL;
8657}
8658
8659
8660SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8661 PyObject *resultobj = 0;
8662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8663 int result;
8664 void *argp1 = 0 ;
8665 int res1 = 0 ;
8666 PyObject *swig_obj[1] ;
8667
8668 if (!args) SWIG_fail;
8669 swig_obj[0] = args;
8670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8671 if (!SWIG_IsOK(res1)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8673 }
8674 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 result = (int)(arg1)->GetCodePage();
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 resultobj = SWIG_From_int(static_cast< int >(result));
8682 return resultobj;
8683fail:
8684 return NULL;
8685}
8686
8687
8688SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8689 PyObject *resultobj = 0;
8690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8691 wxColour result;
8692 void *argp1 = 0 ;
8693 int res1 = 0 ;
8694 PyObject *swig_obj[1] ;
8695
8696 if (!args) SWIG_fail;
8697 swig_obj[0] = args;
8698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8699 if (!SWIG_IsOK(res1)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8701 }
8702 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 result = (arg1)->GetCaretForeground();
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8710 return resultobj;
8711fail:
8712 return NULL;
8713}
8714
8715
8716SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8717 PyObject *resultobj = 0;
8718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 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_wxStyledTextCtrl, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8729 }
8730 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->GetReadOnly();
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_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj = 0;
8748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8749 int arg2 ;
8750 void *argp1 = 0 ;
8751 int res1 = 0 ;
8752 int val2 ;
8753 int ecode2 = 0 ;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 char * kwnames[] = {
8757 (char *) "self",(char *) "pos", NULL
8758 };
8759
8760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8762 if (!SWIG_IsOK(res1)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8764 }
8765 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8766 ecode2 = SWIG_AsVal_int(obj1, &val2);
8767 if (!SWIG_IsOK(ecode2)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8769 }
8770 arg2 = static_cast< int >(val2);
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->SetCurrentPos(arg2);
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = SWIG_Py_Void();
8778 return resultobj;
8779fail:
8780 return NULL;
8781}
8782
8783
8784SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj = 0;
8786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8787 int arg2 ;
8788 void *argp1 = 0 ;
8789 int res1 = 0 ;
8790 int val2 ;
8791 int ecode2 = 0 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char * kwnames[] = {
8795 (char *) "self",(char *) "pos", NULL
8796 };
8797
8798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8800 if (!SWIG_IsOK(res1)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8802 }
8803 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8804 ecode2 = SWIG_AsVal_int(obj1, &val2);
8805 if (!SWIG_IsOK(ecode2)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8807 }
8808 arg2 = static_cast< int >(val2);
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 (arg1)->SetSelectionStart(arg2);
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 resultobj = SWIG_Py_Void();
8816 return resultobj;
8817fail:
8818 return NULL;
8819}
8820
8821
8822SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8823 PyObject *resultobj = 0;
8824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8825 int result;
8826 void *argp1 = 0 ;
8827 int res1 = 0 ;
8828 PyObject *swig_obj[1] ;
8829
8830 if (!args) SWIG_fail;
8831 swig_obj[0] = args;
8832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8833 if (!SWIG_IsOK(res1)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8835 }
8836 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (int)(arg1)->GetSelectionStart();
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 resultobj = SWIG_From_int(static_cast< int >(result));
8844 return resultobj;
8845fail:
8846 return NULL;
8847}
8848
8849
8850SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8851 PyObject *resultobj = 0;
8852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8853 int arg2 ;
8854 void *argp1 = 0 ;
8855 int res1 = 0 ;
8856 int val2 ;
8857 int ecode2 = 0 ;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 char * kwnames[] = {
8861 (char *) "self",(char *) "pos", NULL
8862 };
8863
8864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8866 if (!SWIG_IsOK(res1)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8868 }
8869 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8870 ecode2 = SWIG_AsVal_int(obj1, &val2);
8871 if (!SWIG_IsOK(ecode2)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8873 }
8874 arg2 = static_cast< int >(val2);
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetSelectionEnd(arg2);
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_Py_Void();
8882 return resultobj;
8883fail:
8884 return NULL;
8885}
8886
8887
8888SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8889 PyObject *resultobj = 0;
8890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8891 int result;
8892 void *argp1 = 0 ;
8893 int res1 = 0 ;
8894 PyObject *swig_obj[1] ;
8895
8896 if (!args) SWIG_fail;
8897 swig_obj[0] = args;
8898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8899 if (!SWIG_IsOK(res1)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8901 }
8902 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (int)(arg1)->GetSelectionEnd();
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_From_int(static_cast< int >(result));
8910 return resultobj;
8911fail:
8912 return NULL;
8913}
8914
8915
8916SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj = 0;
8918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8919 int arg2 ;
8920 void *argp1 = 0 ;
8921 int res1 = 0 ;
8922 int val2 ;
8923 int ecode2 = 0 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char * kwnames[] = {
8927 (char *) "self",(char *) "magnification", NULL
8928 };
8929
8930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8932 if (!SWIG_IsOK(res1)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8934 }
8935 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8936 ecode2 = SWIG_AsVal_int(obj1, &val2);
8937 if (!SWIG_IsOK(ecode2)) {
8938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8939 }
8940 arg2 = static_cast< int >(val2);
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->SetPrintMagnification(arg2);
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 resultobj = SWIG_Py_Void();
8948 return resultobj;
8949fail:
8950 return NULL;
8951}
8952
8953
8954SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8955 PyObject *resultobj = 0;
8956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8957 int result;
8958 void *argp1 = 0 ;
8959 int res1 = 0 ;
8960 PyObject *swig_obj[1] ;
8961
8962 if (!args) SWIG_fail;
8963 swig_obj[0] = args;
8964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8965 if (!SWIG_IsOK(res1)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8967 }
8968 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (int)(arg1)->GetPrintMagnification();
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 resultobj = SWIG_From_int(static_cast< int >(result));
8976 return resultobj;
8977fail:
8978 return NULL;
8979}
8980
8981
8982SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj = 0;
8984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8985 int arg2 ;
8986 void *argp1 = 0 ;
8987 int res1 = 0 ;
8988 int val2 ;
8989 int ecode2 = 0 ;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 char * kwnames[] = {
8993 (char *) "self",(char *) "mode", NULL
8994 };
8995
8996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8998 if (!SWIG_IsOK(res1)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9000 }
9001 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9002 ecode2 = SWIG_AsVal_int(obj1, &val2);
9003 if (!SWIG_IsOK(ecode2)) {
9004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
9005 }
9006 arg2 = static_cast< int >(val2);
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 (arg1)->SetPrintColourMode(arg2);
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 resultobj = SWIG_Py_Void();
9014 return resultobj;
9015fail:
9016 return NULL;
9017}
9018
9019
9020SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9021 PyObject *resultobj = 0;
9022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9023 int result;
9024 void *argp1 = 0 ;
9025 int res1 = 0 ;
9026 PyObject *swig_obj[1] ;
9027
9028 if (!args) SWIG_fail;
9029 swig_obj[0] = args;
9030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9031 if (!SWIG_IsOK(res1)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9033 }
9034 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = (int)(arg1)->GetPrintColourMode();
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 resultobj = SWIG_From_int(static_cast< int >(result));
9042 return resultobj;
9043fail:
9044 return NULL;
9045}
9046
9047
9048SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj = 0;
9050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9051 int arg2 ;
9052 int arg3 ;
9053 wxString *arg4 = 0 ;
9054 int arg5 = (int) 0 ;
9055 int result;
9056 void *argp1 = 0 ;
9057 int res1 = 0 ;
9058 int val2 ;
9059 int ecode2 = 0 ;
9060 int val3 ;
9061 int ecode3 = 0 ;
9062 bool temp4 = false ;
9063 int val5 ;
9064 int ecode5 = 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 PyObject * obj2 = 0 ;
9068 PyObject * obj3 = 0 ;
9069 PyObject * obj4 = 0 ;
9070 char * kwnames[] = {
9071 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
9072 };
9073
9074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9076 if (!SWIG_IsOK(res1)) {
9077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9078 }
9079 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9080 ecode2 = SWIG_AsVal_int(obj1, &val2);
9081 if (!SWIG_IsOK(ecode2)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
9083 }
9084 arg2 = static_cast< int >(val2);
9085 ecode3 = SWIG_AsVal_int(obj2, &val3);
9086 if (!SWIG_IsOK(ecode3)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
9088 }
9089 arg3 = static_cast< int >(val3);
9090 {
9091 arg4 = wxString_in_helper(obj3);
9092 if (arg4 == NULL) SWIG_fail;
9093 temp4 = true;
9094 }
9095 if (obj4) {
9096 ecode5 = SWIG_AsVal_int(obj4, &val5);
9097 if (!SWIG_IsOK(ecode5)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
9099 }
9100 arg5 = static_cast< int >(val5);
9101 }
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = SWIG_From_int(static_cast< int >(result));
9109 {
9110 if (temp4)
9111 delete arg4;
9112 }
9113 return resultobj;
9114fail:
9115 {
9116 if (temp4)
9117 delete arg4;
9118 }
9119 return NULL;
9120}
9121
9122
9123SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj = 0;
9125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9126 bool arg2 ;
9127 int arg3 ;
9128 int arg4 ;
9129 wxDC *arg5 = (wxDC *) 0 ;
9130 wxDC *arg6 = (wxDC *) 0 ;
9131 wxRect arg7 ;
9132 wxRect arg8 ;
9133 int result;
9134 void *argp1 = 0 ;
9135 int res1 = 0 ;
9136 bool val2 ;
9137 int ecode2 = 0 ;
9138 int val3 ;
9139 int ecode3 = 0 ;
9140 int val4 ;
9141 int ecode4 = 0 ;
9142 void *argp5 = 0 ;
9143 int res5 = 0 ;
9144 void *argp6 = 0 ;
9145 int res6 = 0 ;
9146 void *argp7 ;
9147 int res7 = 0 ;
9148 void *argp8 ;
9149 int res8 = 0 ;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 PyObject * obj2 = 0 ;
9153 PyObject * obj3 = 0 ;
9154 PyObject * obj4 = 0 ;
9155 PyObject * obj5 = 0 ;
9156 PyObject * obj6 = 0 ;
9157 PyObject * obj7 = 0 ;
9158 char * kwnames[] = {
9159 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9160 };
9161
9162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9164 if (!SWIG_IsOK(res1)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9166 }
9167 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9168 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9169 if (!SWIG_IsOK(ecode2)) {
9170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9171 }
9172 arg2 = static_cast< bool >(val2);
9173 ecode3 = SWIG_AsVal_int(obj2, &val3);
9174 if (!SWIG_IsOK(ecode3)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9176 }
9177 arg3 = static_cast< int >(val3);
9178 ecode4 = SWIG_AsVal_int(obj3, &val4);
9179 if (!SWIG_IsOK(ecode4)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9181 }
9182 arg4 = static_cast< int >(val4);
9183 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9184 if (!SWIG_IsOK(res5)) {
9185 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9186 }
9187 arg5 = reinterpret_cast< wxDC * >(argp5);
9188 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9189 if (!SWIG_IsOK(res6)) {
9190 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9191 }
9192 arg6 = reinterpret_cast< wxDC * >(argp6);
9193 {
9194 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9195 if (!SWIG_IsOK(res7)) {
9196 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9197 }
9198 if (!argp7) {
9199 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9200 } else {
9201 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9202 arg7 = *temp;
9203 if (SWIG_IsNewObj(res7)) delete temp;
9204 }
9205 }
9206 {
9207 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9208 if (!SWIG_IsOK(res8)) {
9209 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9210 }
9211 if (!argp8) {
9212 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9213 } else {
9214 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9215 arg8 = *temp;
9216 if (SWIG_IsNewObj(res8)) delete temp;
9217 }
9218 }
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_From_int(static_cast< int >(result));
9226 return resultobj;
9227fail:
9228 return NULL;
9229}
9230
9231
9232SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9233 PyObject *resultobj = 0;
9234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9235 int result;
9236 void *argp1 = 0 ;
9237 int res1 = 0 ;
9238 PyObject *swig_obj[1] ;
9239
9240 if (!args) SWIG_fail;
9241 swig_obj[0] = args;
9242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9243 if (!SWIG_IsOK(res1)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9245 }
9246 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (int)(arg1)->GetFirstVisibleLine();
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = SWIG_From_int(static_cast< int >(result));
9254 return resultobj;
9255fail:
9256 return NULL;
9257}
9258
9259
9260SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj = 0;
9262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9263 int arg2 ;
9264 wxString result;
9265 void *argp1 = 0 ;
9266 int res1 = 0 ;
9267 int val2 ;
9268 int ecode2 = 0 ;
9269 PyObject * obj0 = 0 ;
9270 PyObject * obj1 = 0 ;
9271 char * kwnames[] = {
9272 (char *) "self",(char *) "line", NULL
9273 };
9274
9275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9277 if (!SWIG_IsOK(res1)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9279 }
9280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9281 ecode2 = SWIG_AsVal_int(obj1, &val2);
9282 if (!SWIG_IsOK(ecode2)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9284 }
9285 arg2 = static_cast< int >(val2);
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 result = (arg1)->GetLine(arg2);
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 {
9293#if wxUSE_UNICODE
9294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9295#else
9296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9297#endif
9298 }
9299 return resultobj;
9300fail:
9301 return NULL;
9302}
9303
9304
9305SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9306 PyObject *resultobj = 0;
9307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9308 int result;
9309 void *argp1 = 0 ;
9310 int res1 = 0 ;
9311 PyObject *swig_obj[1] ;
9312
9313 if (!args) SWIG_fail;
9314 swig_obj[0] = args;
9315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9316 if (!SWIG_IsOK(res1)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9318 }
9319 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (int)(arg1)->GetLineCount();
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_From_int(static_cast< int >(result));
9327 return resultobj;
9328fail:
9329 return NULL;
9330}
9331
9332
9333SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj = 0;
9335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9336 int arg2 ;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 int val2 ;
9340 int ecode2 = 0 ;
9341 PyObject * obj0 = 0 ;
9342 PyObject * obj1 = 0 ;
9343 char * kwnames[] = {
9344 (char *) "self",(char *) "pixelWidth", NULL
9345 };
9346
9347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9349 if (!SWIG_IsOK(res1)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9351 }
9352 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9353 ecode2 = SWIG_AsVal_int(obj1, &val2);
9354 if (!SWIG_IsOK(ecode2)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9356 }
9357 arg2 = static_cast< int >(val2);
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->SetMarginLeft(arg2);
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_Py_Void();
9365 return resultobj;
9366fail:
9367 return NULL;
9368}
9369
9370
9371SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9372 PyObject *resultobj = 0;
9373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9374 int result;
9375 void *argp1 = 0 ;
9376 int res1 = 0 ;
9377 PyObject *swig_obj[1] ;
9378
9379 if (!args) SWIG_fail;
9380 swig_obj[0] = args;
9381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9382 if (!SWIG_IsOK(res1)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9384 }
9385 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)(arg1)->GetMarginLeft();
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 resultobj = SWIG_From_int(static_cast< int >(result));
9393 return resultobj;
9394fail:
9395 return NULL;
9396}
9397
9398
9399SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9400 PyObject *resultobj = 0;
9401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9402 int arg2 ;
9403 void *argp1 = 0 ;
9404 int res1 = 0 ;
9405 int val2 ;
9406 int ecode2 = 0 ;
9407 PyObject * obj0 = 0 ;
9408 PyObject * obj1 = 0 ;
9409 char * kwnames[] = {
9410 (char *) "self",(char *) "pixelWidth", NULL
9411 };
9412
9413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9415 if (!SWIG_IsOK(res1)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9417 }
9418 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9419 ecode2 = SWIG_AsVal_int(obj1, &val2);
9420 if (!SWIG_IsOK(ecode2)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9422 }
9423 arg2 = static_cast< int >(val2);
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 (arg1)->SetMarginRight(arg2);
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 resultobj = SWIG_Py_Void();
9431 return resultobj;
9432fail:
9433 return NULL;
9434}
9435
9436
9437SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9438 PyObject *resultobj = 0;
9439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9440 int result;
9441 void *argp1 = 0 ;
9442 int res1 = 0 ;
9443 PyObject *swig_obj[1] ;
9444
9445 if (!args) SWIG_fail;
9446 swig_obj[0] = args;
9447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9448 if (!SWIG_IsOK(res1)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9450 }
9451 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (int)(arg1)->GetMarginRight();
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = SWIG_From_int(static_cast< int >(result));
9459 return resultobj;
9460fail:
9461 return NULL;
9462}
9463
9464
9465SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9466 PyObject *resultobj = 0;
9467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9468 bool result;
9469 void *argp1 = 0 ;
9470 int res1 = 0 ;
9471 PyObject *swig_obj[1] ;
9472
9473 if (!args) SWIG_fail;
9474 swig_obj[0] = args;
9475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9476 if (!SWIG_IsOK(res1)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9478 }
9479 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (bool)(arg1)->GetModify();
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9488 }
9489 return resultobj;
9490fail:
9491 return NULL;
9492}
9493
9494
9495SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj = 0;
9497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9498 int arg2 ;
9499 int arg3 ;
9500 void *argp1 = 0 ;
9501 int res1 = 0 ;
9502 int val2 ;
9503 int ecode2 = 0 ;
9504 int val3 ;
9505 int ecode3 = 0 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 PyObject * obj2 = 0 ;
9509 char * kwnames[] = {
9510 (char *) "self",(char *) "start",(char *) "end", NULL
9511 };
9512
9513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9515 if (!SWIG_IsOK(res1)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9517 }
9518 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9519 ecode2 = SWIG_AsVal_int(obj1, &val2);
9520 if (!SWIG_IsOK(ecode2)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9522 }
9523 arg2 = static_cast< int >(val2);
9524 ecode3 = SWIG_AsVal_int(obj2, &val3);
9525 if (!SWIG_IsOK(ecode3)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9527 }
9528 arg3 = static_cast< int >(val3);
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 (arg1)->SetSelection(arg2,arg3);
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = SWIG_Py_Void();
9536 return resultobj;
9537fail:
9538 return NULL;
9539}
9540
9541
9542SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9543 PyObject *resultobj = 0;
9544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9545 wxString result;
9546 void *argp1 = 0 ;
9547 int res1 = 0 ;
9548 PyObject *swig_obj[1] ;
9549
9550 if (!args) SWIG_fail;
9551 swig_obj[0] = args;
9552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9553 if (!SWIG_IsOK(res1)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9555 }
9556 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (arg1)->GetSelectedText();
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 {
9564#if wxUSE_UNICODE
9565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9566#else
9567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9568#endif
9569 }
9570 return resultobj;
9571fail:
9572 return NULL;
9573}
9574
9575
9576SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj = 0;
9578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9579 int arg2 ;
9580 int arg3 ;
9581 wxString result;
9582 void *argp1 = 0 ;
9583 int res1 = 0 ;
9584 int val2 ;
9585 int ecode2 = 0 ;
9586 int val3 ;
9587 int ecode3 = 0 ;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9590 PyObject * obj2 = 0 ;
9591 char * kwnames[] = {
9592 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9593 };
9594
9595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9597 if (!SWIG_IsOK(res1)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9599 }
9600 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9601 ecode2 = SWIG_AsVal_int(obj1, &val2);
9602 if (!SWIG_IsOK(ecode2)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9604 }
9605 arg2 = static_cast< int >(val2);
9606 ecode3 = SWIG_AsVal_int(obj2, &val3);
9607 if (!SWIG_IsOK(ecode3)) {
9608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9609 }
9610 arg3 = static_cast< int >(val3);
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (arg1)->GetTextRange(arg2,arg3);
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 {
9618#if wxUSE_UNICODE
9619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9620#else
9621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9622#endif
9623 }
9624 return resultobj;
9625fail:
9626 return NULL;
9627}
9628
9629
9630SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj = 0;
9632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9633 bool arg2 ;
9634 void *argp1 = 0 ;
9635 int res1 = 0 ;
9636 bool val2 ;
9637 int ecode2 = 0 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char * kwnames[] = {
9641 (char *) "self",(char *) "normal", NULL
9642 };
9643
9644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9646 if (!SWIG_IsOK(res1)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9648 }
9649 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9650 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9651 if (!SWIG_IsOK(ecode2)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9653 }
9654 arg2 = static_cast< bool >(val2);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->HideSelection(arg2);
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_Py_Void();
9662 return resultobj;
9663fail:
9664 return NULL;
9665}
9666
9667
9668SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = 0;
9670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9671 int arg2 ;
9672 int result;
9673 void *argp1 = 0 ;
9674 int res1 = 0 ;
9675 int val2 ;
9676 int ecode2 = 0 ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 char * kwnames[] = {
9680 (char *) "self",(char *) "pos", NULL
9681 };
9682
9683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9685 if (!SWIG_IsOK(res1)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9687 }
9688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9689 ecode2 = SWIG_AsVal_int(obj1, &val2);
9690 if (!SWIG_IsOK(ecode2)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9692 }
9693 arg2 = static_cast< int >(val2);
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (int)(arg1)->LineFromPosition(arg2);
9697 wxPyEndAllowThreads(__tstate);
9698 if (PyErr_Occurred()) SWIG_fail;
9699 }
9700 resultobj = SWIG_From_int(static_cast< int >(result));
9701 return resultobj;
9702fail:
9703 return NULL;
9704}
9705
9706
9707SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj = 0;
9709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9710 int arg2 ;
9711 int result;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 int val2 ;
9715 int ecode2 = 0 ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char * kwnames[] = {
9719 (char *) "self",(char *) "line", NULL
9720 };
9721
9722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9724 if (!SWIG_IsOK(res1)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9726 }
9727 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9728 ecode2 = SWIG_AsVal_int(obj1, &val2);
9729 if (!SWIG_IsOK(ecode2)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9731 }
9732 arg2 = static_cast< int >(val2);
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 result = (int)(arg1)->PositionFromLine(arg2);
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 resultobj = SWIG_From_int(static_cast< int >(result));
9740 return resultobj;
9741fail:
9742 return NULL;
9743}
9744
9745
9746SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj = 0;
9748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9749 int arg2 ;
9750 int arg3 ;
9751 void *argp1 = 0 ;
9752 int res1 = 0 ;
9753 int val2 ;
9754 int ecode2 = 0 ;
9755 int val3 ;
9756 int ecode3 = 0 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 PyObject * obj2 = 0 ;
9760 char * kwnames[] = {
9761 (char *) "self",(char *) "columns",(char *) "lines", NULL
9762 };
9763
9764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9766 if (!SWIG_IsOK(res1)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9768 }
9769 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9770 ecode2 = SWIG_AsVal_int(obj1, &val2);
9771 if (!SWIG_IsOK(ecode2)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9773 }
9774 arg2 = static_cast< int >(val2);
9775 ecode3 = SWIG_AsVal_int(obj2, &val3);
9776 if (!SWIG_IsOK(ecode3)) {
9777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9778 }
9779 arg3 = static_cast< int >(val3);
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 (arg1)->LineScroll(arg2,arg3);
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 resultobj = SWIG_Py_Void();
9787 return resultobj;
9788fail:
9789 return NULL;
9790}
9791
9792
9793SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9794 PyObject *resultobj = 0;
9795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9796 void *argp1 = 0 ;
9797 int res1 = 0 ;
9798 PyObject *swig_obj[1] ;
9799
9800 if (!args) SWIG_fail;
9801 swig_obj[0] = args;
9802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9803 if (!SWIG_IsOK(res1)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9805 }
9806 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
9809 (arg1)->EnsureCaretVisible();
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 }
9813 resultobj = SWIG_Py_Void();
9814 return resultobj;
9815fail:
9816 return NULL;
9817}
9818
9819
9820SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj = 0;
9822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9823 wxString *arg2 = 0 ;
9824 void *argp1 = 0 ;
9825 int res1 = 0 ;
9826 bool temp2 = false ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 char * kwnames[] = {
9830 (char *) "self",(char *) "text", NULL
9831 };
9832
9833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9835 if (!SWIG_IsOK(res1)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9837 }
9838 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9839 {
9840 arg2 = wxString_in_helper(obj1);
9841 if (arg2 == NULL) SWIG_fail;
9842 temp2 = true;
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 (arg1)->ReplaceSelection((wxString const &)*arg2);
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 resultobj = SWIG_Py_Void();
9851 {
9852 if (temp2)
9853 delete arg2;
9854 }
9855 return resultobj;
9856fail:
9857 {
9858 if (temp2)
9859 delete arg2;
9860 }
9861 return NULL;
9862}
9863
9864
9865SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = 0;
9867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9868 bool arg2 ;
9869 void *argp1 = 0 ;
9870 int res1 = 0 ;
9871 bool val2 ;
9872 int ecode2 = 0 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char * kwnames[] = {
9876 (char *) "self",(char *) "readOnly", NULL
9877 };
9878
9879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9881 if (!SWIG_IsOK(res1)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9883 }
9884 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9885 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9886 if (!SWIG_IsOK(ecode2)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9888 }
9889 arg2 = static_cast< bool >(val2);
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 (arg1)->SetReadOnly(arg2);
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = SWIG_Py_Void();
9897 return resultobj;
9898fail:
9899 return NULL;
9900}
9901
9902
9903SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9904 PyObject *resultobj = 0;
9905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9906 bool result;
9907 void *argp1 = 0 ;
9908 int res1 = 0 ;
9909 PyObject *swig_obj[1] ;
9910
9911 if (!args) SWIG_fail;
9912 swig_obj[0] = args;
9913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9914 if (!SWIG_IsOK(res1)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9916 }
9917 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->CanPaste();
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
9927 return resultobj;
9928fail:
9929 return NULL;
9930}
9931
9932
9933SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9934 PyObject *resultobj = 0;
9935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9936 bool result;
9937 void *argp1 = 0 ;
9938 int res1 = 0 ;
9939 PyObject *swig_obj[1] ;
9940
9941 if (!args) SWIG_fail;
9942 swig_obj[0] = args;
9943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9944 if (!SWIG_IsOK(res1)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9946 }
9947 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (bool)(arg1)->CanUndo();
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 {
9955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9956 }
9957 return resultobj;
9958fail:
9959 return NULL;
9960}
9961
9962
9963SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9964 PyObject *resultobj = 0;
9965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9966 void *argp1 = 0 ;
9967 int res1 = 0 ;
9968 PyObject *swig_obj[1] ;
9969
9970 if (!args) SWIG_fail;
9971 swig_obj[0] = args;
9972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9975 }
9976 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 (arg1)->EmptyUndoBuffer();
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_Py_Void();
9984 return resultobj;
9985fail:
9986 return NULL;
9987}
9988
9989
9990SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9991 PyObject *resultobj = 0;
9992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9993 void *argp1 = 0 ;
9994 int res1 = 0 ;
9995 PyObject *swig_obj[1] ;
9996
9997 if (!args) SWIG_fail;
9998 swig_obj[0] = args;
9999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10000 if (!SWIG_IsOK(res1)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10002 }
10003 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 (arg1)->Undo();
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_Py_Void();
10011 return resultobj;
10012fail:
10013 return NULL;
10014}
10015
10016
10017SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *resultobj = 0;
10019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10020 void *argp1 = 0 ;
10021 int res1 = 0 ;
10022 PyObject *swig_obj[1] ;
10023
10024 if (!args) SWIG_fail;
10025 swig_obj[0] = args;
10026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10029 }
10030 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->Cut();
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = SWIG_Py_Void();
10038 return resultobj;
10039fail:
10040 return NULL;
10041}
10042
10043
10044SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10045 PyObject *resultobj = 0;
10046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10047 void *argp1 = 0 ;
10048 int res1 = 0 ;
10049 PyObject *swig_obj[1] ;
10050
10051 if (!args) SWIG_fail;
10052 swig_obj[0] = args;
10053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10054 if (!SWIG_IsOK(res1)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10056 }
10057 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 (arg1)->Copy();
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 resultobj = SWIG_Py_Void();
10065 return resultobj;
10066fail:
10067 return NULL;
10068}
10069
10070
10071SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10072 PyObject *resultobj = 0;
10073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10074 void *argp1 = 0 ;
10075 int res1 = 0 ;
10076 PyObject *swig_obj[1] ;
10077
10078 if (!args) SWIG_fail;
10079 swig_obj[0] = args;
10080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10081 if (!SWIG_IsOK(res1)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10083 }
10084 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 (arg1)->Paste();
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_Py_Void();
10092 return resultobj;
10093fail:
10094 return NULL;
10095}
10096
10097
10098SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10099 PyObject *resultobj = 0;
10100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10101 void *argp1 = 0 ;
10102 int res1 = 0 ;
10103 PyObject *swig_obj[1] ;
10104
10105 if (!args) SWIG_fail;
10106 swig_obj[0] = args;
10107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10108 if (!SWIG_IsOK(res1)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10110 }
10111 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 (arg1)->Clear();
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 resultobj = SWIG_Py_Void();
10119 return resultobj;
10120fail:
10121 return NULL;
10122}
10123
10124
10125SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj = 0;
10127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10128 wxString *arg2 = 0 ;
10129 void *argp1 = 0 ;
10130 int res1 = 0 ;
10131 bool temp2 = false ;
10132 PyObject * obj0 = 0 ;
10133 PyObject * obj1 = 0 ;
10134 char * kwnames[] = {
10135 (char *) "self",(char *) "text", NULL
10136 };
10137
10138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10140 if (!SWIG_IsOK(res1)) {
10141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10142 }
10143 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10144 {
10145 arg2 = wxString_in_helper(obj1);
10146 if (arg2 == NULL) SWIG_fail;
10147 temp2 = true;
10148 }
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 (arg1)->SetText((wxString const &)*arg2);
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 resultobj = SWIG_Py_Void();
10156 {
10157 if (temp2)
10158 delete arg2;
10159 }
10160 return resultobj;
10161fail:
10162 {
10163 if (temp2)
10164 delete arg2;
10165 }
10166 return NULL;
10167}
10168
10169
10170SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10171 PyObject *resultobj = 0;
10172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10173 wxString result;
10174 void *argp1 = 0 ;
10175 int res1 = 0 ;
10176 PyObject *swig_obj[1] ;
10177
10178 if (!args) SWIG_fail;
10179 swig_obj[0] = args;
10180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10181 if (!SWIG_IsOK(res1)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10183 }
10184 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 result = (arg1)->GetText();
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 {
10192#if wxUSE_UNICODE
10193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10194#else
10195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10196#endif
10197 }
10198 return resultobj;
10199fail:
10200 return NULL;
10201}
10202
10203
10204SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10205 PyObject *resultobj = 0;
10206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10207 int result;
10208 void *argp1 = 0 ;
10209 int res1 = 0 ;
10210 PyObject *swig_obj[1] ;
10211
10212 if (!args) SWIG_fail;
10213 swig_obj[0] = args;
10214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10215 if (!SWIG_IsOK(res1)) {
10216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10217 }
10218 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (int)(arg1)->GetTextLength();
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 resultobj = SWIG_From_int(static_cast< int >(result));
10226 return resultobj;
10227fail:
10228 return NULL;
10229}
10230
10231
10232SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj = 0;
10234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10235 bool arg2 ;
10236 void *argp1 = 0 ;
10237 int res1 = 0 ;
10238 bool val2 ;
10239 int ecode2 = 0 ;
10240 PyObject * obj0 = 0 ;
10241 PyObject * obj1 = 0 ;
10242 char * kwnames[] = {
10243 (char *) "self",(char *) "overtype", NULL
10244 };
10245
10246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10248 if (!SWIG_IsOK(res1)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10250 }
10251 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10252 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10253 if (!SWIG_IsOK(ecode2)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10255 }
10256 arg2 = static_cast< bool >(val2);
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 (arg1)->SetOvertype(arg2);
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 resultobj = SWIG_Py_Void();
10264 return resultobj;
10265fail:
10266 return NULL;
10267}
10268
10269
10270SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10271 PyObject *resultobj = 0;
10272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10273 bool result;
10274 void *argp1 = 0 ;
10275 int res1 = 0 ;
10276 PyObject *swig_obj[1] ;
10277
10278 if (!args) SWIG_fail;
10279 swig_obj[0] = args;
10280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10281 if (!SWIG_IsOK(res1)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10283 }
10284 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (bool)(arg1)->GetOvertype();
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 {
10292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10293 }
10294 return resultobj;
10295fail:
10296 return NULL;
10297}
10298
10299
10300SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj = 0;
10302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10303 int arg2 ;
10304 void *argp1 = 0 ;
10305 int res1 = 0 ;
10306 int val2 ;
10307 int ecode2 = 0 ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310 char * kwnames[] = {
10311 (char *) "self",(char *) "pixelWidth", NULL
10312 };
10313
10314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10316 if (!SWIG_IsOK(res1)) {
10317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10318 }
10319 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10320 ecode2 = SWIG_AsVal_int(obj1, &val2);
10321 if (!SWIG_IsOK(ecode2)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10323 }
10324 arg2 = static_cast< int >(val2);
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 (arg1)->SetCaretWidth(arg2);
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = SWIG_Py_Void();
10332 return resultobj;
10333fail:
10334 return NULL;
10335}
10336
10337
10338SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10339 PyObject *resultobj = 0;
10340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10341 int result;
10342 void *argp1 = 0 ;
10343 int res1 = 0 ;
10344 PyObject *swig_obj[1] ;
10345
10346 if (!args) SWIG_fail;
10347 swig_obj[0] = args;
10348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10349 if (!SWIG_IsOK(res1)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10351 }
10352 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10353 {
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (int)(arg1)->GetCaretWidth();
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 resultobj = SWIG_From_int(static_cast< int >(result));
10360 return resultobj;
10361fail:
10362 return NULL;
10363}
10364
10365
10366SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj = 0;
10368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10369 int arg2 ;
10370 void *argp1 = 0 ;
10371 int res1 = 0 ;
10372 int val2 ;
10373 int ecode2 = 0 ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 char * kwnames[] = {
10377 (char *) "self",(char *) "pos", NULL
10378 };
10379
10380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10382 if (!SWIG_IsOK(res1)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10384 }
10385 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10386 ecode2 = SWIG_AsVal_int(obj1, &val2);
10387 if (!SWIG_IsOK(ecode2)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10389 }
10390 arg2 = static_cast< int >(val2);
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 (arg1)->SetTargetStart(arg2);
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = SWIG_Py_Void();
10398 return resultobj;
10399fail:
10400 return NULL;
10401}
10402
10403
10404SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 PyObject *resultobj = 0;
10406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10407 int result;
10408 void *argp1 = 0 ;
10409 int res1 = 0 ;
10410 PyObject *swig_obj[1] ;
10411
10412 if (!args) SWIG_fail;
10413 swig_obj[0] = args;
10414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10415 if (!SWIG_IsOK(res1)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10417 }
10418 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (int)(arg1)->GetTargetStart();
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 resultobj = SWIG_From_int(static_cast< int >(result));
10426 return resultobj;
10427fail:
10428 return NULL;
10429}
10430
10431
10432SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj = 0;
10434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10435 int arg2 ;
10436 void *argp1 = 0 ;
10437 int res1 = 0 ;
10438 int val2 ;
10439 int ecode2 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 char * kwnames[] = {
10443 (char *) "self",(char *) "pos", NULL
10444 };
10445
10446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10448 if (!SWIG_IsOK(res1)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10450 }
10451 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10452 ecode2 = SWIG_AsVal_int(obj1, &val2);
10453 if (!SWIG_IsOK(ecode2)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10455 }
10456 arg2 = static_cast< int >(val2);
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->SetTargetEnd(arg2);
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = SWIG_Py_Void();
10464 return resultobj;
10465fail:
10466 return NULL;
10467}
10468
10469
10470SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10471 PyObject *resultobj = 0;
10472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10473 int result;
10474 void *argp1 = 0 ;
10475 int res1 = 0 ;
10476 PyObject *swig_obj[1] ;
10477
10478 if (!args) SWIG_fail;
10479 swig_obj[0] = args;
10480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10481 if (!SWIG_IsOK(res1)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10483 }
10484 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (int)(arg1)->GetTargetEnd();
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 resultobj = SWIG_From_int(static_cast< int >(result));
10492 return resultobj;
10493fail:
10494 return NULL;
10495}
10496
10497
10498SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj = 0;
10500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10501 wxString *arg2 = 0 ;
10502 int result;
10503 void *argp1 = 0 ;
10504 int res1 = 0 ;
10505 bool temp2 = false ;
10506 PyObject * obj0 = 0 ;
10507 PyObject * obj1 = 0 ;
10508 char * kwnames[] = {
10509 (char *) "self",(char *) "text", NULL
10510 };
10511
10512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10514 if (!SWIG_IsOK(res1)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10516 }
10517 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10518 {
10519 arg2 = wxString_in_helper(obj1);
10520 if (arg2 == NULL) SWIG_fail;
10521 temp2 = true;
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_From_int(static_cast< int >(result));
10530 {
10531 if (temp2)
10532 delete arg2;
10533 }
10534 return resultobj;
10535fail:
10536 {
10537 if (temp2)
10538 delete arg2;
10539 }
10540 return NULL;
10541}
10542
10543
10544SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj = 0;
10546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10547 wxString *arg2 = 0 ;
10548 int result;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 bool temp2 = false ;
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
10554 char * kwnames[] = {
10555 (char *) "self",(char *) "text", NULL
10556 };
10557
10558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10560 if (!SWIG_IsOK(res1)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10562 }
10563 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10564 {
10565 arg2 = wxString_in_helper(obj1);
10566 if (arg2 == NULL) SWIG_fail;
10567 temp2 = true;
10568 }
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_From_int(static_cast< int >(result));
10576 {
10577 if (temp2)
10578 delete arg2;
10579 }
10580 return resultobj;
10581fail:
10582 {
10583 if (temp2)
10584 delete arg2;
10585 }
10586 return NULL;
10587}
10588
10589
10590SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj = 0;
10592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10593 wxString *arg2 = 0 ;
10594 int result;
10595 void *argp1 = 0 ;
10596 int res1 = 0 ;
10597 bool temp2 = false ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "self",(char *) "text", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10606 if (!SWIG_IsOK(res1)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10608 }
10609 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10610 {
10611 arg2 = wxString_in_helper(obj1);
10612 if (arg2 == NULL) SWIG_fail;
10613 temp2 = true;
10614 }
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = SWIG_From_int(static_cast< int >(result));
10622 {
10623 if (temp2)
10624 delete arg2;
10625 }
10626 return resultobj;
10627fail:
10628 {
10629 if (temp2)
10630 delete arg2;
10631 }
10632 return NULL;
10633}
10634
10635
10636SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj = 0;
10638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10639 int arg2 ;
10640 void *argp1 = 0 ;
10641 int res1 = 0 ;
10642 int val2 ;
10643 int ecode2 = 0 ;
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
10646 char * kwnames[] = {
10647 (char *) "self",(char *) "flags", NULL
10648 };
10649
10650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10652 if (!SWIG_IsOK(res1)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10654 }
10655 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10656 ecode2 = SWIG_AsVal_int(obj1, &val2);
10657 if (!SWIG_IsOK(ecode2)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10659 }
10660 arg2 = static_cast< int >(val2);
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->SetSearchFlags(arg2);
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_Py_Void();
10668 return resultobj;
10669fail:
10670 return NULL;
10671}
10672
10673
10674SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *resultobj = 0;
10676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10677 int result;
10678 void *argp1 = 0 ;
10679 int res1 = 0 ;
10680 PyObject *swig_obj[1] ;
10681
10682 if (!args) SWIG_fail;
10683 swig_obj[0] = args;
10684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10685 if (!SWIG_IsOK(res1)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10687 }
10688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (int)(arg1)->GetSearchFlags();
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = SWIG_From_int(static_cast< int >(result));
10696 return resultobj;
10697fail:
10698 return NULL;
10699}
10700
10701
10702SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj = 0;
10704 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10705 int arg2 ;
10706 wxString *arg3 = 0 ;
10707 void *argp1 = 0 ;
10708 int res1 = 0 ;
10709 int val2 ;
10710 int ecode2 = 0 ;
10711 bool temp3 = false ;
10712 PyObject * obj0 = 0 ;
10713 PyObject * obj1 = 0 ;
10714 PyObject * obj2 = 0 ;
10715 char * kwnames[] = {
10716 (char *) "self",(char *) "pos",(char *) "definition", NULL
10717 };
10718
10719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10721 if (!SWIG_IsOK(res1)) {
10722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10723 }
10724 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10725 ecode2 = SWIG_AsVal_int(obj1, &val2);
10726 if (!SWIG_IsOK(ecode2)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10728 }
10729 arg2 = static_cast< int >(val2);
10730 {
10731 arg3 = wxString_in_helper(obj2);
10732 if (arg3 == NULL) SWIG_fail;
10733 temp3 = true;
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 resultobj = SWIG_Py_Void();
10742 {
10743 if (temp3)
10744 delete arg3;
10745 }
10746 return resultobj;
10747fail:
10748 {
10749 if (temp3)
10750 delete arg3;
10751 }
10752 return NULL;
10753}
10754
10755
10756SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10757 PyObject *resultobj = 0;
10758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10759 void *argp1 = 0 ;
10760 int res1 = 0 ;
10761 PyObject *swig_obj[1] ;
10762
10763 if (!args) SWIG_fail;
10764 swig_obj[0] = args;
10765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10766 if (!SWIG_IsOK(res1)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10768 }
10769 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->CallTipCancel();
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_Py_Void();
10777 return resultobj;
10778fail:
10779 return NULL;
10780}
10781
10782
10783SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10784 PyObject *resultobj = 0;
10785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10786 bool result;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 PyObject *swig_obj[1] ;
10790
10791 if (!args) SWIG_fail;
10792 swig_obj[0] = args;
10793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10796 }
10797 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (bool)(arg1)->CallTipActive();
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 {
10805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10806 }
10807 return resultobj;
10808fail:
10809 return NULL;
10810}
10811
10812
10813SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10814 PyObject *resultobj = 0;
10815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10816 int result;
10817 void *argp1 = 0 ;
10818 int res1 = 0 ;
10819 PyObject *swig_obj[1] ;
10820
10821 if (!args) SWIG_fail;
10822 swig_obj[0] = args;
10823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10824 if (!SWIG_IsOK(res1)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10826 }
10827 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 result = (int)(arg1)->CallTipPosAtStart();
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_From_int(static_cast< int >(result));
10835 return resultobj;
10836fail:
10837 return NULL;
10838}
10839
10840
10841SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj = 0;
10843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10844 int arg2 ;
10845 int arg3 ;
10846 void *argp1 = 0 ;
10847 int res1 = 0 ;
10848 int val2 ;
10849 int ecode2 = 0 ;
10850 int val3 ;
10851 int ecode3 = 0 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char * kwnames[] = {
10856 (char *) "self",(char *) "start",(char *) "end", NULL
10857 };
10858
10859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10861 if (!SWIG_IsOK(res1)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10863 }
10864 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10865 ecode2 = SWIG_AsVal_int(obj1, &val2);
10866 if (!SWIG_IsOK(ecode2)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10868 }
10869 arg2 = static_cast< int >(val2);
10870 ecode3 = SWIG_AsVal_int(obj2, &val3);
10871 if (!SWIG_IsOK(ecode3)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10873 }
10874 arg3 = static_cast< int >(val3);
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 (arg1)->CallTipSetHighlight(arg2,arg3);
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 resultobj = SWIG_Py_Void();
10882 return resultobj;
10883fail:
10884 return NULL;
10885}
10886
10887
10888SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj = 0;
10890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10891 wxColour *arg2 = 0 ;
10892 void *argp1 = 0 ;
10893 int res1 = 0 ;
10894 wxColour temp2 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "self",(char *) "back", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10905 }
10906 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10907 {
10908 arg2 = &temp2;
10909 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = SWIG_Py_Void();
10918 return resultobj;
10919fail:
10920 return NULL;
10921}
10922
10923
10924SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj = 0;
10926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10927 wxColour *arg2 = 0 ;
10928 void *argp1 = 0 ;
10929 int res1 = 0 ;
10930 wxColour temp2 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 char * kwnames[] = {
10934 (char *) "self",(char *) "fore", NULL
10935 };
10936
10937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10939 if (!SWIG_IsOK(res1)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10941 }
10942 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10943 {
10944 arg2 = &temp2;
10945 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10946 }
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 resultobj = SWIG_Py_Void();
10954 return resultobj;
10955fail:
10956 return NULL;
10957}
10958
10959
10960SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj = 0;
10962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10963 wxColour *arg2 = 0 ;
10964 void *argp1 = 0 ;
10965 int res1 = 0 ;
10966 wxColour temp2 ;
10967 PyObject * obj0 = 0 ;
10968 PyObject * obj1 = 0 ;
10969 char * kwnames[] = {
10970 (char *) "self",(char *) "fore", NULL
10971 };
10972
10973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10975 if (!SWIG_IsOK(res1)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10977 }
10978 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10979 {
10980 arg2 = &temp2;
10981 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 resultobj = SWIG_Py_Void();
10990 return resultobj;
10991fail:
10992 return NULL;
10993}
10994
10995
10996SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipUseStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj = 0;
10998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10999 int arg2 ;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 int val2 ;
11003 int ecode2 = 0 ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 char * kwnames[] = {
11007 (char *) "self",(char *) "tabSize", NULL
11008 };
11009
11010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11012 if (!SWIG_IsOK(res1)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11014 }
11015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11016 ecode2 = SWIG_AsVal_int(obj1, &val2);
11017 if (!SWIG_IsOK(ecode2)) {
11018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
11019 }
11020 arg2 = static_cast< int >(val2);
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 (arg1)->CallTipUseStyle(arg2);
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 resultobj = SWIG_Py_Void();
11028 return resultobj;
11029fail:
11030 return NULL;
11031}
11032
11033
11034SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj = 0;
11036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11037 int arg2 ;
11038 int result;
11039 void *argp1 = 0 ;
11040 int res1 = 0 ;
11041 int val2 ;
11042 int ecode2 = 0 ;
11043 PyObject * obj0 = 0 ;
11044 PyObject * obj1 = 0 ;
11045 char * kwnames[] = {
11046 (char *) "self",(char *) "line", NULL
11047 };
11048
11049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
11050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11051 if (!SWIG_IsOK(res1)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11053 }
11054 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11055 ecode2 = SWIG_AsVal_int(obj1, &val2);
11056 if (!SWIG_IsOK(ecode2)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
11058 }
11059 arg2 = static_cast< int >(val2);
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (int)(arg1)->VisibleFromDocLine(arg2);
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 resultobj = SWIG_From_int(static_cast< int >(result));
11067 return resultobj;
11068fail:
11069 return NULL;
11070}
11071
11072
11073SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj = 0;
11075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11076 int arg2 ;
11077 int result;
11078 void *argp1 = 0 ;
11079 int res1 = 0 ;
11080 int val2 ;
11081 int ecode2 = 0 ;
11082 PyObject * obj0 = 0 ;
11083 PyObject * obj1 = 0 ;
11084 char * kwnames[] = {
11085 (char *) "self",(char *) "lineDisplay", NULL
11086 };
11087
11088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11090 if (!SWIG_IsOK(res1)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11092 }
11093 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11094 ecode2 = SWIG_AsVal_int(obj1, &val2);
11095 if (!SWIG_IsOK(ecode2)) {
11096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
11097 }
11098 arg2 = static_cast< int >(val2);
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (int)(arg1)->DocLineFromVisible(arg2);
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 resultobj = SWIG_From_int(static_cast< int >(result));
11106 return resultobj;
11107fail:
11108 return NULL;
11109}
11110
11111
11112SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj = 0;
11114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11115 int arg2 ;
11116 int result;
11117 void *argp1 = 0 ;
11118 int res1 = 0 ;
11119 int val2 ;
11120 int ecode2 = 0 ;
11121 PyObject * obj0 = 0 ;
11122 PyObject * obj1 = 0 ;
11123 char * kwnames[] = {
11124 (char *) "self",(char *) "line", NULL
11125 };
11126
11127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
11128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11129 if (!SWIG_IsOK(res1)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11131 }
11132 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11133 ecode2 = SWIG_AsVal_int(obj1, &val2);
11134 if (!SWIG_IsOK(ecode2)) {
11135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
11136 }
11137 arg2 = static_cast< int >(val2);
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = (int)(arg1)->WrapCount(arg2);
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_From_int(static_cast< int >(result));
11145 return resultobj;
11146fail:
11147 return NULL;
11148}
11149
11150
11151SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj = 0;
11153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11154 int arg2 ;
11155 int arg3 ;
11156 void *argp1 = 0 ;
11157 int res1 = 0 ;
11158 int val2 ;
11159 int ecode2 = 0 ;
11160 int val3 ;
11161 int ecode3 = 0 ;
11162 PyObject * obj0 = 0 ;
11163 PyObject * obj1 = 0 ;
11164 PyObject * obj2 = 0 ;
11165 char * kwnames[] = {
11166 (char *) "self",(char *) "line",(char *) "level", NULL
11167 };
11168
11169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11171 if (!SWIG_IsOK(res1)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11173 }
11174 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11175 ecode2 = SWIG_AsVal_int(obj1, &val2);
11176 if (!SWIG_IsOK(ecode2)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11178 }
11179 arg2 = static_cast< int >(val2);
11180 ecode3 = SWIG_AsVal_int(obj2, &val3);
11181 if (!SWIG_IsOK(ecode3)) {
11182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11183 }
11184 arg3 = static_cast< int >(val3);
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->SetFoldLevel(arg2,arg3);
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 resultobj = SWIG_Py_Void();
11192 return resultobj;
11193fail:
11194 return NULL;
11195}
11196
11197
11198SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11199 PyObject *resultobj = 0;
11200 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11201 int arg2 ;
11202 int result;
11203 void *argp1 = 0 ;
11204 int res1 = 0 ;
11205 int val2 ;
11206 int ecode2 = 0 ;
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj1 = 0 ;
11209 char * kwnames[] = {
11210 (char *) "self",(char *) "line", NULL
11211 };
11212
11213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11215 if (!SWIG_IsOK(res1)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11217 }
11218 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11219 ecode2 = SWIG_AsVal_int(obj1, &val2);
11220 if (!SWIG_IsOK(ecode2)) {
11221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11222 }
11223 arg2 = static_cast< int >(val2);
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (int)(arg1)->GetFoldLevel(arg2);
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 resultobj = SWIG_From_int(static_cast< int >(result));
11231 return resultobj;
11232fail:
11233 return NULL;
11234}
11235
11236
11237SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj = 0;
11239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11240 int arg2 ;
11241 int arg3 ;
11242 int result;
11243 void *argp1 = 0 ;
11244 int res1 = 0 ;
11245 int val2 ;
11246 int ecode2 = 0 ;
11247 int val3 ;
11248 int ecode3 = 0 ;
11249 PyObject * obj0 = 0 ;
11250 PyObject * obj1 = 0 ;
11251 PyObject * obj2 = 0 ;
11252 char * kwnames[] = {
11253 (char *) "self",(char *) "line",(char *) "level", NULL
11254 };
11255
11256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11258 if (!SWIG_IsOK(res1)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11260 }
11261 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11262 ecode2 = SWIG_AsVal_int(obj1, &val2);
11263 if (!SWIG_IsOK(ecode2)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11265 }
11266 arg2 = static_cast< int >(val2);
11267 ecode3 = SWIG_AsVal_int(obj2, &val3);
11268 if (!SWIG_IsOK(ecode3)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11270 }
11271 arg3 = static_cast< int >(val3);
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (int)(arg1)->GetLastChild(arg2,arg3);
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = SWIG_From_int(static_cast< int >(result));
11279 return resultobj;
11280fail:
11281 return NULL;
11282}
11283
11284
11285SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11286 PyObject *resultobj = 0;
11287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11288 int arg2 ;
11289 int result;
11290 void *argp1 = 0 ;
11291 int res1 = 0 ;
11292 int val2 ;
11293 int ecode2 = 0 ;
11294 PyObject * obj0 = 0 ;
11295 PyObject * obj1 = 0 ;
11296 char * kwnames[] = {
11297 (char *) "self",(char *) "line", NULL
11298 };
11299
11300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11302 if (!SWIG_IsOK(res1)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11304 }
11305 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11306 ecode2 = SWIG_AsVal_int(obj1, &val2);
11307 if (!SWIG_IsOK(ecode2)) {
11308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11309 }
11310 arg2 = static_cast< int >(val2);
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (int)(arg1)->GetFoldParent(arg2);
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 resultobj = SWIG_From_int(static_cast< int >(result));
11318 return resultobj;
11319fail:
11320 return NULL;
11321}
11322
11323
11324SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj = 0;
11326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11327 int arg2 ;
11328 int arg3 ;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 int val2 ;
11332 int ecode2 = 0 ;
11333 int val3 ;
11334 int ecode3 = 0 ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 PyObject * obj2 = 0 ;
11338 char * kwnames[] = {
11339 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11340 };
11341
11342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11346 }
11347 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11348 ecode2 = SWIG_AsVal_int(obj1, &val2);
11349 if (!SWIG_IsOK(ecode2)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11351 }
11352 arg2 = static_cast< int >(val2);
11353 ecode3 = SWIG_AsVal_int(obj2, &val3);
11354 if (!SWIG_IsOK(ecode3)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11356 }
11357 arg3 = static_cast< int >(val3);
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 (arg1)->ShowLines(arg2,arg3);
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = SWIG_Py_Void();
11365 return resultobj;
11366fail:
11367 return NULL;
11368}
11369
11370
11371SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj = 0;
11373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11374 int arg2 ;
11375 int arg3 ;
11376 void *argp1 = 0 ;
11377 int res1 = 0 ;
11378 int val2 ;
11379 int ecode2 = 0 ;
11380 int val3 ;
11381 int ecode3 = 0 ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
11385 char * kwnames[] = {
11386 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11387 };
11388
11389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11391 if (!SWIG_IsOK(res1)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11393 }
11394 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11395 ecode2 = SWIG_AsVal_int(obj1, &val2);
11396 if (!SWIG_IsOK(ecode2)) {
11397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11398 }
11399 arg2 = static_cast< int >(val2);
11400 ecode3 = SWIG_AsVal_int(obj2, &val3);
11401 if (!SWIG_IsOK(ecode3)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11403 }
11404 arg3 = static_cast< int >(val3);
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->HideLines(arg2,arg3);
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = SWIG_Py_Void();
11412 return resultobj;
11413fail:
11414 return NULL;
11415}
11416
11417
11418SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj = 0;
11420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11421 int arg2 ;
11422 bool result;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 int val2 ;
11426 int ecode2 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 char * kwnames[] = {
11430 (char *) "self",(char *) "line", NULL
11431 };
11432
11433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11435 if (!SWIG_IsOK(res1)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11437 }
11438 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11439 ecode2 = SWIG_AsVal_int(obj1, &val2);
11440 if (!SWIG_IsOK(ecode2)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11442 }
11443 arg2 = static_cast< int >(val2);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (bool)(arg1)->GetLineVisible(arg2);
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 {
11451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11452 }
11453 return resultobj;
11454fail:
11455 return NULL;
11456}
11457
11458
11459SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj = 0;
11461 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11462 int arg2 ;
11463 bool arg3 ;
11464 void *argp1 = 0 ;
11465 int res1 = 0 ;
11466 int val2 ;
11467 int ecode2 = 0 ;
11468 bool val3 ;
11469 int ecode3 = 0 ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
11472 PyObject * obj2 = 0 ;
11473 char * kwnames[] = {
11474 (char *) "self",(char *) "line",(char *) "expanded", NULL
11475 };
11476
11477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11479 if (!SWIG_IsOK(res1)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11481 }
11482 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11483 ecode2 = SWIG_AsVal_int(obj1, &val2);
11484 if (!SWIG_IsOK(ecode2)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11486 }
11487 arg2 = static_cast< int >(val2);
11488 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11489 if (!SWIG_IsOK(ecode3)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11491 }
11492 arg3 = static_cast< bool >(val3);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 (arg1)->SetFoldExpanded(arg2,arg3);
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_Py_Void();
11500 return resultobj;
11501fail:
11502 return NULL;
11503}
11504
11505
11506SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj = 0;
11508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11509 int arg2 ;
11510 bool result;
11511 void *argp1 = 0 ;
11512 int res1 = 0 ;
11513 int val2 ;
11514 int ecode2 = 0 ;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char * kwnames[] = {
11518 (char *) "self",(char *) "line", NULL
11519 };
11520
11521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11523 if (!SWIG_IsOK(res1)) {
11524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11525 }
11526 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11527 ecode2 = SWIG_AsVal_int(obj1, &val2);
11528 if (!SWIG_IsOK(ecode2)) {
11529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11530 }
11531 arg2 = static_cast< int >(val2);
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)(arg1)->GetFoldExpanded(arg2);
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
11539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11540 }
11541 return resultobj;
11542fail:
11543 return NULL;
11544}
11545
11546
11547SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj = 0;
11549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11550 int arg2 ;
11551 void *argp1 = 0 ;
11552 int res1 = 0 ;
11553 int val2 ;
11554 int ecode2 = 0 ;
11555 PyObject * obj0 = 0 ;
11556 PyObject * obj1 = 0 ;
11557 char * kwnames[] = {
11558 (char *) "self",(char *) "line", NULL
11559 };
11560
11561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11563 if (!SWIG_IsOK(res1)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11565 }
11566 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11567 ecode2 = SWIG_AsVal_int(obj1, &val2);
11568 if (!SWIG_IsOK(ecode2)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11570 }
11571 arg2 = static_cast< int >(val2);
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 (arg1)->ToggleFold(arg2);
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 resultobj = SWIG_Py_Void();
11579 return resultobj;
11580fail:
11581 return NULL;
11582}
11583
11584
11585SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11586 PyObject *resultobj = 0;
11587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11588 int arg2 ;
11589 void *argp1 = 0 ;
11590 int res1 = 0 ;
11591 int val2 ;
11592 int ecode2 = 0 ;
11593 PyObject * obj0 = 0 ;
11594 PyObject * obj1 = 0 ;
11595 char * kwnames[] = {
11596 (char *) "self",(char *) "line", NULL
11597 };
11598
11599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11601 if (!SWIG_IsOK(res1)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11603 }
11604 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11605 ecode2 = SWIG_AsVal_int(obj1, &val2);
11606 if (!SWIG_IsOK(ecode2)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11608 }
11609 arg2 = static_cast< int >(val2);
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 (arg1)->EnsureVisible(arg2);
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_Py_Void();
11617 return resultobj;
11618fail:
11619 return NULL;
11620}
11621
11622
11623SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj = 0;
11625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11626 int arg2 ;
11627 void *argp1 = 0 ;
11628 int res1 = 0 ;
11629 int val2 ;
11630 int ecode2 = 0 ;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char * kwnames[] = {
11634 (char *) "self",(char *) "flags", NULL
11635 };
11636
11637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11639 if (!SWIG_IsOK(res1)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11641 }
11642 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11643 ecode2 = SWIG_AsVal_int(obj1, &val2);
11644 if (!SWIG_IsOK(ecode2)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11646 }
11647 arg2 = static_cast< int >(val2);
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->SetFoldFlags(arg2);
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 resultobj = SWIG_Py_Void();
11655 return resultobj;
11656fail:
11657 return NULL;
11658}
11659
11660
11661SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj = 0;
11663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11664 int arg2 ;
11665 void *argp1 = 0 ;
11666 int res1 = 0 ;
11667 int val2 ;
11668 int ecode2 = 0 ;
11669 PyObject * obj0 = 0 ;
11670 PyObject * obj1 = 0 ;
11671 char * kwnames[] = {
11672 (char *) "self",(char *) "line", NULL
11673 };
11674
11675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11677 if (!SWIG_IsOK(res1)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11679 }
11680 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11681 ecode2 = SWIG_AsVal_int(obj1, &val2);
11682 if (!SWIG_IsOK(ecode2)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11684 }
11685 arg2 = static_cast< int >(val2);
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = SWIG_Py_Void();
11693 return resultobj;
11694fail:
11695 return NULL;
11696}
11697
11698
11699SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj = 0;
11701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11702 bool arg2 ;
11703 void *argp1 = 0 ;
11704 int res1 = 0 ;
11705 bool val2 ;
11706 int ecode2 = 0 ;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 char * kwnames[] = {
11710 (char *) "self",(char *) "tabIndents", NULL
11711 };
11712
11713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11715 if (!SWIG_IsOK(res1)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11717 }
11718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11720 if (!SWIG_IsOK(ecode2)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11722 }
11723 arg2 = static_cast< bool >(val2);
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 (arg1)->SetTabIndents(arg2);
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 resultobj = SWIG_Py_Void();
11731 return resultobj;
11732fail:
11733 return NULL;
11734}
11735
11736
11737SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11738 PyObject *resultobj = 0;
11739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11740 bool result;
11741 void *argp1 = 0 ;
11742 int res1 = 0 ;
11743 PyObject *swig_obj[1] ;
11744
11745 if (!args) SWIG_fail;
11746 swig_obj[0] = args;
11747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11748 if (!SWIG_IsOK(res1)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11750 }
11751 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (bool)(arg1)->GetTabIndents();
11755 wxPyEndAllowThreads(__tstate);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
11758 {
11759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11760 }
11761 return resultobj;
11762fail:
11763 return NULL;
11764}
11765
11766
11767SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj = 0;
11769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11770 bool arg2 ;
11771 void *argp1 = 0 ;
11772 int res1 = 0 ;
11773 bool val2 ;
11774 int ecode2 = 0 ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 char * kwnames[] = {
11778 (char *) "self",(char *) "bsUnIndents", NULL
11779 };
11780
11781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11783 if (!SWIG_IsOK(res1)) {
11784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11785 }
11786 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11787 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11788 if (!SWIG_IsOK(ecode2)) {
11789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11790 }
11791 arg2 = static_cast< bool >(val2);
11792 {
11793 PyThreadState* __tstate = wxPyBeginAllowThreads();
11794 (arg1)->SetBackSpaceUnIndents(arg2);
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 resultobj = SWIG_Py_Void();
11799 return resultobj;
11800fail:
11801 return NULL;
11802}
11803
11804
11805SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11806 PyObject *resultobj = 0;
11807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11808 bool result;
11809 void *argp1 = 0 ;
11810 int res1 = 0 ;
11811 PyObject *swig_obj[1] ;
11812
11813 if (!args) SWIG_fail;
11814 swig_obj[0] = args;
11815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11816 if (!SWIG_IsOK(res1)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11818 }
11819 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (bool)(arg1)->GetBackSpaceUnIndents();
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 {
11827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11828 }
11829 return resultobj;
11830fail:
11831 return NULL;
11832}
11833
11834
11835SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj = 0;
11837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11838 int arg2 ;
11839 void *argp1 = 0 ;
11840 int res1 = 0 ;
11841 int val2 ;
11842 int ecode2 = 0 ;
11843 PyObject * obj0 = 0 ;
11844 PyObject * obj1 = 0 ;
11845 char * kwnames[] = {
11846 (char *) "self",(char *) "periodMilliseconds", NULL
11847 };
11848
11849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11851 if (!SWIG_IsOK(res1)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11853 }
11854 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11855 ecode2 = SWIG_AsVal_int(obj1, &val2);
11856 if (!SWIG_IsOK(ecode2)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11858 }
11859 arg2 = static_cast< int >(val2);
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 (arg1)->SetMouseDwellTime(arg2);
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = SWIG_Py_Void();
11867 return resultobj;
11868fail:
11869 return NULL;
11870}
11871
11872
11873SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11874 PyObject *resultobj = 0;
11875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11876 int result;
11877 void *argp1 = 0 ;
11878 int res1 = 0 ;
11879 PyObject *swig_obj[1] ;
11880
11881 if (!args) SWIG_fail;
11882 swig_obj[0] = args;
11883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11884 if (!SWIG_IsOK(res1)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11886 }
11887 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 result = (int)(arg1)->GetMouseDwellTime();
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 resultobj = SWIG_From_int(static_cast< int >(result));
11895 return resultobj;
11896fail:
11897 return NULL;
11898}
11899
11900
11901SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj = 0;
11903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11904 int arg2 ;
11905 bool arg3 ;
11906 int result;
11907 void *argp1 = 0 ;
11908 int res1 = 0 ;
11909 int val2 ;
11910 int ecode2 = 0 ;
11911 bool val3 ;
11912 int ecode3 = 0 ;
11913 PyObject * obj0 = 0 ;
11914 PyObject * obj1 = 0 ;
11915 PyObject * obj2 = 0 ;
11916 char * kwnames[] = {
11917 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11918 };
11919
11920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11922 if (!SWIG_IsOK(res1)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11924 }
11925 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11926 ecode2 = SWIG_AsVal_int(obj1, &val2);
11927 if (!SWIG_IsOK(ecode2)) {
11928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11929 }
11930 arg2 = static_cast< int >(val2);
11931 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11932 if (!SWIG_IsOK(ecode3)) {
11933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11934 }
11935 arg3 = static_cast< bool >(val3);
11936 {
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11939 wxPyEndAllowThreads(__tstate);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 }
11942 resultobj = SWIG_From_int(static_cast< int >(result));
11943 return resultobj;
11944fail:
11945 return NULL;
11946}
11947
11948
11949SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11950 PyObject *resultobj = 0;
11951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11952 int arg2 ;
11953 bool arg3 ;
11954 int result;
11955 void *argp1 = 0 ;
11956 int res1 = 0 ;
11957 int val2 ;
11958 int ecode2 = 0 ;
11959 bool val3 ;
11960 int ecode3 = 0 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 PyObject * obj2 = 0 ;
11964 char * kwnames[] = {
11965 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11966 };
11967
11968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11972 }
11973 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11974 ecode2 = SWIG_AsVal_int(obj1, &val2);
11975 if (!SWIG_IsOK(ecode2)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11977 }
11978 arg2 = static_cast< int >(val2);
11979 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11980 if (!SWIG_IsOK(ecode3)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11982 }
11983 arg3 = static_cast< bool >(val3);
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)(arg1)->WordEndPosition(arg2,arg3);
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_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = 0;
11999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 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 *) "mode", NULL
12009 };
12010
12011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
12012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12015 }
12016 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12017 ecode2 = SWIG_AsVal_int(obj1, &val2);
12018 if (!SWIG_IsOK(ecode2)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
12020 }
12021 arg2 = static_cast< int >(val2);
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 (arg1)->SetWrapMode(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 *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12036 PyObject *resultobj = 0;
12037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12038 int result;
12039 void *argp1 = 0 ;
12040 int res1 = 0 ;
12041 PyObject *swig_obj[1] ;
12042
12043 if (!args) SWIG_fail;
12044 swig_obj[0] = args;
12045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12046 if (!SWIG_IsOK(res1)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12048 }
12049 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (int)(arg1)->GetWrapMode();
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_From_int(static_cast< int >(result));
12057 return resultobj;
12058fail:
12059 return NULL;
12060}
12061
12062
12063SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj = 0;
12065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12066 int arg2 ;
12067 void *argp1 = 0 ;
12068 int res1 = 0 ;
12069 int val2 ;
12070 int ecode2 = 0 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char * kwnames[] = {
12074 (char *) "self",(char *) "wrapVisualFlags", NULL
12075 };
12076
12077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12079 if (!SWIG_IsOK(res1)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12081 }
12082 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12083 ecode2 = SWIG_AsVal_int(obj1, &val2);
12084 if (!SWIG_IsOK(ecode2)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
12086 }
12087 arg2 = static_cast< int >(val2);
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetWrapVisualFlags(arg2);
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 resultobj = SWIG_Py_Void();
12095 return resultobj;
12096fail:
12097 return NULL;
12098}
12099
12100
12101SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12102 PyObject *resultobj = 0;
12103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12104 int result;
12105 void *argp1 = 0 ;
12106 int res1 = 0 ;
12107 PyObject *swig_obj[1] ;
12108
12109 if (!args) SWIG_fail;
12110 swig_obj[0] = args;
12111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12112 if (!SWIG_IsOK(res1)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12114 }
12115 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (int)(arg1)->GetWrapVisualFlags();
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = SWIG_From_int(static_cast< int >(result));
12123 return resultobj;
12124fail:
12125 return NULL;
12126}
12127
12128
12129SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12132 int arg2 ;
12133 void *argp1 = 0 ;
12134 int res1 = 0 ;
12135 int val2 ;
12136 int ecode2 = 0 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char * kwnames[] = {
12140 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
12141 };
12142
12143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
12144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12145 if (!SWIG_IsOK(res1)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12147 }
12148 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12149 ecode2 = SWIG_AsVal_int(obj1, &val2);
12150 if (!SWIG_IsOK(ecode2)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
12152 }
12153 arg2 = static_cast< int >(val2);
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetWrapVisualFlagsLocation(arg2);
12157 wxPyEndAllowThreads(__tstate);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 }
12160 resultobj = SWIG_Py_Void();
12161 return resultobj;
12162fail:
12163 return NULL;
12164}
12165
12166
12167SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12168 PyObject *resultobj = 0;
12169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12170 int result;
12171 void *argp1 = 0 ;
12172 int res1 = 0 ;
12173 PyObject *swig_obj[1] ;
12174
12175 if (!args) SWIG_fail;
12176 swig_obj[0] = args;
12177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12180 }
12181 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 resultobj = SWIG_From_int(static_cast< int >(result));
12189 return resultobj;
12190fail:
12191 return NULL;
12192}
12193
12194
12195SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj = 0;
12197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12198 int arg2 ;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 int val2 ;
12202 int ecode2 = 0 ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 char * kwnames[] = {
12206 (char *) "self",(char *) "indent", NULL
12207 };
12208
12209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12211 if (!SWIG_IsOK(res1)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12213 }
12214 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12215 ecode2 = SWIG_AsVal_int(obj1, &val2);
12216 if (!SWIG_IsOK(ecode2)) {
12217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12218 }
12219 arg2 = static_cast< int >(val2);
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetWrapStartIndent(arg2);
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = SWIG_Py_Void();
12227 return resultobj;
12228fail:
12229 return NULL;
12230}
12231
12232
12233SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12234 PyObject *resultobj = 0;
12235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12236 int result;
12237 void *argp1 = 0 ;
12238 int res1 = 0 ;
12239 PyObject *swig_obj[1] ;
12240
12241 if (!args) SWIG_fail;
12242 swig_obj[0] = args;
12243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12244 if (!SWIG_IsOK(res1)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12246 }
12247 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (int)(arg1)->GetWrapStartIndent();
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_From_int(static_cast< int >(result));
12255 return resultobj;
12256fail:
12257 return NULL;
12258}
12259
12260
12261SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj = 0;
12263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12264 int arg2 ;
12265 void *argp1 = 0 ;
12266 int res1 = 0 ;
12267 int val2 ;
12268 int ecode2 = 0 ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 char * kwnames[] = {
12272 (char *) "self",(char *) "mode", NULL
12273 };
12274
12275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12277 if (!SWIG_IsOK(res1)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12279 }
12280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12281 ecode2 = SWIG_AsVal_int(obj1, &val2);
12282 if (!SWIG_IsOK(ecode2)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12284 }
12285 arg2 = static_cast< int >(val2);
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetLayoutCache(arg2);
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 resultobj = SWIG_Py_Void();
12293 return resultobj;
12294fail:
12295 return NULL;
12296}
12297
12298
12299SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 PyObject *resultobj = 0;
12301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12302 int result;
12303 void *argp1 = 0 ;
12304 int res1 = 0 ;
12305 PyObject *swig_obj[1] ;
12306
12307 if (!args) SWIG_fail;
12308 swig_obj[0] = args;
12309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12310 if (!SWIG_IsOK(res1)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12312 }
12313 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (int)(arg1)->GetLayoutCache();
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_From_int(static_cast< int >(result));
12321 return resultobj;
12322fail:
12323 return NULL;
12324}
12325
12326
12327SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj = 0;
12329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12330 int arg2 ;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 int val2 ;
12334 int ecode2 = 0 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 char * kwnames[] = {
12338 (char *) "self",(char *) "pixelWidth", NULL
12339 };
12340
12341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12343 if (!SWIG_IsOK(res1)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12345 }
12346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12347 ecode2 = SWIG_AsVal_int(obj1, &val2);
12348 if (!SWIG_IsOK(ecode2)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12350 }
12351 arg2 = static_cast< int >(val2);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->SetScrollWidth(arg2);
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_Py_Void();
12359 return resultobj;
12360fail:
12361 return NULL;
12362}
12363
12364
12365SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12366 PyObject *resultobj = 0;
12367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12368 int result;
12369 void *argp1 = 0 ;
12370 int res1 = 0 ;
12371 PyObject *swig_obj[1] ;
12372
12373 if (!args) SWIG_fail;
12374 swig_obj[0] = args;
12375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12376 if (!SWIG_IsOK(res1)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12378 }
12379 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 result = (int)(arg1)->GetScrollWidth();
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_From_int(static_cast< int >(result));
12387 return resultobj;
12388fail:
12389 return NULL;
12390}
12391
12392
12393SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12394 PyObject *resultobj = 0;
12395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12396 int arg2 ;
12397 wxString *arg3 = 0 ;
12398 int result;
12399 void *argp1 = 0 ;
12400 int res1 = 0 ;
12401 int val2 ;
12402 int ecode2 = 0 ;
12403 bool temp3 = false ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 PyObject * obj2 = 0 ;
12407 char * kwnames[] = {
12408 (char *) "self",(char *) "style",(char *) "text", NULL
12409 };
12410
12411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12413 if (!SWIG_IsOK(res1)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12415 }
12416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12417 ecode2 = SWIG_AsVal_int(obj1, &val2);
12418 if (!SWIG_IsOK(ecode2)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12420 }
12421 arg2 = static_cast< int >(val2);
12422 {
12423 arg3 = wxString_in_helper(obj2);
12424 if (arg3 == NULL) SWIG_fail;
12425 temp3 = true;
12426 }
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = SWIG_From_int(static_cast< int >(result));
12434 {
12435 if (temp3)
12436 delete arg3;
12437 }
12438 return resultobj;
12439fail:
12440 {
12441 if (temp3)
12442 delete arg3;
12443 }
12444 return NULL;
12445}
12446
12447
12448SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj = 0;
12450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12451 bool arg2 ;
12452 void *argp1 = 0 ;
12453 int res1 = 0 ;
12454 bool val2 ;
12455 int ecode2 = 0 ;
12456 PyObject * obj0 = 0 ;
12457 PyObject * obj1 = 0 ;
12458 char * kwnames[] = {
12459 (char *) "self",(char *) "endAtLastLine", NULL
12460 };
12461
12462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12464 if (!SWIG_IsOK(res1)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12466 }
12467 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12468 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12469 if (!SWIG_IsOK(ecode2)) {
12470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12471 }
12472 arg2 = static_cast< bool >(val2);
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 (arg1)->SetEndAtLastLine(arg2);
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_Py_Void();
12480 return resultobj;
12481fail:
12482 return NULL;
12483}
12484
12485
12486SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12487 PyObject *resultobj = 0;
12488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12489 bool result;
12490 void *argp1 = 0 ;
12491 int res1 = 0 ;
12492 PyObject *swig_obj[1] ;
12493
12494 if (!args) SWIG_fail;
12495 swig_obj[0] = args;
12496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12497 if (!SWIG_IsOK(res1)) {
12498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12499 }
12500 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (bool)(arg1)->GetEndAtLastLine();
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 {
12508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12509 }
12510 return resultobj;
12511fail:
12512 return NULL;
12513}
12514
12515
12516SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj = 0;
12518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12519 int arg2 ;
12520 int result;
12521 void *argp1 = 0 ;
12522 int res1 = 0 ;
12523 int val2 ;
12524 int ecode2 = 0 ;
12525 PyObject * obj0 = 0 ;
12526 PyObject * obj1 = 0 ;
12527 char * kwnames[] = {
12528 (char *) "self",(char *) "line", NULL
12529 };
12530
12531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12533 if (!SWIG_IsOK(res1)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12535 }
12536 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12537 ecode2 = SWIG_AsVal_int(obj1, &val2);
12538 if (!SWIG_IsOK(ecode2)) {
12539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12540 }
12541 arg2 = static_cast< int >(val2);
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 result = (int)(arg1)->TextHeight(arg2);
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 resultobj = SWIG_From_int(static_cast< int >(result));
12549 return resultobj;
12550fail:
12551 return NULL;
12552}
12553
12554
12555SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj = 0;
12557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12558 bool arg2 ;
12559 void *argp1 = 0 ;
12560 int res1 = 0 ;
12561 bool val2 ;
12562 int ecode2 = 0 ;
12563 PyObject * obj0 = 0 ;
12564 PyObject * obj1 = 0 ;
12565 char * kwnames[] = {
12566 (char *) "self",(char *) "show", NULL
12567 };
12568
12569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
12570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12571 if (!SWIG_IsOK(res1)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12573 }
12574 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12575 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12576 if (!SWIG_IsOK(ecode2)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12578 }
12579 arg2 = static_cast< bool >(val2);
12580 {
12581 PyThreadState* __tstate = wxPyBeginAllowThreads();
12582 (arg1)->SetUseVerticalScrollBar(arg2);
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 resultobj = SWIG_Py_Void();
12587 return resultobj;
12588fail:
12589 return NULL;
12590}
12591
12592
12593SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12594 PyObject *resultobj = 0;
12595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12596 bool result;
12597 void *argp1 = 0 ;
12598 int res1 = 0 ;
12599 PyObject *swig_obj[1] ;
12600
12601 if (!args) SWIG_fail;
12602 swig_obj[0] = args;
12603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12604 if (!SWIG_IsOK(res1)) {
12605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12606 }
12607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (bool)(arg1)->GetUseVerticalScrollBar();
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 {
12615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12616 }
12617 return resultobj;
12618fail:
12619 return NULL;
12620}
12621
12622
12623SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj = 0;
12625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12626 wxString *arg2 = 0 ;
12627 void *argp1 = 0 ;
12628 int res1 = 0 ;
12629 bool temp2 = false ;
12630 PyObject * obj0 = 0 ;
12631 PyObject * obj1 = 0 ;
12632 char * kwnames[] = {
12633 (char *) "self",(char *) "text", NULL
12634 };
12635
12636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12638 if (!SWIG_IsOK(res1)) {
12639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12640 }
12641 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12642 {
12643 arg2 = wxString_in_helper(obj1);
12644 if (arg2 == NULL) SWIG_fail;
12645 temp2 = true;
12646 }
12647 {
12648 PyThreadState* __tstate = wxPyBeginAllowThreads();
12649 (arg1)->AppendText((wxString const &)*arg2);
12650 wxPyEndAllowThreads(__tstate);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 resultobj = SWIG_Py_Void();
12654 {
12655 if (temp2)
12656 delete arg2;
12657 }
12658 return resultobj;
12659fail:
12660 {
12661 if (temp2)
12662 delete arg2;
12663 }
12664 return NULL;
12665}
12666
12667
12668SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12669 PyObject *resultobj = 0;
12670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12671 bool result;
12672 void *argp1 = 0 ;
12673 int res1 = 0 ;
12674 PyObject *swig_obj[1] ;
12675
12676 if (!args) SWIG_fail;
12677 swig_obj[0] = args;
12678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12679 if (!SWIG_IsOK(res1)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12681 }
12682 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (bool)(arg1)->GetTwoPhaseDraw();
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 {
12690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12691 }
12692 return resultobj;
12693fail:
12694 return NULL;
12695}
12696
12697
12698SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj = 0;
12700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12701 bool arg2 ;
12702 void *argp1 = 0 ;
12703 int res1 = 0 ;
12704 bool val2 ;
12705 int ecode2 = 0 ;
12706 PyObject * obj0 = 0 ;
12707 PyObject * obj1 = 0 ;
12708 char * kwnames[] = {
12709 (char *) "self",(char *) "twoPhase", NULL
12710 };
12711
12712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12714 if (!SWIG_IsOK(res1)) {
12715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12716 }
12717 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12718 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12719 if (!SWIG_IsOK(ecode2)) {
12720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12721 }
12722 arg2 = static_cast< bool >(val2);
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetTwoPhaseDraw(arg2);
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 resultobj = SWIG_Py_Void();
12730 return resultobj;
12731fail:
12732 return NULL;
12733}
12734
12735
12736SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12737 PyObject *resultobj = 0;
12738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12739 void *argp1 = 0 ;
12740 int res1 = 0 ;
12741 PyObject *swig_obj[1] ;
12742
12743 if (!args) SWIG_fail;
12744 swig_obj[0] = args;
12745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12746 if (!SWIG_IsOK(res1)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12748 }
12749 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->TargetFromSelection();
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 resultobj = SWIG_Py_Void();
12757 return resultobj;
12758fail:
12759 return NULL;
12760}
12761
12762
12763SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12764 PyObject *resultobj = 0;
12765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12766 void *argp1 = 0 ;
12767 int res1 = 0 ;
12768 PyObject *swig_obj[1] ;
12769
12770 if (!args) SWIG_fail;
12771 swig_obj[0] = args;
12772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12773 if (!SWIG_IsOK(res1)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12775 }
12776 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 (arg1)->LinesJoin();
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_Py_Void();
12784 return resultobj;
12785fail:
12786 return NULL;
12787}
12788
12789
12790SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj = 0;
12792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12793 int arg2 ;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 int val2 ;
12797 int ecode2 = 0 ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 char * kwnames[] = {
12801 (char *) "self",(char *) "pixelWidth", NULL
12802 };
12803
12804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12806 if (!SWIG_IsOK(res1)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12808 }
12809 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12810 ecode2 = SWIG_AsVal_int(obj1, &val2);
12811 if (!SWIG_IsOK(ecode2)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12813 }
12814 arg2 = static_cast< int >(val2);
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->LinesSplit(arg2);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_Py_Void();
12822 return resultobj;
12823fail:
12824 return NULL;
12825}
12826
12827
12828SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj = 0;
12830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12831 bool arg2 ;
12832 wxColour *arg3 = 0 ;
12833 void *argp1 = 0 ;
12834 int res1 = 0 ;
12835 bool val2 ;
12836 int ecode2 = 0 ;
12837 wxColour temp3 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 char * kwnames[] = {
12842 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12843 };
12844
12845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12847 if (!SWIG_IsOK(res1)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12849 }
12850 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12851 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12852 if (!SWIG_IsOK(ecode2)) {
12853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12854 }
12855 arg2 = static_cast< bool >(val2);
12856 {
12857 arg3 = &temp3;
12858 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12859 }
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = SWIG_Py_Void();
12867 return resultobj;
12868fail:
12869 return NULL;
12870}
12871
12872
12873SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj = 0;
12875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12876 bool arg2 ;
12877 wxColour *arg3 = 0 ;
12878 void *argp1 = 0 ;
12879 int res1 = 0 ;
12880 bool val2 ;
12881 int ecode2 = 0 ;
12882 wxColour temp3 ;
12883 PyObject * obj0 = 0 ;
12884 PyObject * obj1 = 0 ;
12885 PyObject * obj2 = 0 ;
12886 char * kwnames[] = {
12887 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12888 };
12889
12890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12892 if (!SWIG_IsOK(res1)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12894 }
12895 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12896 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12897 if (!SWIG_IsOK(ecode2)) {
12898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12899 }
12900 arg2 = static_cast< bool >(val2);
12901 {
12902 arg3 = &temp3;
12903 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_Py_Void();
12912 return resultobj;
12913fail:
12914 return NULL;
12915}
12916
12917
12918SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12919 PyObject *resultobj = 0;
12920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 PyObject *swig_obj[1] ;
12924
12925 if (!args) SWIG_fail;
12926 swig_obj[0] = args;
12927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12928 if (!SWIG_IsOK(res1)) {
12929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12930 }
12931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 (arg1)->LineDown();
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 resultobj = SWIG_Py_Void();
12939 return resultobj;
12940fail:
12941 return NULL;
12942}
12943
12944
12945SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12946 PyObject *resultobj = 0;
12947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12948 void *argp1 = 0 ;
12949 int res1 = 0 ;
12950 PyObject *swig_obj[1] ;
12951
12952 if (!args) SWIG_fail;
12953 swig_obj[0] = args;
12954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12955 if (!SWIG_IsOK(res1)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12957 }
12958 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 (arg1)->LineDownExtend();
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 resultobj = SWIG_Py_Void();
12966 return resultobj;
12967fail:
12968 return NULL;
12969}
12970
12971
12972SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12973 PyObject *resultobj = 0;
12974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12975 void *argp1 = 0 ;
12976 int res1 = 0 ;
12977 PyObject *swig_obj[1] ;
12978
12979 if (!args) SWIG_fail;
12980 swig_obj[0] = args;
12981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12982 if (!SWIG_IsOK(res1)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12984 }
12985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->LineUp();
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994fail:
12995 return NULL;
12996}
12997
12998
12999SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13000 PyObject *resultobj = 0;
13001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13002 void *argp1 = 0 ;
13003 int res1 = 0 ;
13004 PyObject *swig_obj[1] ;
13005
13006 if (!args) SWIG_fail;
13007 swig_obj[0] = args;
13008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13009 if (!SWIG_IsOK(res1)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13011 }
13012 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 (arg1)->LineUpExtend();
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 resultobj = SWIG_Py_Void();
13020 return resultobj;
13021fail:
13022 return NULL;
13023}
13024
13025
13026SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13027 PyObject *resultobj = 0;
13028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13029 void *argp1 = 0 ;
13030 int res1 = 0 ;
13031 PyObject *swig_obj[1] ;
13032
13033 if (!args) SWIG_fail;
13034 swig_obj[0] = args;
13035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13036 if (!SWIG_IsOK(res1)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13038 }
13039 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 (arg1)->CharLeft();
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 resultobj = SWIG_Py_Void();
13047 return resultobj;
13048fail:
13049 return NULL;
13050}
13051
13052
13053SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13054 PyObject *resultobj = 0;
13055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13056 void *argp1 = 0 ;
13057 int res1 = 0 ;
13058 PyObject *swig_obj[1] ;
13059
13060 if (!args) SWIG_fail;
13061 swig_obj[0] = args;
13062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13063 if (!SWIG_IsOK(res1)) {
13064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13065 }
13066 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->CharLeftExtend();
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 resultobj = SWIG_Py_Void();
13074 return resultobj;
13075fail:
13076 return NULL;
13077}
13078
13079
13080SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13081 PyObject *resultobj = 0;
13082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13083 void *argp1 = 0 ;
13084 int res1 = 0 ;
13085 PyObject *swig_obj[1] ;
13086
13087 if (!args) SWIG_fail;
13088 swig_obj[0] = args;
13089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13090 if (!SWIG_IsOK(res1)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13092 }
13093 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->CharRight();
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 resultobj = SWIG_Py_Void();
13101 return resultobj;
13102fail:
13103 return NULL;
13104}
13105
13106
13107SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13108 PyObject *resultobj = 0;
13109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13110 void *argp1 = 0 ;
13111 int res1 = 0 ;
13112 PyObject *swig_obj[1] ;
13113
13114 if (!args) SWIG_fail;
13115 swig_obj[0] = args;
13116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13117 if (!SWIG_IsOK(res1)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13119 }
13120 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 (arg1)->CharRightExtend();
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 resultobj = SWIG_Py_Void();
13128 return resultobj;
13129fail:
13130 return NULL;
13131}
13132
13133
13134SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13135 PyObject *resultobj = 0;
13136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13137 void *argp1 = 0 ;
13138 int res1 = 0 ;
13139 PyObject *swig_obj[1] ;
13140
13141 if (!args) SWIG_fail;
13142 swig_obj[0] = args;
13143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13144 if (!SWIG_IsOK(res1)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13146 }
13147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 (arg1)->WordLeft();
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 resultobj = SWIG_Py_Void();
13155 return resultobj;
13156fail:
13157 return NULL;
13158}
13159
13160
13161SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13162 PyObject *resultobj = 0;
13163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13164 void *argp1 = 0 ;
13165 int res1 = 0 ;
13166 PyObject *swig_obj[1] ;
13167
13168 if (!args) SWIG_fail;
13169 swig_obj[0] = args;
13170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13171 if (!SWIG_IsOK(res1)) {
13172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13173 }
13174 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 (arg1)->WordLeftExtend();
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_Py_Void();
13182 return resultobj;
13183fail:
13184 return NULL;
13185}
13186
13187
13188SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13189 PyObject *resultobj = 0;
13190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13191 void *argp1 = 0 ;
13192 int res1 = 0 ;
13193 PyObject *swig_obj[1] ;
13194
13195 if (!args) SWIG_fail;
13196 swig_obj[0] = args;
13197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13198 if (!SWIG_IsOK(res1)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13200 }
13201 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 (arg1)->WordRight();
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 resultobj = SWIG_Py_Void();
13209 return resultobj;
13210fail:
13211 return NULL;
13212}
13213
13214
13215SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13216 PyObject *resultobj = 0;
13217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13218 void *argp1 = 0 ;
13219 int res1 = 0 ;
13220 PyObject *swig_obj[1] ;
13221
13222 if (!args) SWIG_fail;
13223 swig_obj[0] = args;
13224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13225 if (!SWIG_IsOK(res1)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13227 }
13228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 (arg1)->WordRightExtend();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_Py_Void();
13236 return resultobj;
13237fail:
13238 return NULL;
13239}
13240
13241
13242SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *resultobj = 0;
13244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13245 void *argp1 = 0 ;
13246 int res1 = 0 ;
13247 PyObject *swig_obj[1] ;
13248
13249 if (!args) SWIG_fail;
13250 swig_obj[0] = args;
13251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13252 if (!SWIG_IsOK(res1)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13254 }
13255 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 (arg1)->Home();
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 resultobj = SWIG_Py_Void();
13263 return resultobj;
13264fail:
13265 return NULL;
13266}
13267
13268
13269SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13270 PyObject *resultobj = 0;
13271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13272 void *argp1 = 0 ;
13273 int res1 = 0 ;
13274 PyObject *swig_obj[1] ;
13275
13276 if (!args) SWIG_fail;
13277 swig_obj[0] = args;
13278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13279 if (!SWIG_IsOK(res1)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13281 }
13282 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 (arg1)->HomeExtend();
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 resultobj = SWIG_Py_Void();
13290 return resultobj;
13291fail:
13292 return NULL;
13293}
13294
13295
13296SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13297 PyObject *resultobj = 0;
13298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 PyObject *swig_obj[1] ;
13302
13303 if (!args) SWIG_fail;
13304 swig_obj[0] = args;
13305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13306 if (!SWIG_IsOK(res1)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13308 }
13309 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 (arg1)->LineEnd();
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 resultobj = SWIG_Py_Void();
13317 return resultobj;
13318fail:
13319 return NULL;
13320}
13321
13322
13323SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13324 PyObject *resultobj = 0;
13325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13326 void *argp1 = 0 ;
13327 int res1 = 0 ;
13328 PyObject *swig_obj[1] ;
13329
13330 if (!args) SWIG_fail;
13331 swig_obj[0] = args;
13332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13333 if (!SWIG_IsOK(res1)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13335 }
13336 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 (arg1)->LineEndExtend();
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_Py_Void();
13344 return resultobj;
13345fail:
13346 return NULL;
13347}
13348
13349
13350SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13351 PyObject *resultobj = 0;
13352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13353 void *argp1 = 0 ;
13354 int res1 = 0 ;
13355 PyObject *swig_obj[1] ;
13356
13357 if (!args) SWIG_fail;
13358 swig_obj[0] = args;
13359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13360 if (!SWIG_IsOK(res1)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13362 }
13363 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13364 {
13365 PyThreadState* __tstate = wxPyBeginAllowThreads();
13366 (arg1)->DocumentStart();
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 resultobj = SWIG_Py_Void();
13371 return resultobj;
13372fail:
13373 return NULL;
13374}
13375
13376
13377SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13378 PyObject *resultobj = 0;
13379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13380 void *argp1 = 0 ;
13381 int res1 = 0 ;
13382 PyObject *swig_obj[1] ;
13383
13384 if (!args) SWIG_fail;
13385 swig_obj[0] = args;
13386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13387 if (!SWIG_IsOK(res1)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13389 }
13390 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 (arg1)->DocumentStartExtend();
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_Py_Void();
13398 return resultobj;
13399fail:
13400 return NULL;
13401}
13402
13403
13404SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13405 PyObject *resultobj = 0;
13406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13407 void *argp1 = 0 ;
13408 int res1 = 0 ;
13409 PyObject *swig_obj[1] ;
13410
13411 if (!args) SWIG_fail;
13412 swig_obj[0] = args;
13413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13414 if (!SWIG_IsOK(res1)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13416 }
13417 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 (arg1)->DocumentEnd();
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_Py_Void();
13425 return resultobj;
13426fail:
13427 return NULL;
13428}
13429
13430
13431SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13432 PyObject *resultobj = 0;
13433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13434 void *argp1 = 0 ;
13435 int res1 = 0 ;
13436 PyObject *swig_obj[1] ;
13437
13438 if (!args) SWIG_fail;
13439 swig_obj[0] = args;
13440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13441 if (!SWIG_IsOK(res1)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13443 }
13444 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->DocumentEndExtend();
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 resultobj = SWIG_Py_Void();
13452 return resultobj;
13453fail:
13454 return NULL;
13455}
13456
13457
13458SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13459 PyObject *resultobj = 0;
13460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 PyObject *swig_obj[1] ;
13464
13465 if (!args) SWIG_fail;
13466 swig_obj[0] = args;
13467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13468 if (!SWIG_IsOK(res1)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13470 }
13471 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->PageUp();
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 resultobj = SWIG_Py_Void();
13479 return resultobj;
13480fail:
13481 return NULL;
13482}
13483
13484
13485SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13486 PyObject *resultobj = 0;
13487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13488 void *argp1 = 0 ;
13489 int res1 = 0 ;
13490 PyObject *swig_obj[1] ;
13491
13492 if (!args) SWIG_fail;
13493 swig_obj[0] = args;
13494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13497 }
13498 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->PageUpExtend();
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = SWIG_Py_Void();
13506 return resultobj;
13507fail:
13508 return NULL;
13509}
13510
13511
13512SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13513 PyObject *resultobj = 0;
13514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13515 void *argp1 = 0 ;
13516 int res1 = 0 ;
13517 PyObject *swig_obj[1] ;
13518
13519 if (!args) SWIG_fail;
13520 swig_obj[0] = args;
13521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13522 if (!SWIG_IsOK(res1)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13524 }
13525 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 (arg1)->PageDown();
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 resultobj = SWIG_Py_Void();
13533 return resultobj;
13534fail:
13535 return NULL;
13536}
13537
13538
13539SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13540 PyObject *resultobj = 0;
13541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13542 void *argp1 = 0 ;
13543 int res1 = 0 ;
13544 PyObject *swig_obj[1] ;
13545
13546 if (!args) SWIG_fail;
13547 swig_obj[0] = args;
13548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13549 if (!SWIG_IsOK(res1)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13551 }
13552 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 (arg1)->PageDownExtend();
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 resultobj = SWIG_Py_Void();
13560 return resultobj;
13561fail:
13562 return NULL;
13563}
13564
13565
13566SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13567 PyObject *resultobj = 0;
13568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13569 void *argp1 = 0 ;
13570 int res1 = 0 ;
13571 PyObject *swig_obj[1] ;
13572
13573 if (!args) SWIG_fail;
13574 swig_obj[0] = args;
13575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13578 }
13579 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 (arg1)->EditToggleOvertype();
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 resultobj = SWIG_Py_Void();
13587 return resultobj;
13588fail:
13589 return NULL;
13590}
13591
13592
13593SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13594 PyObject *resultobj = 0;
13595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 PyObject *swig_obj[1] ;
13599
13600 if (!args) SWIG_fail;
13601 swig_obj[0] = args;
13602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13603 if (!SWIG_IsOK(res1)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13605 }
13606 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->Cancel();
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 resultobj = SWIG_Py_Void();
13614 return resultobj;
13615fail:
13616 return NULL;
13617}
13618
13619
13620SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13621 PyObject *resultobj = 0;
13622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13623 void *argp1 = 0 ;
13624 int res1 = 0 ;
13625 PyObject *swig_obj[1] ;
13626
13627 if (!args) SWIG_fail;
13628 swig_obj[0] = args;
13629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13630 if (!SWIG_IsOK(res1)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13632 }
13633 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->DeleteBack();
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 resultobj = SWIG_Py_Void();
13641 return resultobj;
13642fail:
13643 return NULL;
13644}
13645
13646
13647SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13648 PyObject *resultobj = 0;
13649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13650 void *argp1 = 0 ;
13651 int res1 = 0 ;
13652 PyObject *swig_obj[1] ;
13653
13654 if (!args) SWIG_fail;
13655 swig_obj[0] = args;
13656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13657 if (!SWIG_IsOK(res1)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13659 }
13660 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 (arg1)->Tab();
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 resultobj = SWIG_Py_Void();
13668 return resultobj;
13669fail:
13670 return NULL;
13671}
13672
13673
13674SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13675 PyObject *resultobj = 0;
13676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13677 void *argp1 = 0 ;
13678 int res1 = 0 ;
13679 PyObject *swig_obj[1] ;
13680
13681 if (!args) SWIG_fail;
13682 swig_obj[0] = args;
13683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13684 if (!SWIG_IsOK(res1)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13686 }
13687 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 (arg1)->BackTab();
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 resultobj = SWIG_Py_Void();
13695 return resultobj;
13696fail:
13697 return NULL;
13698}
13699
13700
13701SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13702 PyObject *resultobj = 0;
13703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13704 void *argp1 = 0 ;
13705 int res1 = 0 ;
13706 PyObject *swig_obj[1] ;
13707
13708 if (!args) SWIG_fail;
13709 swig_obj[0] = args;
13710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13711 if (!SWIG_IsOK(res1)) {
13712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13713 }
13714 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 (arg1)->NewLine();
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 resultobj = SWIG_Py_Void();
13722 return resultobj;
13723fail:
13724 return NULL;
13725}
13726
13727
13728SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13729 PyObject *resultobj = 0;
13730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13731 void *argp1 = 0 ;
13732 int res1 = 0 ;
13733 PyObject *swig_obj[1] ;
13734
13735 if (!args) SWIG_fail;
13736 swig_obj[0] = args;
13737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13738 if (!SWIG_IsOK(res1)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13740 }
13741 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 (arg1)->FormFeed();
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 resultobj = SWIG_Py_Void();
13749 return resultobj;
13750fail:
13751 return NULL;
13752}
13753
13754
13755SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13756 PyObject *resultobj = 0;
13757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13758 void *argp1 = 0 ;
13759 int res1 = 0 ;
13760 PyObject *swig_obj[1] ;
13761
13762 if (!args) SWIG_fail;
13763 swig_obj[0] = args;
13764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13765 if (!SWIG_IsOK(res1)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13767 }
13768 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 (arg1)->VCHome();
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 resultobj = SWIG_Py_Void();
13776 return resultobj;
13777fail:
13778 return NULL;
13779}
13780
13781
13782SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13783 PyObject *resultobj = 0;
13784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13785 void *argp1 = 0 ;
13786 int res1 = 0 ;
13787 PyObject *swig_obj[1] ;
13788
13789 if (!args) SWIG_fail;
13790 swig_obj[0] = args;
13791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13794 }
13795 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 (arg1)->VCHomeExtend();
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 resultobj = SWIG_Py_Void();
13803 return resultobj;
13804fail:
13805 return NULL;
13806}
13807
13808
13809SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13810 PyObject *resultobj = 0;
13811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13812 void *argp1 = 0 ;
13813 int res1 = 0 ;
13814 PyObject *swig_obj[1] ;
13815
13816 if (!args) SWIG_fail;
13817 swig_obj[0] = args;
13818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13819 if (!SWIG_IsOK(res1)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13821 }
13822 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 (arg1)->ZoomIn();
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 resultobj = SWIG_Py_Void();
13830 return resultobj;
13831fail:
13832 return NULL;
13833}
13834
13835
13836SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13837 PyObject *resultobj = 0;
13838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13839 void *argp1 = 0 ;
13840 int res1 = 0 ;
13841 PyObject *swig_obj[1] ;
13842
13843 if (!args) SWIG_fail;
13844 swig_obj[0] = args;
13845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13846 if (!SWIG_IsOK(res1)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13848 }
13849 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13850 {
13851 PyThreadState* __tstate = wxPyBeginAllowThreads();
13852 (arg1)->ZoomOut();
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 resultobj = SWIG_Py_Void();
13857 return resultobj;
13858fail:
13859 return NULL;
13860}
13861
13862
13863SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13864 PyObject *resultobj = 0;
13865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13866 void *argp1 = 0 ;
13867 int res1 = 0 ;
13868 PyObject *swig_obj[1] ;
13869
13870 if (!args) SWIG_fail;
13871 swig_obj[0] = args;
13872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13873 if (!SWIG_IsOK(res1)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13875 }
13876 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 (arg1)->DelWordLeft();
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 resultobj = SWIG_Py_Void();
13884 return resultobj;
13885fail:
13886 return NULL;
13887}
13888
13889
13890SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13891 PyObject *resultobj = 0;
13892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13893 void *argp1 = 0 ;
13894 int res1 = 0 ;
13895 PyObject *swig_obj[1] ;
13896
13897 if (!args) SWIG_fail;
13898 swig_obj[0] = args;
13899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13900 if (!SWIG_IsOK(res1)) {
13901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13902 }
13903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->DelWordRight();
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 resultobj = SWIG_Py_Void();
13911 return resultobj;
13912fail:
13913 return NULL;
13914}
13915
13916
13917SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13918 PyObject *resultobj = 0;
13919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13920 void *argp1 = 0 ;
13921 int res1 = 0 ;
13922 PyObject *swig_obj[1] ;
13923
13924 if (!args) SWIG_fail;
13925 swig_obj[0] = args;
13926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13927 if (!SWIG_IsOK(res1)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13929 }
13930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 (arg1)->LineCut();
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = SWIG_Py_Void();
13938 return resultobj;
13939fail:
13940 return NULL;
13941}
13942
13943
13944SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13945 PyObject *resultobj = 0;
13946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 PyObject *swig_obj[1] ;
13950
13951 if (!args) SWIG_fail;
13952 swig_obj[0] = args;
13953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13954 if (!SWIG_IsOK(res1)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13956 }
13957 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 (arg1)->LineDelete();
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = SWIG_Py_Void();
13965 return resultobj;
13966fail:
13967 return NULL;
13968}
13969
13970
13971SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13972 PyObject *resultobj = 0;
13973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 PyObject *swig_obj[1] ;
13977
13978 if (!args) SWIG_fail;
13979 swig_obj[0] = args;
13980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13981 if (!SWIG_IsOK(res1)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13983 }
13984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 (arg1)->LineTranspose();
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_Py_Void();
13992 return resultobj;
13993fail:
13994 return NULL;
13995}
13996
13997
13998SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13999 PyObject *resultobj = 0;
14000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14001 void *argp1 = 0 ;
14002 int res1 = 0 ;
14003 PyObject *swig_obj[1] ;
14004
14005 if (!args) SWIG_fail;
14006 swig_obj[0] = args;
14007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14010 }
14011 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 (arg1)->LineDuplicate();
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 resultobj = SWIG_Py_Void();
14019 return resultobj;
14020fail:
14021 return NULL;
14022}
14023
14024
14025SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14026 PyObject *resultobj = 0;
14027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14028 void *argp1 = 0 ;
14029 int res1 = 0 ;
14030 PyObject *swig_obj[1] ;
14031
14032 if (!args) SWIG_fail;
14033 swig_obj[0] = args;
14034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14035 if (!SWIG_IsOK(res1)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14037 }
14038 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->LowerCase();
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
14045 resultobj = SWIG_Py_Void();
14046 return resultobj;
14047fail:
14048 return NULL;
14049}
14050
14051
14052SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14053 PyObject *resultobj = 0;
14054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14055 void *argp1 = 0 ;
14056 int res1 = 0 ;
14057 PyObject *swig_obj[1] ;
14058
14059 if (!args) SWIG_fail;
14060 swig_obj[0] = args;
14061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14062 if (!SWIG_IsOK(res1)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14064 }
14065 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->UpperCase();
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 resultobj = SWIG_Py_Void();
14073 return resultobj;
14074fail:
14075 return NULL;
14076}
14077
14078
14079SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14080 PyObject *resultobj = 0;
14081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14082 void *argp1 = 0 ;
14083 int res1 = 0 ;
14084 PyObject *swig_obj[1] ;
14085
14086 if (!args) SWIG_fail;
14087 swig_obj[0] = args;
14088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14089 if (!SWIG_IsOK(res1)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14091 }
14092 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 (arg1)->LineScrollDown();
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 resultobj = SWIG_Py_Void();
14100 return resultobj;
14101fail:
14102 return NULL;
14103}
14104
14105
14106SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14107 PyObject *resultobj = 0;
14108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14109 void *argp1 = 0 ;
14110 int res1 = 0 ;
14111 PyObject *swig_obj[1] ;
14112
14113 if (!args) SWIG_fail;
14114 swig_obj[0] = args;
14115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14116 if (!SWIG_IsOK(res1)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14118 }
14119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 (arg1)->LineScrollUp();
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_Py_Void();
14127 return resultobj;
14128fail:
14129 return NULL;
14130}
14131
14132
14133SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14134 PyObject *resultobj = 0;
14135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14136 void *argp1 = 0 ;
14137 int res1 = 0 ;
14138 PyObject *swig_obj[1] ;
14139
14140 if (!args) SWIG_fail;
14141 swig_obj[0] = args;
14142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14143 if (!SWIG_IsOK(res1)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14145 }
14146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 (arg1)->DeleteBackNotLine();
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_Py_Void();
14154 return resultobj;
14155fail:
14156 return NULL;
14157}
14158
14159
14160SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14161 PyObject *resultobj = 0;
14162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14163 void *argp1 = 0 ;
14164 int res1 = 0 ;
14165 PyObject *swig_obj[1] ;
14166
14167 if (!args) SWIG_fail;
14168 swig_obj[0] = args;
14169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14170 if (!SWIG_IsOK(res1)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14172 }
14173 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 (arg1)->HomeDisplay();
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 resultobj = SWIG_Py_Void();
14181 return resultobj;
14182fail:
14183 return NULL;
14184}
14185
14186
14187SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14188 PyObject *resultobj = 0;
14189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14190 void *argp1 = 0 ;
14191 int res1 = 0 ;
14192 PyObject *swig_obj[1] ;
14193
14194 if (!args) SWIG_fail;
14195 swig_obj[0] = args;
14196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14197 if (!SWIG_IsOK(res1)) {
14198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14199 }
14200 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 (arg1)->HomeDisplayExtend();
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 resultobj = SWIG_Py_Void();
14208 return resultobj;
14209fail:
14210 return NULL;
14211}
14212
14213
14214SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14215 PyObject *resultobj = 0;
14216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14217 void *argp1 = 0 ;
14218 int res1 = 0 ;
14219 PyObject *swig_obj[1] ;
14220
14221 if (!args) SWIG_fail;
14222 swig_obj[0] = args;
14223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14224 if (!SWIG_IsOK(res1)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14226 }
14227 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 (arg1)->LineEndDisplay();
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = SWIG_Py_Void();
14235 return resultobj;
14236fail:
14237 return NULL;
14238}
14239
14240
14241SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14242 PyObject *resultobj = 0;
14243 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14244 void *argp1 = 0 ;
14245 int res1 = 0 ;
14246 PyObject *swig_obj[1] ;
14247
14248 if (!args) SWIG_fail;
14249 swig_obj[0] = args;
14250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14251 if (!SWIG_IsOK(res1)) {
14252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14253 }
14254 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->LineEndDisplayExtend();
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 resultobj = SWIG_Py_Void();
14262 return resultobj;
14263fail:
14264 return NULL;
14265}
14266
14267
14268SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14269 PyObject *resultobj = 0;
14270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14271 void *argp1 = 0 ;
14272 int res1 = 0 ;
14273 PyObject *swig_obj[1] ;
14274
14275 if (!args) SWIG_fail;
14276 swig_obj[0] = args;
14277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14278 if (!SWIG_IsOK(res1)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14280 }
14281 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 (arg1)->HomeWrap();
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 resultobj = SWIG_Py_Void();
14289 return resultobj;
14290fail:
14291 return NULL;
14292}
14293
14294
14295SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14296 PyObject *resultobj = 0;
14297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14298 void *argp1 = 0 ;
14299 int res1 = 0 ;
14300 PyObject *swig_obj[1] ;
14301
14302 if (!args) SWIG_fail;
14303 swig_obj[0] = args;
14304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14305 if (!SWIG_IsOK(res1)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14307 }
14308 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 (arg1)->HomeWrapExtend();
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 resultobj = SWIG_Py_Void();
14316 return resultobj;
14317fail:
14318 return NULL;
14319}
14320
14321
14322SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14323 PyObject *resultobj = 0;
14324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14325 void *argp1 = 0 ;
14326 int res1 = 0 ;
14327 PyObject *swig_obj[1] ;
14328
14329 if (!args) SWIG_fail;
14330 swig_obj[0] = args;
14331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14334 }
14335 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 (arg1)->LineEndWrap();
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 resultobj = SWIG_Py_Void();
14343 return resultobj;
14344fail:
14345 return NULL;
14346}
14347
14348
14349SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14350 PyObject *resultobj = 0;
14351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14352 void *argp1 = 0 ;
14353 int res1 = 0 ;
14354 PyObject *swig_obj[1] ;
14355
14356 if (!args) SWIG_fail;
14357 swig_obj[0] = args;
14358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14359 if (!SWIG_IsOK(res1)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14361 }
14362 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->LineEndWrapExtend();
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_Py_Void();
14370 return resultobj;
14371fail:
14372 return NULL;
14373}
14374
14375
14376SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14377 PyObject *resultobj = 0;
14378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14379 void *argp1 = 0 ;
14380 int res1 = 0 ;
14381 PyObject *swig_obj[1] ;
14382
14383 if (!args) SWIG_fail;
14384 swig_obj[0] = args;
14385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14386 if (!SWIG_IsOK(res1)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14388 }
14389 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->VCHomeWrap();
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 resultobj = SWIG_Py_Void();
14397 return resultobj;
14398fail:
14399 return NULL;
14400}
14401
14402
14403SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14404 PyObject *resultobj = 0;
14405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14406 void *argp1 = 0 ;
14407 int res1 = 0 ;
14408 PyObject *swig_obj[1] ;
14409
14410 if (!args) SWIG_fail;
14411 swig_obj[0] = args;
14412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14413 if (!SWIG_IsOK(res1)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14415 }
14416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 (arg1)->VCHomeWrapExtend();
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 resultobj = SWIG_Py_Void();
14424 return resultobj;
14425fail:
14426 return NULL;
14427}
14428
14429
14430SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14431 PyObject *resultobj = 0;
14432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14433 void *argp1 = 0 ;
14434 int res1 = 0 ;
14435 PyObject *swig_obj[1] ;
14436
14437 if (!args) SWIG_fail;
14438 swig_obj[0] = args;
14439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14440 if (!SWIG_IsOK(res1)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14442 }
14443 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 (arg1)->LineCopy();
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 resultobj = SWIG_Py_Void();
14451 return resultobj;
14452fail:
14453 return NULL;
14454}
14455
14456
14457SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14458 PyObject *resultobj = 0;
14459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14460 void *argp1 = 0 ;
14461 int res1 = 0 ;
14462 PyObject *swig_obj[1] ;
14463
14464 if (!args) SWIG_fail;
14465 swig_obj[0] = args;
14466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14467 if (!SWIG_IsOK(res1)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14469 }
14470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 (arg1)->MoveCaretInsideView();
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 resultobj = SWIG_Py_Void();
14478 return resultobj;
14479fail:
14480 return NULL;
14481}
14482
14483
14484SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj = 0;
14486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14487 int arg2 ;
14488 int result;
14489 void *argp1 = 0 ;
14490 int res1 = 0 ;
14491 int val2 ;
14492 int ecode2 = 0 ;
14493 PyObject * obj0 = 0 ;
14494 PyObject * obj1 = 0 ;
14495 char * kwnames[] = {
14496 (char *) "self",(char *) "line", NULL
14497 };
14498
14499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14501 if (!SWIG_IsOK(res1)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14503 }
14504 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14505 ecode2 = SWIG_AsVal_int(obj1, &val2);
14506 if (!SWIG_IsOK(ecode2)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14508 }
14509 arg2 = static_cast< int >(val2);
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (int)(arg1)->LineLength(arg2);
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 resultobj = SWIG_From_int(static_cast< int >(result));
14517 return resultobj;
14518fail:
14519 return NULL;
14520}
14521
14522
14523SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj = 0;
14525 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14526 int arg2 ;
14527 int arg3 ;
14528 void *argp1 = 0 ;
14529 int res1 = 0 ;
14530 int val2 ;
14531 int ecode2 = 0 ;
14532 int val3 ;
14533 int ecode3 = 0 ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 PyObject * obj2 = 0 ;
14537 char * kwnames[] = {
14538 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14539 };
14540
14541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14543 if (!SWIG_IsOK(res1)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14545 }
14546 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14547 ecode2 = SWIG_AsVal_int(obj1, &val2);
14548 if (!SWIG_IsOK(ecode2)) {
14549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14550 }
14551 arg2 = static_cast< int >(val2);
14552 ecode3 = SWIG_AsVal_int(obj2, &val3);
14553 if (!SWIG_IsOK(ecode3)) {
14554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14555 }
14556 arg3 = static_cast< int >(val3);
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 (arg1)->BraceHighlight(arg2,arg3);
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 resultobj = SWIG_Py_Void();
14564 return resultobj;
14565fail:
14566 return NULL;
14567}
14568
14569
14570SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj = 0;
14572 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14573 int arg2 ;
14574 void *argp1 = 0 ;
14575 int res1 = 0 ;
14576 int val2 ;
14577 int ecode2 = 0 ;
14578 PyObject * obj0 = 0 ;
14579 PyObject * obj1 = 0 ;
14580 char * kwnames[] = {
14581 (char *) "self",(char *) "pos", NULL
14582 };
14583
14584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14586 if (!SWIG_IsOK(res1)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14588 }
14589 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14590 ecode2 = SWIG_AsVal_int(obj1, &val2);
14591 if (!SWIG_IsOK(ecode2)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14593 }
14594 arg2 = static_cast< int >(val2);
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 (arg1)->BraceBadLight(arg2);
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 resultobj = SWIG_Py_Void();
14602 return resultobj;
14603fail:
14604 return NULL;
14605}
14606
14607
14608SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj = 0;
14610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14611 int arg2 ;
14612 int result;
14613 void *argp1 = 0 ;
14614 int res1 = 0 ;
14615 int val2 ;
14616 int ecode2 = 0 ;
14617 PyObject * obj0 = 0 ;
14618 PyObject * obj1 = 0 ;
14619 char * kwnames[] = {
14620 (char *) "self",(char *) "pos", NULL
14621 };
14622
14623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14625 if (!SWIG_IsOK(res1)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14627 }
14628 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14629 ecode2 = SWIG_AsVal_int(obj1, &val2);
14630 if (!SWIG_IsOK(ecode2)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14632 }
14633 arg2 = static_cast< int >(val2);
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (int)(arg1)->BraceMatch(arg2);
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = SWIG_From_int(static_cast< int >(result));
14641 return resultobj;
14642fail:
14643 return NULL;
14644}
14645
14646
14647SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14648 PyObject *resultobj = 0;
14649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14650 bool result;
14651 void *argp1 = 0 ;
14652 int res1 = 0 ;
14653 PyObject *swig_obj[1] ;
14654
14655 if (!args) SWIG_fail;
14656 swig_obj[0] = args;
14657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14658 if (!SWIG_IsOK(res1)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14660 }
14661 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (bool)(arg1)->GetViewEOL();
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 {
14669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14670 }
14671 return resultobj;
14672fail:
14673 return NULL;
14674}
14675
14676
14677SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj = 0;
14679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14680 bool arg2 ;
14681 void *argp1 = 0 ;
14682 int res1 = 0 ;
14683 bool val2 ;
14684 int ecode2 = 0 ;
14685 PyObject * obj0 = 0 ;
14686 PyObject * obj1 = 0 ;
14687 char * kwnames[] = {
14688 (char *) "self",(char *) "visible", NULL
14689 };
14690
14691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14693 if (!SWIG_IsOK(res1)) {
14694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14695 }
14696 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14697 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14698 if (!SWIG_IsOK(ecode2)) {
14699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14700 }
14701 arg2 = static_cast< bool >(val2);
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->SetViewEOL(arg2);
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 resultobj = SWIG_Py_Void();
14709 return resultobj;
14710fail:
14711 return NULL;
14712}
14713
14714
14715SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14716 PyObject *resultobj = 0;
14717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14718 void *result = 0 ;
14719 void *argp1 = 0 ;
14720 int res1 = 0 ;
14721 PyObject *swig_obj[1] ;
14722
14723 if (!args) SWIG_fail;
14724 swig_obj[0] = args;
14725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14726 if (!SWIG_IsOK(res1)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14728 }
14729 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (void *)(arg1)->GetDocPointer();
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14737 return resultobj;
14738fail:
14739 return NULL;
14740}
14741
14742
14743SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj = 0;
14745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14746 void *arg2 = (void *) 0 ;
14747 void *argp1 = 0 ;
14748 int res1 = 0 ;
14749 int res2 ;
14750 PyObject * obj0 = 0 ;
14751 PyObject * obj1 = 0 ;
14752 char * kwnames[] = {
14753 (char *) "self",(char *) "docPointer", NULL
14754 };
14755
14756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14758 if (!SWIG_IsOK(res1)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14760 }
14761 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14762 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14763 if (!SWIG_IsOK(res2)) {
14764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14765 }
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 (arg1)->SetDocPointer(arg2);
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 resultobj = SWIG_Py_Void();
14773 return resultobj;
14774fail:
14775 return NULL;
14776}
14777
14778
14779SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj = 0;
14781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14782 int arg2 ;
14783 void *argp1 = 0 ;
14784 int res1 = 0 ;
14785 int val2 ;
14786 int ecode2 = 0 ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 char * kwnames[] = {
14790 (char *) "self",(char *) "mask", NULL
14791 };
14792
14793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14795 if (!SWIG_IsOK(res1)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14797 }
14798 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14799 ecode2 = SWIG_AsVal_int(obj1, &val2);
14800 if (!SWIG_IsOK(ecode2)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14802 }
14803 arg2 = static_cast< int >(val2);
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->SetModEventMask(arg2);
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_Py_Void();
14811 return resultobj;
14812fail:
14813 return NULL;
14814}
14815
14816
14817SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14818 PyObject *resultobj = 0;
14819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14820 int result;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 PyObject *swig_obj[1] ;
14824
14825 if (!args) SWIG_fail;
14826 swig_obj[0] = args;
14827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14830 }
14831 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (int)(arg1)->GetEdgeColumn();
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_From_int(static_cast< int >(result));
14839 return resultobj;
14840fail:
14841 return NULL;
14842}
14843
14844
14845SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj = 0;
14847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14848 int arg2 ;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 int val2 ;
14852 int ecode2 = 0 ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char * kwnames[] = {
14856 (char *) "self",(char *) "column", NULL
14857 };
14858
14859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14861 if (!SWIG_IsOK(res1)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14863 }
14864 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14865 ecode2 = SWIG_AsVal_int(obj1, &val2);
14866 if (!SWIG_IsOK(ecode2)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14868 }
14869 arg2 = static_cast< int >(val2);
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 (arg1)->SetEdgeColumn(arg2);
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 resultobj = SWIG_Py_Void();
14877 return resultobj;
14878fail:
14879 return NULL;
14880}
14881
14882
14883SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14884 PyObject *resultobj = 0;
14885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14886 int result;
14887 void *argp1 = 0 ;
14888 int res1 = 0 ;
14889 PyObject *swig_obj[1] ;
14890
14891 if (!args) SWIG_fail;
14892 swig_obj[0] = args;
14893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14894 if (!SWIG_IsOK(res1)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14896 }
14897 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (int)(arg1)->GetEdgeMode();
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 resultobj = SWIG_From_int(static_cast< int >(result));
14905 return resultobj;
14906fail:
14907 return NULL;
14908}
14909
14910
14911SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj = 0;
14913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14914 int arg2 ;
14915 void *argp1 = 0 ;
14916 int res1 = 0 ;
14917 int val2 ;
14918 int ecode2 = 0 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char * kwnames[] = {
14922 (char *) "self",(char *) "mode", NULL
14923 };
14924
14925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14927 if (!SWIG_IsOK(res1)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14929 }
14930 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14931 ecode2 = SWIG_AsVal_int(obj1, &val2);
14932 if (!SWIG_IsOK(ecode2)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14934 }
14935 arg2 = static_cast< int >(val2);
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 (arg1)->SetEdgeMode(arg2);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = SWIG_Py_Void();
14943 return resultobj;
14944fail:
14945 return NULL;
14946}
14947
14948
14949SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14950 PyObject *resultobj = 0;
14951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14952 wxColour result;
14953 void *argp1 = 0 ;
14954 int res1 = 0 ;
14955 PyObject *swig_obj[1] ;
14956
14957 if (!args) SWIG_fail;
14958 swig_obj[0] = args;
14959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14960 if (!SWIG_IsOK(res1)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14962 }
14963 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (arg1)->GetEdgeColour();
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14971 return resultobj;
14972fail:
14973 return NULL;
14974}
14975
14976
14977SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj = 0;
14979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14980 wxColour *arg2 = 0 ;
14981 void *argp1 = 0 ;
14982 int res1 = 0 ;
14983 wxColour temp2 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 char * kwnames[] = {
14987 (char *) "self",(char *) "edgeColour", NULL
14988 };
14989
14990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14992 if (!SWIG_IsOK(res1)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14994 }
14995 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14996 {
14997 arg2 = &temp2;
14998 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14999 }
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 (arg1)->SetEdgeColour((wxColour const &)*arg2);
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = SWIG_Py_Void();
15007 return resultobj;
15008fail:
15009 return NULL;
15010}
15011
15012
15013SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15014 PyObject *resultobj = 0;
15015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15016 void *argp1 = 0 ;
15017 int res1 = 0 ;
15018 PyObject *swig_obj[1] ;
15019
15020 if (!args) SWIG_fail;
15021 swig_obj[0] = args;
15022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15023 if (!SWIG_IsOK(res1)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15025 }
15026 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 (arg1)->SearchAnchor();
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 resultobj = SWIG_Py_Void();
15034 return resultobj;
15035fail:
15036 return NULL;
15037}
15038
15039
15040SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj = 0;
15042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15043 int arg2 ;
15044 wxString *arg3 = 0 ;
15045 int result;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 int val2 ;
15049 int ecode2 = 0 ;
15050 bool temp3 = false ;
15051 PyObject * obj0 = 0 ;
15052 PyObject * obj1 = 0 ;
15053 PyObject * obj2 = 0 ;
15054 char * kwnames[] = {
15055 (char *) "self",(char *) "flags",(char *) "text", NULL
15056 };
15057
15058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15060 if (!SWIG_IsOK(res1)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15062 }
15063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15064 ecode2 = SWIG_AsVal_int(obj1, &val2);
15065 if (!SWIG_IsOK(ecode2)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
15067 }
15068 arg2 = static_cast< int >(val2);
15069 {
15070 arg3 = wxString_in_helper(obj2);
15071 if (arg3 == NULL) SWIG_fail;
15072 temp3 = true;
15073 }
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 resultobj = SWIG_From_int(static_cast< int >(result));
15081 {
15082 if (temp3)
15083 delete arg3;
15084 }
15085 return resultobj;
15086fail:
15087 {
15088 if (temp3)
15089 delete arg3;
15090 }
15091 return NULL;
15092}
15093
15094
15095SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj = 0;
15097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15098 int arg2 ;
15099 wxString *arg3 = 0 ;
15100 int result;
15101 void *argp1 = 0 ;
15102 int res1 = 0 ;
15103 int val2 ;
15104 int ecode2 = 0 ;
15105 bool temp3 = false ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 char * kwnames[] = {
15110 (char *) "self",(char *) "flags",(char *) "text", NULL
15111 };
15112
15113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15115 if (!SWIG_IsOK(res1)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15117 }
15118 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15119 ecode2 = SWIG_AsVal_int(obj1, &val2);
15120 if (!SWIG_IsOK(ecode2)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
15122 }
15123 arg2 = static_cast< int >(val2);
15124 {
15125 arg3 = wxString_in_helper(obj2);
15126 if (arg3 == NULL) SWIG_fail;
15127 temp3 = true;
15128 }
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 resultobj = SWIG_From_int(static_cast< int >(result));
15136 {
15137 if (temp3)
15138 delete arg3;
15139 }
15140 return resultobj;
15141fail:
15142 {
15143 if (temp3)
15144 delete arg3;
15145 }
15146 return NULL;
15147}
15148
15149
15150SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15151 PyObject *resultobj = 0;
15152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15153 int result;
15154 void *argp1 = 0 ;
15155 int res1 = 0 ;
15156 PyObject *swig_obj[1] ;
15157
15158 if (!args) SWIG_fail;
15159 swig_obj[0] = args;
15160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15161 if (!SWIG_IsOK(res1)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15163 }
15164 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (int)(arg1)->LinesOnScreen();
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 resultobj = SWIG_From_int(static_cast< int >(result));
15172 return resultobj;
15173fail:
15174 return NULL;
15175}
15176
15177
15178SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj = 0;
15180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15181 bool arg2 ;
15182 void *argp1 = 0 ;
15183 int res1 = 0 ;
15184 bool val2 ;
15185 int ecode2 = 0 ;
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 char * kwnames[] = {
15189 (char *) "self",(char *) "allowPopUp", NULL
15190 };
15191
15192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15194 if (!SWIG_IsOK(res1)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15196 }
15197 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15198 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15199 if (!SWIG_IsOK(ecode2)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15201 }
15202 arg2 = static_cast< bool >(val2);
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 (arg1)->UsePopUp(arg2);
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 resultobj = SWIG_Py_Void();
15210 return resultobj;
15211fail:
15212 return NULL;
15213}
15214
15215
15216SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15217 PyObject *resultobj = 0;
15218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15219 bool result;
15220 void *argp1 = 0 ;
15221 int res1 = 0 ;
15222 PyObject *swig_obj[1] ;
15223
15224 if (!args) SWIG_fail;
15225 swig_obj[0] = args;
15226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15229 }
15230 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (bool)(arg1)->SelectionIsRectangle();
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 {
15238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15239 }
15240 return resultobj;
15241fail:
15242 return NULL;
15243}
15244
15245
15246SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj = 0;
15248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15249 int arg2 ;
15250 void *argp1 = 0 ;
15251 int res1 = 0 ;
15252 int val2 ;
15253 int ecode2 = 0 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 char * kwnames[] = {
15257 (char *) "self",(char *) "zoom", NULL
15258 };
15259
15260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15262 if (!SWIG_IsOK(res1)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15264 }
15265 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15266 ecode2 = SWIG_AsVal_int(obj1, &val2);
15267 if (!SWIG_IsOK(ecode2)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15269 }
15270 arg2 = static_cast< int >(val2);
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 (arg1)->SetZoom(arg2);
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 resultobj = SWIG_Py_Void();
15278 return resultobj;
15279fail:
15280 return NULL;
15281}
15282
15283
15284SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15285 PyObject *resultobj = 0;
15286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15287 int result;
15288 void *argp1 = 0 ;
15289 int res1 = 0 ;
15290 PyObject *swig_obj[1] ;
15291
15292 if (!args) SWIG_fail;
15293 swig_obj[0] = args;
15294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15295 if (!SWIG_IsOK(res1)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15297 }
15298 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (int)(arg1)->GetZoom();
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_From_int(static_cast< int >(result));
15306 return resultobj;
15307fail:
15308 return NULL;
15309}
15310
15311
15312SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15313 PyObject *resultobj = 0;
15314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15315 void *result = 0 ;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 PyObject *swig_obj[1] ;
15319
15320 if (!args) SWIG_fail;
15321 swig_obj[0] = args;
15322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15323 if (!SWIG_IsOK(res1)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15325 }
15326 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 result = (void *)(arg1)->CreateDocument();
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15334 return resultobj;
15335fail:
15336 return NULL;
15337}
15338
15339
15340SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj = 0;
15342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15343 void *arg2 = (void *) 0 ;
15344 void *argp1 = 0 ;
15345 int res1 = 0 ;
15346 int res2 ;
15347 PyObject * obj0 = 0 ;
15348 PyObject * obj1 = 0 ;
15349 char * kwnames[] = {
15350 (char *) "self",(char *) "docPointer", NULL
15351 };
15352
15353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15355 if (!SWIG_IsOK(res1)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15357 }
15358 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15359 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15360 if (!SWIG_IsOK(res2)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15362 }
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 (arg1)->AddRefDocument(arg2);
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 resultobj = SWIG_Py_Void();
15370 return resultobj;
15371fail:
15372 return NULL;
15373}
15374
15375
15376SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj = 0;
15378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15379 void *arg2 = (void *) 0 ;
15380 void *argp1 = 0 ;
15381 int res1 = 0 ;
15382 int res2 ;
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 char * kwnames[] = {
15386 (char *) "self",(char *) "docPointer", NULL
15387 };
15388
15389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15391 if (!SWIG_IsOK(res1)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15393 }
15394 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15395 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15396 if (!SWIG_IsOK(res2)) {
15397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15398 }
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 (arg1)->ReleaseDocument(arg2);
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_Py_Void();
15406 return resultobj;
15407fail:
15408 return NULL;
15409}
15410
15411
15412SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 PyObject *resultobj = 0;
15414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15415 int result;
15416 void *argp1 = 0 ;
15417 int res1 = 0 ;
15418 PyObject *swig_obj[1] ;
15419
15420 if (!args) SWIG_fail;
15421 swig_obj[0] = args;
15422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15423 if (!SWIG_IsOK(res1)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15425 }
15426 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (int)(arg1)->GetModEventMask();
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 resultobj = SWIG_From_int(static_cast< int >(result));
15434 return resultobj;
15435fail:
15436 return NULL;
15437}
15438
15439
15440SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj = 0;
15442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15443 bool arg2 ;
15444 void *argp1 = 0 ;
15445 int res1 = 0 ;
15446 bool val2 ;
15447 int ecode2 = 0 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 char * kwnames[] = {
15451 (char *) "self",(char *) "focus", NULL
15452 };
15453
15454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15456 if (!SWIG_IsOK(res1)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15458 }
15459 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15461 if (!SWIG_IsOK(ecode2)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15463 }
15464 arg2 = static_cast< bool >(val2);
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetSTCFocus(arg2);
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = SWIG_Py_Void();
15472 return resultobj;
15473fail:
15474 return NULL;
15475}
15476
15477
15478SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15479 PyObject *resultobj = 0;
15480 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15481 bool result;
15482 void *argp1 = 0 ;
15483 int res1 = 0 ;
15484 PyObject *swig_obj[1] ;
15485
15486 if (!args) SWIG_fail;
15487 swig_obj[0] = args;
15488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15489 if (!SWIG_IsOK(res1)) {
15490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15491 }
15492 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 result = (bool)(arg1)->GetSTCFocus();
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 {
15500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15501 }
15502 return resultobj;
15503fail:
15504 return NULL;
15505}
15506
15507
15508SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj = 0;
15510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15511 int arg2 ;
15512 void *argp1 = 0 ;
15513 int res1 = 0 ;
15514 int val2 ;
15515 int ecode2 = 0 ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 char * kwnames[] = {
15519 (char *) "self",(char *) "statusCode", NULL
15520 };
15521
15522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15524 if (!SWIG_IsOK(res1)) {
15525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15526 }
15527 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15528 ecode2 = SWIG_AsVal_int(obj1, &val2);
15529 if (!SWIG_IsOK(ecode2)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15531 }
15532 arg2 = static_cast< int >(val2);
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->SetStatus(arg2);
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_Py_Void();
15540 return resultobj;
15541fail:
15542 return NULL;
15543}
15544
15545
15546SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15547 PyObject *resultobj = 0;
15548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15549 int result;
15550 void *argp1 = 0 ;
15551 int res1 = 0 ;
15552 PyObject *swig_obj[1] ;
15553
15554 if (!args) SWIG_fail;
15555 swig_obj[0] = args;
15556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15557 if (!SWIG_IsOK(res1)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15559 }
15560 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 result = (int)(arg1)->GetStatus();
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 resultobj = SWIG_From_int(static_cast< int >(result));
15568 return resultobj;
15569fail:
15570 return NULL;
15571}
15572
15573
15574SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj = 0;
15576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15577 bool arg2 ;
15578 void *argp1 = 0 ;
15579 int res1 = 0 ;
15580 bool val2 ;
15581 int ecode2 = 0 ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584 char * kwnames[] = {
15585 (char *) "self",(char *) "captures", NULL
15586 };
15587
15588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15590 if (!SWIG_IsOK(res1)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15592 }
15593 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15595 if (!SWIG_IsOK(ecode2)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15597 }
15598 arg2 = static_cast< bool >(val2);
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 (arg1)->SetMouseDownCaptures(arg2);
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 resultobj = SWIG_Py_Void();
15606 return resultobj;
15607fail:
15608 return NULL;
15609}
15610
15611
15612SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15613 PyObject *resultobj = 0;
15614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15615 bool result;
15616 void *argp1 = 0 ;
15617 int res1 = 0 ;
15618 PyObject *swig_obj[1] ;
15619
15620 if (!args) SWIG_fail;
15621 swig_obj[0] = args;
15622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15623 if (!SWIG_IsOK(res1)) {
15624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15625 }
15626 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 result = (bool)(arg1)->GetMouseDownCaptures();
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 {
15634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15635 }
15636 return resultobj;
15637fail:
15638 return NULL;
15639}
15640
15641
15642SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15643 PyObject *resultobj = 0;
15644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15645 int arg2 ;
15646 void *argp1 = 0 ;
15647 int res1 = 0 ;
15648 int val2 ;
15649 int ecode2 = 0 ;
15650 PyObject * obj0 = 0 ;
15651 PyObject * obj1 = 0 ;
15652 char * kwnames[] = {
15653 (char *) "self",(char *) "cursorType", NULL
15654 };
15655
15656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15658 if (!SWIG_IsOK(res1)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15660 }
15661 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15662 ecode2 = SWIG_AsVal_int(obj1, &val2);
15663 if (!SWIG_IsOK(ecode2)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15665 }
15666 arg2 = static_cast< int >(val2);
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 (arg1)->SetSTCCursor(arg2);
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 resultobj = SWIG_Py_Void();
15674 return resultobj;
15675fail:
15676 return NULL;
15677}
15678
15679
15680SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15681 PyObject *resultobj = 0;
15682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15683 int result;
15684 void *argp1 = 0 ;
15685 int res1 = 0 ;
15686 PyObject *swig_obj[1] ;
15687
15688 if (!args) SWIG_fail;
15689 swig_obj[0] = args;
15690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15691 if (!SWIG_IsOK(res1)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15693 }
15694 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (int)(arg1)->GetSTCCursor();
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 resultobj = SWIG_From_int(static_cast< int >(result));
15702 return resultobj;
15703fail:
15704 return NULL;
15705}
15706
15707
15708SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15709 PyObject *resultobj = 0;
15710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15711 int arg2 ;
15712 void *argp1 = 0 ;
15713 int res1 = 0 ;
15714 int val2 ;
15715 int ecode2 = 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char * kwnames[] = {
15719 (char *) "self",(char *) "symbol", NULL
15720 };
15721
15722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15724 if (!SWIG_IsOK(res1)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15726 }
15727 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15728 ecode2 = SWIG_AsVal_int(obj1, &val2);
15729 if (!SWIG_IsOK(ecode2)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15731 }
15732 arg2 = static_cast< int >(val2);
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 (arg1)->SetControlCharSymbol(arg2);
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 resultobj = SWIG_Py_Void();
15740 return resultobj;
15741fail:
15742 return NULL;
15743}
15744
15745
15746SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15747 PyObject *resultobj = 0;
15748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15749 int result;
15750 void *argp1 = 0 ;
15751 int res1 = 0 ;
15752 PyObject *swig_obj[1] ;
15753
15754 if (!args) SWIG_fail;
15755 swig_obj[0] = args;
15756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15757 if (!SWIG_IsOK(res1)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15759 }
15760 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (int)(arg1)->GetControlCharSymbol();
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 resultobj = SWIG_From_int(static_cast< int >(result));
15768 return resultobj;
15769fail:
15770 return NULL;
15771}
15772
15773
15774SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15775 PyObject *resultobj = 0;
15776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15777 void *argp1 = 0 ;
15778 int res1 = 0 ;
15779 PyObject *swig_obj[1] ;
15780
15781 if (!args) SWIG_fail;
15782 swig_obj[0] = args;
15783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15784 if (!SWIG_IsOK(res1)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15786 }
15787 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 (arg1)->WordPartLeft();
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 resultobj = SWIG_Py_Void();
15795 return resultobj;
15796fail:
15797 return NULL;
15798}
15799
15800
15801SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15802 PyObject *resultobj = 0;
15803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15804 void *argp1 = 0 ;
15805 int res1 = 0 ;
15806 PyObject *swig_obj[1] ;
15807
15808 if (!args) SWIG_fail;
15809 swig_obj[0] = args;
15810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15811 if (!SWIG_IsOK(res1)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15813 }
15814 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 (arg1)->WordPartLeftExtend();
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 resultobj = SWIG_Py_Void();
15822 return resultobj;
15823fail:
15824 return NULL;
15825}
15826
15827
15828SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15829 PyObject *resultobj = 0;
15830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15831 void *argp1 = 0 ;
15832 int res1 = 0 ;
15833 PyObject *swig_obj[1] ;
15834
15835 if (!args) SWIG_fail;
15836 swig_obj[0] = args;
15837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15838 if (!SWIG_IsOK(res1)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15840 }
15841 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 (arg1)->WordPartRight();
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 resultobj = SWIG_Py_Void();
15849 return resultobj;
15850fail:
15851 return NULL;
15852}
15853
15854
15855SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15856 PyObject *resultobj = 0;
15857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15858 void *argp1 = 0 ;
15859 int res1 = 0 ;
15860 PyObject *swig_obj[1] ;
15861
15862 if (!args) SWIG_fail;
15863 swig_obj[0] = args;
15864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15865 if (!SWIG_IsOK(res1)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15867 }
15868 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 (arg1)->WordPartRightExtend();
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 resultobj = SWIG_Py_Void();
15876 return resultobj;
15877fail:
15878 return NULL;
15879}
15880
15881
15882SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15883 PyObject *resultobj = 0;
15884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15885 int arg2 ;
15886 int arg3 ;
15887 void *argp1 = 0 ;
15888 int res1 = 0 ;
15889 int val2 ;
15890 int ecode2 = 0 ;
15891 int val3 ;
15892 int ecode3 = 0 ;
15893 PyObject * obj0 = 0 ;
15894 PyObject * obj1 = 0 ;
15895 PyObject * obj2 = 0 ;
15896 char * kwnames[] = {
15897 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15898 };
15899
15900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15902 if (!SWIG_IsOK(res1)) {
15903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15904 }
15905 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15906 ecode2 = SWIG_AsVal_int(obj1, &val2);
15907 if (!SWIG_IsOK(ecode2)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15909 }
15910 arg2 = static_cast< int >(val2);
15911 ecode3 = SWIG_AsVal_int(obj2, &val3);
15912 if (!SWIG_IsOK(ecode3)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15914 }
15915 arg3 = static_cast< int >(val3);
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 (arg1)->SetVisiblePolicy(arg2,arg3);
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 resultobj = SWIG_Py_Void();
15923 return resultobj;
15924fail:
15925 return NULL;
15926}
15927
15928
15929SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15930 PyObject *resultobj = 0;
15931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15932 void *argp1 = 0 ;
15933 int res1 = 0 ;
15934 PyObject *swig_obj[1] ;
15935
15936 if (!args) SWIG_fail;
15937 swig_obj[0] = args;
15938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15939 if (!SWIG_IsOK(res1)) {
15940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15941 }
15942 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 (arg1)->DelLineLeft();
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 resultobj = SWIG_Py_Void();
15950 return resultobj;
15951fail:
15952 return NULL;
15953}
15954
15955
15956SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15957 PyObject *resultobj = 0;
15958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15959 void *argp1 = 0 ;
15960 int res1 = 0 ;
15961 PyObject *swig_obj[1] ;
15962
15963 if (!args) SWIG_fail;
15964 swig_obj[0] = args;
15965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15966 if (!SWIG_IsOK(res1)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15968 }
15969 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 (arg1)->DelLineRight();
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 resultobj = SWIG_Py_Void();
15977 return resultobj;
15978fail:
15979 return NULL;
15980}
15981
15982
15983SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj = 0;
15985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15986 int arg2 ;
15987 void *argp1 = 0 ;
15988 int res1 = 0 ;
15989 int val2 ;
15990 int ecode2 = 0 ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 char * kwnames[] = {
15994 (char *) "self",(char *) "newOffset", NULL
15995 };
15996
15997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15999 if (!SWIG_IsOK(res1)) {
16000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16001 }
16002 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16003 ecode2 = SWIG_AsVal_int(obj1, &val2);
16004 if (!SWIG_IsOK(ecode2)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
16006 }
16007 arg2 = static_cast< int >(val2);
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 (arg1)->SetXOffset(arg2);
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_Py_Void();
16015 return resultobj;
16016fail:
16017 return NULL;
16018}
16019
16020
16021SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16022 PyObject *resultobj = 0;
16023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16024 int result;
16025 void *argp1 = 0 ;
16026 int res1 = 0 ;
16027 PyObject *swig_obj[1] ;
16028
16029 if (!args) SWIG_fail;
16030 swig_obj[0] = args;
16031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16032 if (!SWIG_IsOK(res1)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16034 }
16035 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 result = (int)(arg1)->GetXOffset();
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_From_int(static_cast< int >(result));
16043 return resultobj;
16044fail:
16045 return NULL;
16046}
16047
16048
16049SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050 PyObject *resultobj = 0;
16051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16052 void *argp1 = 0 ;
16053 int res1 = 0 ;
16054 PyObject *swig_obj[1] ;
16055
16056 if (!args) SWIG_fail;
16057 swig_obj[0] = args;
16058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16059 if (!SWIG_IsOK(res1)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16061 }
16062 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 (arg1)->ChooseCaretX();
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 resultobj = SWIG_Py_Void();
16070 return resultobj;
16071fail:
16072 return NULL;
16073}
16074
16075
16076SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj = 0;
16078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16079 int arg2 ;
16080 int arg3 ;
16081 void *argp1 = 0 ;
16082 int res1 = 0 ;
16083 int val2 ;
16084 int ecode2 = 0 ;
16085 int val3 ;
16086 int ecode3 = 0 ;
16087 PyObject * obj0 = 0 ;
16088 PyObject * obj1 = 0 ;
16089 PyObject * obj2 = 0 ;
16090 char * kwnames[] = {
16091 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16092 };
16093
16094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16096 if (!SWIG_IsOK(res1)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16098 }
16099 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16100 ecode2 = SWIG_AsVal_int(obj1, &val2);
16101 if (!SWIG_IsOK(ecode2)) {
16102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16103 }
16104 arg2 = static_cast< int >(val2);
16105 ecode3 = SWIG_AsVal_int(obj2, &val3);
16106 if (!SWIG_IsOK(ecode3)) {
16107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16108 }
16109 arg3 = static_cast< int >(val3);
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 (arg1)->SetXCaretPolicy(arg2,arg3);
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 resultobj = SWIG_Py_Void();
16117 return resultobj;
16118fail:
16119 return NULL;
16120}
16121
16122
16123SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj = 0;
16125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16126 int arg2 ;
16127 int arg3 ;
16128 void *argp1 = 0 ;
16129 int res1 = 0 ;
16130 int val2 ;
16131 int ecode2 = 0 ;
16132 int val3 ;
16133 int ecode3 = 0 ;
16134 PyObject * obj0 = 0 ;
16135 PyObject * obj1 = 0 ;
16136 PyObject * obj2 = 0 ;
16137 char * kwnames[] = {
16138 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16139 };
16140
16141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16143 if (!SWIG_IsOK(res1)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16145 }
16146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16147 ecode2 = SWIG_AsVal_int(obj1, &val2);
16148 if (!SWIG_IsOK(ecode2)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16150 }
16151 arg2 = static_cast< int >(val2);
16152 ecode3 = SWIG_AsVal_int(obj2, &val3);
16153 if (!SWIG_IsOK(ecode3)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16155 }
16156 arg3 = static_cast< int >(val3);
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 (arg1)->SetYCaretPolicy(arg2,arg3);
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 resultobj = SWIG_Py_Void();
16164 return resultobj;
16165fail:
16166 return NULL;
16167}
16168
16169
16170SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj = 0;
16172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16173 int arg2 ;
16174 void *argp1 = 0 ;
16175 int res1 = 0 ;
16176 int val2 ;
16177 int ecode2 = 0 ;
16178 PyObject * obj0 = 0 ;
16179 PyObject * obj1 = 0 ;
16180 char * kwnames[] = {
16181 (char *) "self",(char *) "mode", NULL
16182 };
16183
16184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16186 if (!SWIG_IsOK(res1)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16188 }
16189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16190 ecode2 = SWIG_AsVal_int(obj1, &val2);
16191 if (!SWIG_IsOK(ecode2)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16193 }
16194 arg2 = static_cast< int >(val2);
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 (arg1)->SetPrintWrapMode(arg2);
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 resultobj = SWIG_Py_Void();
16202 return resultobj;
16203fail:
16204 return NULL;
16205}
16206
16207
16208SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16209 PyObject *resultobj = 0;
16210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16211 int result;
16212 void *argp1 = 0 ;
16213 int res1 = 0 ;
16214 PyObject *swig_obj[1] ;
16215
16216 if (!args) SWIG_fail;
16217 swig_obj[0] = args;
16218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16219 if (!SWIG_IsOK(res1)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16221 }
16222 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (int)(arg1)->GetPrintWrapMode();
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 resultobj = SWIG_From_int(static_cast< int >(result));
16230 return resultobj;
16231fail:
16232 return NULL;
16233}
16234
16235
16236SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj = 0;
16238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16239 bool arg2 ;
16240 wxColour *arg3 = 0 ;
16241 void *argp1 = 0 ;
16242 int res1 = 0 ;
16243 bool val2 ;
16244 int ecode2 = 0 ;
16245 wxColour temp3 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 PyObject * obj2 = 0 ;
16249 char * kwnames[] = {
16250 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16251 };
16252
16253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16255 if (!SWIG_IsOK(res1)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16257 }
16258 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16260 if (!SWIG_IsOK(ecode2)) {
16261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16262 }
16263 arg2 = static_cast< bool >(val2);
16264 {
16265 arg3 = &temp3;
16266 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16267 }
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 resultobj = SWIG_Py_Void();
16275 return resultobj;
16276fail:
16277 return NULL;
16278}
16279
16280
16281SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj = 0;
16283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16284 bool arg2 ;
16285 wxColour *arg3 = 0 ;
16286 void *argp1 = 0 ;
16287 int res1 = 0 ;
16288 bool val2 ;
16289 int ecode2 = 0 ;
16290 wxColour temp3 ;
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 PyObject * obj2 = 0 ;
16294 char * kwnames[] = {
16295 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16296 };
16297
16298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16300 if (!SWIG_IsOK(res1)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16302 }
16303 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16304 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16305 if (!SWIG_IsOK(ecode2)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16307 }
16308 arg2 = static_cast< bool >(val2);
16309 {
16310 arg3 = &temp3;
16311 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16312 }
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 resultobj = SWIG_Py_Void();
16320 return resultobj;
16321fail:
16322 return NULL;
16323}
16324
16325
16326SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj = 0;
16328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16329 bool arg2 ;
16330 void *argp1 = 0 ;
16331 int res1 = 0 ;
16332 bool val2 ;
16333 int ecode2 = 0 ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 char * kwnames[] = {
16337 (char *) "self",(char *) "underline", NULL
16338 };
16339
16340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16342 if (!SWIG_IsOK(res1)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16344 }
16345 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16346 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16347 if (!SWIG_IsOK(ecode2)) {
16348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16349 }
16350 arg2 = static_cast< bool >(val2);
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetHotspotActiveUnderline(arg2);
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 resultobj = SWIG_Py_Void();
16358 return resultobj;
16359fail:
16360 return NULL;
16361}
16362
16363
16364SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj = 0;
16366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16367 bool arg2 ;
16368 void *argp1 = 0 ;
16369 int res1 = 0 ;
16370 bool val2 ;
16371 int ecode2 = 0 ;
16372 PyObject * obj0 = 0 ;
16373 PyObject * obj1 = 0 ;
16374 char * kwnames[] = {
16375 (char *) "self",(char *) "singleLine", NULL
16376 };
16377
16378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16380 if (!SWIG_IsOK(res1)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16382 }
16383 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16385 if (!SWIG_IsOK(ecode2)) {
16386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16387 }
16388 arg2 = static_cast< bool >(val2);
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 (arg1)->SetHotspotSingleLine(arg2);
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 resultobj = SWIG_Py_Void();
16396 return resultobj;
16397fail:
16398 return NULL;
16399}
16400
16401
16402SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16403 PyObject *resultobj = 0;
16404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16405 void *argp1 = 0 ;
16406 int res1 = 0 ;
16407 PyObject *swig_obj[1] ;
16408
16409 if (!args) SWIG_fail;
16410 swig_obj[0] = args;
16411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16412 if (!SWIG_IsOK(res1)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16414 }
16415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 (arg1)->ParaDown();
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 resultobj = SWIG_Py_Void();
16423 return resultobj;
16424fail:
16425 return NULL;
16426}
16427
16428
16429SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16430 PyObject *resultobj = 0;
16431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16432 void *argp1 = 0 ;
16433 int res1 = 0 ;
16434 PyObject *swig_obj[1] ;
16435
16436 if (!args) SWIG_fail;
16437 swig_obj[0] = args;
16438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16439 if (!SWIG_IsOK(res1)) {
16440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16441 }
16442 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->ParaDownExtend();
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 resultobj = SWIG_Py_Void();
16450 return resultobj;
16451fail:
16452 return NULL;
16453}
16454
16455
16456SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16457 PyObject *resultobj = 0;
16458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16459 void *argp1 = 0 ;
16460 int res1 = 0 ;
16461 PyObject *swig_obj[1] ;
16462
16463 if (!args) SWIG_fail;
16464 swig_obj[0] = args;
16465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16466 if (!SWIG_IsOK(res1)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16468 }
16469 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 (arg1)->ParaUp();
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 resultobj = SWIG_Py_Void();
16477 return resultobj;
16478fail:
16479 return NULL;
16480}
16481
16482
16483SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16484 PyObject *resultobj = 0;
16485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16486 void *argp1 = 0 ;
16487 int res1 = 0 ;
16488 PyObject *swig_obj[1] ;
16489
16490 if (!args) SWIG_fail;
16491 swig_obj[0] = args;
16492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16493 if (!SWIG_IsOK(res1)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16495 }
16496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 (arg1)->ParaUpExtend();
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 resultobj = SWIG_Py_Void();
16504 return resultobj;
16505fail:
16506 return NULL;
16507}
16508
16509
16510SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj = 0;
16512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16513 int arg2 ;
16514 int result;
16515 void *argp1 = 0 ;
16516 int res1 = 0 ;
16517 int val2 ;
16518 int ecode2 = 0 ;
16519 PyObject * obj0 = 0 ;
16520 PyObject * obj1 = 0 ;
16521 char * kwnames[] = {
16522 (char *) "self",(char *) "pos", NULL
16523 };
16524
16525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16527 if (!SWIG_IsOK(res1)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16529 }
16530 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16531 ecode2 = SWIG_AsVal_int(obj1, &val2);
16532 if (!SWIG_IsOK(ecode2)) {
16533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16534 }
16535 arg2 = static_cast< int >(val2);
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (int)(arg1)->PositionBefore(arg2);
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 resultobj = SWIG_From_int(static_cast< int >(result));
16543 return resultobj;
16544fail:
16545 return NULL;
16546}
16547
16548
16549SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj = 0;
16551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16552 int arg2 ;
16553 int result;
16554 void *argp1 = 0 ;
16555 int res1 = 0 ;
16556 int val2 ;
16557 int ecode2 = 0 ;
16558 PyObject * obj0 = 0 ;
16559 PyObject * obj1 = 0 ;
16560 char * kwnames[] = {
16561 (char *) "self",(char *) "pos", NULL
16562 };
16563
16564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16566 if (!SWIG_IsOK(res1)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16568 }
16569 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16570 ecode2 = SWIG_AsVal_int(obj1, &val2);
16571 if (!SWIG_IsOK(ecode2)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16573 }
16574 arg2 = static_cast< int >(val2);
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = (int)(arg1)->PositionAfter(arg2);
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 resultobj = SWIG_From_int(static_cast< int >(result));
16582 return resultobj;
16583fail:
16584 return NULL;
16585}
16586
16587
16588SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj = 0;
16590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16591 int arg2 ;
16592 int arg3 ;
16593 void *argp1 = 0 ;
16594 int res1 = 0 ;
16595 int val2 ;
16596 int ecode2 = 0 ;
16597 int val3 ;
16598 int ecode3 = 0 ;
16599 PyObject * obj0 = 0 ;
16600 PyObject * obj1 = 0 ;
16601 PyObject * obj2 = 0 ;
16602 char * kwnames[] = {
16603 (char *) "self",(char *) "start",(char *) "end", NULL
16604 };
16605
16606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16608 if (!SWIG_IsOK(res1)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16610 }
16611 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16612 ecode2 = SWIG_AsVal_int(obj1, &val2);
16613 if (!SWIG_IsOK(ecode2)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16615 }
16616 arg2 = static_cast< int >(val2);
16617 ecode3 = SWIG_AsVal_int(obj2, &val3);
16618 if (!SWIG_IsOK(ecode3)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16620 }
16621 arg3 = static_cast< int >(val3);
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 (arg1)->CopyRange(arg2,arg3);
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 resultobj = SWIG_Py_Void();
16629 return resultobj;
16630fail:
16631 return NULL;
16632}
16633
16634
16635SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj = 0;
16637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16638 int arg2 ;
16639 wxString *arg3 = 0 ;
16640 void *argp1 = 0 ;
16641 int res1 = 0 ;
16642 int val2 ;
16643 int ecode2 = 0 ;
16644 bool temp3 = false ;
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 PyObject * obj2 = 0 ;
16648 char * kwnames[] = {
16649 (char *) "self",(char *) "length",(char *) "text", NULL
16650 };
16651
16652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16654 if (!SWIG_IsOK(res1)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16656 }
16657 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16658 ecode2 = SWIG_AsVal_int(obj1, &val2);
16659 if (!SWIG_IsOK(ecode2)) {
16660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16661 }
16662 arg2 = static_cast< int >(val2);
16663 {
16664 arg3 = wxString_in_helper(obj2);
16665 if (arg3 == NULL) SWIG_fail;
16666 temp3 = true;
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_Py_Void();
16675 {
16676 if (temp3)
16677 delete arg3;
16678 }
16679 return resultobj;
16680fail:
16681 {
16682 if (temp3)
16683 delete arg3;
16684 }
16685 return NULL;
16686}
16687
16688
16689SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj = 0;
16691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16692 int arg2 ;
16693 void *argp1 = 0 ;
16694 int res1 = 0 ;
16695 int val2 ;
16696 int ecode2 = 0 ;
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
16699 char * kwnames[] = {
16700 (char *) "self",(char *) "mode", NULL
16701 };
16702
16703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16705 if (!SWIG_IsOK(res1)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16707 }
16708 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16709 ecode2 = SWIG_AsVal_int(obj1, &val2);
16710 if (!SWIG_IsOK(ecode2)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16712 }
16713 arg2 = static_cast< int >(val2);
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->SetSelectionMode(arg2);
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 resultobj = SWIG_Py_Void();
16721 return resultobj;
16722fail:
16723 return NULL;
16724}
16725
16726
16727SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16728 PyObject *resultobj = 0;
16729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16730 int result;
16731 void *argp1 = 0 ;
16732 int res1 = 0 ;
16733 PyObject *swig_obj[1] ;
16734
16735 if (!args) SWIG_fail;
16736 swig_obj[0] = args;
16737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16738 if (!SWIG_IsOK(res1)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16740 }
16741 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 result = (int)(arg1)->GetSelectionMode();
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 resultobj = SWIG_From_int(static_cast< int >(result));
16749 return resultobj;
16750fail:
16751 return NULL;
16752}
16753
16754
16755SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj = 0;
16757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16758 int arg2 ;
16759 int result;
16760 void *argp1 = 0 ;
16761 int res1 = 0 ;
16762 int val2 ;
16763 int ecode2 = 0 ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 char * kwnames[] = {
16767 (char *) "self",(char *) "line", NULL
16768 };
16769
16770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16772 if (!SWIG_IsOK(res1)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16774 }
16775 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16776 ecode2 = SWIG_AsVal_int(obj1, &val2);
16777 if (!SWIG_IsOK(ecode2)) {
16778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16779 }
16780 arg2 = static_cast< int >(val2);
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 resultobj = SWIG_From_int(static_cast< int >(result));
16788 return resultobj;
16789fail:
16790 return NULL;
16791}
16792
16793
16794SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj = 0;
16796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16797 int arg2 ;
16798 int result;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 int val2 ;
16802 int ecode2 = 0 ;
16803 PyObject * obj0 = 0 ;
16804 PyObject * obj1 = 0 ;
16805 char * kwnames[] = {
16806 (char *) "self",(char *) "line", NULL
16807 };
16808
16809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16813 }
16814 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16815 ecode2 = SWIG_AsVal_int(obj1, &val2);
16816 if (!SWIG_IsOK(ecode2)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16818 }
16819 arg2 = static_cast< int >(val2);
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_From_int(static_cast< int >(result));
16827 return resultobj;
16828fail:
16829 return NULL;
16830}
16831
16832
16833SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16834 PyObject *resultobj = 0;
16835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16836 void *argp1 = 0 ;
16837 int res1 = 0 ;
16838 PyObject *swig_obj[1] ;
16839
16840 if (!args) SWIG_fail;
16841 swig_obj[0] = args;
16842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16843 if (!SWIG_IsOK(res1)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16845 }
16846 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 (arg1)->LineDownRectExtend();
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = SWIG_Py_Void();
16854 return resultobj;
16855fail:
16856 return NULL;
16857}
16858
16859
16860SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16861 PyObject *resultobj = 0;
16862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16863 void *argp1 = 0 ;
16864 int res1 = 0 ;
16865 PyObject *swig_obj[1] ;
16866
16867 if (!args) SWIG_fail;
16868 swig_obj[0] = args;
16869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16870 if (!SWIG_IsOK(res1)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16872 }
16873 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 (arg1)->LineUpRectExtend();
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_Py_Void();
16881 return resultobj;
16882fail:
16883 return NULL;
16884}
16885
16886
16887SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16888 PyObject *resultobj = 0;
16889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16890 void *argp1 = 0 ;
16891 int res1 = 0 ;
16892 PyObject *swig_obj[1] ;
16893
16894 if (!args) SWIG_fail;
16895 swig_obj[0] = args;
16896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16897 if (!SWIG_IsOK(res1)) {
16898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16899 }
16900 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 (arg1)->CharLeftRectExtend();
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 resultobj = SWIG_Py_Void();
16908 return resultobj;
16909fail:
16910 return NULL;
16911}
16912
16913
16914SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16915 PyObject *resultobj = 0;
16916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16917 void *argp1 = 0 ;
16918 int res1 = 0 ;
16919 PyObject *swig_obj[1] ;
16920
16921 if (!args) SWIG_fail;
16922 swig_obj[0] = args;
16923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16924 if (!SWIG_IsOK(res1)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16926 }
16927 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->CharRightRectExtend();
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 resultobj = SWIG_Py_Void();
16935 return resultobj;
16936fail:
16937 return NULL;
16938}
16939
16940
16941SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16942 PyObject *resultobj = 0;
16943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16944 void *argp1 = 0 ;
16945 int res1 = 0 ;
16946 PyObject *swig_obj[1] ;
16947
16948 if (!args) SWIG_fail;
16949 swig_obj[0] = args;
16950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16951 if (!SWIG_IsOK(res1)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16953 }
16954 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->HomeRectExtend();
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = SWIG_Py_Void();
16962 return resultobj;
16963fail:
16964 return NULL;
16965}
16966
16967
16968SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16969 PyObject *resultobj = 0;
16970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16971 void *argp1 = 0 ;
16972 int res1 = 0 ;
16973 PyObject *swig_obj[1] ;
16974
16975 if (!args) SWIG_fail;
16976 swig_obj[0] = args;
16977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16978 if (!SWIG_IsOK(res1)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16980 }
16981 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 (arg1)->VCHomeRectExtend();
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 resultobj = SWIG_Py_Void();
16989 return resultobj;
16990fail:
16991 return NULL;
16992}
16993
16994
16995SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16996 PyObject *resultobj = 0;
16997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16998 void *argp1 = 0 ;
16999 int res1 = 0 ;
17000 PyObject *swig_obj[1] ;
17001
17002 if (!args) SWIG_fail;
17003 swig_obj[0] = args;
17004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17005 if (!SWIG_IsOK(res1)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17007 }
17008 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 (arg1)->LineEndRectExtend();
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = SWIG_Py_Void();
17016 return resultobj;
17017fail:
17018 return NULL;
17019}
17020
17021
17022SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17023 PyObject *resultobj = 0;
17024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17025 void *argp1 = 0 ;
17026 int res1 = 0 ;
17027 PyObject *swig_obj[1] ;
17028
17029 if (!args) SWIG_fail;
17030 swig_obj[0] = args;
17031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17032 if (!SWIG_IsOK(res1)) {
17033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17034 }
17035 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 (arg1)->PageUpRectExtend();
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 resultobj = SWIG_Py_Void();
17043 return resultobj;
17044fail:
17045 return NULL;
17046}
17047
17048
17049SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17050 PyObject *resultobj = 0;
17051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 PyObject *swig_obj[1] ;
17055
17056 if (!args) SWIG_fail;
17057 swig_obj[0] = args;
17058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17059 if (!SWIG_IsOK(res1)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17061 }
17062 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 (arg1)->PageDownRectExtend();
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 resultobj = SWIG_Py_Void();
17070 return resultobj;
17071fail:
17072 return NULL;
17073}
17074
17075
17076SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17077 PyObject *resultobj = 0;
17078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17079 void *argp1 = 0 ;
17080 int res1 = 0 ;
17081 PyObject *swig_obj[1] ;
17082
17083 if (!args) SWIG_fail;
17084 swig_obj[0] = args;
17085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17086 if (!SWIG_IsOK(res1)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17088 }
17089 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 (arg1)->StutteredPageUp();
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 resultobj = SWIG_Py_Void();
17097 return resultobj;
17098fail:
17099 return NULL;
17100}
17101
17102
17103SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17104 PyObject *resultobj = 0;
17105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17106 void *argp1 = 0 ;
17107 int res1 = 0 ;
17108 PyObject *swig_obj[1] ;
17109
17110 if (!args) SWIG_fail;
17111 swig_obj[0] = args;
17112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17113 if (!SWIG_IsOK(res1)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17115 }
17116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17117 {
17118 PyThreadState* __tstate = wxPyBeginAllowThreads();
17119 (arg1)->StutteredPageUpExtend();
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 resultobj = SWIG_Py_Void();
17124 return resultobj;
17125fail:
17126 return NULL;
17127}
17128
17129
17130SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17131 PyObject *resultobj = 0;
17132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17133 void *argp1 = 0 ;
17134 int res1 = 0 ;
17135 PyObject *swig_obj[1] ;
17136
17137 if (!args) SWIG_fail;
17138 swig_obj[0] = args;
17139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17140 if (!SWIG_IsOK(res1)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17142 }
17143 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 (arg1)->StutteredPageDown();
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 resultobj = SWIG_Py_Void();
17151 return resultobj;
17152fail:
17153 return NULL;
17154}
17155
17156
17157SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17158 PyObject *resultobj = 0;
17159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17160 void *argp1 = 0 ;
17161 int res1 = 0 ;
17162 PyObject *swig_obj[1] ;
17163
17164 if (!args) SWIG_fail;
17165 swig_obj[0] = args;
17166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17167 if (!SWIG_IsOK(res1)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17169 }
17170 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->StutteredPageDownExtend();
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 resultobj = SWIG_Py_Void();
17178 return resultobj;
17179fail:
17180 return NULL;
17181}
17182
17183
17184SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17185 PyObject *resultobj = 0;
17186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17187 void *argp1 = 0 ;
17188 int res1 = 0 ;
17189 PyObject *swig_obj[1] ;
17190
17191 if (!args) SWIG_fail;
17192 swig_obj[0] = args;
17193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17194 if (!SWIG_IsOK(res1)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17196 }
17197 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 (arg1)->WordLeftEnd();
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 resultobj = SWIG_Py_Void();
17205 return resultobj;
17206fail:
17207 return NULL;
17208}
17209
17210
17211SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17212 PyObject *resultobj = 0;
17213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17214 void *argp1 = 0 ;
17215 int res1 = 0 ;
17216 PyObject *swig_obj[1] ;
17217
17218 if (!args) SWIG_fail;
17219 swig_obj[0] = args;
17220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17221 if (!SWIG_IsOK(res1)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17223 }
17224 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 (arg1)->WordLeftEndExtend();
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 resultobj = SWIG_Py_Void();
17232 return resultobj;
17233fail:
17234 return NULL;
17235}
17236
17237
17238SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17239 PyObject *resultobj = 0;
17240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 PyObject *swig_obj[1] ;
17244
17245 if (!args) SWIG_fail;
17246 swig_obj[0] = args;
17247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17248 if (!SWIG_IsOK(res1)) {
17249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17250 }
17251 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->WordRightEnd();
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 resultobj = SWIG_Py_Void();
17259 return resultobj;
17260fail:
17261 return NULL;
17262}
17263
17264
17265SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17266 PyObject *resultobj = 0;
17267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17268 void *argp1 = 0 ;
17269 int res1 = 0 ;
17270 PyObject *swig_obj[1] ;
17271
17272 if (!args) SWIG_fail;
17273 swig_obj[0] = args;
17274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17275 if (!SWIG_IsOK(res1)) {
17276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17277 }
17278 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->WordRightEndExtend();
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 resultobj = SWIG_Py_Void();
17286 return resultobj;
17287fail:
17288 return NULL;
17289}
17290
17291
17292SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj = 0;
17294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17295 wxString *arg2 = 0 ;
17296 void *argp1 = 0 ;
17297 int res1 = 0 ;
17298 bool temp2 = false ;
17299 PyObject * obj0 = 0 ;
17300 PyObject * obj1 = 0 ;
17301 char * kwnames[] = {
17302 (char *) "self",(char *) "characters", NULL
17303 };
17304
17305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17307 if (!SWIG_IsOK(res1)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17309 }
17310 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17311 {
17312 arg2 = wxString_in_helper(obj1);
17313 if (arg2 == NULL) SWIG_fail;
17314 temp2 = true;
17315 }
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 resultobj = SWIG_Py_Void();
17323 {
17324 if (temp2)
17325 delete arg2;
17326 }
17327 return resultobj;
17328fail:
17329 {
17330 if (temp2)
17331 delete arg2;
17332 }
17333 return NULL;
17334}
17335
17336
17337SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17338 PyObject *resultobj = 0;
17339 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17340 void *argp1 = 0 ;
17341 int res1 = 0 ;
17342 PyObject *swig_obj[1] ;
17343
17344 if (!args) SWIG_fail;
17345 swig_obj[0] = args;
17346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17347 if (!SWIG_IsOK(res1)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17349 }
17350 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->SetCharsDefault();
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = SWIG_Py_Void();
17358 return resultobj;
17359fail:
17360 return NULL;
17361}
17362
17363
17364SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17365 PyObject *resultobj = 0;
17366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17367 int result;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 PyObject *swig_obj[1] ;
17371
17372 if (!args) SWIG_fail;
17373 swig_obj[0] = args;
17374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17375 if (!SWIG_IsOK(res1)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17377 }
17378 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (int)(arg1)->AutoCompGetCurrent();
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = SWIG_From_int(static_cast< int >(result));
17386 return resultobj;
17387fail:
17388 return NULL;
17389}
17390
17391
17392SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj = 0;
17394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17395 int arg2 ;
17396 void *argp1 = 0 ;
17397 int res1 = 0 ;
17398 int val2 ;
17399 int ecode2 = 0 ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 char * kwnames[] = {
17403 (char *) "self",(char *) "bytes", NULL
17404 };
17405
17406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17408 if (!SWIG_IsOK(res1)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17410 }
17411 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17412 ecode2 = SWIG_AsVal_int(obj1, &val2);
17413 if (!SWIG_IsOK(ecode2)) {
17414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17415 }
17416 arg2 = static_cast< int >(val2);
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->Allocate(arg2);
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 resultobj = SWIG_Py_Void();
17424 return resultobj;
17425fail:
17426 return NULL;
17427}
17428
17429
17430SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj = 0;
17432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17433 int arg2 ;
17434 int arg3 ;
17435 int result;
17436 void *argp1 = 0 ;
17437 int res1 = 0 ;
17438 int val2 ;
17439 int ecode2 = 0 ;
17440 int val3 ;
17441 int ecode3 = 0 ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 PyObject * obj2 = 0 ;
17445 char * kwnames[] = {
17446 (char *) "self",(char *) "line",(char *) "column", NULL
17447 };
17448
17449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17451 if (!SWIG_IsOK(res1)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17453 }
17454 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17455 ecode2 = SWIG_AsVal_int(obj1, &val2);
17456 if (!SWIG_IsOK(ecode2)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17458 }
17459 arg2 = static_cast< int >(val2);
17460 ecode3 = SWIG_AsVal_int(obj2, &val3);
17461 if (!SWIG_IsOK(ecode3)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17463 }
17464 arg3 = static_cast< int >(val3);
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (int)(arg1)->FindColumn(arg2,arg3);
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = SWIG_From_int(static_cast< int >(result));
17472 return resultobj;
17473fail:
17474 return NULL;
17475}
17476
17477
17478SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17479 PyObject *resultobj = 0;
17480 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17481 bool result;
17482 void *argp1 = 0 ;
17483 int res1 = 0 ;
17484 PyObject *swig_obj[1] ;
17485
17486 if (!args) SWIG_fail;
17487 swig_obj[0] = args;
17488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17489 if (!SWIG_IsOK(res1)) {
17490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17491 }
17492 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)(arg1)->GetCaretSticky();
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17501 }
17502 return resultobj;
17503fail:
17504 return NULL;
17505}
17506
17507
17508SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj = 0;
17510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17511 bool arg2 ;
17512 void *argp1 = 0 ;
17513 int res1 = 0 ;
17514 bool val2 ;
17515 int ecode2 = 0 ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 char * kwnames[] = {
17519 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17520 };
17521
17522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17524 if (!SWIG_IsOK(res1)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17526 }
17527 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17528 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17529 if (!SWIG_IsOK(ecode2)) {
17530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17531 }
17532 arg2 = static_cast< bool >(val2);
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->SetCaretSticky(arg2);
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 resultobj = SWIG_Py_Void();
17540 return resultobj;
17541fail:
17542 return NULL;
17543}
17544
17545
17546SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17547 PyObject *resultobj = 0;
17548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17549 void *argp1 = 0 ;
17550 int res1 = 0 ;
17551 PyObject *swig_obj[1] ;
17552
17553 if (!args) SWIG_fail;
17554 swig_obj[0] = args;
17555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17556 if (!SWIG_IsOK(res1)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17558 }
17559 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 (arg1)->ToggleCaretSticky();
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 resultobj = SWIG_Py_Void();
17567 return resultobj;
17568fail:
17569 return NULL;
17570}
17571
17572
17573SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17574 PyObject *resultobj = 0;
17575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17576 bool arg2 ;
17577 void *argp1 = 0 ;
17578 int res1 = 0 ;
17579 bool val2 ;
17580 int ecode2 = 0 ;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 char * kwnames[] = {
17584 (char *) "self",(char *) "convert", NULL
17585 };
17586
17587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17589 if (!SWIG_IsOK(res1)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17591 }
17592 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17593 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17594 if (!SWIG_IsOK(ecode2)) {
17595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17596 }
17597 arg2 = static_cast< bool >(val2);
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->SetPasteConvertEndings(arg2);
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_Py_Void();
17605 return resultobj;
17606fail:
17607 return NULL;
17608}
17609
17610
17611SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17612 PyObject *resultobj = 0;
17613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17614 bool result;
17615 void *argp1 = 0 ;
17616 int res1 = 0 ;
17617 PyObject *swig_obj[1] ;
17618
17619 if (!args) SWIG_fail;
17620 swig_obj[0] = args;
17621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17622 if (!SWIG_IsOK(res1)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17624 }
17625 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (bool)(arg1)->GetPasteConvertEndings();
17629 wxPyEndAllowThreads(__tstate);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 }
17632 {
17633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17634 }
17635 return resultobj;
17636fail:
17637 return NULL;
17638}
17639
17640
17641SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17642 PyObject *resultobj = 0;
17643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 PyObject *swig_obj[1] ;
17647
17648 if (!args) SWIG_fail;
17649 swig_obj[0] = args;
17650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17651 if (!SWIG_IsOK(res1)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17653 }
17654 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 (arg1)->SelectionDuplicate();
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 resultobj = SWIG_Py_Void();
17662 return resultobj;
17663fail:
17664 return NULL;
17665}
17666
17667
17668SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj = 0;
17670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17671 int arg2 ;
17672 void *argp1 = 0 ;
17673 int res1 = 0 ;
17674 int val2 ;
17675 int ecode2 = 0 ;
17676 PyObject * obj0 = 0 ;
17677 PyObject * obj1 = 0 ;
17678 char * kwnames[] = {
17679 (char *) "self",(char *) "alpha", NULL
17680 };
17681
17682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
17683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17684 if (!SWIG_IsOK(res1)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17686 }
17687 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17688 ecode2 = SWIG_AsVal_int(obj1, &val2);
17689 if (!SWIG_IsOK(ecode2)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
17691 }
17692 arg2 = static_cast< int >(val2);
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 (arg1)->SetCaretLineBackAlpha(arg2);
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 resultobj = SWIG_Py_Void();
17700 return resultobj;
17701fail:
17702 return NULL;
17703}
17704
17705
17706SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17707 PyObject *resultobj = 0;
17708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17709 int result;
17710 void *argp1 = 0 ;
17711 int res1 = 0 ;
17712 PyObject *swig_obj[1] ;
17713
17714 if (!args) SWIG_fail;
17715 swig_obj[0] = args;
17716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17717 if (!SWIG_IsOK(res1)) {
17718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17719 }
17720 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 result = (int)(arg1)->GetCaretLineBackAlpha();
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 resultobj = SWIG_From_int(static_cast< int >(result));
17728 return resultobj;
17729fail:
17730 return NULL;
17731}
17732
17733
17734SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17735 PyObject *resultobj = 0;
17736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17737 void *argp1 = 0 ;
17738 int res1 = 0 ;
17739 PyObject *swig_obj[1] ;
17740
17741 if (!args) SWIG_fail;
17742 swig_obj[0] = args;
17743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17744 if (!SWIG_IsOK(res1)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17746 }
17747 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->StartRecord();
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = SWIG_Py_Void();
17755 return resultobj;
17756fail:
17757 return NULL;
17758}
17759
17760
17761SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17762 PyObject *resultobj = 0;
17763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17764 void *argp1 = 0 ;
17765 int res1 = 0 ;
17766 PyObject *swig_obj[1] ;
17767
17768 if (!args) SWIG_fail;
17769 swig_obj[0] = args;
17770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17771 if (!SWIG_IsOK(res1)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17773 }
17774 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 (arg1)->StopRecord();
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 resultobj = SWIG_Py_Void();
17782 return resultobj;
17783fail:
17784 return NULL;
17785}
17786
17787
17788SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj = 0;
17790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17791 int arg2 ;
17792 void *argp1 = 0 ;
17793 int res1 = 0 ;
17794 int val2 ;
17795 int ecode2 = 0 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 char * kwnames[] = {
17799 (char *) "self",(char *) "lexer", NULL
17800 };
17801
17802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17804 if (!SWIG_IsOK(res1)) {
17805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17806 }
17807 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17808 ecode2 = SWIG_AsVal_int(obj1, &val2);
17809 if (!SWIG_IsOK(ecode2)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17811 }
17812 arg2 = static_cast< int >(val2);
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 (arg1)->SetLexer(arg2);
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = SWIG_Py_Void();
17820 return resultobj;
17821fail:
17822 return NULL;
17823}
17824
17825
17826SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17827 PyObject *resultobj = 0;
17828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17829 int result;
17830 void *argp1 = 0 ;
17831 int res1 = 0 ;
17832 PyObject *swig_obj[1] ;
17833
17834 if (!args) SWIG_fail;
17835 swig_obj[0] = args;
17836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17837 if (!SWIG_IsOK(res1)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17839 }
17840 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = (int)(arg1)->GetLexer();
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 resultobj = SWIG_From_int(static_cast< int >(result));
17848 return resultobj;
17849fail:
17850 return NULL;
17851}
17852
17853
17854SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj = 0;
17856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17857 int arg2 ;
17858 int arg3 ;
17859 void *argp1 = 0 ;
17860 int res1 = 0 ;
17861 int val2 ;
17862 int ecode2 = 0 ;
17863 int val3 ;
17864 int ecode3 = 0 ;
17865 PyObject * obj0 = 0 ;
17866 PyObject * obj1 = 0 ;
17867 PyObject * obj2 = 0 ;
17868 char * kwnames[] = {
17869 (char *) "self",(char *) "start",(char *) "end", NULL
17870 };
17871
17872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17874 if (!SWIG_IsOK(res1)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17876 }
17877 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17878 ecode2 = SWIG_AsVal_int(obj1, &val2);
17879 if (!SWIG_IsOK(ecode2)) {
17880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17881 }
17882 arg2 = static_cast< int >(val2);
17883 ecode3 = SWIG_AsVal_int(obj2, &val3);
17884 if (!SWIG_IsOK(ecode3)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17886 }
17887 arg3 = static_cast< int >(val3);
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 (arg1)->Colourise(arg2,arg3);
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = SWIG_Py_Void();
17895 return resultobj;
17896fail:
17897 return NULL;
17898}
17899
17900
17901SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj = 0;
17903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17904 wxString *arg2 = 0 ;
17905 wxString *arg3 = 0 ;
17906 void *argp1 = 0 ;
17907 int res1 = 0 ;
17908 bool temp2 = false ;
17909 bool temp3 = false ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 PyObject * obj2 = 0 ;
17913 char * kwnames[] = {
17914 (char *) "self",(char *) "key",(char *) "value", NULL
17915 };
17916
17917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17919 if (!SWIG_IsOK(res1)) {
17920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17921 }
17922 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17923 {
17924 arg2 = wxString_in_helper(obj1);
17925 if (arg2 == NULL) SWIG_fail;
17926 temp2 = true;
17927 }
17928 {
17929 arg3 = wxString_in_helper(obj2);
17930 if (arg3 == NULL) SWIG_fail;
17931 temp3 = true;
17932 }
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 resultobj = SWIG_Py_Void();
17940 {
17941 if (temp2)
17942 delete arg2;
17943 }
17944 {
17945 if (temp3)
17946 delete arg3;
17947 }
17948 return resultobj;
17949fail:
17950 {
17951 if (temp2)
17952 delete arg2;
17953 }
17954 {
17955 if (temp3)
17956 delete arg3;
17957 }
17958 return NULL;
17959}
17960
17961
17962SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj = 0;
17964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17965 int arg2 ;
17966 wxString *arg3 = 0 ;
17967 void *argp1 = 0 ;
17968 int res1 = 0 ;
17969 int val2 ;
17970 int ecode2 = 0 ;
17971 bool temp3 = false ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 PyObject * obj2 = 0 ;
17975 char * kwnames[] = {
17976 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17977 };
17978
17979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17981 if (!SWIG_IsOK(res1)) {
17982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17983 }
17984 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17985 ecode2 = SWIG_AsVal_int(obj1, &val2);
17986 if (!SWIG_IsOK(ecode2)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17988 }
17989 arg2 = static_cast< int >(val2);
17990 {
17991 arg3 = wxString_in_helper(obj2);
17992 if (arg3 == NULL) SWIG_fail;
17993 temp3 = true;
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 resultobj = SWIG_Py_Void();
18002 {
18003 if (temp3)
18004 delete arg3;
18005 }
18006 return resultobj;
18007fail:
18008 {
18009 if (temp3)
18010 delete arg3;
18011 }
18012 return NULL;
18013}
18014
18015
18016SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18017 PyObject *resultobj = 0;
18018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18019 wxString *arg2 = 0 ;
18020 void *argp1 = 0 ;
18021 int res1 = 0 ;
18022 bool temp2 = false ;
18023 PyObject * obj0 = 0 ;
18024 PyObject * obj1 = 0 ;
18025 char * kwnames[] = {
18026 (char *) "self",(char *) "language", NULL
18027 };
18028
18029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
18030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18031 if (!SWIG_IsOK(res1)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18033 }
18034 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18035 {
18036 arg2 = wxString_in_helper(obj1);
18037 if (arg2 == NULL) SWIG_fail;
18038 temp2 = true;
18039 }
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 (arg1)->SetLexerLanguage((wxString const &)*arg2);
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 resultobj = SWIG_Py_Void();
18047 {
18048 if (temp2)
18049 delete arg2;
18050 }
18051 return resultobj;
18052fail:
18053 {
18054 if (temp2)
18055 delete arg2;
18056 }
18057 return NULL;
18058}
18059
18060
18061SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj = 0;
18063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18064 wxString *arg2 = 0 ;
18065 wxString result;
18066 void *argp1 = 0 ;
18067 int res1 = 0 ;
18068 bool temp2 = false ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char * kwnames[] = {
18072 (char *) "self",(char *) "key", NULL
18073 };
18074
18075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
18076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18077 if (!SWIG_IsOK(res1)) {
18078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18079 }
18080 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18081 {
18082 arg2 = wxString_in_helper(obj1);
18083 if (arg2 == NULL) SWIG_fail;
18084 temp2 = true;
18085 }
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 result = (arg1)->GetProperty((wxString const &)*arg2);
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 {
18093#if wxUSE_UNICODE
18094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18095#else
18096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18097#endif
18098 }
18099 {
18100 if (temp2)
18101 delete arg2;
18102 }
18103 return resultobj;
18104fail:
18105 {
18106 if (temp2)
18107 delete arg2;
18108 }
18109 return NULL;
18110}
18111
18112
18113SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj = 0;
18115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18116 wxString *arg2 = 0 ;
18117 wxString result;
18118 void *argp1 = 0 ;
18119 int res1 = 0 ;
18120 bool temp2 = false ;
18121 PyObject * obj0 = 0 ;
18122 PyObject * obj1 = 0 ;
18123 char * kwnames[] = {
18124 (char *) "self",(char *) "key", NULL
18125 };
18126
18127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
18128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18129 if (!SWIG_IsOK(res1)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18131 }
18132 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18133 {
18134 arg2 = wxString_in_helper(obj1);
18135 if (arg2 == NULL) SWIG_fail;
18136 temp2 = true;
18137 }
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
18141 wxPyEndAllowThreads(__tstate);
18142 if (PyErr_Occurred()) SWIG_fail;
18143 }
18144 {
18145#if wxUSE_UNICODE
18146 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18147#else
18148 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18149#endif
18150 }
18151 {
18152 if (temp2)
18153 delete arg2;
18154 }
18155 return resultobj;
18156fail:
18157 {
18158 if (temp2)
18159 delete arg2;
18160 }
18161 return NULL;
18162}
18163
18164
18165SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj = 0;
18167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18168 wxString *arg2 = 0 ;
18169 int result;
18170 void *argp1 = 0 ;
18171 int res1 = 0 ;
18172 bool temp2 = false ;
18173 PyObject * obj0 = 0 ;
18174 PyObject * obj1 = 0 ;
18175 char * kwnames[] = {
18176 (char *) "self",(char *) "key", NULL
18177 };
18178
18179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
18180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18181 if (!SWIG_IsOK(res1)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18183 }
18184 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18185 {
18186 arg2 = wxString_in_helper(obj1);
18187 if (arg2 == NULL) SWIG_fail;
18188 temp2 = true;
18189 }
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_From_int(static_cast< int >(result));
18197 {
18198 if (temp2)
18199 delete arg2;
18200 }
18201 return resultobj;
18202fail:
18203 {
18204 if (temp2)
18205 delete arg2;
18206 }
18207 return NULL;
18208}
18209
18210
18211SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18212 PyObject *resultobj = 0;
18213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18214 int result;
18215 void *argp1 = 0 ;
18216 int res1 = 0 ;
18217 PyObject *swig_obj[1] ;
18218
18219 if (!args) SWIG_fail;
18220 swig_obj[0] = args;
18221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18222 if (!SWIG_IsOK(res1)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18224 }
18225 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (int)(arg1)->GetStyleBitsNeeded();
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 resultobj = SWIG_From_int(static_cast< int >(result));
18233 return resultobj;
18234fail:
18235 return NULL;
18236}
18237
18238
18239SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18240 PyObject *resultobj = 0;
18241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18242 int result;
18243 void *argp1 = 0 ;
18244 int res1 = 0 ;
18245 PyObject *swig_obj[1] ;
18246
18247 if (!args) SWIG_fail;
18248 swig_obj[0] = args;
18249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18250 if (!SWIG_IsOK(res1)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18252 }
18253 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = (int)(arg1)->GetCurrentLine();
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 resultobj = SWIG_From_int(static_cast< int >(result));
18261 return resultobj;
18262fail:
18263 return NULL;
18264}
18265
18266
18267SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj = 0;
18269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18270 int arg2 ;
18271 wxString *arg3 = 0 ;
18272 void *argp1 = 0 ;
18273 int res1 = 0 ;
18274 int val2 ;
18275 int ecode2 = 0 ;
18276 bool temp3 = false ;
18277 PyObject * obj0 = 0 ;
18278 PyObject * obj1 = 0 ;
18279 PyObject * obj2 = 0 ;
18280 char * kwnames[] = {
18281 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18282 };
18283
18284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18286 if (!SWIG_IsOK(res1)) {
18287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18288 }
18289 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18290 ecode2 = SWIG_AsVal_int(obj1, &val2);
18291 if (!SWIG_IsOK(ecode2)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18293 }
18294 arg2 = static_cast< int >(val2);
18295 {
18296 arg3 = wxString_in_helper(obj2);
18297 if (arg3 == NULL) SWIG_fail;
18298 temp3 = true;
18299 }
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 resultobj = SWIG_Py_Void();
18307 {
18308 if (temp3)
18309 delete arg3;
18310 }
18311 return resultobj;
18312fail:
18313 {
18314 if (temp3)
18315 delete arg3;
18316 }
18317 return NULL;
18318}
18319
18320
18321SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj = 0;
18323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18324 int arg2 ;
18325 wxFont *arg3 = 0 ;
18326 void *argp1 = 0 ;
18327 int res1 = 0 ;
18328 int val2 ;
18329 int ecode2 = 0 ;
18330 void *argp3 = 0 ;
18331 int res3 = 0 ;
18332 PyObject * obj0 = 0 ;
18333 PyObject * obj1 = 0 ;
18334 PyObject * obj2 = 0 ;
18335 char * kwnames[] = {
18336 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18337 };
18338
18339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18341 if (!SWIG_IsOK(res1)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18343 }
18344 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18345 ecode2 = SWIG_AsVal_int(obj1, &val2);
18346 if (!SWIG_IsOK(ecode2)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18348 }
18349 arg2 = static_cast< int >(val2);
18350 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18351 if (!SWIG_IsOK(res3)) {
18352 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18353 }
18354 if (!argp3) {
18355 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18356 }
18357 arg3 = reinterpret_cast< wxFont * >(argp3);
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->StyleSetFont(arg2,*arg3);
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = SWIG_Py_Void();
18365 return resultobj;
18366fail:
18367 return NULL;
18368}
18369
18370
18371SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj = 0;
18373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18374 int arg2 ;
18375 int arg3 ;
18376 wxString *arg4 = 0 ;
18377 bool arg5 ;
18378 bool arg6 ;
18379 bool arg7 ;
18380 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18381 void *argp1 = 0 ;
18382 int res1 = 0 ;
18383 int val2 ;
18384 int ecode2 = 0 ;
18385 int val3 ;
18386 int ecode3 = 0 ;
18387 bool temp4 = false ;
18388 bool val5 ;
18389 int ecode5 = 0 ;
18390 bool val6 ;
18391 int ecode6 = 0 ;
18392 bool val7 ;
18393 int ecode7 = 0 ;
18394 int val8 ;
18395 int ecode8 = 0 ;
18396 PyObject * obj0 = 0 ;
18397 PyObject * obj1 = 0 ;
18398 PyObject * obj2 = 0 ;
18399 PyObject * obj3 = 0 ;
18400 PyObject * obj4 = 0 ;
18401 PyObject * obj5 = 0 ;
18402 PyObject * obj6 = 0 ;
18403 PyObject * obj7 = 0 ;
18404 char * kwnames[] = {
18405 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18406 };
18407
18408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18410 if (!SWIG_IsOK(res1)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18412 }
18413 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18414 ecode2 = SWIG_AsVal_int(obj1, &val2);
18415 if (!SWIG_IsOK(ecode2)) {
18416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18417 }
18418 arg2 = static_cast< int >(val2);
18419 ecode3 = SWIG_AsVal_int(obj2, &val3);
18420 if (!SWIG_IsOK(ecode3)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18422 }
18423 arg3 = static_cast< int >(val3);
18424 {
18425 arg4 = wxString_in_helper(obj3);
18426 if (arg4 == NULL) SWIG_fail;
18427 temp4 = true;
18428 }
18429 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18430 if (!SWIG_IsOK(ecode5)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18432 }
18433 arg5 = static_cast< bool >(val5);
18434 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18435 if (!SWIG_IsOK(ecode6)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18437 }
18438 arg6 = static_cast< bool >(val6);
18439 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18440 if (!SWIG_IsOK(ecode7)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18442 }
18443 arg7 = static_cast< bool >(val7);
18444 if (obj7) {
18445 ecode8 = SWIG_AsVal_int(obj7, &val8);
18446 if (!SWIG_IsOK(ecode8)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18448 }
18449 arg8 = static_cast< wxFontEncoding >(val8);
18450 }
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 resultobj = SWIG_Py_Void();
18458 {
18459 if (temp4)
18460 delete arg4;
18461 }
18462 return resultobj;
18463fail:
18464 {
18465 if (temp4)
18466 delete arg4;
18467 }
18468 return NULL;
18469}
18470
18471
18472SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj = 0;
18474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18475 int arg2 ;
18476 int arg3 ;
18477 void *argp1 = 0 ;
18478 int res1 = 0 ;
18479 int val2 ;
18480 int ecode2 = 0 ;
18481 int val3 ;
18482 int ecode3 = 0 ;
18483 PyObject * obj0 = 0 ;
18484 PyObject * obj1 = 0 ;
18485 PyObject * obj2 = 0 ;
18486 char * kwnames[] = {
18487 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18488 };
18489
18490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18492 if (!SWIG_IsOK(res1)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18494 }
18495 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18496 ecode2 = SWIG_AsVal_int(obj1, &val2);
18497 if (!SWIG_IsOK(ecode2)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18499 }
18500 arg2 = static_cast< int >(val2);
18501 ecode3 = SWIG_AsVal_int(obj2, &val3);
18502 if (!SWIG_IsOK(ecode3)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18504 }
18505 arg3 = static_cast< int >(val3);
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->StyleSetCharacterSet(arg2,arg3);
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = SWIG_Py_Void();
18513 return resultobj;
18514fail:
18515 return NULL;
18516}
18517
18518
18519SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj = 0;
18521 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18522 int arg2 ;
18523 wxFontEncoding arg3 ;
18524 void *argp1 = 0 ;
18525 int res1 = 0 ;
18526 int val2 ;
18527 int ecode2 = 0 ;
18528 int val3 ;
18529 int ecode3 = 0 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 PyObject * obj2 = 0 ;
18533 char * kwnames[] = {
18534 (char *) "self",(char *) "style",(char *) "encoding", NULL
18535 };
18536
18537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18539 if (!SWIG_IsOK(res1)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18541 }
18542 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18543 ecode2 = SWIG_AsVal_int(obj1, &val2);
18544 if (!SWIG_IsOK(ecode2)) {
18545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18546 }
18547 arg2 = static_cast< int >(val2);
18548 ecode3 = SWIG_AsVal_int(obj2, &val3);
18549 if (!SWIG_IsOK(ecode3)) {
18550 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18551 }
18552 arg3 = static_cast< wxFontEncoding >(val3);
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 (arg1)->StyleSetFontEncoding(arg2,arg3);
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 resultobj = SWIG_Py_Void();
18560 return resultobj;
18561fail:
18562 return NULL;
18563}
18564
18565
18566SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18567 PyObject *resultobj = 0;
18568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18569 int arg2 ;
18570 void *argp1 = 0 ;
18571 int res1 = 0 ;
18572 int val2 ;
18573 int ecode2 = 0 ;
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 char * kwnames[] = {
18577 (char *) "self",(char *) "cmd", NULL
18578 };
18579
18580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18582 if (!SWIG_IsOK(res1)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18584 }
18585 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18586 ecode2 = SWIG_AsVal_int(obj1, &val2);
18587 if (!SWIG_IsOK(ecode2)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18589 }
18590 arg2 = static_cast< int >(val2);
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 (arg1)->CmdKeyExecute(arg2);
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 resultobj = SWIG_Py_Void();
18598 return resultobj;
18599fail:
18600 return NULL;
18601}
18602
18603
18604SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj = 0;
18606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18607 int arg2 ;
18608 int arg3 ;
18609 void *argp1 = 0 ;
18610 int res1 = 0 ;
18611 int val2 ;
18612 int ecode2 = 0 ;
18613 int val3 ;
18614 int ecode3 = 0 ;
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 PyObject * obj2 = 0 ;
18618 char * kwnames[] = {
18619 (char *) "self",(char *) "left",(char *) "right", NULL
18620 };
18621
18622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18624 if (!SWIG_IsOK(res1)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18626 }
18627 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18628 ecode2 = SWIG_AsVal_int(obj1, &val2);
18629 if (!SWIG_IsOK(ecode2)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18631 }
18632 arg2 = static_cast< int >(val2);
18633 ecode3 = SWIG_AsVal_int(obj2, &val3);
18634 if (!SWIG_IsOK(ecode3)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18636 }
18637 arg3 = static_cast< int >(val3);
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 (arg1)->SetMargins(arg2,arg3);
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = SWIG_Py_Void();
18645 return resultobj;
18646fail:
18647 return NULL;
18648}
18649
18650
18651SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18652 PyObject *resultobj = 0;
18653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18654 int *arg2 = (int *) 0 ;
18655 int *arg3 = (int *) 0 ;
18656 void *argp1 = 0 ;
18657 int res1 = 0 ;
18658 int temp2 ;
18659 int res2 = SWIG_TMPOBJ ;
18660 int temp3 ;
18661 int res3 = SWIG_TMPOBJ ;
18662 PyObject *swig_obj[1] ;
18663
18664 arg2 = &temp2;
18665 arg3 = &temp3;
18666 if (!args) SWIG_fail;
18667 swig_obj[0] = args;
18668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18669 if (!SWIG_IsOK(res1)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18671 }
18672 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 (arg1)->GetSelection(arg2,arg3);
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 resultobj = SWIG_Py_Void();
18680 if (SWIG_IsTmpObj(res2)) {
18681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18682 } else {
18683 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18685 }
18686 if (SWIG_IsTmpObj(res3)) {
18687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18688 } else {
18689 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18690 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18691 }
18692 return resultobj;
18693fail:
18694 return NULL;
18695}
18696
18697
18698SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj = 0;
18700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18701 int arg2 ;
18702 wxPoint result;
18703 void *argp1 = 0 ;
18704 int res1 = 0 ;
18705 int val2 ;
18706 int ecode2 = 0 ;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709 char * kwnames[] = {
18710 (char *) "self",(char *) "pos", NULL
18711 };
18712
18713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18715 if (!SWIG_IsOK(res1)) {
18716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18717 }
18718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18719 ecode2 = SWIG_AsVal_int(obj1, &val2);
18720 if (!SWIG_IsOK(ecode2)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18722 }
18723 arg2 = static_cast< int >(val2);
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (arg1)->PointFromPosition(arg2);
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18731 return resultobj;
18732fail:
18733 return NULL;
18734}
18735
18736
18737SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj = 0;
18739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18740 int arg2 ;
18741 void *argp1 = 0 ;
18742 int res1 = 0 ;
18743 int val2 ;
18744 int ecode2 = 0 ;
18745 PyObject * obj0 = 0 ;
18746 PyObject * obj1 = 0 ;
18747 char * kwnames[] = {
18748 (char *) "self",(char *) "line", NULL
18749 };
18750
18751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18753 if (!SWIG_IsOK(res1)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18755 }
18756 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18757 ecode2 = SWIG_AsVal_int(obj1, &val2);
18758 if (!SWIG_IsOK(ecode2)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18760 }
18761 arg2 = static_cast< int >(val2);
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 (arg1)->ScrollToLine(arg2);
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 resultobj = SWIG_Py_Void();
18769 return resultobj;
18770fail:
18771 return NULL;
18772}
18773
18774
18775SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj = 0;
18777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18778 int arg2 ;
18779 void *argp1 = 0 ;
18780 int res1 = 0 ;
18781 int val2 ;
18782 int ecode2 = 0 ;
18783 PyObject * obj0 = 0 ;
18784 PyObject * obj1 = 0 ;
18785 char * kwnames[] = {
18786 (char *) "self",(char *) "column", NULL
18787 };
18788
18789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18791 if (!SWIG_IsOK(res1)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18793 }
18794 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18795 ecode2 = SWIG_AsVal_int(obj1, &val2);
18796 if (!SWIG_IsOK(ecode2)) {
18797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18798 }
18799 arg2 = static_cast< int >(val2);
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->ScrollToColumn(arg2);
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = SWIG_Py_Void();
18807 return resultobj;
18808fail:
18809 return NULL;
18810}
18811
18812
18813SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj = 0;
18815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18816 int arg2 ;
18817 long arg3 = (long) 0 ;
18818 long arg4 = (long) 0 ;
18819 long result;
18820 void *argp1 = 0 ;
18821 int res1 = 0 ;
18822 int val2 ;
18823 int ecode2 = 0 ;
18824 long val3 ;
18825 int ecode3 = 0 ;
18826 long val4 ;
18827 int ecode4 = 0 ;
18828 PyObject * obj0 = 0 ;
18829 PyObject * obj1 = 0 ;
18830 PyObject * obj2 = 0 ;
18831 PyObject * obj3 = 0 ;
18832 char * kwnames[] = {
18833 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18834 };
18835
18836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18838 if (!SWIG_IsOK(res1)) {
18839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18840 }
18841 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18842 ecode2 = SWIG_AsVal_int(obj1, &val2);
18843 if (!SWIG_IsOK(ecode2)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18845 }
18846 arg2 = static_cast< int >(val2);
18847 if (obj2) {
18848 ecode3 = SWIG_AsVal_long(obj2, &val3);
18849 if (!SWIG_IsOK(ecode3)) {
18850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18851 }
18852 arg3 = static_cast< long >(val3);
18853 }
18854 if (obj3) {
18855 ecode4 = SWIG_AsVal_long(obj3, &val4);
18856 if (!SWIG_IsOK(ecode4)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18858 }
18859 arg4 = static_cast< long >(val4);
18860 }
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 resultobj = SWIG_From_long(static_cast< long >(result));
18868 return resultobj;
18869fail:
18870 return NULL;
18871}
18872
18873
18874SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj = 0;
18876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18877 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18878 void *argp1 = 0 ;
18879 int res1 = 0 ;
18880 void *argp2 = 0 ;
18881 int res2 = 0 ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char * kwnames[] = {
18885 (char *) "self",(char *) "bar", NULL
18886 };
18887
18888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18892 }
18893 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18895 if (!SWIG_IsOK(res2)) {
18896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18897 }
18898 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 (arg1)->SetVScrollBar(arg2);
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 resultobj = SWIG_Py_Void();
18906 return resultobj;
18907fail:
18908 return NULL;
18909}
18910
18911
18912SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj = 0;
18914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18915 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18916 void *argp1 = 0 ;
18917 int res1 = 0 ;
18918 void *argp2 = 0 ;
18919 int res2 = 0 ;
18920 PyObject * obj0 = 0 ;
18921 PyObject * obj1 = 0 ;
18922 char * kwnames[] = {
18923 (char *) "self",(char *) "bar", NULL
18924 };
18925
18926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18928 if (!SWIG_IsOK(res1)) {
18929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18930 }
18931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18932 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18933 if (!SWIG_IsOK(res2)) {
18934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18935 }
18936 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 (arg1)->SetHScrollBar(arg2);
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 resultobj = SWIG_Py_Void();
18944 return resultobj;
18945fail:
18946 return NULL;
18947}
18948
18949
18950SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18951 PyObject *resultobj = 0;
18952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18953 bool result;
18954 void *argp1 = 0 ;
18955 int res1 = 0 ;
18956 PyObject *swig_obj[1] ;
18957
18958 if (!args) SWIG_fail;
18959 swig_obj[0] = args;
18960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18961 if (!SWIG_IsOK(res1)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18963 }
18964 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (bool)(arg1)->GetLastKeydownProcessed();
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 {
18972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18973 }
18974 return resultobj;
18975fail:
18976 return NULL;
18977}
18978
18979
18980SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj = 0;
18982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18983 bool arg2 ;
18984 void *argp1 = 0 ;
18985 int res1 = 0 ;
18986 bool val2 ;
18987 int ecode2 = 0 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char * kwnames[] = {
18991 (char *) "self",(char *) "val", NULL
18992 };
18993
18994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18998 }
18999 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19000 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19001 if (!SWIG_IsOK(ecode2)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
19003 }
19004 arg2 = static_cast< bool >(val2);
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 (arg1)->SetLastKeydownProcessed(arg2);
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 resultobj = SWIG_Py_Void();
19012 return resultobj;
19013fail:
19014 return NULL;
19015}
19016
19017
19018SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj = 0;
19020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19021 wxString *arg2 = 0 ;
19022 bool result;
19023 void *argp1 = 0 ;
19024 int res1 = 0 ;
19025 bool temp2 = false ;
19026 PyObject * obj0 = 0 ;
19027 PyObject * obj1 = 0 ;
19028 char * kwnames[] = {
19029 (char *) "self",(char *) "filename", NULL
19030 };
19031
19032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
19033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19034 if (!SWIG_IsOK(res1)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19036 }
19037 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19038 {
19039 arg2 = wxString_in_helper(obj1);
19040 if (arg2 == NULL) SWIG_fail;
19041 temp2 = true;
19042 }
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 {
19050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19051 }
19052 {
19053 if (temp2)
19054 delete arg2;
19055 }
19056 return resultobj;
19057fail:
19058 {
19059 if (temp2)
19060 delete arg2;
19061 }
19062 return NULL;
19063}
19064
19065
19066SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj = 0;
19068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19069 wxString *arg2 = 0 ;
19070 bool result;
19071 void *argp1 = 0 ;
19072 int res1 = 0 ;
19073 bool temp2 = false ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char * kwnames[] = {
19077 (char *) "self",(char *) "filename", NULL
19078 };
19079
19080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
19081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19082 if (!SWIG_IsOK(res1)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19084 }
19085 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19086 {
19087 arg2 = wxString_in_helper(obj1);
19088 if (arg2 == NULL) SWIG_fail;
19089 temp2 = true;
19090 }
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 {
19098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19099 }
19100 {
19101 if (temp2)
19102 delete arg2;
19103 }
19104 return resultobj;
19105fail:
19106 {
19107 if (temp2)
19108 delete arg2;
19109 }
19110 return NULL;
19111}
19112
19113
19114SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj = 0;
19116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19117 int arg2 ;
19118 int arg3 ;
19119 wxDragResult arg4 ;
19120 wxDragResult result;
19121 void *argp1 = 0 ;
19122 int res1 = 0 ;
19123 int val2 ;
19124 int ecode2 = 0 ;
19125 int val3 ;
19126 int ecode3 = 0 ;
19127 int val4 ;
19128 int ecode4 = 0 ;
19129 PyObject * obj0 = 0 ;
19130 PyObject * obj1 = 0 ;
19131 PyObject * obj2 = 0 ;
19132 PyObject * obj3 = 0 ;
19133 char * kwnames[] = {
19134 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
19135 };
19136
19137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19139 if (!SWIG_IsOK(res1)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19141 }
19142 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19143 ecode2 = SWIG_AsVal_int(obj1, &val2);
19144 if (!SWIG_IsOK(ecode2)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
19146 }
19147 arg2 = static_cast< int >(val2);
19148 ecode3 = SWIG_AsVal_int(obj2, &val3);
19149 if (!SWIG_IsOK(ecode3)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
19151 }
19152 arg3 = static_cast< int >(val3);
19153 ecode4 = SWIG_AsVal_int(obj3, &val4);
19154 if (!SWIG_IsOK(ecode4)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
19156 }
19157 arg4 = static_cast< wxDragResult >(val4);
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 resultobj = SWIG_From_int(static_cast< int >(result));
19165 return resultobj;
19166fail:
19167 return NULL;
19168}
19169
19170
19171SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19172 PyObject *resultobj = 0;
19173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19174 long arg2 ;
19175 long arg3 ;
19176 wxString *arg4 = 0 ;
19177 bool result;
19178 void *argp1 = 0 ;
19179 int res1 = 0 ;
19180 long val2 ;
19181 int ecode2 = 0 ;
19182 long val3 ;
19183 int ecode3 = 0 ;
19184 bool temp4 = false ;
19185 PyObject * obj0 = 0 ;
19186 PyObject * obj1 = 0 ;
19187 PyObject * obj2 = 0 ;
19188 PyObject * obj3 = 0 ;
19189 char * kwnames[] = {
19190 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
19191 };
19192
19193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19195 if (!SWIG_IsOK(res1)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19197 }
19198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19199 ecode2 = SWIG_AsVal_long(obj1, &val2);
19200 if (!SWIG_IsOK(ecode2)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
19202 }
19203 arg2 = static_cast< long >(val2);
19204 ecode3 = SWIG_AsVal_long(obj2, &val3);
19205 if (!SWIG_IsOK(ecode3)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
19207 }
19208 arg3 = static_cast< long >(val3);
19209 {
19210 arg4 = wxString_in_helper(obj3);
19211 if (arg4 == NULL) SWIG_fail;
19212 temp4 = true;
19213 }
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 {
19221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19222 }
19223 {
19224 if (temp4)
19225 delete arg4;
19226 }
19227 return resultobj;
19228fail:
19229 {
19230 if (temp4)
19231 delete arg4;
19232 }
19233 return NULL;
19234}
19235
19236
19237SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj = 0;
19239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19240 bool arg2 ;
19241 void *argp1 = 0 ;
19242 int res1 = 0 ;
19243 bool val2 ;
19244 int ecode2 = 0 ;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char * kwnames[] = {
19248 (char *) "self",(char *) "useAA", NULL
19249 };
19250
19251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19253 if (!SWIG_IsOK(res1)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19255 }
19256 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19257 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19258 if (!SWIG_IsOK(ecode2)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19260 }
19261 arg2 = static_cast< bool >(val2);
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 (arg1)->SetUseAntiAliasing(arg2);
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 resultobj = SWIG_Py_Void();
19269 return resultobj;
19270fail:
19271 return NULL;
19272}
19273
19274
19275SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19276 PyObject *resultobj = 0;
19277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19278 bool result;
19279 void *argp1 = 0 ;
19280 int res1 = 0 ;
19281 PyObject *swig_obj[1] ;
19282
19283 if (!args) SWIG_fail;
19284 swig_obj[0] = args;
19285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19286 if (!SWIG_IsOK(res1)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19288 }
19289 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = (bool)(arg1)->GetUseAntiAliasing();
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 {
19297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19298 }
19299 return resultobj;
19300fail:
19301 return NULL;
19302}
19303
19304
19305SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj = 0;
19307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19308 char *arg2 = (char *) 0 ;
19309 void *argp1 = 0 ;
19310 int res1 = 0 ;
19311 int res2 ;
19312 char *buf2 = 0 ;
19313 int alloc2 = 0 ;
19314 PyObject * obj0 = 0 ;
19315 PyObject * obj1 = 0 ;
19316 char * kwnames[] = {
19317 (char *) "self",(char *) "text", NULL
19318 };
19319
19320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19322 if (!SWIG_IsOK(res1)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19324 }
19325 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19326 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19327 if (!SWIG_IsOK(res2)) {
19328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19329 }
19330 arg2 = buf2;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 (arg1)->AddTextRaw((char const *)arg2);
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 resultobj = SWIG_Py_Void();
19338 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19339 return resultobj;
19340fail:
19341 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19342 return NULL;
19343}
19344
19345
19346SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19347 PyObject *resultobj = 0;
19348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19349 int arg2 ;
19350 char *arg3 = (char *) 0 ;
19351 void *argp1 = 0 ;
19352 int res1 = 0 ;
19353 int val2 ;
19354 int ecode2 = 0 ;
19355 int res3 ;
19356 char *buf3 = 0 ;
19357 int alloc3 = 0 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 PyObject * obj2 = 0 ;
19361 char * kwnames[] = {
19362 (char *) "self",(char *) "pos",(char *) "text", NULL
19363 };
19364
19365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19367 if (!SWIG_IsOK(res1)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19369 }
19370 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19371 ecode2 = SWIG_AsVal_int(obj1, &val2);
19372 if (!SWIG_IsOK(ecode2)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19374 }
19375 arg2 = static_cast< int >(val2);
19376 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19377 if (!SWIG_IsOK(res3)) {
19378 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19379 }
19380 arg3 = buf3;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 resultobj = SWIG_Py_Void();
19388 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19389 return resultobj;
19390fail:
19391 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19392 return NULL;
19393}
19394
19395
19396SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19397 PyObject *resultobj = 0;
19398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19399 int *arg2 = (int *) 0 ;
19400 wxCharBuffer result;
19401 void *argp1 = 0 ;
19402 int res1 = 0 ;
19403 int temp2 ;
19404 int res2 = SWIG_TMPOBJ ;
19405 PyObject *swig_obj[1] ;
19406
19407 arg2 = &temp2;
19408 if (!args) SWIG_fail;
19409 swig_obj[0] = args;
19410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19411 if (!SWIG_IsOK(res1)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19413 }
19414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 result = (arg1)->GetCurLineRaw(arg2);
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 {
19422 if ((&result)->data())
19423 resultobj = PyString_FromString((char*)(&result)->data());
19424 else
19425 resultobj = PyString_FromString("");
19426 }
19427 if (SWIG_IsTmpObj(res2)) {
19428 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19429 } else {
19430 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19432 }
19433 return resultobj;
19434fail:
19435 return NULL;
19436}
19437
19438
19439SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj = 0;
19441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19442 int arg2 ;
19443 wxCharBuffer result;
19444 void *argp1 = 0 ;
19445 int res1 = 0 ;
19446 int val2 ;
19447 int ecode2 = 0 ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char * kwnames[] = {
19451 (char *) "self",(char *) "line", NULL
19452 };
19453
19454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19456 if (!SWIG_IsOK(res1)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19458 }
19459 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19460 ecode2 = SWIG_AsVal_int(obj1, &val2);
19461 if (!SWIG_IsOK(ecode2)) {
19462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19463 }
19464 arg2 = static_cast< int >(val2);
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (arg1)->GetLineRaw(arg2);
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 {
19472 if ((&result)->data())
19473 resultobj = PyString_FromString((char*)(&result)->data());
19474 else
19475 resultobj = PyString_FromString("");
19476 }
19477 return resultobj;
19478fail:
19479 return NULL;
19480}
19481
19482
19483SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19484 PyObject *resultobj = 0;
19485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19486 wxCharBuffer result;
19487 void *argp1 = 0 ;
19488 int res1 = 0 ;
19489 PyObject *swig_obj[1] ;
19490
19491 if (!args) SWIG_fail;
19492 swig_obj[0] = args;
19493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19494 if (!SWIG_IsOK(res1)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19496 }
19497 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19498 {
19499 PyThreadState* __tstate = wxPyBeginAllowThreads();
19500 result = (arg1)->GetSelectedTextRaw();
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 {
19505 if ((&result)->data())
19506 resultobj = PyString_FromString((char*)(&result)->data());
19507 else
19508 resultobj = PyString_FromString("");
19509 }
19510 return resultobj;
19511fail:
19512 return NULL;
19513}
19514
19515
19516SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj = 0;
19518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19519 int arg2 ;
19520 int arg3 ;
19521 wxCharBuffer result;
19522 void *argp1 = 0 ;
19523 int res1 = 0 ;
19524 int val2 ;
19525 int ecode2 = 0 ;
19526 int val3 ;
19527 int ecode3 = 0 ;
19528 PyObject * obj0 = 0 ;
19529 PyObject * obj1 = 0 ;
19530 PyObject * obj2 = 0 ;
19531 char * kwnames[] = {
19532 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19533 };
19534
19535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19537 if (!SWIG_IsOK(res1)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19539 }
19540 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19541 ecode2 = SWIG_AsVal_int(obj1, &val2);
19542 if (!SWIG_IsOK(ecode2)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19544 }
19545 arg2 = static_cast< int >(val2);
19546 ecode3 = SWIG_AsVal_int(obj2, &val3);
19547 if (!SWIG_IsOK(ecode3)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19549 }
19550 arg3 = static_cast< int >(val3);
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 {
19558 if ((&result)->data())
19559 resultobj = PyString_FromString((char*)(&result)->data());
19560 else
19561 resultobj = PyString_FromString("");
19562 }
19563 return resultobj;
19564fail:
19565 return NULL;
19566}
19567
19568
19569SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj = 0;
19571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19572 char *arg2 = (char *) 0 ;
19573 void *argp1 = 0 ;
19574 int res1 = 0 ;
19575 int res2 ;
19576 char *buf2 = 0 ;
19577 int alloc2 = 0 ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char * kwnames[] = {
19581 (char *) "self",(char *) "text", NULL
19582 };
19583
19584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19586 if (!SWIG_IsOK(res1)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19588 }
19589 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19590 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19591 if (!SWIG_IsOK(res2)) {
19592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19593 }
19594 arg2 = buf2;
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 (arg1)->SetTextRaw((char const *)arg2);
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = SWIG_Py_Void();
19602 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19603 return resultobj;
19604fail:
19605 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19606 return NULL;
19607}
19608
19609
19610SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19611 PyObject *resultobj = 0;
19612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19613 wxCharBuffer result;
19614 void *argp1 = 0 ;
19615 int res1 = 0 ;
19616 PyObject *swig_obj[1] ;
19617
19618 if (!args) SWIG_fail;
19619 swig_obj[0] = args;
19620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19621 if (!SWIG_IsOK(res1)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19623 }
19624 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (arg1)->GetTextRaw();
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 if ((&result)->data())
19633 resultobj = PyString_FromString((char*)(&result)->data());
19634 else
19635 resultobj = PyString_FromString("");
19636 }
19637 return resultobj;
19638fail:
19639 return NULL;
19640}
19641
19642
19643SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj = 0;
19645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19646 char *arg2 = (char *) 0 ;
19647 void *argp1 = 0 ;
19648 int res1 = 0 ;
19649 int res2 ;
19650 char *buf2 = 0 ;
19651 int alloc2 = 0 ;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 char * kwnames[] = {
19655 (char *) "self",(char *) "text", NULL
19656 };
19657
19658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19660 if (!SWIG_IsOK(res1)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19662 }
19663 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19664 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19665 if (!SWIG_IsOK(res2)) {
19666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19667 }
19668 arg2 = buf2;
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->AppendTextRaw((char const *)arg2);
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 resultobj = SWIG_Py_Void();
19676 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19677 return resultobj;
19678fail:
19679 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19680 return NULL;
19681}
19682
19683
19684SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19685 PyObject *obj;
19686 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19687 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19688 return SWIG_Py_Void();
19689}
19690
19691SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19692 return SWIG_Python_InitShadowInstance(args);
19693}
19694
19695SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj = 0;
19697 wxEventType arg1 = (wxEventType) 0 ;
19698 int arg2 = (int) 0 ;
19699 wxStyledTextEvent *result = 0 ;
19700 int val1 ;
19701 int ecode1 = 0 ;
19702 int val2 ;
19703 int ecode2 = 0 ;
19704 PyObject * obj0 = 0 ;
19705 PyObject * obj1 = 0 ;
19706 char * kwnames[] = {
19707 (char *) "commandType",(char *) "id", NULL
19708 };
19709
19710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19711 if (obj0) {
19712 ecode1 = SWIG_AsVal_int(obj0, &val1);
19713 if (!SWIG_IsOK(ecode1)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19715 }
19716 arg1 = static_cast< wxEventType >(val1);
19717 }
19718 if (obj1) {
19719 ecode2 = SWIG_AsVal_int(obj1, &val2);
19720 if (!SWIG_IsOK(ecode2)) {
19721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19722 }
19723 arg2 = static_cast< int >(val2);
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19732 return resultobj;
19733fail:
19734 return NULL;
19735}
19736
19737
19738SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19739 PyObject *resultobj = 0;
19740 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19741 void *argp1 = 0 ;
19742 int res1 = 0 ;
19743 PyObject *swig_obj[1] ;
19744
19745 if (!args) SWIG_fail;
19746 swig_obj[0] = args;
19747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19750 }
19751 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 delete arg1;
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 resultobj = SWIG_Py_Void();
19760 return resultobj;
19761fail:
19762 return NULL;
19763}
19764
19765
19766SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19767 PyObject *resultobj = 0;
19768 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19769 int arg2 ;
19770 void *argp1 = 0 ;
19771 int res1 = 0 ;
19772 int val2 ;
19773 int ecode2 = 0 ;
19774 PyObject * obj0 = 0 ;
19775 PyObject * obj1 = 0 ;
19776 char * kwnames[] = {
19777 (char *) "self",(char *) "pos", NULL
19778 };
19779
19780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19782 if (!SWIG_IsOK(res1)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19784 }
19785 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19786 ecode2 = SWIG_AsVal_int(obj1, &val2);
19787 if (!SWIG_IsOK(ecode2)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19789 }
19790 arg2 = static_cast< int >(val2);
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->SetPosition(arg2);
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_Py_Void();
19798 return resultobj;
19799fail:
19800 return NULL;
19801}
19802
19803
19804SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj = 0;
19806 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19807 int arg2 ;
19808 void *argp1 = 0 ;
19809 int res1 = 0 ;
19810 int val2 ;
19811 int ecode2 = 0 ;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 char * kwnames[] = {
19815 (char *) "self",(char *) "k", NULL
19816 };
19817
19818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19820 if (!SWIG_IsOK(res1)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19822 }
19823 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19824 ecode2 = SWIG_AsVal_int(obj1, &val2);
19825 if (!SWIG_IsOK(ecode2)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19827 }
19828 arg2 = static_cast< int >(val2);
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 (arg1)->SetKey(arg2);
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 resultobj = SWIG_Py_Void();
19836 return resultobj;
19837fail:
19838 return NULL;
19839}
19840
19841
19842SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj = 0;
19844 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19845 int arg2 ;
19846 void *argp1 = 0 ;
19847 int res1 = 0 ;
19848 int val2 ;
19849 int ecode2 = 0 ;
19850 PyObject * obj0 = 0 ;
19851 PyObject * obj1 = 0 ;
19852 char * kwnames[] = {
19853 (char *) "self",(char *) "m", NULL
19854 };
19855
19856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19858 if (!SWIG_IsOK(res1)) {
19859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19860 }
19861 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19862 ecode2 = SWIG_AsVal_int(obj1, &val2);
19863 if (!SWIG_IsOK(ecode2)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19865 }
19866 arg2 = static_cast< int >(val2);
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 (arg1)->SetModifiers(arg2);
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 resultobj = SWIG_Py_Void();
19874 return resultobj;
19875fail:
19876 return NULL;
19877}
19878
19879
19880SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj = 0;
19882 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19883 int arg2 ;
19884 void *argp1 = 0 ;
19885 int res1 = 0 ;
19886 int val2 ;
19887 int ecode2 = 0 ;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char * kwnames[] = {
19891 (char *) "self",(char *) "t", NULL
19892 };
19893
19894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19896 if (!SWIG_IsOK(res1)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19898 }
19899 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19900 ecode2 = SWIG_AsVal_int(obj1, &val2);
19901 if (!SWIG_IsOK(ecode2)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19903 }
19904 arg2 = static_cast< int >(val2);
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 (arg1)->SetModificationType(arg2);
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 resultobj = SWIG_Py_Void();
19912 return resultobj;
19913fail:
19914 return NULL;
19915}
19916
19917
19918SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj = 0;
19920 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19921 wxString *arg2 = 0 ;
19922 void *argp1 = 0 ;
19923 int res1 = 0 ;
19924 bool temp2 = false ;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 char * kwnames[] = {
19928 (char *) "self",(char *) "t", NULL
19929 };
19930
19931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19933 if (!SWIG_IsOK(res1)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19935 }
19936 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19937 {
19938 arg2 = wxString_in_helper(obj1);
19939 if (arg2 == NULL) SWIG_fail;
19940 temp2 = true;
19941 }
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 (arg1)->SetText((wxString const &)*arg2);
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 resultobj = SWIG_Py_Void();
19949 {
19950 if (temp2)
19951 delete arg2;
19952 }
19953 return resultobj;
19954fail:
19955 {
19956 if (temp2)
19957 delete arg2;
19958 }
19959 return NULL;
19960}
19961
19962
19963SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj = 0;
19965 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19966 int arg2 ;
19967 void *argp1 = 0 ;
19968 int res1 = 0 ;
19969 int val2 ;
19970 int ecode2 = 0 ;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 char * kwnames[] = {
19974 (char *) "self",(char *) "len", NULL
19975 };
19976
19977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19979 if (!SWIG_IsOK(res1)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19981 }
19982 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19983 ecode2 = SWIG_AsVal_int(obj1, &val2);
19984 if (!SWIG_IsOK(ecode2)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19986 }
19987 arg2 = static_cast< int >(val2);
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 (arg1)->SetLength(arg2);
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 resultobj = SWIG_Py_Void();
19995 return resultobj;
19996fail:
19997 return NULL;
19998}
19999
20000
20001SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj = 0;
20003 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20004 int arg2 ;
20005 void *argp1 = 0 ;
20006 int res1 = 0 ;
20007 int val2 ;
20008 int ecode2 = 0 ;
20009 PyObject * obj0 = 0 ;
20010 PyObject * obj1 = 0 ;
20011 char * kwnames[] = {
20012 (char *) "self",(char *) "num", NULL
20013 };
20014
20015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
20016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20017 if (!SWIG_IsOK(res1)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20019 }
20020 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20021 ecode2 = SWIG_AsVal_int(obj1, &val2);
20022 if (!SWIG_IsOK(ecode2)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
20024 }
20025 arg2 = static_cast< int >(val2);
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 (arg1)->SetLinesAdded(arg2);
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 resultobj = SWIG_Py_Void();
20033 return resultobj;
20034fail:
20035 return NULL;
20036}
20037
20038
20039SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20040 PyObject *resultobj = 0;
20041 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20042 int arg2 ;
20043 void *argp1 = 0 ;
20044 int res1 = 0 ;
20045 int val2 ;
20046 int ecode2 = 0 ;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049 char * kwnames[] = {
20050 (char *) "self",(char *) "val", NULL
20051 };
20052
20053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
20054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20055 if (!SWIG_IsOK(res1)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20057 }
20058 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20059 ecode2 = SWIG_AsVal_int(obj1, &val2);
20060 if (!SWIG_IsOK(ecode2)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
20062 }
20063 arg2 = static_cast< int >(val2);
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->SetLine(arg2);
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 resultobj = SWIG_Py_Void();
20071 return resultobj;
20072fail:
20073 return NULL;
20074}
20075
20076
20077SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj = 0;
20079 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20080 int arg2 ;
20081 void *argp1 = 0 ;
20082 int res1 = 0 ;
20083 int val2 ;
20084 int ecode2 = 0 ;
20085 PyObject * obj0 = 0 ;
20086 PyObject * obj1 = 0 ;
20087 char * kwnames[] = {
20088 (char *) "self",(char *) "val", NULL
20089 };
20090
20091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
20092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20093 if (!SWIG_IsOK(res1)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20095 }
20096 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20097 ecode2 = SWIG_AsVal_int(obj1, &val2);
20098 if (!SWIG_IsOK(ecode2)) {
20099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
20100 }
20101 arg2 = static_cast< int >(val2);
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 (arg1)->SetFoldLevelNow(arg2);
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 resultobj = SWIG_Py_Void();
20109 return resultobj;
20110fail:
20111 return NULL;
20112}
20113
20114
20115SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj = 0;
20117 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20118 int arg2 ;
20119 void *argp1 = 0 ;
20120 int res1 = 0 ;
20121 int val2 ;
20122 int ecode2 = 0 ;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 char * kwnames[] = {
20126 (char *) "self",(char *) "val", NULL
20127 };
20128
20129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
20130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20131 if (!SWIG_IsOK(res1)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20133 }
20134 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20135 ecode2 = SWIG_AsVal_int(obj1, &val2);
20136 if (!SWIG_IsOK(ecode2)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
20138 }
20139 arg2 = static_cast< int >(val2);
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 (arg1)->SetFoldLevelPrev(arg2);
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 resultobj = SWIG_Py_Void();
20147 return resultobj;
20148fail:
20149 return NULL;
20150}
20151
20152
20153SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj = 0;
20155 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20156 int arg2 ;
20157 void *argp1 = 0 ;
20158 int res1 = 0 ;
20159 int val2 ;
20160 int ecode2 = 0 ;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 char * kwnames[] = {
20164 (char *) "self",(char *) "val", NULL
20165 };
20166
20167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
20168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20169 if (!SWIG_IsOK(res1)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20171 }
20172 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20173 ecode2 = SWIG_AsVal_int(obj1, &val2);
20174 if (!SWIG_IsOK(ecode2)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
20176 }
20177 arg2 = static_cast< int >(val2);
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 (arg1)->SetMargin(arg2);
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 resultobj = SWIG_Py_Void();
20185 return resultobj;
20186fail:
20187 return NULL;
20188}
20189
20190
20191SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj = 0;
20193 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20194 int arg2 ;
20195 void *argp1 = 0 ;
20196 int res1 = 0 ;
20197 int val2 ;
20198 int ecode2 = 0 ;
20199 PyObject * obj0 = 0 ;
20200 PyObject * obj1 = 0 ;
20201 char * kwnames[] = {
20202 (char *) "self",(char *) "val", NULL
20203 };
20204
20205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
20206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20207 if (!SWIG_IsOK(res1)) {
20208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20209 }
20210 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20211 ecode2 = SWIG_AsVal_int(obj1, &val2);
20212 if (!SWIG_IsOK(ecode2)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
20214 }
20215 arg2 = static_cast< int >(val2);
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 (arg1)->SetMessage(arg2);
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 resultobj = SWIG_Py_Void();
20223 return resultobj;
20224fail:
20225 return NULL;
20226}
20227
20228
20229SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj = 0;
20231 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20232 int arg2 ;
20233 void *argp1 = 0 ;
20234 int res1 = 0 ;
20235 int val2 ;
20236 int ecode2 = 0 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char * kwnames[] = {
20240 (char *) "self",(char *) "val", NULL
20241 };
20242
20243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20245 if (!SWIG_IsOK(res1)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20247 }
20248 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20249 ecode2 = SWIG_AsVal_int(obj1, &val2);
20250 if (!SWIG_IsOK(ecode2)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20252 }
20253 arg2 = static_cast< int >(val2);
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->SetWParam(arg2);
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_Py_Void();
20261 return resultobj;
20262fail:
20263 return NULL;
20264}
20265
20266
20267SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj = 0;
20269 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20270 int arg2 ;
20271 void *argp1 = 0 ;
20272 int res1 = 0 ;
20273 int val2 ;
20274 int ecode2 = 0 ;
20275 PyObject * obj0 = 0 ;
20276 PyObject * obj1 = 0 ;
20277 char * kwnames[] = {
20278 (char *) "self",(char *) "val", NULL
20279 };
20280
20281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20283 if (!SWIG_IsOK(res1)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20285 }
20286 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20287 ecode2 = SWIG_AsVal_int(obj1, &val2);
20288 if (!SWIG_IsOK(ecode2)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20290 }
20291 arg2 = static_cast< int >(val2);
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 (arg1)->SetLParam(arg2);
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 resultobj = SWIG_Py_Void();
20299 return resultobj;
20300fail:
20301 return NULL;
20302}
20303
20304
20305SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj = 0;
20307 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20308 int arg2 ;
20309 void *argp1 = 0 ;
20310 int res1 = 0 ;
20311 int val2 ;
20312 int ecode2 = 0 ;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char * kwnames[] = {
20316 (char *) "self",(char *) "val", NULL
20317 };
20318
20319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20321 if (!SWIG_IsOK(res1)) {
20322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20323 }
20324 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20325 ecode2 = SWIG_AsVal_int(obj1, &val2);
20326 if (!SWIG_IsOK(ecode2)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20328 }
20329 arg2 = static_cast< int >(val2);
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 (arg1)->SetListType(arg2);
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 resultobj = SWIG_Py_Void();
20337 return resultobj;
20338fail:
20339 return NULL;
20340}
20341
20342
20343SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj = 0;
20345 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20346 int arg2 ;
20347 void *argp1 = 0 ;
20348 int res1 = 0 ;
20349 int val2 ;
20350 int ecode2 = 0 ;
20351 PyObject * obj0 = 0 ;
20352 PyObject * obj1 = 0 ;
20353 char * kwnames[] = {
20354 (char *) "self",(char *) "val", NULL
20355 };
20356
20357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20359 if (!SWIG_IsOK(res1)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20361 }
20362 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20363 ecode2 = SWIG_AsVal_int(obj1, &val2);
20364 if (!SWIG_IsOK(ecode2)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20366 }
20367 arg2 = static_cast< int >(val2);
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
20370 (arg1)->SetX(arg2);
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 resultobj = SWIG_Py_Void();
20375 return resultobj;
20376fail:
20377 return NULL;
20378}
20379
20380
20381SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj = 0;
20383 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20384 int arg2 ;
20385 void *argp1 = 0 ;
20386 int res1 = 0 ;
20387 int val2 ;
20388 int ecode2 = 0 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 char * kwnames[] = {
20392 (char *) "self",(char *) "val", NULL
20393 };
20394
20395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20397 if (!SWIG_IsOK(res1)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20399 }
20400 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20401 ecode2 = SWIG_AsVal_int(obj1, &val2);
20402 if (!SWIG_IsOK(ecode2)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20404 }
20405 arg2 = static_cast< int >(val2);
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 (arg1)->SetY(arg2);
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 resultobj = SWIG_Py_Void();
20413 return resultobj;
20414fail:
20415 return NULL;
20416}
20417
20418
20419SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj = 0;
20421 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20422 wxString *arg2 = 0 ;
20423 void *argp1 = 0 ;
20424 int res1 = 0 ;
20425 bool temp2 = false ;
20426 PyObject * obj0 = 0 ;
20427 PyObject * obj1 = 0 ;
20428 char * kwnames[] = {
20429 (char *) "self",(char *) "val", NULL
20430 };
20431
20432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20434 if (!SWIG_IsOK(res1)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20436 }
20437 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20438 {
20439 arg2 = wxString_in_helper(obj1);
20440 if (arg2 == NULL) SWIG_fail;
20441 temp2 = true;
20442 }
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 (arg1)->SetDragText((wxString const &)*arg2);
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 resultobj = SWIG_Py_Void();
20450 {
20451 if (temp2)
20452 delete arg2;
20453 }
20454 return resultobj;
20455fail:
20456 {
20457 if (temp2)
20458 delete arg2;
20459 }
20460 return NULL;
20461}
20462
20463
20464SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj = 0;
20466 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20467 bool arg2 ;
20468 void *argp1 = 0 ;
20469 int res1 = 0 ;
20470 bool val2 ;
20471 int ecode2 = 0 ;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474 char * kwnames[] = {
20475 (char *) "self",(char *) "val", NULL
20476 };
20477
20478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20480 if (!SWIG_IsOK(res1)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20482 }
20483 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20484 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20485 if (!SWIG_IsOK(ecode2)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20487 }
20488 arg2 = static_cast< bool >(val2);
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetDragAllowMove(arg2);
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_Py_Void();
20496 return resultobj;
20497fail:
20498 return NULL;
20499}
20500
20501
20502SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj = 0;
20504 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20505 wxDragResult arg2 ;
20506 void *argp1 = 0 ;
20507 int res1 = 0 ;
20508 int val2 ;
20509 int ecode2 = 0 ;
20510 PyObject * obj0 = 0 ;
20511 PyObject * obj1 = 0 ;
20512 char * kwnames[] = {
20513 (char *) "self",(char *) "val", NULL
20514 };
20515
20516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20518 if (!SWIG_IsOK(res1)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20520 }
20521 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20522 ecode2 = SWIG_AsVal_int(obj1, &val2);
20523 if (!SWIG_IsOK(ecode2)) {
20524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20525 }
20526 arg2 = static_cast< wxDragResult >(val2);
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 (arg1)->SetDragResult(arg2);
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 resultobj = SWIG_Py_Void();
20534 return resultobj;
20535fail:
20536 return NULL;
20537}
20538
20539
20540SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20541 PyObject *resultobj = 0;
20542 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20543 int result;
20544 void *argp1 = 0 ;
20545 int res1 = 0 ;
20546 PyObject *swig_obj[1] ;
20547
20548 if (!args) SWIG_fail;
20549 swig_obj[0] = args;
20550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20551 if (!SWIG_IsOK(res1)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20553 }
20554 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 resultobj = SWIG_From_int(static_cast< int >(result));
20562 return resultobj;
20563fail:
20564 return NULL;
20565}
20566
20567
20568SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20569 PyObject *resultobj = 0;
20570 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20571 int result;
20572 void *argp1 = 0 ;
20573 int res1 = 0 ;
20574 PyObject *swig_obj[1] ;
20575
20576 if (!args) SWIG_fail;
20577 swig_obj[0] = args;
20578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20579 if (!SWIG_IsOK(res1)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20581 }
20582 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 resultobj = SWIG_From_int(static_cast< int >(result));
20590 return resultobj;
20591fail:
20592 return NULL;
20593}
20594
20595
20596SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20597 PyObject *resultobj = 0;
20598 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20599 int result;
20600 void *argp1 = 0 ;
20601 int res1 = 0 ;
20602 PyObject *swig_obj[1] ;
20603
20604 if (!args) SWIG_fail;
20605 swig_obj[0] = args;
20606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20607 if (!SWIG_IsOK(res1)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20609 }
20610 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 resultobj = SWIG_From_int(static_cast< int >(result));
20618 return resultobj;
20619fail:
20620 return NULL;
20621}
20622
20623
20624SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20625 PyObject *resultobj = 0;
20626 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20627 int result;
20628 void *argp1 = 0 ;
20629 int res1 = 0 ;
20630 PyObject *swig_obj[1] ;
20631
20632 if (!args) SWIG_fail;
20633 swig_obj[0] = args;
20634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20635 if (!SWIG_IsOK(res1)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20637 }
20638 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20639 {
20640 PyThreadState* __tstate = wxPyBeginAllowThreads();
20641 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 resultobj = SWIG_From_int(static_cast< int >(result));
20646 return resultobj;
20647fail:
20648 return NULL;
20649}
20650
20651
20652SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20653 PyObject *resultobj = 0;
20654 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20655 wxString result;
20656 void *argp1 = 0 ;
20657 int res1 = 0 ;
20658 PyObject *swig_obj[1] ;
20659
20660 if (!args) SWIG_fail;
20661 swig_obj[0] = args;
20662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20663 if (!SWIG_IsOK(res1)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20665 }
20666 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = ((wxStyledTextEvent const *)arg1)->GetText();
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 {
20674#if wxUSE_UNICODE
20675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20676#else
20677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20678#endif
20679 }
20680 return resultobj;
20681fail:
20682 return NULL;
20683}
20684
20685
20686SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20687 PyObject *resultobj = 0;
20688 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20689 int result;
20690 void *argp1 = 0 ;
20691 int res1 = 0 ;
20692 PyObject *swig_obj[1] ;
20693
20694 if (!args) SWIG_fail;
20695 swig_obj[0] = args;
20696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20697 if (!SWIG_IsOK(res1)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20699 }
20700 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = SWIG_From_int(static_cast< int >(result));
20708 return resultobj;
20709fail:
20710 return NULL;
20711}
20712
20713
20714SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20715 PyObject *resultobj = 0;
20716 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20717 int result;
20718 void *argp1 = 0 ;
20719 int res1 = 0 ;
20720 PyObject *swig_obj[1] ;
20721
20722 if (!args) SWIG_fail;
20723 swig_obj[0] = args;
20724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20725 if (!SWIG_IsOK(res1)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20727 }
20728 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = SWIG_From_int(static_cast< int >(result));
20736 return resultobj;
20737fail:
20738 return NULL;
20739}
20740
20741
20742SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20743 PyObject *resultobj = 0;
20744 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20745 int result;
20746 void *argp1 = 0 ;
20747 int res1 = 0 ;
20748 PyObject *swig_obj[1] ;
20749
20750 if (!args) SWIG_fail;
20751 swig_obj[0] = args;
20752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20753 if (!SWIG_IsOK(res1)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20755 }
20756 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 resultobj = SWIG_From_int(static_cast< int >(result));
20764 return resultobj;
20765fail:
20766 return NULL;
20767}
20768
20769
20770SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20771 PyObject *resultobj = 0;
20772 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20773 int result;
20774 void *argp1 = 0 ;
20775 int res1 = 0 ;
20776 PyObject *swig_obj[1] ;
20777
20778 if (!args) SWIG_fail;
20779 swig_obj[0] = args;
20780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20781 if (!SWIG_IsOK(res1)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20783 }
20784 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 resultobj = SWIG_From_int(static_cast< int >(result));
20792 return resultobj;
20793fail:
20794 return NULL;
20795}
20796
20797
20798SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20799 PyObject *resultobj = 0;
20800 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20801 int result;
20802 void *argp1 = 0 ;
20803 int res1 = 0 ;
20804 PyObject *swig_obj[1] ;
20805
20806 if (!args) SWIG_fail;
20807 swig_obj[0] = args;
20808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20809 if (!SWIG_IsOK(res1)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20811 }
20812 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 resultobj = SWIG_From_int(static_cast< int >(result));
20820 return resultobj;
20821fail:
20822 return NULL;
20823}
20824
20825
20826SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20827 PyObject *resultobj = 0;
20828 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20829 int result;
20830 void *argp1 = 0 ;
20831 int res1 = 0 ;
20832 PyObject *swig_obj[1] ;
20833
20834 if (!args) SWIG_fail;
20835 swig_obj[0] = args;
20836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20837 if (!SWIG_IsOK(res1)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20839 }
20840 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 resultobj = SWIG_From_int(static_cast< int >(result));
20848 return resultobj;
20849fail:
20850 return NULL;
20851}
20852
20853
20854SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20855 PyObject *resultobj = 0;
20856 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20857 int result;
20858 void *argp1 = 0 ;
20859 int res1 = 0 ;
20860 PyObject *swig_obj[1] ;
20861
20862 if (!args) SWIG_fail;
20863 swig_obj[0] = args;
20864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20865 if (!SWIG_IsOK(res1)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20867 }
20868 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 resultobj = SWIG_From_int(static_cast< int >(result));
20876 return resultobj;
20877fail:
20878 return NULL;
20879}
20880
20881
20882SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20883 PyObject *resultobj = 0;
20884 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20885 int result;
20886 void *argp1 = 0 ;
20887 int res1 = 0 ;
20888 PyObject *swig_obj[1] ;
20889
20890 if (!args) SWIG_fail;
20891 swig_obj[0] = args;
20892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20893 if (!SWIG_IsOK(res1)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20895 }
20896 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 resultobj = SWIG_From_int(static_cast< int >(result));
20904 return resultobj;
20905fail:
20906 return NULL;
20907}
20908
20909
20910SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20911 PyObject *resultobj = 0;
20912 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20913 int result;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 PyObject *swig_obj[1] ;
20917
20918 if (!args) SWIG_fail;
20919 swig_obj[0] = args;
20920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20921 if (!SWIG_IsOK(res1)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20923 }
20924 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_From_int(static_cast< int >(result));
20932 return resultobj;
20933fail:
20934 return NULL;
20935}
20936
20937
20938SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20939 PyObject *resultobj = 0;
20940 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20941 int result;
20942 void *argp1 = 0 ;
20943 int res1 = 0 ;
20944 PyObject *swig_obj[1] ;
20945
20946 if (!args) SWIG_fail;
20947 swig_obj[0] = args;
20948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20949 if (!SWIG_IsOK(res1)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20951 }
20952 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 resultobj = SWIG_From_int(static_cast< int >(result));
20960 return resultobj;
20961fail:
20962 return NULL;
20963}
20964
20965
20966SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20967 PyObject *resultobj = 0;
20968 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20969 int result;
20970 void *argp1 = 0 ;
20971 int res1 = 0 ;
20972 PyObject *swig_obj[1] ;
20973
20974 if (!args) SWIG_fail;
20975 swig_obj[0] = args;
20976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20977 if (!SWIG_IsOK(res1)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20979 }
20980 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 resultobj = SWIG_From_int(static_cast< int >(result));
20988 return resultobj;
20989fail:
20990 return NULL;
20991}
20992
20993
20994SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20995 PyObject *resultobj = 0;
20996 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20997 int result;
20998 void *argp1 = 0 ;
20999 int res1 = 0 ;
21000 PyObject *swig_obj[1] ;
21001
21002 if (!args) SWIG_fail;
21003 swig_obj[0] = args;
21004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21005 if (!SWIG_IsOK(res1)) {
21006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21007 }
21008 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 resultobj = SWIG_From_int(static_cast< int >(result));
21016 return resultobj;
21017fail:
21018 return NULL;
21019}
21020
21021
21022SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21023 PyObject *resultobj = 0;
21024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21025 wxString result;
21026 void *argp1 = 0 ;
21027 int res1 = 0 ;
21028 PyObject *swig_obj[1] ;
21029
21030 if (!args) SWIG_fail;
21031 swig_obj[0] = args;
21032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21033 if (!SWIG_IsOK(res1)) {
21034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21035 }
21036 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 result = (arg1)->GetDragText();
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 {
21044#if wxUSE_UNICODE
21045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21046#else
21047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21048#endif
21049 }
21050 return resultobj;
21051fail:
21052 return NULL;
21053}
21054
21055
21056SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21057 PyObject *resultobj = 0;
21058 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21059 bool result;
21060 void *argp1 = 0 ;
21061 int res1 = 0 ;
21062 PyObject *swig_obj[1] ;
21063
21064 if (!args) SWIG_fail;
21065 swig_obj[0] = args;
21066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21067 if (!SWIG_IsOK(res1)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21069 }
21070 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = (bool)(arg1)->GetDragAllowMove();
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 {
21078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21079 }
21080 return resultobj;
21081fail:
21082 return NULL;
21083}
21084
21085
21086SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21087 PyObject *resultobj = 0;
21088 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21089 wxDragResult result;
21090 void *argp1 = 0 ;
21091 int res1 = 0 ;
21092 PyObject *swig_obj[1] ;
21093
21094 if (!args) SWIG_fail;
21095 swig_obj[0] = args;
21096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21097 if (!SWIG_IsOK(res1)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21099 }
21100 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = (wxDragResult)(arg1)->GetDragResult();
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 resultobj = SWIG_From_int(static_cast< int >(result));
21108 return resultobj;
21109fail:
21110 return NULL;
21111}
21112
21113
21114SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21115 PyObject *resultobj = 0;
21116 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21117 bool result;
21118 void *argp1 = 0 ;
21119 int res1 = 0 ;
21120 PyObject *swig_obj[1] ;
21121
21122 if (!args) SWIG_fail;
21123 swig_obj[0] = args;
21124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21125 if (!SWIG_IsOK(res1)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21127 }
21128 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 {
21136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21137 }
21138 return resultobj;
21139fail:
21140 return NULL;
21141}
21142
21143
21144SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21145 PyObject *resultobj = 0;
21146 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21147 bool result;
21148 void *argp1 = 0 ;
21149 int res1 = 0 ;
21150 PyObject *swig_obj[1] ;
21151
21152 if (!args) SWIG_fail;
21153 swig_obj[0] = args;
21154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21155 if (!SWIG_IsOK(res1)) {
21156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21157 }
21158 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
21162 wxPyEndAllowThreads(__tstate);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 {
21166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21167 }
21168 return resultobj;
21169fail:
21170 return NULL;
21171}
21172
21173
21174SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21175 PyObject *resultobj = 0;
21176 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21177 bool result;
21178 void *argp1 = 0 ;
21179 int res1 = 0 ;
21180 PyObject *swig_obj[1] ;
21181
21182 if (!args) SWIG_fail;
21183 swig_obj[0] = args;
21184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21185 if (!SWIG_IsOK(res1)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21187 }
21188 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21197 }
21198 return resultobj;
21199fail:
21200 return NULL;
21201}
21202
21203
21204SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21205 PyObject *obj;
21206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21207 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
21208 return SWIG_Py_Void();
21209}
21210
21211SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21212 return SWIG_Python_InitShadowInstance(args);
21213}
21214
21215static PyMethodDef SwigMethods[] = {
21216 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
21217 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
21218 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
21219 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
21220 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21221 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
21222 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
21223 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
21224 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
21225 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
21226 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
21227 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
21228 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
21229 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
21230 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
21231 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
21232 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
21233 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21234 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
21235 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21236 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21237 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
21238 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
21239 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21240 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21241 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21242 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21243 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21244 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21245 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21246 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21247 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21248 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21249 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21250 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21251 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21252 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21253 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21254 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21255 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21256 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21257 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21258 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21259 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21260 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21261 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21262 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21263 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21264 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21265 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21266 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21267 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
21268 { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21269 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21270 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21271 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21272 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21273 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21274 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21275 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21276 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21277 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21278 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21279 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21280 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21281 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21282 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21283 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21284 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21285 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21286 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21287 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21288 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21289 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21290 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21291 { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetSelAlpha, METH_O, NULL},
21292 { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21293 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21294 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21295 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21296 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21297 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21298 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21299 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21300 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21301 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21302 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21303 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21304 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21305 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21306 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21307 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21308 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21309 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21310 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21311 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21312 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21313 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21314 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21315 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21316 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21317 { (char *)"StyledTextCtrl_GetCaretLineBackground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackground, METH_O, NULL},
21318 { (char *)"StyledTextCtrl_SetCaretLineBackground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21319 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21320 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21321 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21322 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21323 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21324 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21325 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21326 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21327 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21328 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21329 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21330 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21331 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21332 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21333 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21334 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21335 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21336 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21337 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21338 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21339 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21340 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21341 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21342 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21343 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21344 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21345 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21346 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21347 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21348 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21349 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21350 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21351 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21352 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21353 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21354 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21355 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21356 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21357 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21358 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21359 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21360 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21361 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21362 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21363 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21364 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21365 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21366 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21367 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21368 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21369 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21370 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21371 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21372 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21373 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21374 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21375 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21376 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21377 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21378 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21379 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21380 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21381 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21382 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21383 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21384 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21385 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21386 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21387 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21388 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21389 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21390 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21391 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21392 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21393 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21394 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21395 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21396 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21397 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21398 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21399 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21400 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21401 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21402 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21403 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21404 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21405 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21406 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21407 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21408 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21409 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21410 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21411 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21412 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21413 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21414 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21415 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21416 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21417 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21420 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21421 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21422 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21423 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21424 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21425 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21426 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21427 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21428 { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction) _wrap_StyledTextCtrl_CallTipUseStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21429 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21430 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21431 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21432 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21433 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21434 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21435 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21436 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21437 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21438 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21439 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21440 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21441 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21442 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21443 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21444 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21445 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21446 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21447 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21448 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21449 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21450 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21451 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21452 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21454 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21455 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21456 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21457 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21458 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21459 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21460 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21461 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21462 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21463 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21464 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21465 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21466 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21467 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21468 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21469 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21470 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21471 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21472 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21473 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21474 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21475 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21476 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21477 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21478 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21479 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21480 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21481 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21482 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21483 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21484 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21485 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21486 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21487 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21488 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21489 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21490 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21491 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21492 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21493 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21494 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21495 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21496 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21497 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21498 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21499 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21500 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21501 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21502 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21503 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21504 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21505 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21506 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21507 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21508 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21509 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21510 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21511 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21512 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21513 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21514 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21515 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21516 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21517 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21518 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21519 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21520 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21521 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21522 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21523 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21524 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21525 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21526 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21527 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21528 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21529 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21530 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21531 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21532 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21533 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21534 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21535 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21536 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21537 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21538 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21539 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21540 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21541 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21542 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21543 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21544 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21545 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21546 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21547 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21548 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21549 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21550 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21551 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21552 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21553 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21554 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21555 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21556 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21557 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21558 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21559 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21560 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21561 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21562 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21563 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21564 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21565 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21566 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21567 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21568 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21569 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21570 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21571 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21572 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21573 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21574 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21575 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21576 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21577 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21578 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21579 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21580 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21581 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21582 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21583 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21584 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21585 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21586 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21587 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21588 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21589 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21590 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21591 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21592 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21593 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21594 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21595 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21596 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21597 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21598 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21599 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21600 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21601 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21602 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21603 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21604 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21605 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21606 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21607 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21608 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21609 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21610 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21611 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21612 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21613 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21614 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21615 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21616 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21617 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21618 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21619 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21620 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21621 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21622 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21623 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21624 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21625 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21626 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21627 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21628 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21629 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21630 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21631 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
21632 { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21633 { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackAlpha, METH_O, NULL},
21634 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21635 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21636 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21637 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21638 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21639 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21640 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21641 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21642 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21643 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21644 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21645 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21646 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21647 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21648 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21649 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21650 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21651 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21652 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21653 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21654 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21655 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21656 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21657 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21658 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21659 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21660 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21661 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21662 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21663 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21664 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21665 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21666 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21667 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21668 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21669 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21670 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21671 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21672 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21673 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21674 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21675 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21676 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21677 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21678 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21679 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21680 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21681 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21682 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21683 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21684 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21685 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21686 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21687 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21688 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21689 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21690 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21691 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21692 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21693 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21694 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21695 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21696 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21697 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21698 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21699 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21700 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21701 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21702 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21703 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21704 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21705 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21706 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21707 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21708 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21709 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21710 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21711 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21712 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21713 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21714 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21715 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21716 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21717 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21718 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21719 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21720 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21721 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21722 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21723 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21724 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21725 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21726 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21727 { NULL, NULL, 0, NULL }
21728};
21729
21730
21731/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21732
21733static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21734 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21735}
21736static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21737 return (void *)((wxObject *) ((wxSizerItem *) x));
21738}
21739static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21740 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21741}
21742static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21744}
21745static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21746 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21747}
21748static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21749 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21750}
21751static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21752 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21753}
21754static void *_p_wxSizerTo_p_wxObject(void *x) {
21755 return (void *)((wxObject *) ((wxSizer *) x));
21756}
21757static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21758 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21759}
21760static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21761 return (void *)((wxObject *) ((wxFileHistory *) x));
21762}
21763static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21765}
21766static void *_p_wxEventTo_p_wxObject(void *x) {
21767 return (void *)((wxObject *) ((wxEvent *) x));
21768}
21769static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21770 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21771}
21772static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21773 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21774}
21775static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21776 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21777}
21778static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
21779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
21780}
21781static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21782 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21783}
21784static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21785 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21786}
21787static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21789}
21790static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21791 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21792}
21793static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21794 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21795}
21796static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21797 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21798}
21799static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21800 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21801}
21802static void *_p_wxControlTo_p_wxObject(void *x) {
21803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21804}
21805static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21806 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21807}
21808static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21809 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21810}
21811static void *_p_wxPowerEventTo_p_wxObject(void *x) {
21812 return (void *)((wxObject *) (wxEvent *) ((wxPowerEvent *) x));
21813}
21814static void *_p_wxFSFileTo_p_wxObject(void *x) {
21815 return (void *)((wxObject *) ((wxFSFile *) x));
21816}
21817static void *_p_wxClipboardTo_p_wxObject(void *x) {
21818 return (void *)((wxObject *) ((wxClipboard *) x));
21819}
21820static void *_p_wxPySizerTo_p_wxObject(void *x) {
21821 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21822}
21823static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21825}
21826static void *_p_wxPyEventTo_p_wxObject(void *x) {
21827 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21828}
21829static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21831}
21832static void *_p_wxShowEventTo_p_wxObject(void *x) {
21833 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21834}
21835static void *_p_wxToolTipTo_p_wxObject(void *x) {
21836 return (void *)((wxObject *) ((wxToolTip *) x));
21837}
21838static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21839 return (void *)((wxObject *) ((wxMenuItem *) x));
21840}
21841static void *_p_wxDateEventTo_p_wxObject(void *x) {
21842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21843}
21844static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21845 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21846}
21847static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21849}
21850static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21851 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21852}
21853static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21854 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21855}
21856static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21857 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21858}
21859static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21860 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21861}
21862static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21863 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21864}
21865static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21866 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21867}
21868static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21869 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21870}
21871static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21872 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21873}
21874static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21875 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21876}
21877static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21878 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21879}
21880static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21881 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21882}
21883static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21884 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21885}
21886static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21887 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21888}
21889static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21890 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21891}
21892static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21893 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21894}
21895static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21896 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21897}
21898static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21899 return (void *)((wxObject *) ((wxImageHandler *) x));
21900}
21901static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21902 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21903}
21904static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21905 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21906}
21907static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
21908 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
21909}
21910static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21911 return (void *)((wxObject *) ((wxEvtHandler *) x));
21912}
21913static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
21914 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
21915}
21916static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21917 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21918}
21919static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21920 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21921}
21922static void *_p_wxImageTo_p_wxObject(void *x) {
21923 return (void *)((wxObject *) ((wxImage *) x));
21924}
21925static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21926 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21927}
21928static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21929 return (void *)((wxObject *) ((wxSystemOptions *) x));
21930}
21931static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21932 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21933}
21934static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21935 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21936}
21937static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21938 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21939}
21940static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21941 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21942}
21943static void *_p_wxWindowTo_p_wxObject(void *x) {
21944 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21945}
21946static void *_p_wxMenuTo_p_wxObject(void *x) {
21947 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21948}
21949static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21951}
21952static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21953 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21954}
21955static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21956 return (void *)((wxObject *) ((wxFileSystem *) x));
21957}
21958static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21960}
21961static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21962 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21963}
21964static void *_p_wxPyAppTo_p_wxObject(void *x) {
21965 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21966}
21967static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21968 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21969}
21970static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21971 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21972}
21973static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21974 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21975}
21976static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21977 return (void *)((wxObject *) ((wxBusyInfo *) x));
21978}
21979static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21981}
21982static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21983 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21984}
21985static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21986 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21987}
21988static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21989 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21990}
21991static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21992 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21993}
21994static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21995 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
21996}
21997static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21999}
22000static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22001 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22002}
22003static void *_p_wxValidatorTo_p_wxObject(void *x) {
22004 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22005}
22006static void *_p_wxPyTimerTo_p_wxObject(void *x) {
22007 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
22008}
22009static void *_p_wxControlTo_p_wxWindow(void *x) {
22010 return (void *)((wxWindow *) ((wxControl *) x));
22011}
22012static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22013 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22014}
22015static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
22016 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
22017}
22018static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22019 return (void *)((wxWindow *) ((wxMenuBar *) x));
22020}
22021static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22022 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22023}
22024static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22025 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22026}
22027static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22028 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22029}
22030static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
22031 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
22032}
22033static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22034 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22035}
22036static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
22037 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
22038}
22039static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
22040 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
22041}
22042static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22043 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22044}
22045static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22046 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22047}
22048static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22049 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22050}
22051static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22052 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22053}
22054static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22055 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22056}
22057static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22058 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22059}
22060static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22062}
22063static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22064 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22065}
22066static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
22067 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
22068}
22069static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
22070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
22071}
22072static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22073 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22074}
22075static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22076 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22077}
22078static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22079 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22080}
22081static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22082 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22083}
22084static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
22085 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
22086}
22087static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
22088 return (void *)((wxControl *) ((wxControlWithItems *) x));
22089}
22090static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
22091 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
22092}
22093static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
22094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
22095}
22096static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
22097 return (void *)((wxEvent *) ((wxMenuEvent *) x));
22098}
22099static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
22100 return (void *)((wxEvent *) ((wxCloseEvent *) x));
22101}
22102static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
22103 return (void *)((wxEvent *) ((wxMouseEvent *) x));
22104}
22105static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
22106 return (void *)((wxEvent *) ((wxEraseEvent *) x));
22107}
22108static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
22109 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
22110}
22111static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
22112 return (void *)((wxEvent *) ((wxTimerEvent *) x));
22113}
22114static void *_p_wxPowerEventTo_p_wxEvent(void *x) {
22115 return (void *)((wxEvent *) ((wxPowerEvent *) x));
22116}
22117static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
22118 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
22119}
22120static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
22121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
22122}
22123static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
22124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
22125}
22126static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
22127 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
22128}
22129static void *_p_wxPyEventTo_p_wxEvent(void *x) {
22130 return (void *)((wxEvent *) ((wxPyEvent *) x));
22131}
22132static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
22133 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
22134}
22135static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
22136 return (void *)((wxEvent *) ((wxIdleEvent *) x));
22137}
22138static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
22139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
22140}
22141static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
22142 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
22143}
22144static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
22145 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
22146}
22147static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
22148 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
22149}
22150static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
22151 return (void *)((wxEvent *) ((wxActivateEvent *) x));
22152}
22153static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
22154 return (void *)((wxEvent *) ((wxSizeEvent *) x));
22155}
22156static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
22157 return (void *)((wxEvent *) ((wxMoveEvent *) x));
22158}
22159static void *_p_wxDateEventTo_p_wxEvent(void *x) {
22160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
22161}
22162static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
22163 return (void *)((wxEvent *) ((wxPaintEvent *) x));
22164}
22165static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
22166 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
22167}
22168static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
22169 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
22170}
22171static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
22172 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
22173}
22174static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
22175 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
22176}
22177static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
22178 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
22179}
22180static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
22181 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
22182}
22183static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
22184 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22185}
22186static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
22187 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
22188}
22189static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
22190 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
22191}
22192static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
22193 return (void *)((wxEvent *) ((wxFocusEvent *) x));
22194}
22195static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
22196 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
22197}
22198static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
22199 return (void *)((wxEvent *) ((wxProcessEvent *) x));
22200}
22201static void *_p_wxShowEventTo_p_wxEvent(void *x) {
22202 return (void *)((wxEvent *) ((wxShowEvent *) x));
22203}
22204static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
22205 return (void *)((wxEvent *) ((wxCommandEvent *) x));
22206}
22207static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
22208 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
22209}
22210static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
22211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22212}
22213static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
22214 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
22215}
22216static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
22217 return (void *)((wxEvent *) ((wxKeyEvent *) x));
22218}
22219static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
22220 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
22221}
22222static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
22223static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
22224static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
22225static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22226static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22227static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
22228static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
22229static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
22230static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22231static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22232static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22233static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22234static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22235static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22236static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22237static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22238static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22239static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22240static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
22241static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22242static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22243static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22244static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22245static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22246static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22247static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22248static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22249static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22250static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22251static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22252static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
22253static swig_type_info _swigt__p_wxPowerEvent = {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
22254static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22255static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22256static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22257static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
22258static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22259static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22260static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22261static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22262static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22263static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22264static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22265static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22266static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22267static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22268static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22269static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22270static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22271static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22272static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22273static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22274static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22275static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22276static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22277static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22278static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22279static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22280static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22281static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22282static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22283static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22284static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22285static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22286static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22287static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22288static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22289static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22290static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22291static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22292static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22293static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22294static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22295static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22296static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22297static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22298static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22299static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22300static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22301static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22302static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22303static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22304static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22305static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
22306static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22307static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22308static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22309static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22310static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22311static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22312static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22313static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22314static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22315static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22316static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22317static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22318static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22319static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22320static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22321static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22322static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22323static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22324static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22325static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22326static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22327static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22328static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22329static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22330static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22331static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22332
22333static swig_type_info *swig_type_initial[] = {
22334 &_swigt__p_char,
22335 &_swigt__p_form_ops_t,
22336 &_swigt__p_int,
22337 &_swigt__p_unsigned_char,
22338 &_swigt__p_unsigned_int,
22339 &_swigt__p_unsigned_long,
22340 &_swigt__p_void,
22341 &_swigt__p_wxANIHandler,
22342 &_swigt__p_wxAcceleratorTable,
22343 &_swigt__p_wxActivateEvent,
22344 &_swigt__p_wxBMPHandler,
22345 &_swigt__p_wxBitmap,
22346 &_swigt__p_wxBoxSizer,
22347 &_swigt__p_wxBusyInfo,
22348 &_swigt__p_wxCURHandler,
22349 &_swigt__p_wxChildFocusEvent,
22350 &_swigt__p_wxClipboard,
22351 &_swigt__p_wxClipboardTextEvent,
22352 &_swigt__p_wxCloseEvent,
22353 &_swigt__p_wxColour,
22354 &_swigt__p_wxCommandEvent,
22355 &_swigt__p_wxContextMenuEvent,
22356 &_swigt__p_wxControl,
22357 &_swigt__p_wxControlWithItems,
22358 &_swigt__p_wxDC,
22359 &_swigt__p_wxDateEvent,
22360 &_swigt__p_wxDisplayChangedEvent,
22361 &_swigt__p_wxDropFilesEvent,
22362 &_swigt__p_wxDuplexMode,
22363 &_swigt__p_wxEraseEvent,
22364 &_swigt__p_wxEvent,
22365 &_swigt__p_wxEvtHandler,
22366 &_swigt__p_wxFSFile,
22367 &_swigt__p_wxFileHistory,
22368 &_swigt__p_wxFileSystem,
22369 &_swigt__p_wxFlexGridSizer,
22370 &_swigt__p_wxFocusEvent,
22371 &_swigt__p_wxFont,
22372 &_swigt__p_wxGBSizerItem,
22373 &_swigt__p_wxGIFHandler,
22374 &_swigt__p_wxGridBagSizer,
22375 &_swigt__p_wxGridSizer,
22376 &_swigt__p_wxICOHandler,
22377 &_swigt__p_wxIconizeEvent,
22378 &_swigt__p_wxIdleEvent,
22379 &_swigt__p_wxImage,
22380 &_swigt__p_wxImageHandler,
22381 &_swigt__p_wxIndividualLayoutConstraint,
22382 &_swigt__p_wxInitDialogEvent,
22383 &_swigt__p_wxJPEGHandler,
22384 &_swigt__p_wxJoystickEvent,
22385 &_swigt__p_wxKeyEvent,
22386 &_swigt__p_wxLayoutConstraints,
22387 &_swigt__p_wxMaximizeEvent,
22388 &_swigt__p_wxMemoryBuffer,
22389 &_swigt__p_wxMenu,
22390 &_swigt__p_wxMenuBar,
22391 &_swigt__p_wxMenuEvent,
22392 &_swigt__p_wxMenuItem,
22393 &_swigt__p_wxMouseCaptureChangedEvent,
22394 &_swigt__p_wxMouseCaptureLostEvent,
22395 &_swigt__p_wxMouseEvent,
22396 &_swigt__p_wxMoveEvent,
22397 &_swigt__p_wxNavigationKeyEvent,
22398 &_swigt__p_wxNcPaintEvent,
22399 &_swigt__p_wxNotifyEvent,
22400 &_swigt__p_wxObject,
22401 &_swigt__p_wxPCXHandler,
22402 &_swigt__p_wxPNGHandler,
22403 &_swigt__p_wxPNMHandler,
22404 &_swigt__p_wxPaintEvent,
22405 &_swigt__p_wxPaletteChangedEvent,
22406 &_swigt__p_wxPaperSize,
22407 &_swigt__p_wxPoint,
22408 &_swigt__p_wxPowerEvent,
22409 &_swigt__p_wxProcessEvent,
22410 &_swigt__p_wxPyApp,
22411 &_swigt__p_wxPyCommandEvent,
22412 &_swigt__p_wxPyEvent,
22413 &_swigt__p_wxPyImageHandler,
22414 &_swigt__p_wxPyProcess,
22415 &_swigt__p_wxPySizer,
22416 &_swigt__p_wxPyTimer,
22417 &_swigt__p_wxPyValidator,
22418 &_swigt__p_wxQueryNewPaletteEvent,
22419 &_swigt__p_wxRect,
22420 &_swigt__p_wxScrollBar,
22421 &_swigt__p_wxScrollEvent,
22422 &_swigt__p_wxScrollWinEvent,
22423 &_swigt__p_wxSetCursorEvent,
22424 &_swigt__p_wxShowEvent,
22425 &_swigt__p_wxSizeEvent,
22426 &_swigt__p_wxSizer,
22427 &_swigt__p_wxSizerItem,
22428 &_swigt__p_wxStaticBoxSizer,
22429 &_swigt__p_wxStdDialogButtonSizer,
22430 &_swigt__p_wxStyledTextCtrl,
22431 &_swigt__p_wxStyledTextEvent,
22432 &_swigt__p_wxSysColourChangedEvent,
22433 &_swigt__p_wxSystemOptions,
22434 &_swigt__p_wxTGAHandler,
22435 &_swigt__p_wxTIFFHandler,
22436 &_swigt__p_wxTimerEvent,
22437 &_swigt__p_wxToolTip,
22438 &_swigt__p_wxUpdateUIEvent,
22439 &_swigt__p_wxValidator,
22440 &_swigt__p_wxWindow,
22441 &_swigt__p_wxWindowCreateEvent,
22442 &_swigt__p_wxWindowDestroyEvent,
22443 &_swigt__p_wxXPMHandler,
22444};
22445
22446static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22447static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22448static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22449static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22450static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22451static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22452static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22453static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22454static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22455static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22456static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22457static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22458static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22459static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22460static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22461static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22462static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22463static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22464static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22465static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
22466static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22467static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
22468static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22469static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22470static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22471static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22472static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22473static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22474static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22475static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
22476static swig_cast_info _swigc__p_wxPowerEvent[] = {{&_swigt__p_wxPowerEvent, 0, 0, 0},{0, 0, 0, 0}};
22477static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22478static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22479static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
22480static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22481static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22482static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22483static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22484static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22485static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22486static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22487static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22488static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22489static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22490static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22491static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22492static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22493static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22494static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22495static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22496static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22497static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22498static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22499static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22500static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22501static 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_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_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_wxJoystickEvent, _p_wxJoystickEventTo_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_wxStyledTextEvent, _p_wxStyledTextEventTo_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_wxProcessEvent, _p_wxProcessEventTo_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},{0, 0, 0, 0}};
22502static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22503static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22504static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22505static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22506static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22507static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22508static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22509static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_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_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
22510static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22511static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22512static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22513static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22514static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22515static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22516static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22517static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22518static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22519static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22520static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22521static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22522static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22523static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22524static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22525static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22526static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22527static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22528static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
22529static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22530static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22531static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22532static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22533static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22534static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22535static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22536static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22537static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22538static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22539static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22540static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22541static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22542static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22543static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22544static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22545static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22546static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22547static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
22548static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_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_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_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_wxInitDialogEvent, _p_wxInitDialogEventTo_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_wxStyledTextEvent, _p_wxStyledTextEventTo_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_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_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_wxPyApp, _p_wxPyAppTo_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_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_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_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
22549static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22550static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22551static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22552static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22553static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22554static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22555static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
22556
22557static swig_cast_info *swig_cast_initial[] = {
22558 _swigc__p_char,
22559 _swigc__p_form_ops_t,
22560 _swigc__p_int,
22561 _swigc__p_unsigned_char,
22562 _swigc__p_unsigned_int,
22563 _swigc__p_unsigned_long,
22564 _swigc__p_void,
22565 _swigc__p_wxANIHandler,
22566 _swigc__p_wxAcceleratorTable,
22567 _swigc__p_wxActivateEvent,
22568 _swigc__p_wxBMPHandler,
22569 _swigc__p_wxBitmap,
22570 _swigc__p_wxBoxSizer,
22571 _swigc__p_wxBusyInfo,
22572 _swigc__p_wxCURHandler,
22573 _swigc__p_wxChildFocusEvent,
22574 _swigc__p_wxClipboard,
22575 _swigc__p_wxClipboardTextEvent,
22576 _swigc__p_wxCloseEvent,
22577 _swigc__p_wxColour,
22578 _swigc__p_wxCommandEvent,
22579 _swigc__p_wxContextMenuEvent,
22580 _swigc__p_wxControl,
22581 _swigc__p_wxControlWithItems,
22582 _swigc__p_wxDC,
22583 _swigc__p_wxDateEvent,
22584 _swigc__p_wxDisplayChangedEvent,
22585 _swigc__p_wxDropFilesEvent,
22586 _swigc__p_wxDuplexMode,
22587 _swigc__p_wxEraseEvent,
22588 _swigc__p_wxEvent,
22589 _swigc__p_wxEvtHandler,
22590 _swigc__p_wxFSFile,
22591 _swigc__p_wxFileHistory,
22592 _swigc__p_wxFileSystem,
22593 _swigc__p_wxFlexGridSizer,
22594 _swigc__p_wxFocusEvent,
22595 _swigc__p_wxFont,
22596 _swigc__p_wxGBSizerItem,
22597 _swigc__p_wxGIFHandler,
22598 _swigc__p_wxGridBagSizer,
22599 _swigc__p_wxGridSizer,
22600 _swigc__p_wxICOHandler,
22601 _swigc__p_wxIconizeEvent,
22602 _swigc__p_wxIdleEvent,
22603 _swigc__p_wxImage,
22604 _swigc__p_wxImageHandler,
22605 _swigc__p_wxIndividualLayoutConstraint,
22606 _swigc__p_wxInitDialogEvent,
22607 _swigc__p_wxJPEGHandler,
22608 _swigc__p_wxJoystickEvent,
22609 _swigc__p_wxKeyEvent,
22610 _swigc__p_wxLayoutConstraints,
22611 _swigc__p_wxMaximizeEvent,
22612 _swigc__p_wxMemoryBuffer,
22613 _swigc__p_wxMenu,
22614 _swigc__p_wxMenuBar,
22615 _swigc__p_wxMenuEvent,
22616 _swigc__p_wxMenuItem,
22617 _swigc__p_wxMouseCaptureChangedEvent,
22618 _swigc__p_wxMouseCaptureLostEvent,
22619 _swigc__p_wxMouseEvent,
22620 _swigc__p_wxMoveEvent,
22621 _swigc__p_wxNavigationKeyEvent,
22622 _swigc__p_wxNcPaintEvent,
22623 _swigc__p_wxNotifyEvent,
22624 _swigc__p_wxObject,
22625 _swigc__p_wxPCXHandler,
22626 _swigc__p_wxPNGHandler,
22627 _swigc__p_wxPNMHandler,
22628 _swigc__p_wxPaintEvent,
22629 _swigc__p_wxPaletteChangedEvent,
22630 _swigc__p_wxPaperSize,
22631 _swigc__p_wxPoint,
22632 _swigc__p_wxPowerEvent,
22633 _swigc__p_wxProcessEvent,
22634 _swigc__p_wxPyApp,
22635 _swigc__p_wxPyCommandEvent,
22636 _swigc__p_wxPyEvent,
22637 _swigc__p_wxPyImageHandler,
22638 _swigc__p_wxPyProcess,
22639 _swigc__p_wxPySizer,
22640 _swigc__p_wxPyTimer,
22641 _swigc__p_wxPyValidator,
22642 _swigc__p_wxQueryNewPaletteEvent,
22643 _swigc__p_wxRect,
22644 _swigc__p_wxScrollBar,
22645 _swigc__p_wxScrollEvent,
22646 _swigc__p_wxScrollWinEvent,
22647 _swigc__p_wxSetCursorEvent,
22648 _swigc__p_wxShowEvent,
22649 _swigc__p_wxSizeEvent,
22650 _swigc__p_wxSizer,
22651 _swigc__p_wxSizerItem,
22652 _swigc__p_wxStaticBoxSizer,
22653 _swigc__p_wxStdDialogButtonSizer,
22654 _swigc__p_wxStyledTextCtrl,
22655 _swigc__p_wxStyledTextEvent,
22656 _swigc__p_wxSysColourChangedEvent,
22657 _swigc__p_wxSystemOptions,
22658 _swigc__p_wxTGAHandler,
22659 _swigc__p_wxTIFFHandler,
22660 _swigc__p_wxTimerEvent,
22661 _swigc__p_wxToolTip,
22662 _swigc__p_wxUpdateUIEvent,
22663 _swigc__p_wxValidator,
22664 _swigc__p_wxWindow,
22665 _swigc__p_wxWindowCreateEvent,
22666 _swigc__p_wxWindowDestroyEvent,
22667 _swigc__p_wxXPMHandler,
22668};
22669
22670
22671/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22672
22673static swig_const_info swig_const_table[] = {
22674{0, 0, 0, 0.0, 0, 0}};
22675
22676#ifdef __cplusplus
22677}
22678#endif
22679/* -----------------------------------------------------------------------------
22680 * Type initialization:
22681 * This problem is tough by the requirement that no dynamic
22682 * memory is used. Also, since swig_type_info structures store pointers to
22683 * swig_cast_info structures and swig_cast_info structures store pointers back
22684 * to swig_type_info structures, we need some lookup code at initialization.
22685 * The idea is that swig generates all the structures that are needed.
22686 * The runtime then collects these partially filled structures.
22687 * The SWIG_InitializeModule function takes these initial arrays out of
22688 * swig_module, and does all the lookup, filling in the swig_module.types
22689 * array with the correct data and linking the correct swig_cast_info
22690 * structures together.
22691 *
22692 * The generated swig_type_info structures are assigned staticly to an initial
22693 * array. We just loop though that array, and handle each type individually.
22694 * First we lookup if this type has been already loaded, and if so, use the
22695 * loaded structure instead of the generated one. Then we have to fill in the
22696 * cast linked list. The cast data is initially stored in something like a
22697 * two-dimensional array. Each row corresponds to a type (there are the same
22698 * number of rows as there are in the swig_type_initial array). Each entry in
22699 * a column is one of the swig_cast_info structures for that type.
22700 * The cast_initial array is actually an array of arrays, because each row has
22701 * a variable number of columns. So to actually build the cast linked list,
22702 * we find the array of casts associated with the type, and loop through it
22703 * adding the casts to the list. The one last trick we need to do is making
22704 * sure the type pointer in the swig_cast_info struct is correct.
22705 *
22706 * First off, we lookup the cast->type name to see if it is already loaded.
22707 * There are three cases to handle:
22708 * 1) If the cast->type has already been loaded AND the type we are adding
22709 * casting info to has not been loaded (it is in this module), THEN we
22710 * replace the cast->type pointer with the type pointer that has already
22711 * been loaded.
22712 * 2) If BOTH types (the one we are adding casting info to, and the
22713 * cast->type) are loaded, THEN the cast info has already been loaded by
22714 * the previous module so we just ignore it.
22715 * 3) Finally, if cast->type has not already been loaded, then we add that
22716 * swig_cast_info to the linked list (because the cast->type) pointer will
22717 * be correct.
22718 * ----------------------------------------------------------------------------- */
22719
22720#ifdef __cplusplus
22721extern "C" {
22722#if 0
22723} /* c-mode */
22724#endif
22725#endif
22726
22727#if 0
22728#define SWIGRUNTIME_DEBUG
22729#endif
22730
22731SWIGRUNTIME void
22732SWIG_InitializeModule(void *clientdata) {
22733 size_t i;
22734 swig_module_info *module_head;
22735 static int init_run = 0;
22736
22737 clientdata = clientdata;
22738
22739 if (init_run) return;
22740 init_run = 1;
22741
22742 /* Initialize the swig_module */
22743 swig_module.type_initial = swig_type_initial;
22744 swig_module.cast_initial = swig_cast_initial;
22745
22746 /* Try and load any already created modules */
22747 module_head = SWIG_GetModule(clientdata);
22748 if (module_head) {
22749 swig_module.next = module_head->next;
22750 module_head->next = &swig_module;
22751 } else {
22752 /* This is the first module loaded */
22753 swig_module.next = &swig_module;
22754 SWIG_SetModule(clientdata, &swig_module);
22755 }
22756
22757 /* Now work on filling in swig_module.types */
22758#ifdef SWIGRUNTIME_DEBUG
22759 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22760#endif
22761 for (i = 0; i < swig_module.size; ++i) {
22762 swig_type_info *type = 0;
22763 swig_type_info *ret;
22764 swig_cast_info *cast;
22765
22766#ifdef SWIGRUNTIME_DEBUG
22767 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22768#endif
22769
22770 /* if there is another module already loaded */
22771 if (swig_module.next != &swig_module) {
22772 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
22773 }
22774 if (type) {
22775 /* Overwrite clientdata field */
22776#ifdef SWIGRUNTIME_DEBUG
22777 printf("SWIG_InitializeModule: found type %s\n", type->name);
22778#endif
22779 if (swig_module.type_initial[i]->clientdata) {
22780 type->clientdata = swig_module.type_initial[i]->clientdata;
22781#ifdef SWIGRUNTIME_DEBUG
22782 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22783#endif
22784 }
22785 } else {
22786 type = swig_module.type_initial[i];
22787 }
22788
22789 /* Insert casting types */
22790 cast = swig_module.cast_initial[i];
22791 while (cast->type) {
22792 /* Don't need to add information already in the list */
22793 ret = 0;
22794#ifdef SWIGRUNTIME_DEBUG
22795 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22796#endif
22797 if (swig_module.next != &swig_module) {
22798 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22799#ifdef SWIGRUNTIME_DEBUG
22800 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22801#endif
22802 }
22803 if (ret) {
22804 if (type == swig_module.type_initial[i]) {
22805#ifdef SWIGRUNTIME_DEBUG
22806 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22807#endif
22808 cast->type = ret;
22809 ret = 0;
22810 } else {
22811 /* Check for casting already in the list */
22812 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22813#ifdef SWIGRUNTIME_DEBUG
22814 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22815#endif
22816 if (!ocast) ret = 0;
22817 }
22818 }
22819
22820 if (!ret) {
22821#ifdef SWIGRUNTIME_DEBUG
22822 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22823#endif
22824 if (type->cast) {
22825 type->cast->prev = cast;
22826 cast->next = type->cast;
22827 }
22828 type->cast = cast;
22829 }
22830 cast++;
22831 }
22832 /* Set entry in modules->types array equal to the type */
22833 swig_module.types[i] = type;
22834 }
22835 swig_module.types[i] = 0;
22836
22837#ifdef SWIGRUNTIME_DEBUG
22838 printf("**** SWIG_InitializeModule: Cast List ******\n");
22839 for (i = 0; i < swig_module.size; ++i) {
22840 int j = 0;
22841 swig_cast_info *cast = swig_module.cast_initial[i];
22842 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22843 while (cast->type) {
22844 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22845 cast++;
22846 ++j;
22847 }
22848 printf("---- Total casts: %d\n",j);
22849 }
22850 printf("**** SWIG_InitializeModule: Cast List ******\n");
22851#endif
22852}
22853
22854/* This function will propagate the clientdata field of type to
22855* any new swig_type_info structures that have been added into the list
22856* of equivalent types. It is like calling
22857* SWIG_TypeClientData(type, clientdata) a second time.
22858*/
22859SWIGRUNTIME void
22860SWIG_PropagateClientData(void) {
22861 size_t i;
22862 swig_cast_info *equiv;
22863 static int init_run = 0;
22864
22865 if (init_run) return;
22866 init_run = 1;
22867
22868 for (i = 0; i < swig_module.size; i++) {
22869 if (swig_module.types[i]->clientdata) {
22870 equiv = swig_module.types[i]->cast;
22871 while (equiv) {
22872 if (!equiv->converter) {
22873 if (equiv->type && !equiv->type->clientdata)
22874 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22875 }
22876 equiv = equiv->next;
22877 }
22878 }
22879 }
22880}
22881
22882#ifdef __cplusplus
22883#if 0
22884{
22885 /* c-mode */
22886#endif
22887}
22888#endif
22889
22890
22891
22892#ifdef __cplusplus
22893extern "C" {
22894#endif
22895
22896 /* Python-specific SWIG API */
22897#define SWIG_newvarlink() SWIG_Python_newvarlink()
22898#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22899#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22900
22901 /* -----------------------------------------------------------------------------
22902 * global variable support code.
22903 * ----------------------------------------------------------------------------- */
22904
22905 typedef struct swig_globalvar {
22906 char *name; /* Name of global variable */
22907 PyObject *(*get_attr)(void); /* Return the current value */
22908 int (*set_attr)(PyObject *); /* Set the value */
22909 struct swig_globalvar *next;
22910 } swig_globalvar;
22911
22912 typedef struct swig_varlinkobject {
22913 PyObject_HEAD
22914 swig_globalvar *vars;
22915 } swig_varlinkobject;
22916
22917 SWIGINTERN PyObject *
22918 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22919 return PyString_FromString("<Swig global variables>");
22920 }
22921
22922 SWIGINTERN PyObject *
22923 swig_varlink_str(swig_varlinkobject *v) {
22924 PyObject *str = PyString_FromString("(");
22925 swig_globalvar *var;
22926 for (var = v->vars; var; var=var->next) {
22927 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22928 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22929 }
22930 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22931 return str;
22932 }
22933
22934 SWIGINTERN int
22935 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22936 PyObject *str = swig_varlink_str(v);
22937 fprintf(fp,"Swig global variables ");
22938 fprintf(fp,"%s\n", PyString_AsString(str));
22939 Py_DECREF(str);
22940 return 0;
22941 }
22942
22943 SWIGINTERN void
22944 swig_varlink_dealloc(swig_varlinkobject *v) {
22945 swig_globalvar *var = v->vars;
22946 while (var) {
22947 swig_globalvar *n = var->next;
22948 free(var->name);
22949 free(var);
22950 var = n;
22951 }
22952 }
22953
22954 SWIGINTERN PyObject *
22955 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22956 PyObject *res = NULL;
22957 swig_globalvar *var = v->vars;
22958 while (var) {
22959 if (strcmp(var->name,n) == 0) {
22960 res = (*var->get_attr)();
22961 break;
22962 }
22963 var = var->next;
22964 }
22965 if (res == NULL && !PyErr_Occurred()) {
22966 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22967 }
22968 return res;
22969 }
22970
22971 SWIGINTERN int
22972 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22973 int res = 1;
22974 swig_globalvar *var = v->vars;
22975 while (var) {
22976 if (strcmp(var->name,n) == 0) {
22977 res = (*var->set_attr)(p);
22978 break;
22979 }
22980 var = var->next;
22981 }
22982 if (res == 1 && !PyErr_Occurred()) {
22983 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22984 }
22985 return res;
22986 }
22987
22988 SWIGINTERN PyTypeObject*
22989 swig_varlink_type(void) {
22990 static char varlink__doc__[] = "Swig var link object";
22991 static PyTypeObject varlink_type;
22992 static int type_init = 0;
22993 if (!type_init) {
22994 const PyTypeObject tmp
22995 = {
22996 PyObject_HEAD_INIT(NULL)
22997 0, /* Number of items in variable part (ob_size) */
22998 (char *)"swigvarlink", /* Type name (tp_name) */
22999 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
23000 0, /* Itemsize (tp_itemsize) */
23001 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
23002 (printfunc) swig_varlink_print, /* Print (tp_print) */
23003 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
23004 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
23005 0, /* tp_compare */
23006 (reprfunc) swig_varlink_repr, /* tp_repr */
23007 0, /* tp_as_number */
23008 0, /* tp_as_sequence */
23009 0, /* tp_as_mapping */
23010 0, /* tp_hash */
23011 0, /* tp_call */
23012 (reprfunc)swig_varlink_str, /* tp_str */
23013 0, /* tp_getattro */
23014 0, /* tp_setattro */
23015 0, /* tp_as_buffer */
23016 0, /* tp_flags */
23017 varlink__doc__, /* tp_doc */
23018 0, /* tp_traverse */
23019 0, /* tp_clear */
23020 0, /* tp_richcompare */
23021 0, /* tp_weaklistoffset */
23022#if PY_VERSION_HEX >= 0x02020000
23023 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23024#endif
23025#if PY_VERSION_HEX >= 0x02030000
23026 0, /* tp_del */
23027#endif
23028#ifdef COUNT_ALLOCS
23029 0,0,0,0 /* tp_alloc -> tp_next */
23030#endif
23031 };
23032 varlink_type = tmp;
23033 varlink_type.ob_type = &PyType_Type;
23034 type_init = 1;
23035 }
23036 return &varlink_type;
23037 }
23038
23039 /* Create a variable linking object for use later */
23040 SWIGINTERN PyObject *
23041 SWIG_Python_newvarlink(void) {
23042 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
23043 if (result) {
23044 result->vars = 0;
23045 }
23046 return ((PyObject*) result);
23047 }
23048
23049 SWIGINTERN void
23050 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
23051 swig_varlinkobject *v = (swig_varlinkobject *) p;
23052 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
23053 if (gv) {
23054 size_t size = strlen(name)+1;
23055 gv->name = (char *)malloc(size);
23056 if (gv->name) {
23057 strncpy(gv->name,name,size);
23058 gv->get_attr = get_attr;
23059 gv->set_attr = set_attr;
23060 gv->next = v->vars;
23061 }
23062 }
23063 v->vars = gv;
23064 }
23065
23066 SWIGINTERN PyObject *
23067 SWIG_globals() {
23068 static PyObject *_SWIG_globals = 0;
23069 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
23070 return _SWIG_globals;
23071 }
23072
23073 /* -----------------------------------------------------------------------------
23074 * constants/methods manipulation
23075 * ----------------------------------------------------------------------------- */
23076
23077 /* Install Constants */
23078 SWIGINTERN void
23079 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
23080 PyObject *obj = 0;
23081 size_t i;
23082 for (i = 0; constants[i].type; ++i) {
23083 switch(constants[i].type) {
23084 case SWIG_PY_POINTER:
23085 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23086 break;
23087 case SWIG_PY_BINARY:
23088 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23089 break;
23090 default:
23091 obj = 0;
23092 break;
23093 }
23094 if (obj) {
23095 PyDict_SetItemString(d, constants[i].name, obj);
23096 Py_DECREF(obj);
23097 }
23098 }
23099 }
23100
23101 /* -----------------------------------------------------------------------------*/
23102 /* Fix SwigMethods to carry the callback ptrs when needed */
23103 /* -----------------------------------------------------------------------------*/
23104
23105 SWIGINTERN void
23106 SWIG_Python_FixMethods(PyMethodDef *methods,
23107 swig_const_info *const_table,
23108 swig_type_info **types,
23109 swig_type_info **types_initial) {
23110 size_t i;
23111 for (i = 0; methods[i].ml_name; ++i) {
23112 const char *c = methods[i].ml_doc;
23113 if (c && (c = strstr(c, "swig_ptr: "))) {
23114 int j;
23115 swig_const_info *ci = 0;
23116 const char *name = c + 10;
23117 for (j = 0; const_table[j].type; ++j) {
23118 if (strncmp(const_table[j].name, name,
23119 strlen(const_table[j].name)) == 0) {
23120 ci = &(const_table[j]);
23121 break;
23122 }
23123 }
23124 if (ci) {
23125 size_t shift = (ci->ptype) - types;
23126 swig_type_info *ty = types_initial[shift];
23127 size_t ldoc = (c - methods[i].ml_doc);
23128 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23129 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23130 if (ndoc) {
23131 char *buff = ndoc;
23132 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23133 if (ptr) {
23134 strncpy(buff, methods[i].ml_doc, ldoc);
23135 buff += ldoc;
23136 strncpy(buff, "swig_ptr: ", 10);
23137 buff += 10;
23138 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23139 methods[i].ml_doc = ndoc;
23140 }
23141 }
23142 }
23143 }
23144 }
23145 }
23146
23147#ifdef __cplusplus
23148}
23149#endif
23150
23151/* -----------------------------------------------------------------------------*
23152 * Partial Init method
23153 * -----------------------------------------------------------------------------*/
23154
23155#ifdef __cplusplus
23156extern "C"
23157#endif
23158SWIGEXPORT void SWIG_init(void) {
23159 PyObject *m, *d;
23160
23161 /* Fix SwigMethods to carry the callback ptrs when needed */
23162 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
23163
23164 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23165 d = PyModule_GetDict(m);
23166
23167 SWIG_InitializeModule(0);
23168 SWIG_InstallConstants(d,swig_const_table);
23169
23170
23171 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
23172 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
23173 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
23174 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
23175 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
23176 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
23177 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
23178 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
23179 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
23180 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
23181 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
23182 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
23183 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
23184 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
23185 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
23186 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
23187 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
23188 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
23189 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
23190 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
23191 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
23192 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
23193 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
23194 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
23195 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
23196 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
23197 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
23198 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
23199 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
23200 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
23201 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
23202 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
23203 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
23204 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
23205 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
23206 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
23207 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
23208 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
23209 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
23210 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
23211 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
23212 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
23213 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
23214 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
23215 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
23216 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
23217 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
23218 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
23219 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
23220 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
23221 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
23222 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
23223 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
23224 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
23225 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
23226 SWIG_Python_SetConstant(d, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
23227 SWIG_Python_SetConstant(d, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
23228 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
23229 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
23230 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
23231 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
23232 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
23233 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
23234 SWIG_Python_SetConstant(d, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
23235 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
23236 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
23237 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
23238 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23239 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
23240 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
23241 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
23242 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
23243 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
23244 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
23245 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
23246 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
23247 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
23248 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
23249 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
23250 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
23251 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
23252 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
23253 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
23254 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
23255 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
23256 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
23257 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
23258 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
23259 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
23260 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
23261 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
23262 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
23263 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
23264 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
23265 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
23266 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
23267 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
23268 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
23269 SWIG_Python_SetConstant(d, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
23270 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
23271 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
23272 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
23273 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
23274 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
23275 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23276 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23277 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23278 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23279 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23280 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23281 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23282 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23283 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23284 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23285 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23286 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23287 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23288 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23289 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23290 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23291 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23292 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23293 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23294 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23295 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23296 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23297 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23298 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23299 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23300 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23301 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23302 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23303 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23304 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23305 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23306 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23307 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23308 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23309 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23310 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23311 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23312 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23313 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23314 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23315 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23316 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23317 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23318 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23319 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23320 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23321 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23322 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23323 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23324 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23325 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23326 SWIG_Python_SetConstant(d, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
23327 SWIG_Python_SetConstant(d, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
23328 SWIG_Python_SetConstant(d, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
23329 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23330 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23331 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23332 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23333 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23334 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23335 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23336 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23337 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23338 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23339 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23340 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23341 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23342 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23343 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23344 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23345 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23346 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23347 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23348 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23349 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23350 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23351 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23352 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23353 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23354 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23355 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23356 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23357 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23358 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23359 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23360 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23361 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23362 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23363 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23364 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23365 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23366 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23367 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23368 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23369 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23370 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23371 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23372 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23373 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23374 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23375 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23376 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23377 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23378 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23379 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23380 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23381 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23382 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23383 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23384 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23385 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23386 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23387 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23388 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23389 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23390 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23391 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23392 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23393 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23394 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23395 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23396 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23397 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23398 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23399 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23400 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23401 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23402 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23403 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23404 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23405 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23406 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23407 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23408 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23409 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23410 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23411 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23412 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23413 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23414 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23415 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23416 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23417 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23418 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23419 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23420 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23421 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23422 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23423 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23424 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23425 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23426 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23427 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23428 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23429 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23430 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23431 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23432 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23433 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23434 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23435 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23436 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23437 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23438 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23439 SWIG_Python_SetConstant(d, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
23440 SWIG_Python_SetConstant(d, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
23441 SWIG_Python_SetConstant(d, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
23442 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23443 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23444 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23445 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23446 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23447 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23448 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23449 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23450 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23451 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23452 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23453 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23454 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23455 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23456 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23457 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23458 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23459 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23460 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23461 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23462 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23463 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23464 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23465 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23466 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23467 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23468 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23469 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23470 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23471 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23472 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23473 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23474 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23475 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23476 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23477 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23478 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23479 SWIG_Python_SetConstant(d, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23480 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23481 SWIG_Python_SetConstant(d, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23482 SWIG_Python_SetConstant(d, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23483 SWIG_Python_SetConstant(d, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
23484 SWIG_Python_SetConstant(d, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
23485 SWIG_Python_SetConstant(d, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23486 SWIG_Python_SetConstant(d, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23487 SWIG_Python_SetConstant(d, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
23488 SWIG_Python_SetConstant(d, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
23489 SWIG_Python_SetConstant(d, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
23490 SWIG_Python_SetConstant(d, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
23491 SWIG_Python_SetConstant(d, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
23492 SWIG_Python_SetConstant(d, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
23493 SWIG_Python_SetConstant(d, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
23494 SWIG_Python_SetConstant(d, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
23495 SWIG_Python_SetConstant(d, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
23496 SWIG_Python_SetConstant(d, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
23497 SWIG_Python_SetConstant(d, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
23498 SWIG_Python_SetConstant(d, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
23499 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
23500 SWIG_Python_SetConstant(d, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
23501 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23502 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23503 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23504 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23505 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23506 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23507 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23508 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23509 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23510 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23511 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23512 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23513 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23514 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23515 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23516 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23517 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23518 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23519 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23520 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23521 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23522 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23523 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23524 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23525 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23526 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23527 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23528 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23529 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23530 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23531 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23532 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23533 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23534 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23535 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23536 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23537 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23538 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23539 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23540 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23541 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23542 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23543 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23544 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23545 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23546 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23547 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23548 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23549 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23550 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23551 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23552 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23553 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23554 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23555 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23556 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23557 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23558 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23559 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23560 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23561 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23562 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23563 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23564 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23565 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23566 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23567 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23568 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23569 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23570 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23571 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23572 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23573 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23574 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23575 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23576 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23577 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23578 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23579 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23580 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23581 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23582 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23583 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23584 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23585 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23586 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23587 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23588 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23589 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23590 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23591 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23592 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23593 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23594 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23595 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23596 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23597 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23598 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23599 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23600 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23601 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23602 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23603 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23604 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23605 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23606 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23607 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23608 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23609 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23610 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23611 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23612 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23613 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23614 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23615 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23616 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23617 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23618 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23619 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23620 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23621 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23622 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23623 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23624 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23625 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23626 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23627 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23628 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23629 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23630 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23631 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23632 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23633 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23634 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23635 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23636 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23637 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23638 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23639 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23640 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23641 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23642 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23643 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23644 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23645 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23646 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23647 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23648 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23649 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23650 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23651 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23652 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23653 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23654 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23655 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23656 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23657 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23658 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23659 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23660 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23661 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23662 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23663 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23664 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23665 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23666 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23667 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23668 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23669 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23670 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23671 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23672 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23673 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23674 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23675 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23676 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23677 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23678 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23679 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23680 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23681 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23682 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23683 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23684 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23685 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23686 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23687 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23688 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23689 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23690 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23691 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23692 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23693 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23694 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23695 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23696 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23697 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23698 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23699 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23700 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23701 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23702 SWIG_Python_SetConstant(d, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
23703 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23704 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23705 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23706 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23707 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23708 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23709 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23710 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23711 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23712 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23713 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23714 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23715 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23716 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23717 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23718 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23719 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23720 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23721 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23722 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23723 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23724 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23725 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23726 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23727 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23728 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23729 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23730 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23731 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23732 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23733 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23734 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23735 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23736 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23737 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23738 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23739 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23740 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23741 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23742 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23743 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23744 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23745 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23746 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23747 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23748 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23749 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23750 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23751 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23752 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23753 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23754 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23755 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23756 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23757 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23758 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23759 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23760 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23761 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23762 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23763 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23764 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23765 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23766 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23767 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23768 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23769 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23770 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23771 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23772 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23773 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23774 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23775 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23776 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23777 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23778 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23779 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23780 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23781 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23782 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23783 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23784 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23785 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23786 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23787 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23788 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23789 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23790 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23791 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23792 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23793 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23794 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23795 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23796 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23797 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23798 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23799 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23800 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23801 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23802 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23803 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23804 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23805 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23806 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23807 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23808 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23809 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23810 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23811 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23812 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23813 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23814 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23815 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23816 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23817 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23818 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23819 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23820 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23821 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23822 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23823 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23824 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23825 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23826 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23827 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23828 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23829 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23830 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23831 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23832 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23833 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23834 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23835 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23836 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23837 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23838 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23839 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23840 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23841 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23842 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23843 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23844 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23845 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23846 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23847 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23848 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23849 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23850 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23851 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23852 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23853 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23854 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23855 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23856 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23857 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23858 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23859 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23860 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23861 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23862 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23863 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23864 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23865 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23866 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23867 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23868 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23869 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23870 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23871 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23872 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23873 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23874 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23875 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23876 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23877 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23878 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23879 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23880 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23881 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23882 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23883 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23884 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23885 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23886 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23887 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23888 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23889 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23890 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23891 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23892 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23893 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23894 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23895 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23896 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23897 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23898 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23899 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23900 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23901 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23902 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23903 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23904 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23905 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23906 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23907 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23908 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23909 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23910 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23911 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23912 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23913 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23914 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23915 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23916 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23917 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23918 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23919 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23920 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23921 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23922 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23923 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23924 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23925 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23926 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23927 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23928 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23929 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23930 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23931 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23932 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23933 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23934 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23935 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23936 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23937 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23938 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23939 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23940 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23941 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23942 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23943 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23944 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23945 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23946 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23947 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23948 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23949 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23950 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23951 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23952 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23953 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23954 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23955 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23956 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23957 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23958 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23959 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23960 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23961 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23962 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23963 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23964 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23965 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23966 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23967 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23968 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23969 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23970 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23971 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23972 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23973 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23974 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23975 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23976 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23977 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23978 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23979 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23980 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23981 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23982 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23983 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23984 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23985 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23986 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23987 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23988 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
23989 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
23990 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
23991 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23992 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23993 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
23994 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
23995 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
23996 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
23997 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
23998 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
23999 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
24000 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
24001 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
24002 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
24003 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
24004 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
24005 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
24006 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
24007 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
24008 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
24009 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
24010 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
24011 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24012 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
24013 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
24014 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
24015 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
24016 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
24017 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
24018 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
24019 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
24020 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
24021 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
24022 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
24023 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
24024 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
24025 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
24026 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
24027 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
24028 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24029 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
24030 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
24031 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
24032 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
24033 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
24034 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
24035 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
24036 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24037 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
24038 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
24039 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
24040 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
24041 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
24042 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
24043 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
24044 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
24045 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24046 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
24047 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
24048 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
24049 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
24050 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
24051 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
24052 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24053 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
24054 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24055 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24056 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
24057 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
24058 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
24059 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
24060 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
24061 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24062 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24063 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
24064 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24065 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
24066 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
24067 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24068 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24069 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
24070 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24071 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
24072 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
24073 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
24074 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24075 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
24076 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
24077 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
24078 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24079 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
24080 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
24081 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
24082 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
24083 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
24084 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
24085 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
24086 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
24087 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
24088 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
24089 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24090 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24091 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
24092 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24093 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
24094 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24095 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24096 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
24097 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
24098 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
24099 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
24100 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
24101 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
24102 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
24103 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
24104 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
24105 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
24106 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24107 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
24108 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24109 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24110 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
24111 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
24112 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
24113 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
24114 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
24115 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24116 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24117 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24118 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24119 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
24120 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24121 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
24122 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
24123 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
24124 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
24125 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
24126 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
24127 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24128 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
24129 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24130 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
24131 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24132 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24133 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24134 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
24135 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
24136 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
24137 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
24138 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
24139 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
24140 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24141 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24142 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
24143 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24144 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24145 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
24146 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
24147 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
24148 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
24149 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
24150 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24151 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24152 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24153 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24154 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
24155 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
24156 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
24157 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24158 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
24159 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24160 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
24161 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
24162 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
24163 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
24164 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
24165 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
24166 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
24167 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
24168 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
24169 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24170 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
24171 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
24172 SWIG_Python_SetConstant(d, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
24173 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24174 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24175 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24176 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24177 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
24178 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24179 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
24180 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
24181 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
24182 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
24183 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
24184 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
24185 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
24186 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24187 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
24188 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24189 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
24190 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
24191 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
24192 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
24193 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24194 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24195 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
24196 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
24197 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
24198 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
24199 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
24200 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24201 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
24202 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24203 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
24204 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
24205 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
24206 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24207 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
24208 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
24209 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
24210 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24211 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24212 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24213 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
24214 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24215 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
24216 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24217 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24218 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
24219 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24220 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
24221 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
24222 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
24223 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
24224 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
24225 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
24226 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24227 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24228 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
24229 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24230 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
24231 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
24232 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
24233 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24234 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
24235 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
24236 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
24237 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
24238 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
24239 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
24240 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
24241 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24242 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24243 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24244 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
24245 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
24246 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24247 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
24248 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
24249 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
24250 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
24251 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
24252 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
24253 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
24254 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
24255 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
24256 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
24257 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
24258 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24259 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
24260 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
24261 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
24262 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
24263 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24264 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24265 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
24266 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24267 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
24268 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
24269 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
24270 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
24271 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
24272 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
24273 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
24274 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
24275 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
24276 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
24277 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
24278 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24279 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24280 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24281 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
24282 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
24283 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24284 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
24285 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
24286 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
24287 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
24288 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
24289 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
24290 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
24291 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
24292 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
24293 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
24294 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
24295 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
24296 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
24297 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
24298 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
24299 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
24300 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
24301 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
24302 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
24303 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24304 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24305 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24306 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24307 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24308 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24309 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24310 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24311 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24312 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24313 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24314 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24315 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24316 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24317 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24318 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24319 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24320 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24321 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24322 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24323 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24324 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24325 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24326 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24327 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24328 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24329 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24330 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24331 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24332 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24333 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24334 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24335 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24336 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24337 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24338 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24339 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24340 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24341 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24342 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24343 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24344 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24345 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24346 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24347 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24348 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24349 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24350 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24351 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24352 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24353 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24354 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24355 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24356 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24357 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24358 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24359 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24360 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24361 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24362 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24363 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24364 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24365 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24366 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24367 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24368 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24369 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24370 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24371 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24372 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24373 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24374 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24375 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24376 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24377 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24378 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24379 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24380 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24381 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24382 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24383 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24384 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24385 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24386 SWIG_Python_SetConstant(d, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24387 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
24388 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24389 SWIG_Python_SetConstant(d, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
24390 SWIG_Python_SetConstant(d, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
24391 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
24392 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC_INLINE",SWIG_From_int(static_cast< int >(6)));
24393 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
24394 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
24395 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
24396 SWIG_Python_SetConstant(d, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
24397 SWIG_Python_SetConstant(d, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
24398 SWIG_Python_SetConstant(d, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
24399 SWIG_Python_SetConstant(d, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
24400 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
24401 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
24402 SWIG_Python_SetConstant(d, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
24403 SWIG_Python_SetConstant(d, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24404 SWIG_Python_SetConstant(d, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
24405 SWIG_Python_SetConstant(d, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
24406 SWIG_Python_SetConstant(d, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
24407 SWIG_Python_SetConstant(d, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
24408 SWIG_Python_SetConstant(d, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
24409 SWIG_Python_SetConstant(d, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24410 SWIG_Python_SetConstant(d, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24411 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24412 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
24413 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
24414 SWIG_Python_SetConstant(d, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
24415 SWIG_Python_SetConstant(d, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
24416 SWIG_Python_SetConstant(d, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
24417 SWIG_Python_SetConstant(d, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
24418 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24419 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24420 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24421 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24422 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24423 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24424 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24425 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24426 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24427 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24428 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24429 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24430 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24431 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24432 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24433 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24434 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24435 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24436 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24437 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24438 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24439 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24440 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24441 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24442 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24443 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24444 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24445 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24446 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24447 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24448 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24449 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24450 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24451 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24452 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24453 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24454 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24455 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24456 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24457 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24458 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24459 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24460 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24461 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24462 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24463 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24464 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24465 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24466 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24467 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24468 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24469 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24470 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24471 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24472 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24473 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24474 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24475 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24476 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24477 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24478 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24479 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24480 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24481 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24482 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24483 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24484 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24485 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24486 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24487 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24488 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24489 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24490 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24491 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24492 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24493 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24494 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24495 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24496 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24497 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24498 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24499 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24500 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24501 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24502 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24503 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24504 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24505 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24506 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24507 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24508 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24509 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24510 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24511 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24512 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24513 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24514 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24515 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24516 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24517 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24518 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24519 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24520 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24521 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24522 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24523 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24524 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24525 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24526 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24527 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24528 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24529 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24530 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24531 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24532 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24533 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24534 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24535
24536
24537}
24538