]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/mac/stc_wrap.cpp
move the nodefault option into _defs.i too.
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29 /***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 #endif
44
45 /* inline attribute */
46 #ifndef SWIGINLINE
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
49 # else
50 # define SWIGINLINE
51 # endif
52 #endif
53
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
55 #ifndef SWIGUNUSED
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
58 # else
59 # define SWIGUNUSED
60 # endif
61 #endif
62
63 /* internal SWIG method */
64 #ifndef SWIGINTERN
65 # define SWIGINTERN static SWIGUNUSED
66 #endif
67
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71 #endif
72
73 /* exporting methods for Windows DLLs */
74 #ifndef SWIGEXPORT
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
77 # define SWIGEXPORT
78 # else
79 # define SWIGEXPORT __declspec(dllexport)
80 # endif
81 # else
82 # define SWIGEXPORT
83 # endif
84 #endif
85
86 /* calling conventions for Windows */
87 #ifndef SWIGSTDCALL
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
90 # else
91 # define SWIGSTDCALL
92 # endif
93 #endif
94
95
96
97 #include <Python.h>
98
99 /***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
110
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116 #else
117 # define SWIG_TYPE_TABLE_NAME
118 #endif
119
120 /*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127 */
128
129 #ifndef SWIGRUNTIME
130 # define SWIGRUNTIME SWIGINTERN
131 #endif
132
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135 #endif
136
137 #include <string.h>
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153 } swig_type_info;
154
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161 } swig_cast_info;
162
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173 } swig_module_info;
174
175
176 /*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182 */
183 SWIGRUNTIME int
184 SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192 }
193
194 /*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197 */
198 SWIGRUNTIME int
199 SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211 }
212
213 /*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216 */
217 SWIGRUNTIME int
218 SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230 }
231
232
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255 /*
256 Check the typename
257 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261 }
262
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267 }
268
269 /*
270 Cast a pointer up an inheritance hierarchy
271 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275 }
276
277 /*
278 Dynamic pointer casting. Down an inheritance hierarchy
279 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289 }
290
291 /*
292 Return the name associated with this type
293 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297 }
298
299 /*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302 */
303 SWIGRUNTIME const char *
304 SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318 }
319
320 /*
321 Set the clientdata field for a type
322 */
323 SWIGRUNTIME void
324 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338 }
339
340 /*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382 }
383
384 /*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417 }
418
419
420 /*
421 Pack binary data into a string
422 */
423 SWIGRUNTIME char *
424 SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434 }
435
436 /*
437 Unpack binary data from a string
438 */
439 SWIGRUNTIME const char *
440 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462 }
463
464 /*
465 Pack 'void *' into a string buffer.
466 */
467 SWIGRUNTIME char *
468 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476 }
477
478 SWIGRUNTIME const char *
479 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489 }
490
491 SWIGRUNTIME char *
492 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504 }
505
506 SWIGRUNTIME const char *
507 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517 }
518
519 #ifdef __cplusplus
520 }
521 #endif
522
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527 #ifdef __cplusplus
528 extern "C" {
529 #endif
530
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535 #ifndef SWIGINTERN
536 # define SWIGINTERN static SWIGUNUSED
537 #endif
538
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541 #endif
542
543 /*
544 Exception handling in wrappers
545 */
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553 /*
554 Contract support
555 */
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563 /* Constant Types */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
569
570 /* Constant information structure */
571 typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578 } swig_const_info;
579
580
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588 #ifdef __cplusplus
589 }
590 #endif
591
592
593 /***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613 /* Runtime API */
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620 /*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624 */
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
627 #endif
628
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
632
633
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
637 #endif
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
648 #endif
649
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
652 static PyObject *
653 PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661 }
662 #endif
663
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
666 #endif
667
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684 {
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693 }
694
695 SWIGRUNTIME PyObject *
696 PySwigObject_repr(PySwigObject *v)
697 {
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701 }
702
703 SWIGRUNTIME PyObject *
704 PySwigObject_str(PySwigObject *v)
705 {
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709 }
710
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_format(const char* fmt, PySwigObject *v)
719 {
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731 }
732
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747 {
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756 }
757
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797 #endif
798 };
799
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806 #endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832 #endif
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836 #endif
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839 #endif
840 #if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842 #endif
843 #ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845 #endif
846 };
847 #if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851 #endif
852 return &pyswigobject_type;
853 }
854
855 SWIGRUNTIME PyObject *
856 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857 {
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864 }
865
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882 }
883
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897 {
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908 }
909
910 SWIGRUNTIME PyObject *
911 PySwigPacked_repr(PySwigPacked *v)
912 {
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919 }
920
921 SWIGRUNTIME PyObject *
922 PySwigPacked_str(PySwigPacked *v)
923 {
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930 }
931
932 SWIGRUNTIME int
933 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934 {
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944 }
945
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963 #endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989 #endif
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993 #endif
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996 #endif
997 #if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999 #endif
1000 #ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002 #endif
1003 };
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008 #endif
1009 return &pyswigpacked_type;
1010 }
1011
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014 {
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029 }
1030
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033 {
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038 }
1039
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050 }
1051
1052 #else
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062 #endif
1063
1064 #endif
1065
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070 SWIGRUNTIME void
1071 SWIG_Python_TypeError(const char *type, PyObject *obj)
1072 {
1073 if (type) {
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083 #endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104 }
1105
1106 SWIGRUNTIMEINLINE void
1107 SWIG_Python_NullRef(const char *type)
1108 {
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114 }
1115
1116 SWIGRUNTIME int
1117 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118 {
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139 }
1140
1141 SWIGRUNTIME int
1142 SWIG_Python_ArgFail(int argnum)
1143 {
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152 }
1153
1154
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159 /* Convert a pointer value */
1160 SWIGRUNTIME int
1161 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192 #else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210 #endif
1211
1212 type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225 type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248 }
1249
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1251 SWIGRUNTIME void *
1252 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272 #else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277 #endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285 type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295 }
1296
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject *
1299 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313 #else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319 #endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335 }
1336
1337 SWIGRUNTIME PyObject *
1338 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346 #else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352 #endif
1353 return robj;
1354 }
1355
1356 /* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371 #else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378 #endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381 }
1382
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388 {
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412 }
1413 #endif
1414
1415 SWIGRUNTIME void
1416 SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425 }
1426
1427 #ifdef __cplusplus
1428 }
1429 #endif
1430
1431
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1433
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_void swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxBusyInfo swig_types[13]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxClipboard swig_types[16]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
1452 #define SWIGTYPE_p_wxColour swig_types[18]
1453 #define SWIGTYPE_p_wxCommandEvent swig_types[19]
1454 #define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
1455 #define SWIGTYPE_p_wxControl swig_types[21]
1456 #define SWIGTYPE_p_wxControlWithItems swig_types[22]
1457 #define SWIGTYPE_p_wxDC swig_types[23]
1458 #define SWIGTYPE_p_wxDateEvent swig_types[24]
1459 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDropFilesEvent swig_types[26]
1461 #define SWIGTYPE_p_wxDuplexMode swig_types[27]
1462 #define SWIGTYPE_p_wxEraseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxEvent swig_types[29]
1464 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
1465 #define SWIGTYPE_p_wxFSFile swig_types[31]
1466 #define SWIGTYPE_p_wxFileHistory swig_types[32]
1467 #define SWIGTYPE_p_wxFileSystem swig_types[33]
1468 #define SWIGTYPE_p_wxFlexGridSizer swig_types[34]
1469 #define SWIGTYPE_p_wxFocusEvent swig_types[35]
1470 #define SWIGTYPE_p_wxFont swig_types[36]
1471 #define SWIGTYPE_p_wxGBSizerItem swig_types[37]
1472 #define SWIGTYPE_p_wxGIFHandler swig_types[38]
1473 #define SWIGTYPE_p_wxGridBagSizer swig_types[39]
1474 #define SWIGTYPE_p_wxGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxICOHandler swig_types[41]
1476 #define SWIGTYPE_p_wxIconizeEvent swig_types[42]
1477 #define SWIGTYPE_p_wxIdleEvent swig_types[43]
1478 #define SWIGTYPE_p_wxImage swig_types[44]
1479 #define SWIGTYPE_p_wxImageHandler swig_types[45]
1480 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
1481 #define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
1482 #define SWIGTYPE_p_wxJPEGHandler swig_types[48]
1483 #define SWIGTYPE_p_wxJoystickEvent swig_types[49]
1484 #define SWIGTYPE_p_wxKeyEvent swig_types[50]
1485 #define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
1486 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1487 #define SWIGTYPE_p_wxMemoryBuffer swig_types[53]
1488 #define SWIGTYPE_p_wxMenu swig_types[54]
1489 #define SWIGTYPE_p_wxMenuBar swig_types[55]
1490 #define SWIGTYPE_p_wxMenuEvent swig_types[56]
1491 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1492 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58]
1493 #define SWIGTYPE_p_wxMouseEvent swig_types[59]
1494 #define SWIGTYPE_p_wxMoveEvent swig_types[60]
1495 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61]
1496 #define SWIGTYPE_p_wxNcPaintEvent swig_types[62]
1497 #define SWIGTYPE_p_wxNotifyEvent swig_types[63]
1498 #define SWIGTYPE_p_wxObject swig_types[64]
1499 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1500 #define SWIGTYPE_p_wxPNGHandler swig_types[66]
1501 #define SWIGTYPE_p_wxPNMHandler swig_types[67]
1502 #define SWIGTYPE_p_wxPaintEvent swig_types[68]
1503 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
1504 #define SWIGTYPE_p_wxPaperSize swig_types[70]
1505 #define SWIGTYPE_p_wxPoint swig_types[71]
1506 #define SWIGTYPE_p_wxProcessEvent swig_types[72]
1507 #define SWIGTYPE_p_wxPyApp swig_types[73]
1508 #define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
1509 #define SWIGTYPE_p_wxPyEvent swig_types[75]
1510 #define SWIGTYPE_p_wxPyImageHandler swig_types[76]
1511 #define SWIGTYPE_p_wxPyProcess swig_types[77]
1512 #define SWIGTYPE_p_wxPySizer swig_types[78]
1513 #define SWIGTYPE_p_wxPyTimer swig_types[79]
1514 #define SWIGTYPE_p_wxPyValidator swig_types[80]
1515 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
1516 #define SWIGTYPE_p_wxRect swig_types[82]
1517 #define SWIGTYPE_p_wxScrollBar swig_types[83]
1518 #define SWIGTYPE_p_wxScrollEvent swig_types[84]
1519 #define SWIGTYPE_p_wxScrollWinEvent swig_types[85]
1520 #define SWIGTYPE_p_wxSetCursorEvent swig_types[86]
1521 #define SWIGTYPE_p_wxShowEvent swig_types[87]
1522 #define SWIGTYPE_p_wxSizeEvent swig_types[88]
1523 #define SWIGTYPE_p_wxSizer swig_types[89]
1524 #define SWIGTYPE_p_wxSizerItem swig_types[90]
1525 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[91]
1526 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92]
1527 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[93]
1528 #define SWIGTYPE_p_wxStyledTextEvent swig_types[94]
1529 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95]
1530 #define SWIGTYPE_p_wxSystemOptions swig_types[96]
1531 #define SWIGTYPE_p_wxTIFFHandler swig_types[97]
1532 #define SWIGTYPE_p_wxTimerEvent swig_types[98]
1533 #define SWIGTYPE_p_wxToolTip swig_types[99]
1534 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[100]
1535 #define SWIGTYPE_p_wxValidator swig_types[101]
1536 #define SWIGTYPE_p_wxWindow swig_types[102]
1537 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[103]
1538 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxXPMHandler swig_types[105]
1540 #define SWIGTYPE_ptrdiff_t swig_types[106]
1541 #define SWIGTYPE_std__ptrdiff_t swig_types[107]
1542 #define SWIGTYPE_unsigned_int swig_types[108]
1543 static swig_type_info *swig_types[110];
1544 static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};
1545 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1546 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1547
1548 /* -------- TYPES TABLE (END) -------- */
1549
1550
1551 /*-----------------------------------------------
1552 @(target):= _stc.so
1553 ------------------------------------------------*/
1554 #define SWIG_init init_stc
1555
1556 #define SWIG_name "_stc"
1557
1558 #include "wx/wxPython/wxPython.h"
1559 #include "wx/wxPython/pyclasses.h"
1560 #include <wx/stc/stc.h>
1561
1562
1563 static const wxString wxPySTCNameStr(wxSTCNameStr);
1564
1565 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1566 #define SWIG_From_int PyInt_FromLong
1567 /*@@*/
1568
1569
1570 #include <limits.h>
1571
1572
1573 SWIGINTERN int
1574 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1575 const char *errmsg)
1576 {
1577 if (value < min_value) {
1578 if (errmsg) {
1579 PyErr_Format(PyExc_OverflowError,
1580 "value %ld is less than '%s' minimum %ld",
1581 value, errmsg, min_value);
1582 }
1583 return 0;
1584 } else if (value > max_value) {
1585 if (errmsg) {
1586 PyErr_Format(PyExc_OverflowError,
1587 "value %ld is greater than '%s' maximum %ld",
1588 value, errmsg, max_value);
1589 }
1590 return 0;
1591 }
1592 return 1;
1593 }
1594
1595
1596 SWIGINTERN int
1597 SWIG_AsVal_long(PyObject* obj, long* val)
1598 {
1599 if (PyNumber_Check(obj)) {
1600 if (val) *val = PyInt_AsLong(obj);
1601 return 1;
1602 }
1603 else {
1604 SWIG_type_error("number", obj);
1605 }
1606 return 0;
1607 }
1608
1609
1610 #if INT_MAX != LONG_MAX
1611 SWIGINTERN int
1612 SWIG_AsVal_int(PyObject *obj, int *val)
1613 {
1614 const char* errmsg = val ? "int" : (char*)0;
1615 long v;
1616 if (SWIG_AsVal_long(obj, &v)) {
1617 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1618 if (val) *val = static_cast<int >(v);
1619 return 1;
1620 } else {
1621 return 0;
1622 }
1623 } else {
1624 PyErr_Clear();
1625 }
1626 if (val) {
1627 SWIG_type_error(errmsg, obj);
1628 }
1629 return 0;
1630 }
1631 #else
1632 SWIGINTERNINLINE int
1633 SWIG_AsVal_int(PyObject *obj, int *val)
1634 {
1635 return SWIG_AsVal_long(obj,(long*)val);
1636 }
1637 #endif
1638
1639
1640 SWIGINTERNINLINE int
1641 SWIG_As_int(PyObject* obj)
1642 {
1643 int v;
1644 if (!SWIG_AsVal_int(obj, &v)) {
1645 /*
1646 this is needed to make valgrind/purify happier.
1647 */
1648 memset((void*)&v, 0, sizeof(int));
1649 }
1650 return v;
1651 }
1652
1653
1654 SWIGINTERNINLINE long
1655 SWIG_As_long(PyObject* obj)
1656 {
1657 long v;
1658 if (!SWIG_AsVal_long(obj, &v)) {
1659 /*
1660 this is needed to make valgrind/purify happier.
1661 */
1662 memset((void*)&v, 0, sizeof(long));
1663 }
1664 return v;
1665 }
1666
1667
1668 SWIGINTERNINLINE int
1669 SWIG_Check_int(PyObject* obj)
1670 {
1671 return SWIG_AsVal_int(obj, (int*)0);
1672 }
1673
1674
1675 SWIGINTERNINLINE int
1676 SWIG_Check_long(PyObject* obj)
1677 {
1678 return SWIG_AsVal_long(obj, (long*)0);
1679 }
1680
1681
1682 SWIGINTERN int
1683 SWIG_AsVal_bool(PyObject *obj, bool *val)
1684 {
1685 if (obj == Py_True) {
1686 if (val) *val = true;
1687 return 1;
1688 }
1689 if (obj == Py_False) {
1690 if (val) *val = false;
1691 return 1;
1692 }
1693 int res = 0;
1694 if (SWIG_AsVal_int(obj, &res)) {
1695 if (val) *val = res ? true : false;
1696 return 1;
1697 } else {
1698 PyErr_Clear();
1699 }
1700 if (val) {
1701 SWIG_type_error("bool", obj);
1702 }
1703 return 0;
1704 }
1705
1706
1707 SWIGINTERNINLINE bool
1708 SWIG_As_bool(PyObject* obj)
1709 {
1710 bool v;
1711 if (!SWIG_AsVal_bool(obj, &v)) {
1712 /*
1713 this is needed to make valgrind/purify happier.
1714 */
1715 memset((void*)&v, 0, sizeof(bool));
1716 }
1717 return v;
1718 }
1719
1720
1721 SWIGINTERNINLINE int
1722 SWIG_Check_bool(PyObject* obj)
1723 {
1724 return SWIG_AsVal_bool(obj, (bool*)0);
1725 }
1726
1727
1728 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1729 PyObject* o2;
1730 PyObject* o3;
1731
1732 if (!target) {
1733 target = o;
1734 } else if (target == Py_None) {
1735 Py_DECREF(Py_None);
1736 target = o;
1737 } else {
1738 if (!PyTuple_Check(target)) {
1739 o2 = target;
1740 target = PyTuple_New(1);
1741 PyTuple_SetItem(target, 0, o2);
1742 }
1743 o3 = PyTuple_New(1);
1744 PyTuple_SetItem(o3, 0, o);
1745
1746 o2 = target;
1747 target = PySequence_Concat(o2, o3);
1748 Py_DECREF(o2);
1749 Py_DECREF(o3);
1750 }
1751 return target;
1752 }
1753
1754
1755
1756 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1757 SWIGINTERN int
1758 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1759 {
1760 static swig_type_info* pchar_info = 0;
1761 char* vptr = 0;
1762 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1763 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1764 if (cptr) *cptr = vptr;
1765 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1766 return SWIG_OLDOBJ;
1767 } else {
1768 PyErr_Clear();
1769 if (PyString_Check(obj)) {
1770 if (cptr) {
1771 *cptr = PyString_AS_STRING(obj);
1772 if (psize) {
1773 *psize = PyString_GET_SIZE(obj) + 1;
1774 }
1775 }
1776 return SWIG_PYSTR;
1777 }
1778 }
1779 if (cptr) {
1780 SWIG_type_error("char *", obj);
1781 }
1782 return 0;
1783 }
1784
1785
1786 SWIGINTERNINLINE int
1787 SWIG_AsCharPtr(PyObject *obj, char **val)
1788 {
1789 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1790 return 1;
1791 }
1792 if (val) {
1793 PyErr_Clear();
1794 SWIG_type_error("char *", obj);
1795 }
1796 return 0;
1797 }
1798
1799
1800 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1801 #define SWIG_From_long PyInt_FromLong
1802 /*@@*/
1803
1804 #ifdef __cplusplus
1805 extern "C" {
1806 #endif
1807 static int _wrap_STCNameStr_set(PyObject *) {
1808 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1809 return 1;
1810 }
1811
1812
1813 static PyObject *_wrap_STCNameStr_get(void) {
1814 PyObject *pyobj = NULL;
1815
1816 {
1817 #if wxUSE_UNICODE
1818 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1819 #else
1820 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1821 #endif
1822 }
1823 return pyobj;
1824 }
1825
1826
1827 static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj = NULL;
1829 wxWindow *arg1 = (wxWindow *) 0 ;
1830 int arg2 = (int) wxID_ANY ;
1831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1833 wxSize const &arg4_defvalue = wxDefaultSize ;
1834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1835 long arg5 = (long) 0 ;
1836 wxString const &arg6_defvalue = wxPySTCNameStr ;
1837 wxString *arg6 = (wxString *) &arg6_defvalue ;
1838 wxStyledTextCtrl *result;
1839 wxPoint temp3 ;
1840 wxSize temp4 ;
1841 bool temp6 = false ;
1842 PyObject * obj0 = 0 ;
1843 PyObject * obj1 = 0 ;
1844 PyObject * obj2 = 0 ;
1845 PyObject * obj3 = 0 ;
1846 PyObject * obj4 = 0 ;
1847 PyObject * obj5 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1854 if (SWIG_arg_fail(1)) SWIG_fail;
1855 if (obj1) {
1856 {
1857 arg2 = static_cast<int >(SWIG_As_int(obj1));
1858 if (SWIG_arg_fail(2)) SWIG_fail;
1859 }
1860 }
1861 if (obj2) {
1862 {
1863 arg3 = &temp3;
1864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1865 }
1866 }
1867 if (obj3) {
1868 {
1869 arg4 = &temp4;
1870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1871 }
1872 }
1873 if (obj4) {
1874 {
1875 arg5 = static_cast<long >(SWIG_As_long(obj4));
1876 if (SWIG_arg_fail(5)) SWIG_fail;
1877 }
1878 }
1879 if (obj5) {
1880 {
1881 arg6 = wxString_in_helper(obj5);
1882 if (arg6 == NULL) SWIG_fail;
1883 temp6 = true;
1884 }
1885 }
1886 {
1887 if (!wxPyCheckForApp()) SWIG_fail;
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1895 {
1896 if (temp6)
1897 delete arg6;
1898 }
1899 return resultobj;
1900 fail:
1901 {
1902 if (temp6)
1903 delete arg6;
1904 }
1905 return NULL;
1906 }
1907
1908
1909 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj = NULL;
1911 wxStyledTextCtrl *result;
1912 char *kwnames[] = {
1913 NULL
1914 };
1915
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
1917 {
1918 if (!wxPyCheckForApp()) SWIG_fail;
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj = NULL;
1934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1935 wxWindow *arg2 = (wxWindow *) 0 ;
1936 int arg3 = (int) wxID_ANY ;
1937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1939 wxSize const &arg5_defvalue = wxDefaultSize ;
1940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1941 long arg6 = (long) 0 ;
1942 wxString const &arg7_defvalue = wxSTCNameStr ;
1943 wxString *arg7 = (wxString *) &arg7_defvalue ;
1944 bool result;
1945 wxPoint temp4 ;
1946 wxSize temp5 ;
1947 bool temp7 = false ;
1948 PyObject * obj0 = 0 ;
1949 PyObject * obj1 = 0 ;
1950 PyObject * obj2 = 0 ;
1951 PyObject * obj3 = 0 ;
1952 PyObject * obj4 = 0 ;
1953 PyObject * obj5 = 0 ;
1954 PyObject * obj6 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1961 if (SWIG_arg_fail(1)) SWIG_fail;
1962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1963 if (SWIG_arg_fail(2)) SWIG_fail;
1964 if (obj2) {
1965 {
1966 arg3 = static_cast<int >(SWIG_As_int(obj2));
1967 if (SWIG_arg_fail(3)) SWIG_fail;
1968 }
1969 }
1970 if (obj3) {
1971 {
1972 arg4 = &temp4;
1973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1974 }
1975 }
1976 if (obj4) {
1977 {
1978 arg5 = &temp5;
1979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1980 }
1981 }
1982 if (obj5) {
1983 {
1984 arg6 = static_cast<long >(SWIG_As_long(obj5));
1985 if (SWIG_arg_fail(6)) SWIG_fail;
1986 }
1987 }
1988 if (obj6) {
1989 {
1990 arg7 = wxString_in_helper(obj6);
1991 if (arg7 == NULL) SWIG_fail;
1992 temp7 = true;
1993 }
1994 }
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 }
2002 {
2003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2004 }
2005 {
2006 if (temp7)
2007 delete arg7;
2008 }
2009 return resultobj;
2010 fail:
2011 {
2012 if (temp7)
2013 delete arg7;
2014 }
2015 return NULL;
2016 }
2017
2018
2019 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
2020 PyObject *resultobj = NULL;
2021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2022 wxString *arg2 = 0 ;
2023 bool temp2 = false ;
2024 PyObject * obj0 = 0 ;
2025 PyObject * obj1 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self",(char *) "text", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
2031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2032 if (SWIG_arg_fail(1)) SWIG_fail;
2033 {
2034 arg2 = wxString_in_helper(obj1);
2035 if (arg2 == NULL) SWIG_fail;
2036 temp2 = true;
2037 }
2038 {
2039 PyThreadState* __tstate = wxPyBeginAllowThreads();
2040 (arg1)->AddText((wxString const &)*arg2);
2041
2042 wxPyEndAllowThreads(__tstate);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 }
2045 Py_INCREF(Py_None); resultobj = Py_None;
2046 {
2047 if (temp2)
2048 delete arg2;
2049 }
2050 return resultobj;
2051 fail:
2052 {
2053 if (temp2)
2054 delete arg2;
2055 }
2056 return NULL;
2057 }
2058
2059
2060 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
2061 PyObject *resultobj = NULL;
2062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2063 wxMemoryBuffer *arg2 = 0 ;
2064 bool temp2 = false ;
2065 PyObject * obj0 = 0 ;
2066 PyObject * obj1 = 0 ;
2067 char *kwnames[] = {
2068 (char *) "self",(char *) "data", NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
2072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2073 if (SWIG_arg_fail(1)) SWIG_fail;
2074 {
2075 if (!PyString_Check(obj1)) {
2076 PyErr_SetString(PyExc_TypeError, "String buffer expected");
2077 SWIG_fail;
2078 }
2079 char* str = PyString_AS_STRING(obj1);
2080 int len = PyString_GET_SIZE(obj1);
2081 arg2 = new wxMemoryBuffer(len);
2082 temp2 = true;
2083 memcpy(arg2->GetData(), str, len);
2084 arg2->SetDataLen(len);
2085 }
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 Py_INCREF(Py_None); resultobj = Py_None;
2094 {
2095 if (temp2) delete arg2;
2096 }
2097 return resultobj;
2098 fail:
2099 {
2100 if (temp2) delete arg2;
2101 }
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj = NULL;
2108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2109 int arg2 ;
2110 wxString *arg3 = 0 ;
2111 bool temp3 = false ;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114 PyObject * obj2 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self",(char *) "pos",(char *) "text", NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2121 if (SWIG_arg_fail(1)) SWIG_fail;
2122 {
2123 arg2 = static_cast<int >(SWIG_As_int(obj1));
2124 if (SWIG_arg_fail(2)) SWIG_fail;
2125 }
2126 {
2127 arg3 = wxString_in_helper(obj2);
2128 if (arg3 == NULL) SWIG_fail;
2129 temp3 = true;
2130 }
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 (arg1)->InsertText(arg2,(wxString const &)*arg3);
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 Py_INCREF(Py_None); resultobj = Py_None;
2139 {
2140 if (temp3)
2141 delete arg3;
2142 }
2143 return resultobj;
2144 fail:
2145 {
2146 if (temp3)
2147 delete arg3;
2148 }
2149 return NULL;
2150 }
2151
2152
2153 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj = NULL;
2155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2156 PyObject * obj0 = 0 ;
2157 char *kwnames[] = {
2158 (char *) "self", NULL
2159 };
2160
2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
2162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2163 if (SWIG_arg_fail(1)) SWIG_fail;
2164 {
2165 PyThreadState* __tstate = wxPyBeginAllowThreads();
2166 (arg1)->ClearAll();
2167
2168 wxPyEndAllowThreads(__tstate);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 Py_INCREF(Py_None); resultobj = Py_None;
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj = NULL;
2180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2181 PyObject * obj0 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2188 if (SWIG_arg_fail(1)) SWIG_fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 (arg1)->ClearDocumentStyle();
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 Py_INCREF(Py_None); resultobj = Py_None;
2197 return resultobj;
2198 fail:
2199 return NULL;
2200 }
2201
2202
2203 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj = NULL;
2205 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2206 int result;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2214 if (SWIG_arg_fail(1)) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 result = (int)(arg1)->GetLength();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 {
2223 resultobj = SWIG_From_int(static_cast<int >(result));
2224 }
2225 return resultobj;
2226 fail:
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj = NULL;
2233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2234 int arg2 ;
2235 int result;
2236 PyObject * obj0 = 0 ;
2237 PyObject * obj1 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "pos", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2244 if (SWIG_arg_fail(1)) SWIG_fail;
2245 {
2246 arg2 = static_cast<int >(SWIG_As_int(obj1));
2247 if (SWIG_arg_fail(2)) SWIG_fail;
2248 }
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 result = (int)(arg1)->GetCharAt(arg2);
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 }
2256 {
2257 resultobj = SWIG_From_int(static_cast<int >(result));
2258 }
2259 return resultobj;
2260 fail:
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
2266 PyObject *resultobj = NULL;
2267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2268 int result;
2269 PyObject * obj0 = 0 ;
2270 char *kwnames[] = {
2271 (char *) "self", NULL
2272 };
2273
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2276 if (SWIG_arg_fail(1)) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = (int)(arg1)->GetCurrentPos();
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285 resultobj = SWIG_From_int(static_cast<int >(result));
2286 }
2287 return resultobj;
2288 fail:
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj = NULL;
2295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2296 int result;
2297 PyObject * obj0 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "self", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2304 if (SWIG_arg_fail(1)) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (int)(arg1)->GetAnchor();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 resultobj = SWIG_From_int(static_cast<int >(result));
2314 }
2315 return resultobj;
2316 fail:
2317 return NULL;
2318 }
2319
2320
2321 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj = NULL;
2323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2324 int arg2 ;
2325 int result;
2326 PyObject * obj0 = 0 ;
2327 PyObject * obj1 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self",(char *) "pos", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2334 if (SWIG_arg_fail(1)) SWIG_fail;
2335 {
2336 arg2 = static_cast<int >(SWIG_As_int(obj1));
2337 if (SWIG_arg_fail(2)) SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (int)(arg1)->GetStyleAt(arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 {
2347 resultobj = SWIG_From_int(static_cast<int >(result));
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj = NULL;
2357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2358 PyObject * obj0 = 0 ;
2359 char *kwnames[] = {
2360 (char *) "self", NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2365 if (SWIG_arg_fail(1)) SWIG_fail;
2366 {
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 (arg1)->Redo();
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 Py_INCREF(Py_None); resultobj = Py_None;
2374 return resultobj;
2375 fail:
2376 return NULL;
2377 }
2378
2379
2380 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj = NULL;
2382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2383 bool arg2 ;
2384 PyObject * obj0 = 0 ;
2385 PyObject * obj1 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self",(char *) "collectUndo", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2392 if (SWIG_arg_fail(1)) SWIG_fail;
2393 {
2394 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
2395 if (SWIG_arg_fail(2)) SWIG_fail;
2396 }
2397 {
2398 PyThreadState* __tstate = wxPyBeginAllowThreads();
2399 (arg1)->SetUndoCollection(arg2);
2400
2401 wxPyEndAllowThreads(__tstate);
2402 if (PyErr_Occurred()) SWIG_fail;
2403 }
2404 Py_INCREF(Py_None); resultobj = Py_None;
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj = NULL;
2413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2414 PyObject * obj0 = 0 ;
2415 char *kwnames[] = {
2416 (char *) "self", NULL
2417 };
2418
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2421 if (SWIG_arg_fail(1)) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 (arg1)->SelectAll();
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 Py_INCREF(Py_None); resultobj = Py_None;
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj = NULL;
2438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2439 PyObject * obj0 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(1)) SWIG_fail;
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 (arg1)->SetSavePoint();
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 Py_INCREF(Py_None); resultobj = Py_None;
2455 return resultobj;
2456 fail:
2457 return NULL;
2458 }
2459
2460
2461 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
2462 PyObject *resultobj = NULL;
2463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2464 int arg2 ;
2465 int arg3 ;
2466 wxMemoryBuffer result;
2467 PyObject * obj0 = 0 ;
2468 PyObject * obj1 = 0 ;
2469 PyObject * obj2 = 0 ;
2470 char *kwnames[] = {
2471 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2476 if (SWIG_arg_fail(1)) SWIG_fail;
2477 {
2478 arg2 = static_cast<int >(SWIG_As_int(obj1));
2479 if (SWIG_arg_fail(2)) SWIG_fail;
2480 }
2481 {
2482 arg3 = static_cast<int >(SWIG_As_int(obj2));
2483 if (SWIG_arg_fail(3)) SWIG_fail;
2484 }
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = (arg1)->GetStyledText(arg2,arg3);
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2494 }
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj = NULL;
2503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2504 bool result;
2505 PyObject * obj0 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2512 if (SWIG_arg_fail(1)) SWIG_fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (bool)(arg1)->CanRedo();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2522 }
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj = NULL;
2531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2532 int arg2 ;
2533 int result;
2534 PyObject * obj0 = 0 ;
2535 PyObject * obj1 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self",(char *) "handle", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2542 if (SWIG_arg_fail(1)) SWIG_fail;
2543 {
2544 arg2 = static_cast<int >(SWIG_As_int(obj1));
2545 if (SWIG_arg_fail(2)) SWIG_fail;
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = (int)(arg1)->MarkerLineFromHandle(arg2);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 {
2555 resultobj = SWIG_From_int(static_cast<int >(result));
2556 }
2557 return resultobj;
2558 fail:
2559 return NULL;
2560 }
2561
2562
2563 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj = NULL;
2565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2566 int arg2 ;
2567 PyObject * obj0 = 0 ;
2568 PyObject * obj1 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self",(char *) "handle", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2575 if (SWIG_arg_fail(1)) SWIG_fail;
2576 {
2577 arg2 = static_cast<int >(SWIG_As_int(obj1));
2578 if (SWIG_arg_fail(2)) SWIG_fail;
2579 }
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 (arg1)->MarkerDeleteHandle(arg2);
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2587 Py_INCREF(Py_None); resultobj = Py_None;
2588 return resultobj;
2589 fail:
2590 return NULL;
2591 }
2592
2593
2594 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj = NULL;
2596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2597 bool result;
2598 PyObject * obj0 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2605 if (SWIG_arg_fail(1)) SWIG_fail;
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (bool)(arg1)->GetUndoCollection();
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2613 {
2614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2615 }
2616 return resultobj;
2617 fail:
2618 return NULL;
2619 }
2620
2621
2622 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj = NULL;
2624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2625 int result;
2626 PyObject * obj0 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2633 if (SWIG_arg_fail(1)) SWIG_fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (int)(arg1)->GetViewWhiteSpace();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 {
2642 resultobj = SWIG_From_int(static_cast<int >(result));
2643 }
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj = NULL;
2652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2653 int arg2 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "viewWS", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2662 if (SWIG_arg_fail(1)) SWIG_fail;
2663 {
2664 arg2 = static_cast<int >(SWIG_As_int(obj1));
2665 if (SWIG_arg_fail(2)) SWIG_fail;
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->SetViewWhiteSpace(arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj = NULL;
2683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2684 wxPoint arg2 ;
2685 int result;
2686 PyObject * obj0 = 0 ;
2687 PyObject * obj1 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self",(char *) "pt", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2694 if (SWIG_arg_fail(1)) SWIG_fail;
2695 {
2696 wxPoint * argp;
2697 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2698 if (SWIG_arg_fail(2)) SWIG_fail;
2699 if (argp == NULL) {
2700 SWIG_null_ref("wxPoint");
2701 }
2702 if (SWIG_arg_fail(2)) SWIG_fail;
2703 arg2 = *argp;
2704 }
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = (int)(arg1)->PositionFromPoint(arg2);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 {
2713 resultobj = SWIG_From_int(static_cast<int >(result));
2714 }
2715 return resultobj;
2716 fail:
2717 return NULL;
2718 }
2719
2720
2721 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
2722 PyObject *resultobj = NULL;
2723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2724 int arg2 ;
2725 int arg3 ;
2726 int result;
2727 PyObject * obj0 = 0 ;
2728 PyObject * obj1 = 0 ;
2729 PyObject * obj2 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "self",(char *) "x",(char *) "y", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2736 if (SWIG_arg_fail(1)) SWIG_fail;
2737 {
2738 arg2 = static_cast<int >(SWIG_As_int(obj1));
2739 if (SWIG_arg_fail(2)) SWIG_fail;
2740 }
2741 {
2742 arg3 = static_cast<int >(SWIG_As_int(obj2));
2743 if (SWIG_arg_fail(3)) SWIG_fail;
2744 }
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 {
2753 resultobj = SWIG_From_int(static_cast<int >(result));
2754 }
2755 return resultobj;
2756 fail:
2757 return NULL;
2758 }
2759
2760
2761 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj = NULL;
2763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2764 int arg2 ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "line", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2773 if (SWIG_arg_fail(1)) SWIG_fail;
2774 {
2775 arg2 = static_cast<int >(SWIG_As_int(obj1));
2776 if (SWIG_arg_fail(2)) SWIG_fail;
2777 }
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->GotoLine(arg2);
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj = NULL;
2794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2795 int arg2 ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "pos", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2804 if (SWIG_arg_fail(1)) SWIG_fail;
2805 {
2806 arg2 = static_cast<int >(SWIG_As_int(obj1));
2807 if (SWIG_arg_fail(2)) SWIG_fail;
2808 }
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 (arg1)->GotoPos(arg2);
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 }
2816 Py_INCREF(Py_None); resultobj = Py_None;
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj = NULL;
2825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2826 int arg2 ;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self",(char *) "posAnchor", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2835 if (SWIG_arg_fail(1)) SWIG_fail;
2836 {
2837 arg2 = static_cast<int >(SWIG_As_int(obj1));
2838 if (SWIG_arg_fail(2)) SWIG_fail;
2839 }
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 (arg1)->SetAnchor(arg2);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 Py_INCREF(Py_None); resultobj = Py_None;
2848 return resultobj;
2849 fail:
2850 return NULL;
2851 }
2852
2853
2854 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
2855 PyObject *resultobj = NULL;
2856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2857 int *arg2 = (int *) 0 ;
2858 wxString result;
2859 int temp2 ;
2860 int res2 = 0 ;
2861 PyObject * obj0 = 0 ;
2862 char *kwnames[] = {
2863 (char *) "self", NULL
2864 };
2865
2866 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2869 if (SWIG_arg_fail(1)) SWIG_fail;
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 result = (arg1)->GetCurLine(arg2);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) SWIG_fail;
2876 }
2877 {
2878 #if wxUSE_UNICODE
2879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2880 #else
2881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2882 #endif
2883 }
2884 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2885 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj = NULL;
2894 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2895 int result;
2896 PyObject * obj0 = 0 ;
2897 char *kwnames[] = {
2898 (char *) "self", NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2903 if (SWIG_arg_fail(1)) SWIG_fail;
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 result = (int)(arg1)->GetEndStyled();
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 {
2912 resultobj = SWIG_From_int(static_cast<int >(result));
2913 }
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj = NULL;
2922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2923 int arg2 ;
2924 PyObject * obj0 = 0 ;
2925 PyObject * obj1 = 0 ;
2926 char *kwnames[] = {
2927 (char *) "self",(char *) "eolMode", NULL
2928 };
2929
2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2932 if (SWIG_arg_fail(1)) SWIG_fail;
2933 {
2934 arg2 = static_cast<int >(SWIG_As_int(obj1));
2935 if (SWIG_arg_fail(2)) SWIG_fail;
2936 }
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 (arg1)->ConvertEOLs(arg2);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948 }
2949
2950
2951 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj = NULL;
2953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2954 int result;
2955 PyObject * obj0 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "self", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2962 if (SWIG_arg_fail(1)) SWIG_fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 result = (int)(arg1)->GetEOLMode();
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 {
2971 resultobj = SWIG_From_int(static_cast<int >(result));
2972 }
2973 return resultobj;
2974 fail:
2975 return NULL;
2976 }
2977
2978
2979 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2980 PyObject *resultobj = NULL;
2981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2982 int arg2 ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self",(char *) "eolMode", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2991 if (SWIG_arg_fail(1)) SWIG_fail;
2992 {
2993 arg2 = static_cast<int >(SWIG_As_int(obj1));
2994 if (SWIG_arg_fail(2)) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->SetEOLMode(arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj = NULL;
3012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3013 int arg2 ;
3014 int arg3 ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "pos",(char *) "mask", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3024 if (SWIG_arg_fail(1)) SWIG_fail;
3025 {
3026 arg2 = static_cast<int >(SWIG_As_int(obj1));
3027 if (SWIG_arg_fail(2)) SWIG_fail;
3028 }
3029 {
3030 arg3 = static_cast<int >(SWIG_As_int(obj2));
3031 if (SWIG_arg_fail(3)) SWIG_fail;
3032 }
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 (arg1)->StartStyling(arg2,arg3);
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 Py_INCREF(Py_None); resultobj = Py_None;
3041 return resultobj;
3042 fail:
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
3048 PyObject *resultobj = NULL;
3049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3050 int arg2 ;
3051 int arg3 ;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054 PyObject * obj2 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self",(char *) "length",(char *) "style", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3061 if (SWIG_arg_fail(1)) SWIG_fail;
3062 {
3063 arg2 = static_cast<int >(SWIG_As_int(obj1));
3064 if (SWIG_arg_fail(2)) SWIG_fail;
3065 }
3066 {
3067 arg3 = static_cast<int >(SWIG_As_int(obj2));
3068 if (SWIG_arg_fail(3)) SWIG_fail;
3069 }
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 (arg1)->SetStyling(arg2,arg3);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 Py_INCREF(Py_None); resultobj = Py_None;
3078 return resultobj;
3079 fail:
3080 return NULL;
3081 }
3082
3083
3084 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
3085 PyObject *resultobj = NULL;
3086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3087 bool result;
3088 PyObject * obj0 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
3094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3095 if (SWIG_arg_fail(1)) SWIG_fail;
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 result = (bool)(arg1)->GetBufferedDraw();
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 {
3104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3105 }
3106 return resultobj;
3107 fail:
3108 return NULL;
3109 }
3110
3111
3112 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
3113 PyObject *resultobj = NULL;
3114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3115 bool arg2 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "self",(char *) "buffered", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
3123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3124 if (SWIG_arg_fail(1)) SWIG_fail;
3125 {
3126 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3127 if (SWIG_arg_fail(2)) SWIG_fail;
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 (arg1)->SetBufferedDraw(arg2);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 Py_INCREF(Py_None); resultobj = Py_None;
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3144 PyObject *resultobj = NULL;
3145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3146 int arg2 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "tabWidth", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
3154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3155 if (SWIG_arg_fail(1)) SWIG_fail;
3156 {
3157 arg2 = static_cast<int >(SWIG_As_int(obj1));
3158 if (SWIG_arg_fail(2)) SWIG_fail;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 (arg1)->SetTabWidth(arg2);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 Py_INCREF(Py_None); resultobj = Py_None;
3168 return resultobj;
3169 fail:
3170 return NULL;
3171 }
3172
3173
3174 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj = NULL;
3176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3177 int result;
3178 PyObject * obj0 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (int)(arg1)->GetTabWidth();
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 {
3194 resultobj = SWIG_From_int(static_cast<int >(result));
3195 }
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj = NULL;
3204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3205 int arg2 ;
3206 PyObject * obj0 = 0 ;
3207 PyObject * obj1 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self",(char *) "codePage", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail;
3215 {
3216 arg2 = static_cast<int >(SWIG_As_int(obj1));
3217 if (SWIG_arg_fail(2)) SWIG_fail;
3218 }
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 (arg1)->SetCodePage(arg2);
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 Py_INCREF(Py_None); resultobj = Py_None;
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj = NULL;
3235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3236 int arg2 ;
3237 int arg3 ;
3238 wxColour const &arg4_defvalue = wxNullColour ;
3239 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3240 wxColour const &arg5_defvalue = wxNullColour ;
3241 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3242 wxColour temp4 ;
3243 wxColour temp5 ;
3244 PyObject * obj0 = 0 ;
3245 PyObject * obj1 = 0 ;
3246 PyObject * obj2 = 0 ;
3247 PyObject * obj3 = 0 ;
3248 PyObject * obj4 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail;
3256 {
3257 arg2 = static_cast<int >(SWIG_As_int(obj1));
3258 if (SWIG_arg_fail(2)) SWIG_fail;
3259 }
3260 {
3261 arg3 = static_cast<int >(SWIG_As_int(obj2));
3262 if (SWIG_arg_fail(3)) SWIG_fail;
3263 }
3264 if (obj3) {
3265 {
3266 arg4 = &temp4;
3267 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3268 }
3269 }
3270 if (obj4) {
3271 {
3272 arg5 = &temp5;
3273 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3274 }
3275 }
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 Py_INCREF(Py_None); resultobj = Py_None;
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj = NULL;
3292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3293 int arg2 ;
3294 wxColour *arg3 = 0 ;
3295 wxColour temp3 ;
3296 PyObject * obj0 = 0 ;
3297 PyObject * obj1 = 0 ;
3298 PyObject * obj2 = 0 ;
3299 char *kwnames[] = {
3300 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
3301 };
3302
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3305 if (SWIG_arg_fail(1)) SWIG_fail;
3306 {
3307 arg2 = static_cast<int >(SWIG_As_int(obj1));
3308 if (SWIG_arg_fail(2)) SWIG_fail;
3309 }
3310 {
3311 arg3 = &temp3;
3312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3313 }
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
3321 Py_INCREF(Py_None); resultobj = Py_None;
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj = NULL;
3330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3331 int arg2 ;
3332 wxColour *arg3 = 0 ;
3333 wxColour temp3 ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail;
3344 {
3345 arg2 = static_cast<int >(SWIG_As_int(obj1));
3346 if (SWIG_arg_fail(2)) SWIG_fail;
3347 }
3348 {
3349 arg3 = &temp3;
3350 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363 }
3364
3365
3366 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj = NULL;
3368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3369 int arg2 ;
3370 int arg3 ;
3371 int result;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
3386 {
3387 arg3 = static_cast<int >(SWIG_As_int(obj2));
3388 if (SWIG_arg_fail(3)) SWIG_fail;
3389 }
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (int)(arg1)->MarkerAdd(arg2,arg3);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 {
3398 resultobj = SWIG_From_int(static_cast<int >(result));
3399 }
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj = NULL;
3408 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3409 int arg2 ;
3410 int arg3 ;
3411 PyObject * obj0 = 0 ;
3412 PyObject * obj1 = 0 ;
3413 PyObject * obj2 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
3421 {
3422 arg2 = static_cast<int >(SWIG_As_int(obj1));
3423 if (SWIG_arg_fail(2)) SWIG_fail;
3424 }
3425 {
3426 arg3 = static_cast<int >(SWIG_As_int(obj2));
3427 if (SWIG_arg_fail(3)) SWIG_fail;
3428 }
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 (arg1)->MarkerDelete(arg2,arg3);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 Py_INCREF(Py_None); resultobj = Py_None;
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj = NULL;
3445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3446 int arg2 ;
3447 PyObject * obj0 = 0 ;
3448 PyObject * obj1 = 0 ;
3449 char *kwnames[] = {
3450 (char *) "self",(char *) "markerNumber", NULL
3451 };
3452
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3455 if (SWIG_arg_fail(1)) SWIG_fail;
3456 {
3457 arg2 = static_cast<int >(SWIG_As_int(obj1));
3458 if (SWIG_arg_fail(2)) SWIG_fail;
3459 }
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 (arg1)->MarkerDeleteAll(arg2);
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 Py_INCREF(Py_None); resultobj = Py_None;
3468 return resultobj;
3469 fail:
3470 return NULL;
3471 }
3472
3473
3474 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj = NULL;
3476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3477 int arg2 ;
3478 int result;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "line", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail;
3488 {
3489 arg2 = static_cast<int >(SWIG_As_int(obj1));
3490 if (SWIG_arg_fail(2)) SWIG_fail;
3491 }
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 result = (int)(arg1)->MarkerGet(arg2);
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 {
3500 resultobj = SWIG_From_int(static_cast<int >(result));
3501 }
3502 return resultobj;
3503 fail:
3504 return NULL;
3505 }
3506
3507
3508 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
3509 PyObject *resultobj = NULL;
3510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3511 int arg2 ;
3512 int arg3 ;
3513 int result;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3516 PyObject * obj2 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3523 if (SWIG_arg_fail(1)) SWIG_fail;
3524 {
3525 arg2 = static_cast<int >(SWIG_As_int(obj1));
3526 if (SWIG_arg_fail(2)) SWIG_fail;
3527 }
3528 {
3529 arg3 = static_cast<int >(SWIG_As_int(obj2));
3530 if (SWIG_arg_fail(3)) SWIG_fail;
3531 }
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 result = (int)(arg1)->MarkerNext(arg2,arg3);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 {
3540 resultobj = SWIG_From_int(static_cast<int >(result));
3541 }
3542 return resultobj;
3543 fail:
3544 return NULL;
3545 }
3546
3547
3548 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj = NULL;
3550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3551 int arg2 ;
3552 int arg3 ;
3553 int result;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 PyObject * obj2 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail;
3564 {
3565 arg2 = static_cast<int >(SWIG_As_int(obj1));
3566 if (SWIG_arg_fail(2)) SWIG_fail;
3567 }
3568 {
3569 arg3 = static_cast<int >(SWIG_As_int(obj2));
3570 if (SWIG_arg_fail(3)) SWIG_fail;
3571 }
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
3575
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
3579 {
3580 resultobj = SWIG_From_int(static_cast<int >(result));
3581 }
3582 return resultobj;
3583 fail:
3584 return NULL;
3585 }
3586
3587
3588 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
3589 PyObject *resultobj = NULL;
3590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3591 int arg2 ;
3592 wxBitmap *arg3 = 0 ;
3593 PyObject * obj0 = 0 ;
3594 PyObject * obj1 = 0 ;
3595 PyObject * obj2 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail;
3603 {
3604 arg2 = static_cast<int >(SWIG_As_int(obj1));
3605 if (SWIG_arg_fail(2)) SWIG_fail;
3606 }
3607 {
3608 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3609 if (SWIG_arg_fail(3)) SWIG_fail;
3610 if (arg3 == NULL) {
3611 SWIG_null_ref("wxBitmap");
3612 }
3613 if (SWIG_arg_fail(3)) SWIG_fail;
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 Py_INCREF(Py_None); resultobj = Py_None;
3623 return resultobj;
3624 fail:
3625 return NULL;
3626 }
3627
3628
3629 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj = NULL;
3631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3632 int arg2 ;
3633 int arg3 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 PyObject * obj2 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self",(char *) "margin",(char *) "marginType", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail;
3644 {
3645 arg2 = static_cast<int >(SWIG_As_int(obj1));
3646 if (SWIG_arg_fail(2)) SWIG_fail;
3647 }
3648 {
3649 arg3 = static_cast<int >(SWIG_As_int(obj2));
3650 if (SWIG_arg_fail(3)) SWIG_fail;
3651 }
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 (arg1)->SetMarginType(arg2,arg3);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 return resultobj;
3661 fail:
3662 return NULL;
3663 }
3664
3665
3666 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj = NULL;
3668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3669 int arg2 ;
3670 int result;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "self",(char *) "margin", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3679 if (SWIG_arg_fail(1)) SWIG_fail;
3680 {
3681 arg2 = static_cast<int >(SWIG_As_int(obj1));
3682 if (SWIG_arg_fail(2)) SWIG_fail;
3683 }
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (int)(arg1)->GetMarginType(arg2);
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = SWIG_From_int(static_cast<int >(result));
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj = NULL;
3702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3703 int arg2 ;
3704 int arg3 ;
3705 PyObject * obj0 = 0 ;
3706 PyObject * obj1 = 0 ;
3707 PyObject * obj2 = 0 ;
3708 char *kwnames[] = {
3709 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
3710 };
3711
3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3714 if (SWIG_arg_fail(1)) SWIG_fail;
3715 {
3716 arg2 = static_cast<int >(SWIG_As_int(obj1));
3717 if (SWIG_arg_fail(2)) SWIG_fail;
3718 }
3719 {
3720 arg3 = static_cast<int >(SWIG_As_int(obj2));
3721 if (SWIG_arg_fail(3)) SWIG_fail;
3722 }
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 (arg1)->SetMarginWidth(arg2,arg3);
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 Py_INCREF(Py_None); resultobj = Py_None;
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj = NULL;
3739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3740 int arg2 ;
3741 int result;
3742 PyObject * obj0 = 0 ;
3743 PyObject * obj1 = 0 ;
3744 char *kwnames[] = {
3745 (char *) "self",(char *) "margin", NULL
3746 };
3747
3748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3750 if (SWIG_arg_fail(1)) SWIG_fail;
3751 {
3752 arg2 = static_cast<int >(SWIG_As_int(obj1));
3753 if (SWIG_arg_fail(2)) SWIG_fail;
3754 }
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 result = (int)(arg1)->GetMarginWidth(arg2);
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 {
3763 resultobj = SWIG_From_int(static_cast<int >(result));
3764 }
3765 return resultobj;
3766 fail:
3767 return NULL;
3768 }
3769
3770
3771 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj = NULL;
3773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3774 int arg2 ;
3775 int arg3 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778 PyObject * obj2 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "margin",(char *) "mask", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail;
3786 {
3787 arg2 = static_cast<int >(SWIG_As_int(obj1));
3788 if (SWIG_arg_fail(2)) SWIG_fail;
3789 }
3790 {
3791 arg3 = static_cast<int >(SWIG_As_int(obj2));
3792 if (SWIG_arg_fail(3)) SWIG_fail;
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetMarginMask(arg2,arg3);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 return resultobj;
3803 fail:
3804 return NULL;
3805 }
3806
3807
3808 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj = NULL;
3810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3811 int arg2 ;
3812 int result;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815 char *kwnames[] = {
3816 (char *) "self",(char *) "margin", NULL
3817 };
3818
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3821 if (SWIG_arg_fail(1)) SWIG_fail;
3822 {
3823 arg2 = static_cast<int >(SWIG_As_int(obj1));
3824 if (SWIG_arg_fail(2)) SWIG_fail;
3825 }
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (int)(arg1)->GetMarginMask(arg2);
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 {
3834 resultobj = SWIG_From_int(static_cast<int >(result));
3835 }
3836 return resultobj;
3837 fail:
3838 return NULL;
3839 }
3840
3841
3842 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj = NULL;
3844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3845 int arg2 ;
3846 bool arg3 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 PyObject * obj2 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3856 if (SWIG_arg_fail(1)) SWIG_fail;
3857 {
3858 arg2 = static_cast<int >(SWIG_As_int(obj1));
3859 if (SWIG_arg_fail(2)) SWIG_fail;
3860 }
3861 {
3862 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3863 if (SWIG_arg_fail(3)) SWIG_fail;
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 (arg1)->SetMarginSensitive(arg2,arg3);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 Py_INCREF(Py_None); resultobj = Py_None;
3873 return resultobj;
3874 fail:
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj = NULL;
3881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3882 int arg2 ;
3883 bool result;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "self",(char *) "margin", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3892 if (SWIG_arg_fail(1)) SWIG_fail;
3893 {
3894 arg2 = static_cast<int >(SWIG_As_int(obj1));
3895 if (SWIG_arg_fail(2)) SWIG_fail;
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (bool)(arg1)->GetMarginSensitive(arg2);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 {
3905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3906 }
3907 return resultobj;
3908 fail:
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj = NULL;
3915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3916 PyObject * obj0 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 (arg1)->StyleClearAll();
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj = NULL;
3940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3941 int arg2 ;
3942 wxColour *arg3 = 0 ;
3943 wxColour temp3 ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "style",(char *) "fore", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 {
3955 arg2 = static_cast<int >(SWIG_As_int(obj1));
3956 if (SWIG_arg_fail(2)) SWIG_fail;
3957 }
3958 {
3959 arg3 = &temp3;
3960 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3961 }
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 Py_INCREF(Py_None); resultobj = Py_None;
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj = NULL;
3978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3979 int arg2 ;
3980 wxColour *arg3 = 0 ;
3981 wxColour temp3 ;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 PyObject * obj2 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "self",(char *) "style",(char *) "back", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3991 if (SWIG_arg_fail(1)) SWIG_fail;
3992 {
3993 arg2 = static_cast<int >(SWIG_As_int(obj1));
3994 if (SWIG_arg_fail(2)) SWIG_fail;
3995 }
3996 {
3997 arg3 = &temp3;
3998 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj = NULL;
4016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4017 int arg2 ;
4018 bool arg3 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 PyObject * obj2 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "style",(char *) "bold", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
4027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail;
4029 {
4030 arg2 = static_cast<int >(SWIG_As_int(obj1));
4031 if (SWIG_arg_fail(2)) SWIG_fail;
4032 }
4033 {
4034 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4035 if (SWIG_arg_fail(3)) SWIG_fail;
4036 }
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 (arg1)->StyleSetBold(arg2,arg3);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj = NULL;
4053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4054 int arg2 ;
4055 bool arg3 ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "style",(char *) "italic", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
4064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4065 if (SWIG_arg_fail(1)) SWIG_fail;
4066 {
4067 arg2 = static_cast<int >(SWIG_As_int(obj1));
4068 if (SWIG_arg_fail(2)) SWIG_fail;
4069 }
4070 {
4071 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4072 if (SWIG_arg_fail(3)) SWIG_fail;
4073 }
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 (arg1)->StyleSetItalic(arg2,arg3);
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 Py_INCREF(Py_None); resultobj = Py_None;
4082 return resultobj;
4083 fail:
4084 return NULL;
4085 }
4086
4087
4088 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj = NULL;
4090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4091 int arg2 ;
4092 int arg3 ;
4093 PyObject * obj0 = 0 ;
4094 PyObject * obj1 = 0 ;
4095 PyObject * obj2 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4102 if (SWIG_arg_fail(1)) SWIG_fail;
4103 {
4104 arg2 = static_cast<int >(SWIG_As_int(obj1));
4105 if (SWIG_arg_fail(2)) SWIG_fail;
4106 }
4107 {
4108 arg3 = static_cast<int >(SWIG_As_int(obj2));
4109 if (SWIG_arg_fail(3)) SWIG_fail;
4110 }
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 (arg1)->StyleSetSize(arg2,arg3);
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 Py_INCREF(Py_None); resultobj = Py_None;
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj = NULL;
4127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4128 int arg2 ;
4129 wxString *arg3 = 0 ;
4130 bool temp3 = false ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 PyObject * obj2 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self",(char *) "style",(char *) "fontName", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
4139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4140 if (SWIG_arg_fail(1)) SWIG_fail;
4141 {
4142 arg2 = static_cast<int >(SWIG_As_int(obj1));
4143 if (SWIG_arg_fail(2)) SWIG_fail;
4144 }
4145 {
4146 arg3 = wxString_in_helper(obj2);
4147 if (arg3 == NULL) SWIG_fail;
4148 temp3 = true;
4149 }
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 Py_INCREF(Py_None); resultobj = Py_None;
4158 {
4159 if (temp3)
4160 delete arg3;
4161 }
4162 return resultobj;
4163 fail:
4164 {
4165 if (temp3)
4166 delete arg3;
4167 }
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj = NULL;
4174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4175 int arg2 ;
4176 bool arg3 ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "style",(char *) "filled", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail;
4187 {
4188 arg2 = static_cast<int >(SWIG_As_int(obj1));
4189 if (SWIG_arg_fail(2)) SWIG_fail;
4190 }
4191 {
4192 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4193 if (SWIG_arg_fail(3)) SWIG_fail;
4194 }
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 (arg1)->StyleSetEOLFilled(arg2,arg3);
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 Py_INCREF(Py_None); resultobj = Py_None;
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj = NULL;
4211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4212 PyObject * obj0 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4219 if (SWIG_arg_fail(1)) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 (arg1)->StyleResetDefault();
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 Py_INCREF(Py_None); resultobj = Py_None;
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj = NULL;
4236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4237 int arg2 ;
4238 bool arg3 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 PyObject * obj2 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self",(char *) "style",(char *) "underline", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail;
4249 {
4250 arg2 = static_cast<int >(SWIG_As_int(obj1));
4251 if (SWIG_arg_fail(2)) SWIG_fail;
4252 }
4253 {
4254 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4255 if (SWIG_arg_fail(3)) SWIG_fail;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->StyleSetUnderline(arg2,arg3);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 Py_INCREF(Py_None); resultobj = Py_None;
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj = NULL;
4273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4274 int arg2 ;
4275 int arg3 ;
4276 PyObject * obj0 = 0 ;
4277 PyObject * obj1 = 0 ;
4278 PyObject * obj2 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "style",(char *) "caseForce", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4285 if (SWIG_arg_fail(1)) SWIG_fail;
4286 {
4287 arg2 = static_cast<int >(SWIG_As_int(obj1));
4288 if (SWIG_arg_fail(2)) SWIG_fail;
4289 }
4290 {
4291 arg3 = static_cast<int >(SWIG_As_int(obj2));
4292 if (SWIG_arg_fail(3)) SWIG_fail;
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 (arg1)->StyleSetCase(arg2,arg3);
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 Py_INCREF(Py_None); resultobj = Py_None;
4302 return resultobj;
4303 fail:
4304 return NULL;
4305 }
4306
4307
4308 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
4309 PyObject *resultobj = NULL;
4310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4311 int arg2 ;
4312 bool arg3 ;
4313 PyObject * obj0 = 0 ;
4314 PyObject * obj1 = 0 ;
4315 PyObject * obj2 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "style",(char *) "hotspot", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 {
4324 arg2 = static_cast<int >(SWIG_As_int(obj1));
4325 if (SWIG_arg_fail(2)) SWIG_fail;
4326 }
4327 {
4328 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4329 if (SWIG_arg_fail(3)) SWIG_fail;
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->StyleSetHotSpot(arg2,arg3);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 Py_INCREF(Py_None); resultobj = Py_None;
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = NULL;
4347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4348 bool arg2 ;
4349 wxColour *arg3 = 0 ;
4350 wxColour temp3 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 PyObject * obj2 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail;
4361 {
4362 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4363 if (SWIG_arg_fail(2)) SWIG_fail;
4364 }
4365 {
4366 arg3 = &temp3;
4367 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4368 }
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 Py_INCREF(Py_None); resultobj = Py_None;
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj = NULL;
4385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4386 bool arg2 ;
4387 wxColour *arg3 = 0 ;
4388 wxColour temp3 ;
4389 PyObject * obj0 = 0 ;
4390 PyObject * obj1 = 0 ;
4391 PyObject * obj2 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4398 if (SWIG_arg_fail(1)) SWIG_fail;
4399 {
4400 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4401 if (SWIG_arg_fail(2)) SWIG_fail;
4402 }
4403 {
4404 arg3 = &temp3;
4405 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4406 }
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 Py_INCREF(Py_None); resultobj = Py_None;
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj = NULL;
4423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4424 wxColour *arg2 = 0 ;
4425 wxColour temp2 ;
4426 PyObject * obj0 = 0 ;
4427 PyObject * obj1 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self",(char *) "fore", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail;
4435 {
4436 arg2 = &temp2;
4437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 (arg1)->SetCaretForeground((wxColour const &)*arg2);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 Py_INCREF(Py_None); resultobj = Py_None;
4447 return resultobj;
4448 fail:
4449 return NULL;
4450 }
4451
4452
4453 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj = NULL;
4455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4456 int arg2 ;
4457 int arg3 ;
4458 int arg4 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
4462 PyObject * obj3 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail;
4470 {
4471 arg2 = static_cast<int >(SWIG_As_int(obj1));
4472 if (SWIG_arg_fail(2)) SWIG_fail;
4473 }
4474 {
4475 arg3 = static_cast<int >(SWIG_As_int(obj2));
4476 if (SWIG_arg_fail(3)) SWIG_fail;
4477 }
4478 {
4479 arg4 = static_cast<int >(SWIG_As_int(obj3));
4480 if (SWIG_arg_fail(4)) SWIG_fail;
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = NULL;
4498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4499 int arg2 ;
4500 int arg3 ;
4501 PyObject * obj0 = 0 ;
4502 PyObject * obj1 = 0 ;
4503 PyObject * obj2 = 0 ;
4504 char *kwnames[] = {
4505 (char *) "self",(char *) "key",(char *) "modifiers", NULL
4506 };
4507
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
4509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4510 if (SWIG_arg_fail(1)) SWIG_fail;
4511 {
4512 arg2 = static_cast<int >(SWIG_As_int(obj1));
4513 if (SWIG_arg_fail(2)) SWIG_fail;
4514 }
4515 {
4516 arg3 = static_cast<int >(SWIG_As_int(obj2));
4517 if (SWIG_arg_fail(3)) SWIG_fail;
4518 }
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 (arg1)->CmdKeyClear(arg2,arg3);
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 Py_INCREF(Py_None); resultobj = Py_None;
4527 return resultobj;
4528 fail:
4529 return NULL;
4530 }
4531
4532
4533 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj = NULL;
4535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4536 PyObject * obj0 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4543 if (SWIG_arg_fail(1)) SWIG_fail;
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 (arg1)->CmdKeyClearAll();
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 Py_INCREF(Py_None); resultobj = Py_None;
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj = NULL;
4560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4561 int arg2 ;
4562 char *arg3 = (char *) 0 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 PyObject * obj2 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4572 if (SWIG_arg_fail(1)) SWIG_fail;
4573 {
4574 arg2 = static_cast<int >(SWIG_As_int(obj1));
4575 if (SWIG_arg_fail(2)) SWIG_fail;
4576 }
4577 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4578 SWIG_arg_fail(3);SWIG_fail;
4579 }
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 (arg1)->SetStyleBytes(arg2,arg3);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 Py_INCREF(Py_None); resultobj = Py_None;
4588 return resultobj;
4589 fail:
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj = NULL;
4596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4597 int arg2 ;
4598 bool arg3 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self",(char *) "style",(char *) "visible", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4608 if (SWIG_arg_fail(1)) SWIG_fail;
4609 {
4610 arg2 = static_cast<int >(SWIG_As_int(obj1));
4611 if (SWIG_arg_fail(2)) SWIG_fail;
4612 }
4613 {
4614 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
4615 if (SWIG_arg_fail(3)) SWIG_fail;
4616 }
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 (arg1)->StyleSetVisible(arg2,arg3);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 Py_INCREF(Py_None); resultobj = Py_None;
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj = NULL;
4633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4634 int result;
4635 PyObject * obj0 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "self", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail;
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (int)(arg1)->GetCaretPeriod();
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 resultobj = SWIG_From_int(static_cast<int >(result));
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj = NULL;
4661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4662 int arg2 ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self",(char *) "periodMilliseconds", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4671 if (SWIG_arg_fail(1)) SWIG_fail;
4672 {
4673 arg2 = static_cast<int >(SWIG_As_int(obj1));
4674 if (SWIG_arg_fail(2)) SWIG_fail;
4675 }
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->SetCaretPeriod(arg2);
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj = NULL;
4692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4693 wxString *arg2 = 0 ;
4694 bool temp2 = false ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self",(char *) "characters", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4703 if (SWIG_arg_fail(1)) SWIG_fail;
4704 {
4705 arg2 = wxString_in_helper(obj1);
4706 if (arg2 == NULL) SWIG_fail;
4707 temp2 = true;
4708 }
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetWordChars((wxString const &)*arg2);
4712
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 Py_INCREF(Py_None); resultobj = Py_None;
4717 {
4718 if (temp2)
4719 delete arg2;
4720 }
4721 return resultobj;
4722 fail:
4723 {
4724 if (temp2)
4725 delete arg2;
4726 }
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj = NULL;
4733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4741 if (SWIG_arg_fail(1)) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->BeginUndoAction();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 Py_INCREF(Py_None); resultobj = Py_None;
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj = NULL;
4758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4759 PyObject * obj0 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4766 if (SWIG_arg_fail(1)) SWIG_fail;
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 (arg1)->EndUndoAction();
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 Py_INCREF(Py_None); resultobj = Py_None;
4775 return resultobj;
4776 fail:
4777 return NULL;
4778 }
4779
4780
4781 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj = NULL;
4783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4784 int arg2 ;
4785 int arg3 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 PyObject * obj2 = 0 ;
4789 char *kwnames[] = {
4790 (char *) "self",(char *) "indic",(char *) "style", NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4795 if (SWIG_arg_fail(1)) SWIG_fail;
4796 {
4797 arg2 = static_cast<int >(SWIG_As_int(obj1));
4798 if (SWIG_arg_fail(2)) SWIG_fail;
4799 }
4800 {
4801 arg3 = static_cast<int >(SWIG_As_int(obj2));
4802 if (SWIG_arg_fail(3)) SWIG_fail;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 (arg1)->IndicatorSetStyle(arg2,arg3);
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 Py_INCREF(Py_None); resultobj = Py_None;
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj = NULL;
4820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4821 int arg2 ;
4822 int result;
4823 PyObject * obj0 = 0 ;
4824 PyObject * obj1 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self",(char *) "indic", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4831 if (SWIG_arg_fail(1)) SWIG_fail;
4832 {
4833 arg2 = static_cast<int >(SWIG_As_int(obj1));
4834 if (SWIG_arg_fail(2)) SWIG_fail;
4835 }
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (int)(arg1)->IndicatorGetStyle(arg2);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 resultobj = SWIG_From_int(static_cast<int >(result));
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj = NULL;
4854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4855 int arg2 ;
4856 wxColour *arg3 = 0 ;
4857 wxColour temp3 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 PyObject * obj2 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "indic",(char *) "fore", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4867 if (SWIG_arg_fail(1)) SWIG_fail;
4868 {
4869 arg2 = static_cast<int >(SWIG_As_int(obj1));
4870 if (SWIG_arg_fail(2)) SWIG_fail;
4871 }
4872 {
4873 arg3 = &temp3;
4874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887 }
4888
4889
4890 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj = NULL;
4892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4893 int arg2 ;
4894 wxColour result;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "indic", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail;
4904 {
4905 arg2 = static_cast<int >(SWIG_As_int(obj1));
4906 if (SWIG_arg_fail(2)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (arg1)->IndicatorGetForeground(arg2);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 wxColour * resultptr;
4917 resultptr = new wxColour(static_cast<wxColour & >(result));
4918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4919 }
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj = NULL;
4928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4929 bool arg2 ;
4930 wxColour *arg3 = 0 ;
4931 wxColour temp3 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 PyObject * obj2 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail;
4942 {
4943 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4944 if (SWIG_arg_fail(2)) SWIG_fail;
4945 }
4946 {
4947 arg3 = &temp3;
4948 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj = NULL;
4966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4967 bool arg2 ;
4968 wxColour *arg3 = 0 ;
4969 wxColour temp3 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 PyObject * obj2 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail;
4980 {
4981 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4982 if (SWIG_arg_fail(2)) SWIG_fail;
4983 }
4984 {
4985 arg3 = &temp3;
4986 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 Py_INCREF(Py_None); resultobj = Py_None;
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj = NULL;
5004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5005 int arg2 ;
5006 PyObject * obj0 = 0 ;
5007 PyObject * obj1 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "bits", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
5013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail;
5015 {
5016 arg2 = static_cast<int >(SWIG_As_int(obj1));
5017 if (SWIG_arg_fail(2)) SWIG_fail;
5018 }
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->SetStyleBits(arg2);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 Py_INCREF(Py_None); resultobj = Py_None;
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj = NULL;
5035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5036 int result;
5037 PyObject * obj0 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
5043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (int)(arg1)->GetStyleBits();
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 resultobj = SWIG_From_int(static_cast<int >(result));
5054 }
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj = NULL;
5063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5064 int arg2 ;
5065 int arg3 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 PyObject * obj2 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "line",(char *) "state", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
5074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5075 if (SWIG_arg_fail(1)) SWIG_fail;
5076 {
5077 arg2 = static_cast<int >(SWIG_As_int(obj1));
5078 if (SWIG_arg_fail(2)) SWIG_fail;
5079 }
5080 {
5081 arg3 = static_cast<int >(SWIG_As_int(obj2));
5082 if (SWIG_arg_fail(3)) SWIG_fail;
5083 }
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 (arg1)->SetLineState(arg2,arg3);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 Py_INCREF(Py_None); resultobj = Py_None;
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj = NULL;
5100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5101 int arg2 ;
5102 int result;
5103 PyObject * obj0 = 0 ;
5104 PyObject * obj1 = 0 ;
5105 char *kwnames[] = {
5106 (char *) "self",(char *) "line", NULL
5107 };
5108
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
5110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5111 if (SWIG_arg_fail(1)) SWIG_fail;
5112 {
5113 arg2 = static_cast<int >(SWIG_As_int(obj1));
5114 if (SWIG_arg_fail(2)) SWIG_fail;
5115 }
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (int)(arg1)->GetLineState(arg2);
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = SWIG_From_int(static_cast<int >(result));
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj = NULL;
5134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5135 int result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (int)(arg1)->GetMaxLineState();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = SWIG_From_int(static_cast<int >(result));
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj = NULL;
5162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5163 bool result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
5170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (bool)(arg1)->GetCaretLineVisible();
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5181 }
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj = NULL;
5190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5191 bool arg2 ;
5192 PyObject * obj0 = 0 ;
5193 PyObject * obj1 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self",(char *) "show", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail;
5201 {
5202 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5203 if (SWIG_arg_fail(2)) SWIG_fail;
5204 }
5205 {
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 (arg1)->SetCaretLineVisible(arg2);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 Py_INCREF(Py_None); resultobj = Py_None;
5213 return resultobj;
5214 fail:
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5220 PyObject *resultobj = NULL;
5221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5222 wxColour result;
5223 PyObject * obj0 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail;
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (arg1)->GetCaretLineBack();
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 {
5239 wxColour * resultptr;
5240 resultptr = new wxColour(static_cast<wxColour & >(result));
5241 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5242 }
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj = NULL;
5251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5252 wxColour *arg2 = 0 ;
5253 wxColour temp2 ;
5254 PyObject * obj0 = 0 ;
5255 PyObject * obj1 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "self",(char *) "back", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
5261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5262 if (SWIG_arg_fail(1)) SWIG_fail;
5263 {
5264 arg2 = &temp2;
5265 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5266 }
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj = NULL;
5283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5284 int arg2 ;
5285 bool arg3 ;
5286 PyObject * obj0 = 0 ;
5287 PyObject * obj1 = 0 ;
5288 PyObject * obj2 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "style",(char *) "changeable", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
5294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5295 if (SWIG_arg_fail(1)) SWIG_fail;
5296 {
5297 arg2 = static_cast<int >(SWIG_As_int(obj1));
5298 if (SWIG_arg_fail(2)) SWIG_fail;
5299 }
5300 {
5301 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5302 if (SWIG_arg_fail(3)) SWIG_fail;
5303 }
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->StyleSetChangeable(arg2,arg3);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 return resultobj;
5313 fail:
5314 return NULL;
5315 }
5316
5317
5318 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj = NULL;
5320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5321 int arg2 ;
5322 wxString *arg3 = 0 ;
5323 bool temp3 = false ;
5324 PyObject * obj0 = 0 ;
5325 PyObject * obj1 = 0 ;
5326 PyObject * obj2 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail;
5334 {
5335 arg2 = static_cast<int >(SWIG_As_int(obj1));
5336 if (SWIG_arg_fail(2)) SWIG_fail;
5337 }
5338 {
5339 arg3 = wxString_in_helper(obj2);
5340 if (arg3 == NULL) SWIG_fail;
5341 temp3 = true;
5342 }
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 Py_INCREF(Py_None); resultobj = Py_None;
5351 {
5352 if (temp3)
5353 delete arg3;
5354 }
5355 return resultobj;
5356 fail:
5357 {
5358 if (temp3)
5359 delete arg3;
5360 }
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj = NULL;
5367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5368 PyObject * obj0 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->AutoCompCancel();
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj = NULL;
5392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5393 bool result;
5394 PyObject * obj0 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail;
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (bool)(arg1)->AutoCompActive();
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = NULL;
5420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5421 int result;
5422 PyObject * obj0 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self", NULL
5425 };
5426
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5429 if (SWIG_arg_fail(1)) SWIG_fail;
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (int)(arg1)->AutoCompPosStart();
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 {
5438 resultobj = SWIG_From_int(static_cast<int >(result));
5439 }
5440 return resultobj;
5441 fail:
5442 return NULL;
5443 }
5444
5445
5446 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj = NULL;
5448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5449 PyObject * obj0 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail;
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 (arg1)->AutoCompComplete();
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 Py_INCREF(Py_None); resultobj = Py_None;
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj = NULL;
5473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5474 wxString *arg2 = 0 ;
5475 bool temp2 = false ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self",(char *) "characterSet", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5484 if (SWIG_arg_fail(1)) SWIG_fail;
5485 {
5486 arg2 = wxString_in_helper(obj1);
5487 if (arg2 == NULL) SWIG_fail;
5488 temp2 = true;
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->AutoCompStops((wxString const &)*arg2);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 {
5499 if (temp2)
5500 delete arg2;
5501 }
5502 return resultobj;
5503 fail:
5504 {
5505 if (temp2)
5506 delete arg2;
5507 }
5508 return NULL;
5509 }
5510
5511
5512 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = NULL;
5514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5515 int arg2 ;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "separatorCharacter", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5524 if (SWIG_arg_fail(1)) SWIG_fail;
5525 {
5526 arg2 = static_cast<int >(SWIG_As_int(obj1));
5527 if (SWIG_arg_fail(2)) SWIG_fail;
5528 }
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 (arg1)->AutoCompSetSeparator(arg2);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 Py_INCREF(Py_None); resultobj = Py_None;
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj = NULL;
5545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5546 int result;
5547 PyObject * obj0 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5554 if (SWIG_arg_fail(1)) SWIG_fail;
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (int)(arg1)->AutoCompGetSeparator();
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = SWIG_From_int(static_cast<int >(result));
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj = NULL;
5573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5574 wxString *arg2 = 0 ;
5575 bool temp2 = false ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "text", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail;
5585 {
5586 arg2 = wxString_in_helper(obj1);
5587 if (arg2 == NULL) SWIG_fail;
5588 temp2 = true;
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->AutoCompSelect((wxString const &)*arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 {
5599 if (temp2)
5600 delete arg2;
5601 }
5602 return resultobj;
5603 fail:
5604 {
5605 if (temp2)
5606 delete arg2;
5607 }
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj = NULL;
5614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5615 bool arg2 ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "self",(char *) "cancel", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5624 if (SWIG_arg_fail(1)) SWIG_fail;
5625 {
5626 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5627 if (SWIG_arg_fail(2)) SWIG_fail;
5628 }
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->AutoCompSetCancelAtStart(arg2);
5632
5633 wxPyEndAllowThreads(__tstate);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 }
5636 Py_INCREF(Py_None); resultobj = Py_None;
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj = NULL;
5645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5646 bool result;
5647 PyObject * obj0 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail;
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 result = (bool)(arg1)->AutoCompGetCancelAtStart();
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 {
5663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5664 }
5665 return resultobj;
5666 fail:
5667 return NULL;
5668 }
5669
5670
5671 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj = NULL;
5673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5674 wxString *arg2 = 0 ;
5675 bool temp2 = false ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 char *kwnames[] = {
5679 (char *) "self",(char *) "characterSet", NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail;
5685 {
5686 arg2 = wxString_in_helper(obj1);
5687 if (arg2 == NULL) SWIG_fail;
5688 temp2 = true;
5689 }
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 Py_INCREF(Py_None); resultobj = Py_None;
5698 {
5699 if (temp2)
5700 delete arg2;
5701 }
5702 return resultobj;
5703 fail:
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj = NULL;
5714 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5715 bool arg2 ;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self",(char *) "chooseSingle", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail;
5725 {
5726 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5727 if (SWIG_arg_fail(2)) SWIG_fail;
5728 }
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->AutoCompSetChooseSingle(arg2);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj = NULL;
5745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5746 bool result;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail;
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (bool)(arg1)->AutoCompGetChooseSingle();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 {
5763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5764 }
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj = NULL;
5773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5774 bool arg2 ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self",(char *) "ignoreCase", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail;
5784 {
5785 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5786 if (SWIG_arg_fail(2)) SWIG_fail;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->AutoCompSetIgnoreCase(arg2);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 Py_INCREF(Py_None); resultobj = Py_None;
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj = NULL;
5804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)(arg1)->AutoCompGetIgnoreCase();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 {
5822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5823 }
5824 return resultobj;
5825 fail:
5826 return NULL;
5827 }
5828
5829
5830 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
5831 PyObject *resultobj = NULL;
5832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5833 int arg2 ;
5834 wxString *arg3 = 0 ;
5835 bool temp3 = false ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 PyObject * obj2 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "listType",(char *) "itemList", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail;
5846 {
5847 arg2 = static_cast<int >(SWIG_As_int(obj1));
5848 if (SWIG_arg_fail(2)) SWIG_fail;
5849 }
5850 {
5851 arg3 = wxString_in_helper(obj2);
5852 if (arg3 == NULL) SWIG_fail;
5853 temp3 = true;
5854 }
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 Py_INCREF(Py_None); resultobj = Py_None;
5863 {
5864 if (temp3)
5865 delete arg3;
5866 }
5867 return resultobj;
5868 fail:
5869 {
5870 if (temp3)
5871 delete arg3;
5872 }
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj = NULL;
5879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5880 bool arg2 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self",(char *) "autoHide", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5889 if (SWIG_arg_fail(1)) SWIG_fail;
5890 {
5891 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5892 if (SWIG_arg_fail(2)) SWIG_fail;
5893 }
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 (arg1)->AutoCompSetAutoHide(arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 Py_INCREF(Py_None); resultobj = Py_None;
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj = NULL;
5910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5911 bool result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)(arg1)->AutoCompGetAutoHide();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 {
5928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5929 }
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj = NULL;
5938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5939 bool arg2 ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self",(char *) "dropRestOfWord", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail;
5949 {
5950 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 }
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 (arg1)->AutoCompSetDropRestOfWord(arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 Py_INCREF(Py_None); resultobj = Py_None;
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj = NULL;
5969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5970 bool result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5978 if (SWIG_arg_fail(1)) SWIG_fail;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 {
5987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj = NULL;
5997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5998 int arg2 ;
5999 wxBitmap *arg3 = 0 ;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 PyObject * obj2 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "type",(char *) "bmp", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
6008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail;
6010 {
6011 arg2 = static_cast<int >(SWIG_As_int(obj1));
6012 if (SWIG_arg_fail(2)) SWIG_fail;
6013 }
6014 {
6015 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6016 if (SWIG_arg_fail(3)) SWIG_fail;
6017 if (arg3 == NULL) {
6018 SWIG_null_ref("wxBitmap");
6019 }
6020 if (SWIG_arg_fail(3)) SWIG_fail;
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 Py_INCREF(Py_None); resultobj = Py_None;
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj = NULL;
6038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6039 PyObject * obj0 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
6045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6046 if (SWIG_arg_fail(1)) SWIG_fail;
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 (arg1)->ClearRegisteredImages();
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 Py_INCREF(Py_None); resultobj = Py_None;
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj = NULL;
6063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6064 int result;
6065 PyObject * obj0 = 0 ;
6066 char *kwnames[] = {
6067 (char *) "self", NULL
6068 };
6069
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
6071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (int)(arg1)->AutoCompGetTypeSeparator();
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 resultobj = SWIG_From_int(static_cast<int >(result));
6082 }
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj = NULL;
6091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6092 int arg2 ;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "separatorCharacter", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
6100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6101 if (SWIG_arg_fail(1)) SWIG_fail;
6102 {
6103 arg2 = static_cast<int >(SWIG_As_int(obj1));
6104 if (SWIG_arg_fail(2)) SWIG_fail;
6105 }
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 (arg1)->AutoCompSetTypeSeparator(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 Py_INCREF(Py_None); resultobj = Py_None;
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj = NULL;
6122 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6123 int arg2 ;
6124 PyObject * obj0 = 0 ;
6125 PyObject * obj1 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self",(char *) "indentSize", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
6131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6132 if (SWIG_arg_fail(1)) SWIG_fail;
6133 {
6134 arg2 = static_cast<int >(SWIG_As_int(obj1));
6135 if (SWIG_arg_fail(2)) SWIG_fail;
6136 }
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 (arg1)->SetIndent(arg2);
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj = NULL;
6153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6154 int result;
6155 PyObject * obj0 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (int)(arg1)->GetIndent();
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 resultobj = SWIG_From_int(static_cast<int >(result));
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj = NULL;
6181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6182 bool arg2 ;
6183 PyObject * obj0 = 0 ;
6184 PyObject * obj1 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self",(char *) "useTabs", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail;
6192 {
6193 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6194 if (SWIG_arg_fail(2)) SWIG_fail;
6195 }
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->SetUseTabs(arg2);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 Py_INCREF(Py_None); resultobj = Py_None;
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj = NULL;
6212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6213 bool result;
6214 PyObject * obj0 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6221 if (SWIG_arg_fail(1)) SWIG_fail;
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (bool)(arg1)->GetUseTabs();
6225
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj = NULL;
6240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6241 int arg2 ;
6242 int arg3 ;
6243 PyObject * obj0 = 0 ;
6244 PyObject * obj1 = 0 ;
6245 PyObject * obj2 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "line",(char *) "indentSize", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6252 if (SWIG_arg_fail(1)) SWIG_fail;
6253 {
6254 arg2 = static_cast<int >(SWIG_As_int(obj1));
6255 if (SWIG_arg_fail(2)) SWIG_fail;
6256 }
6257 {
6258 arg3 = static_cast<int >(SWIG_As_int(obj2));
6259 if (SWIG_arg_fail(3)) SWIG_fail;
6260 }
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 (arg1)->SetLineIndentation(arg2,arg3);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 Py_INCREF(Py_None); resultobj = Py_None;
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj = NULL;
6277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6278 int arg2 ;
6279 int result;
6280 PyObject * obj0 = 0 ;
6281 PyObject * obj1 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "line", NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail;
6289 {
6290 arg2 = static_cast<int >(SWIG_As_int(obj1));
6291 if (SWIG_arg_fail(2)) SWIG_fail;
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (int)(arg1)->GetLineIndentation(arg2);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 {
6301 resultobj = SWIG_From_int(static_cast<int >(result));
6302 }
6303 return resultobj;
6304 fail:
6305 return NULL;
6306 }
6307
6308
6309 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj = NULL;
6311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6312 int arg2 ;
6313 int result;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "line", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 {
6324 arg2 = static_cast<int >(SWIG_As_int(obj1));
6325 if (SWIG_arg_fail(2)) SWIG_fail;
6326 }
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (int)(arg1)->GetLineIndentPosition(arg2);
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 {
6335 resultobj = SWIG_From_int(static_cast<int >(result));
6336 }
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj = NULL;
6345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6346 int arg2 ;
6347 int result;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self",(char *) "pos", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
6355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6356 if (SWIG_arg_fail(1)) SWIG_fail;
6357 {
6358 arg2 = static_cast<int >(SWIG_As_int(obj1));
6359 if (SWIG_arg_fail(2)) SWIG_fail;
6360 }
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (int)(arg1)->GetColumn(arg2);
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 resultobj = SWIG_From_int(static_cast<int >(result));
6370 }
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj = NULL;
6379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6380 bool arg2 ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "show", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
6390 {
6391 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6392 if (SWIG_arg_fail(2)) SWIG_fail;
6393 }
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 (arg1)->SetUseHorizontalScrollBar(arg2);
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 Py_INCREF(Py_None); resultobj = Py_None;
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj = NULL;
6410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6411 bool result;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6419 if (SWIG_arg_fail(1)) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (bool)(arg1)->GetUseHorizontalScrollBar();
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 {
6428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6429 }
6430 return resultobj;
6431 fail:
6432 return NULL;
6433 }
6434
6435
6436 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj = NULL;
6438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6439 bool arg2 ;
6440 PyObject * obj0 = 0 ;
6441 PyObject * obj1 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self",(char *) "show", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6448 if (SWIG_arg_fail(1)) SWIG_fail;
6449 {
6450 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6451 if (SWIG_arg_fail(2)) SWIG_fail;
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 (arg1)->SetIndentationGuides(arg2);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj = NULL;
6469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6470 bool result;
6471 PyObject * obj0 = 0 ;
6472 char *kwnames[] = {
6473 (char *) "self", NULL
6474 };
6475
6476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6478 if (SWIG_arg_fail(1)) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (bool)(arg1)->GetIndentationGuides();
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 {
6487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6488 }
6489 return resultobj;
6490 fail:
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj = NULL;
6497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6498 int arg2 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self",(char *) "column", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6507 if (SWIG_arg_fail(1)) SWIG_fail;
6508 {
6509 arg2 = static_cast<int >(SWIG_As_int(obj1));
6510 if (SWIG_arg_fail(2)) SWIG_fail;
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SetHighlightGuide(arg2);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj = NULL;
6528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6529 int result;
6530 PyObject * obj0 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "self", NULL
6533 };
6534
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail;
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (int)(arg1)->GetHighlightGuide();
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 {
6546 resultobj = SWIG_From_int(static_cast<int >(result));
6547 }
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj = NULL;
6556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6557 int arg2 ;
6558 int result;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "line", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6567 if (SWIG_arg_fail(1)) SWIG_fail;
6568 {
6569 arg2 = static_cast<int >(SWIG_As_int(obj1));
6570 if (SWIG_arg_fail(2)) SWIG_fail;
6571 }
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 result = (int)(arg1)->GetLineEndPosition(arg2);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 {
6580 resultobj = SWIG_From_int(static_cast<int >(result));
6581 }
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj = NULL;
6590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6591 int result;
6592 PyObject * obj0 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6599 if (SWIG_arg_fail(1)) SWIG_fail;
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (int)(arg1)->GetCodePage();
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 {
6608 resultobj = SWIG_From_int(static_cast<int >(result));
6609 }
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj = NULL;
6618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6619 wxColour result;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (arg1)->GetCaretForeground();
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 wxColour * resultptr;
6637 resultptr = new wxColour(static_cast<wxColour & >(result));
6638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6639 }
6640 return resultobj;
6641 fail:
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj = NULL;
6648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6649 bool result;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (bool)(arg1)->GetReadOnly();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj = NULL;
6676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6677 int arg2 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self",(char *) "pos", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6686 if (SWIG_arg_fail(1)) SWIG_fail;
6687 {
6688 arg2 = static_cast<int >(SWIG_As_int(obj1));
6689 if (SWIG_arg_fail(2)) SWIG_fail;
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 (arg1)->SetCurrentPos(arg2);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 Py_INCREF(Py_None); resultobj = Py_None;
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj = NULL;
6707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6708 int arg2 ;
6709 PyObject * obj0 = 0 ;
6710 PyObject * obj1 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self",(char *) "pos", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 {
6719 arg2 = static_cast<int >(SWIG_As_int(obj1));
6720 if (SWIG_arg_fail(2)) SWIG_fail;
6721 }
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 (arg1)->SetSelectionStart(arg2);
6725
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 Py_INCREF(Py_None); resultobj = Py_None;
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj = NULL;
6738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6739 int result;
6740 PyObject * obj0 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self", NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail;
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (int)(arg1)->GetSelectionStart();
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 {
6756 resultobj = SWIG_From_int(static_cast<int >(result));
6757 }
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj = NULL;
6766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6767 int arg2 ;
6768 PyObject * obj0 = 0 ;
6769 PyObject * obj1 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self",(char *) "pos", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 {
6778 arg2 = static_cast<int >(SWIG_As_int(obj1));
6779 if (SWIG_arg_fail(2)) SWIG_fail;
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 (arg1)->SetSelectionEnd(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 Py_INCREF(Py_None); resultobj = Py_None;
6789 return resultobj;
6790 fail:
6791 return NULL;
6792 }
6793
6794
6795 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj = NULL;
6797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6798 int result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (int)(arg1)->GetSelectionEnd();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 resultobj = SWIG_From_int(static_cast<int >(result));
6816 }
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj = NULL;
6825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6826 int arg2 ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "magnification", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6835 if (SWIG_arg_fail(1)) SWIG_fail;
6836 {
6837 arg2 = static_cast<int >(SWIG_As_int(obj1));
6838 if (SWIG_arg_fail(2)) SWIG_fail;
6839 }
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 (arg1)->SetPrintMagnification(arg2);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 Py_INCREF(Py_None); resultobj = Py_None;
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj = NULL;
6856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6857 int result;
6858 PyObject * obj0 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6865 if (SWIG_arg_fail(1)) SWIG_fail;
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (int)(arg1)->GetPrintMagnification();
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 {
6874 resultobj = SWIG_From_int(static_cast<int >(result));
6875 }
6876 return resultobj;
6877 fail:
6878 return NULL;
6879 }
6880
6881
6882 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = NULL;
6884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6885 int arg2 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "mode", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail;
6895 {
6896 arg2 = static_cast<int >(SWIG_As_int(obj1));
6897 if (SWIG_arg_fail(2)) SWIG_fail;
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetPrintColourMode(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj = NULL;
6915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6916 int result;
6917 PyObject * obj0 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (int)(arg1)->GetPrintColourMode();
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 {
6933 resultobj = SWIG_From_int(static_cast<int >(result));
6934 }
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj = NULL;
6943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6944 int arg2 ;
6945 int arg3 ;
6946 wxString *arg4 = 0 ;
6947 int arg5 = (int) 0 ;
6948 int result;
6949 bool temp4 = false ;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 PyObject * obj2 = 0 ;
6953 PyObject * obj3 = 0 ;
6954 PyObject * obj4 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail;
6962 {
6963 arg2 = static_cast<int >(SWIG_As_int(obj1));
6964 if (SWIG_arg_fail(2)) SWIG_fail;
6965 }
6966 {
6967 arg3 = static_cast<int >(SWIG_As_int(obj2));
6968 if (SWIG_arg_fail(3)) SWIG_fail;
6969 }
6970 {
6971 arg4 = wxString_in_helper(obj3);
6972 if (arg4 == NULL) SWIG_fail;
6973 temp4 = true;
6974 }
6975 if (obj4) {
6976 {
6977 arg5 = static_cast<int >(SWIG_As_int(obj4));
6978 if (SWIG_arg_fail(5)) SWIG_fail;
6979 }
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 {
6989 resultobj = SWIG_From_int(static_cast<int >(result));
6990 }
6991 {
6992 if (temp4)
6993 delete arg4;
6994 }
6995 return resultobj;
6996 fail:
6997 {
6998 if (temp4)
6999 delete arg4;
7000 }
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj = NULL;
7007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7008 bool arg2 ;
7009 int arg3 ;
7010 int arg4 ;
7011 wxDC *arg5 = (wxDC *) 0 ;
7012 wxDC *arg6 = (wxDC *) 0 ;
7013 wxRect arg7 ;
7014 wxRect arg8 ;
7015 int result;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 PyObject * obj2 = 0 ;
7019 PyObject * obj3 = 0 ;
7020 PyObject * obj4 = 0 ;
7021 PyObject * obj5 = 0 ;
7022 PyObject * obj6 = 0 ;
7023 PyObject * obj7 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 {
7032 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7033 if (SWIG_arg_fail(2)) SWIG_fail;
7034 }
7035 {
7036 arg3 = static_cast<int >(SWIG_As_int(obj2));
7037 if (SWIG_arg_fail(3)) SWIG_fail;
7038 }
7039 {
7040 arg4 = static_cast<int >(SWIG_As_int(obj3));
7041 if (SWIG_arg_fail(4)) SWIG_fail;
7042 }
7043 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(5)) SWIG_fail;
7045 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7046 if (SWIG_arg_fail(6)) SWIG_fail;
7047 {
7048 wxRect * argp;
7049 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
7050 if (SWIG_arg_fail(7)) SWIG_fail;
7051 if (argp == NULL) {
7052 SWIG_null_ref("wxRect");
7053 }
7054 if (SWIG_arg_fail(7)) SWIG_fail;
7055 arg7 = *argp;
7056 }
7057 {
7058 wxRect * argp;
7059 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
7060 if (SWIG_arg_fail(8)) SWIG_fail;
7061 if (argp == NULL) {
7062 SWIG_null_ref("wxRect");
7063 }
7064 if (SWIG_arg_fail(8)) SWIG_fail;
7065 arg8 = *argp;
7066 }
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 {
7075 resultobj = SWIG_From_int(static_cast<int >(result));
7076 }
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = NULL;
7085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7086 int result;
7087 PyObject * obj0 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "self", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
7093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7094 if (SWIG_arg_fail(1)) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (int)(arg1)->GetFirstVisibleLine();
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = SWIG_From_int(static_cast<int >(result));
7104 }
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj = NULL;
7113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7114 int arg2 ;
7115 wxString result;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "line", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
7123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7124 if (SWIG_arg_fail(1)) SWIG_fail;
7125 {
7126 arg2 = static_cast<int >(SWIG_As_int(obj1));
7127 if (SWIG_arg_fail(2)) SWIG_fail;
7128 }
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = (arg1)->GetLine(arg2);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 {
7137 #if wxUSE_UNICODE
7138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7139 #else
7140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7141 #endif
7142 }
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj = NULL;
7151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7152 int result;
7153 PyObject * obj0 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
7159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail;
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (int)(arg1)->GetLineCount();
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 {
7169 resultobj = SWIG_From_int(static_cast<int >(result));
7170 }
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj = NULL;
7179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7180 int arg2 ;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self",(char *) "pixelWidth", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7189 if (SWIG_arg_fail(1)) SWIG_fail;
7190 {
7191 arg2 = static_cast<int >(SWIG_As_int(obj1));
7192 if (SWIG_arg_fail(2)) SWIG_fail;
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 (arg1)->SetMarginLeft(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 Py_INCREF(Py_None); resultobj = Py_None;
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj = NULL;
7210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7211 int result;
7212 PyObject * obj0 = 0 ;
7213 char *kwnames[] = {
7214 (char *) "self", NULL
7215 };
7216
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 result = (int)(arg1)->GetMarginLeft();
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 {
7228 resultobj = SWIG_From_int(static_cast<int >(result));
7229 }
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj = NULL;
7238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7239 int arg2 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "pixelWidth", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail;
7249 {
7250 arg2 = static_cast<int >(SWIG_As_int(obj1));
7251 if (SWIG_arg_fail(2)) SWIG_fail;
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 (arg1)->SetMarginRight(arg2);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 Py_INCREF(Py_None); resultobj = Py_None;
7261 return resultobj;
7262 fail:
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj = NULL;
7269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7270 int result;
7271 PyObject * obj0 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7278 if (SWIG_arg_fail(1)) SWIG_fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (int)(arg1)->GetMarginRight();
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 {
7287 resultobj = SWIG_From_int(static_cast<int >(result));
7288 }
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj = NULL;
7297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7298 bool result;
7299 PyObject * obj0 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7306 if (SWIG_arg_fail(1)) SWIG_fail;
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (bool)(arg1)->GetModify();
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 {
7315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7316 }
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj = NULL;
7325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7326 int arg2 ;
7327 int arg3 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 PyObject * obj2 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "start",(char *) "end", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail;
7338 {
7339 arg2 = static_cast<int >(SWIG_As_int(obj1));
7340 if (SWIG_arg_fail(2)) SWIG_fail;
7341 }
7342 {
7343 arg3 = static_cast<int >(SWIG_As_int(obj2));
7344 if (SWIG_arg_fail(3)) SWIG_fail;
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetSelection(arg2,arg3);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj = NULL;
7362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7363 wxString result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7371 if (SWIG_arg_fail(1)) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (arg1)->GetSelectedText();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 #if wxUSE_UNICODE
7381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7382 #else
7383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7384 #endif
7385 }
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj = NULL;
7394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7395 int arg2 ;
7396 int arg3 ;
7397 wxString result;
7398 PyObject * obj0 = 0 ;
7399 PyObject * obj1 = 0 ;
7400 PyObject * obj2 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail;
7408 {
7409 arg2 = static_cast<int >(SWIG_As_int(obj1));
7410 if (SWIG_arg_fail(2)) SWIG_fail;
7411 }
7412 {
7413 arg3 = static_cast<int >(SWIG_As_int(obj2));
7414 if (SWIG_arg_fail(3)) SWIG_fail;
7415 }
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (arg1)->GetTextRange(arg2,arg3);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 {
7424 #if wxUSE_UNICODE
7425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7426 #else
7427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7428 #endif
7429 }
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj = NULL;
7438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7439 bool arg2 ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "normal", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail;
7449 {
7450 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7451 if (SWIG_arg_fail(2)) SWIG_fail;
7452 }
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 (arg1)->HideSelection(arg2);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 Py_INCREF(Py_None); resultobj = Py_None;
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = NULL;
7469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7470 int arg2 ;
7471 int result;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "pos", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
7481 {
7482 arg2 = static_cast<int >(SWIG_As_int(obj1));
7483 if (SWIG_arg_fail(2)) SWIG_fail;
7484 }
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 result = (int)(arg1)->LineFromPosition(arg2);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 {
7493 resultobj = SWIG_From_int(static_cast<int >(result));
7494 }
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj = NULL;
7503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7504 int arg2 ;
7505 int result;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self",(char *) "line", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail;
7515 {
7516 arg2 = static_cast<int >(SWIG_As_int(obj1));
7517 if (SWIG_arg_fail(2)) SWIG_fail;
7518 }
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (int)(arg1)->PositionFromLine(arg2);
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 {
7527 resultobj = SWIG_From_int(static_cast<int >(result));
7528 }
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj = NULL;
7537 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7538 int arg2 ;
7539 int arg3 ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 PyObject * obj2 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self",(char *) "columns",(char *) "lines", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
7548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail;
7550 {
7551 arg2 = static_cast<int >(SWIG_As_int(obj1));
7552 if (SWIG_arg_fail(2)) SWIG_fail;
7553 }
7554 {
7555 arg3 = static_cast<int >(SWIG_As_int(obj2));
7556 if (SWIG_arg_fail(3)) SWIG_fail;
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 (arg1)->LineScroll(arg2,arg3);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 return resultobj;
7567 fail:
7568 return NULL;
7569 }
7570
7571
7572 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7573 PyObject *resultobj = NULL;
7574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7575 PyObject * obj0 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self", NULL
7578 };
7579
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail;
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 (arg1)->EnsureCaretVisible();
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 Py_INCREF(Py_None); resultobj = Py_None;
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj = NULL;
7599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7600 wxString *arg2 = 0 ;
7601 bool temp2 = false ;
7602 PyObject * obj0 = 0 ;
7603 PyObject * obj1 = 0 ;
7604 char *kwnames[] = {
7605 (char *) "self",(char *) "text", NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7610 if (SWIG_arg_fail(1)) SWIG_fail;
7611 {
7612 arg2 = wxString_in_helper(obj1);
7613 if (arg2 == NULL) SWIG_fail;
7614 temp2 = true;
7615 }
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->ReplaceSelection((wxString const &)*arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 {
7625 if (temp2)
7626 delete arg2;
7627 }
7628 return resultobj;
7629 fail:
7630 {
7631 if (temp2)
7632 delete arg2;
7633 }
7634 return NULL;
7635 }
7636
7637
7638 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj = NULL;
7640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7641 bool arg2 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self",(char *) "readOnly", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7650 if (SWIG_arg_fail(1)) SWIG_fail;
7651 {
7652 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7653 if (SWIG_arg_fail(2)) SWIG_fail;
7654 }
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->SetReadOnly(arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 return resultobj;
7664 fail:
7665 return NULL;
7666 }
7667
7668
7669 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj = NULL;
7671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7672 bool result;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7680 if (SWIG_arg_fail(1)) SWIG_fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)(arg1)->CanPaste();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj = NULL;
7699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7700 bool result;
7701 PyObject * obj0 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->CanUndo();
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 {
7717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7718 }
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj = NULL;
7727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail;
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 (arg1)->EmptyUndoBuffer();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 Py_INCREF(Py_None); resultobj = Py_None;
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj = NULL;
7752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7753 PyObject * obj0 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail;
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 (arg1)->Undo();
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 Py_INCREF(Py_None); resultobj = Py_None;
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj = NULL;
7777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7778 PyObject * obj0 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7785 if (SWIG_arg_fail(1)) SWIG_fail;
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->Cut();
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj = NULL;
7802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7803 PyObject * obj0 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail;
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->Copy();
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 return resultobj;
7820 fail:
7821 return NULL;
7822 }
7823
7824
7825 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj = NULL;
7827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7828 PyObject * obj0 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail;
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 (arg1)->Paste();
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 Py_INCREF(Py_None); resultobj = Py_None;
7844 return resultobj;
7845 fail:
7846 return NULL;
7847 }
7848
7849
7850 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj = NULL;
7852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->Clear();
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj = NULL;
7877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7878 wxString *arg2 = 0 ;
7879 bool temp2 = false ;
7880 PyObject * obj0 = 0 ;
7881 PyObject * obj1 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self",(char *) "text", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail;
7889 {
7890 arg2 = wxString_in_helper(obj1);
7891 if (arg2 == NULL) SWIG_fail;
7892 temp2 = true;
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetText((wxString const &)*arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 {
7903 if (temp2)
7904 delete arg2;
7905 }
7906 return resultobj;
7907 fail:
7908 {
7909 if (temp2)
7910 delete arg2;
7911 }
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj = NULL;
7918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7919 wxString result;
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7927 if (SWIG_arg_fail(1)) SWIG_fail;
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (arg1)->GetText();
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 {
7936 #if wxUSE_UNICODE
7937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7938 #else
7939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7940 #endif
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj = NULL;
7950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7951 int result;
7952 PyObject * obj0 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7959 if (SWIG_arg_fail(1)) SWIG_fail;
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 result = (int)(arg1)->GetTextLength();
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 {
7968 resultobj = SWIG_From_int(static_cast<int >(result));
7969 }
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = NULL;
7978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7979 bool arg2 ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "overtype", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail;
7989 {
7990 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
7991 if (SWIG_arg_fail(2)) SWIG_fail;
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetOvertype(arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj = NULL;
8009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8010 bool result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
8017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)(arg1)->GetOvertype();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj = NULL;
8037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8038 int arg2 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "pixelWidth", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
8046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail;
8048 {
8049 arg2 = static_cast<int >(SWIG_As_int(obj1));
8050 if (SWIG_arg_fail(2)) SWIG_fail;
8051 }
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 (arg1)->SetCaretWidth(arg2);
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 Py_INCREF(Py_None); resultobj = Py_None;
8060 return resultobj;
8061 fail:
8062 return NULL;
8063 }
8064
8065
8066 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj = NULL;
8068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8069 int result;
8070 PyObject * obj0 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
8076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail;
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 result = (int)(arg1)->GetCaretWidth();
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 {
8086 resultobj = SWIG_From_int(static_cast<int >(result));
8087 }
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj = NULL;
8096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8097 int arg2 ;
8098 PyObject * obj0 = 0 ;
8099 PyObject * obj1 = 0 ;
8100 char *kwnames[] = {
8101 (char *) "self",(char *) "pos", NULL
8102 };
8103
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
8105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8106 if (SWIG_arg_fail(1)) SWIG_fail;
8107 {
8108 arg2 = static_cast<int >(SWIG_As_int(obj1));
8109 if (SWIG_arg_fail(2)) SWIG_fail;
8110 }
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 (arg1)->SetTargetStart(arg2);
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 Py_INCREF(Py_None); resultobj = Py_None;
8119 return resultobj;
8120 fail:
8121 return NULL;
8122 }
8123
8124
8125 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj = NULL;
8127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8128 int result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
8135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8136 if (SWIG_arg_fail(1)) SWIG_fail;
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (int)(arg1)->GetTargetStart();
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 {
8145 resultobj = SWIG_From_int(static_cast<int >(result));
8146 }
8147 return resultobj;
8148 fail:
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj = NULL;
8155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8156 int arg2 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "pos", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
8164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail;
8166 {
8167 arg2 = static_cast<int >(SWIG_As_int(obj1));
8168 if (SWIG_arg_fail(2)) SWIG_fail;
8169 }
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->SetTargetEnd(arg2);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj = NULL;
8186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8187 int result;
8188 PyObject * obj0 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail;
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (int)(arg1)->GetTargetEnd();
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 {
8204 resultobj = SWIG_From_int(static_cast<int >(result));
8205 }
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj = NULL;
8214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8215 wxString *arg2 = 0 ;
8216 int result;
8217 bool temp2 = false ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "text", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail;
8227 {
8228 arg2 = wxString_in_helper(obj1);
8229 if (arg2 == NULL) SWIG_fail;
8230 temp2 = true;
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 {
8240 resultobj = SWIG_From_int(static_cast<int >(result));
8241 }
8242 {
8243 if (temp2)
8244 delete arg2;
8245 }
8246 return resultobj;
8247 fail:
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return NULL;
8253 }
8254
8255
8256 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj = NULL;
8258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8259 wxString *arg2 = 0 ;
8260 int result;
8261 bool temp2 = false ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "self",(char *) "text", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8270 if (SWIG_arg_fail(1)) SWIG_fail;
8271 {
8272 arg2 = wxString_in_helper(obj1);
8273 if (arg2 == NULL) SWIG_fail;
8274 temp2 = true;
8275 }
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 {
8284 resultobj = SWIG_From_int(static_cast<int >(result));
8285 }
8286 {
8287 if (temp2)
8288 delete arg2;
8289 }
8290 return resultobj;
8291 fail:
8292 {
8293 if (temp2)
8294 delete arg2;
8295 }
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj = NULL;
8302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8303 wxString *arg2 = 0 ;
8304 int result;
8305 bool temp2 = false ;
8306 PyObject * obj0 = 0 ;
8307 PyObject * obj1 = 0 ;
8308 char *kwnames[] = {
8309 (char *) "self",(char *) "text", NULL
8310 };
8311
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8314 if (SWIG_arg_fail(1)) SWIG_fail;
8315 {
8316 arg2 = wxString_in_helper(obj1);
8317 if (arg2 == NULL) SWIG_fail;
8318 temp2 = true;
8319 }
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 {
8328 resultobj = SWIG_From_int(static_cast<int >(result));
8329 }
8330 {
8331 if (temp2)
8332 delete arg2;
8333 }
8334 return resultobj;
8335 fail:
8336 {
8337 if (temp2)
8338 delete arg2;
8339 }
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj = NULL;
8346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8347 int arg2 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "flags", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail;
8357 {
8358 arg2 = static_cast<int >(SWIG_As_int(obj1));
8359 if (SWIG_arg_fail(2)) SWIG_fail;
8360 }
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->SetSearchFlags(arg2);
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 Py_INCREF(Py_None); resultobj = Py_None;
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj = NULL;
8377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8378 int result;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (int)(arg1)->GetSearchFlags();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 {
8395 resultobj = SWIG_From_int(static_cast<int >(result));
8396 }
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj = NULL;
8405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8406 int arg2 ;
8407 wxString *arg3 = 0 ;
8408 bool temp3 = false ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 PyObject * obj2 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self",(char *) "pos",(char *) "definition", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail;
8419 {
8420 arg2 = static_cast<int >(SWIG_As_int(obj1));
8421 if (SWIG_arg_fail(2)) SWIG_fail;
8422 }
8423 {
8424 arg3 = wxString_in_helper(obj2);
8425 if (arg3 == NULL) SWIG_fail;
8426 temp3 = true;
8427 }
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 Py_INCREF(Py_None); resultobj = Py_None;
8436 {
8437 if (temp3)
8438 delete arg3;
8439 }
8440 return resultobj;
8441 fail:
8442 {
8443 if (temp3)
8444 delete arg3;
8445 }
8446 return NULL;
8447 }
8448
8449
8450 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj = NULL;
8452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8453 PyObject * obj0 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail;
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 (arg1)->CallTipCancel();
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 Py_INCREF(Py_None); resultobj = Py_None;
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj = NULL;
8477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8478 bool result;
8479 PyObject * obj0 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (bool)(arg1)->CallTipActive();
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 {
8495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8496 }
8497 return resultobj;
8498 fail:
8499 return NULL;
8500 }
8501
8502
8503 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj = NULL;
8505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8506 int result;
8507 PyObject * obj0 = 0 ;
8508 char *kwnames[] = {
8509 (char *) "self", NULL
8510 };
8511
8512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8514 if (SWIG_arg_fail(1)) SWIG_fail;
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 result = (int)(arg1)->CallTipPosAtStart();
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 resultobj = SWIG_From_int(static_cast<int >(result));
8524 }
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj = NULL;
8533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8534 int arg2 ;
8535 int arg3 ;
8536 PyObject * obj0 = 0 ;
8537 PyObject * obj1 = 0 ;
8538 PyObject * obj2 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self",(char *) "start",(char *) "end", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail;
8546 {
8547 arg2 = static_cast<int >(SWIG_As_int(obj1));
8548 if (SWIG_arg_fail(2)) SWIG_fail;
8549 }
8550 {
8551 arg3 = static_cast<int >(SWIG_As_int(obj2));
8552 if (SWIG_arg_fail(3)) SWIG_fail;
8553 }
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 (arg1)->CallTipSetHighlight(arg2,arg3);
8557
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 Py_INCREF(Py_None); resultobj = Py_None;
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj = NULL;
8570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8571 wxColour *arg2 = 0 ;
8572 wxColour temp2 ;
8573 PyObject * obj0 = 0 ;
8574 PyObject * obj1 = 0 ;
8575 char *kwnames[] = {
8576 (char *) "self",(char *) "back", NULL
8577 };
8578
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8581 if (SWIG_arg_fail(1)) SWIG_fail;
8582 {
8583 arg2 = &temp2;
8584 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8585 }
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 Py_INCREF(Py_None); resultobj = Py_None;
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj = NULL;
8602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8603 wxColour *arg2 = 0 ;
8604 wxColour temp2 ;
8605 PyObject * obj0 = 0 ;
8606 PyObject * obj1 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self",(char *) "fore", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail;
8614 {
8615 arg2 = &temp2;
8616 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj = NULL;
8634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8635 wxColour *arg2 = 0 ;
8636 wxColour temp2 ;
8637 PyObject * obj0 = 0 ;
8638 PyObject * obj1 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "fore", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail;
8646 {
8647 arg2 = &temp2;
8648 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8649 }
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 Py_INCREF(Py_None); resultobj = Py_None;
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj = NULL;
8666 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8667 int arg2 ;
8668 int result;
8669 PyObject * obj0 = 0 ;
8670 PyObject * obj1 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self",(char *) "line", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8677 if (SWIG_arg_fail(1)) SWIG_fail;
8678 {
8679 arg2 = static_cast<int >(SWIG_As_int(obj1));
8680 if (SWIG_arg_fail(2)) SWIG_fail;
8681 }
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (int)(arg1)->VisibleFromDocLine(arg2);
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 {
8690 resultobj = SWIG_From_int(static_cast<int >(result));
8691 }
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj = NULL;
8700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8701 int arg2 ;
8702 int result;
8703 PyObject * obj0 = 0 ;
8704 PyObject * obj1 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self",(char *) "lineDisplay", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail;
8712 {
8713 arg2 = static_cast<int >(SWIG_As_int(obj1));
8714 if (SWIG_arg_fail(2)) SWIG_fail;
8715 }
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)(arg1)->DocLineFromVisible(arg2);
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 {
8724 resultobj = SWIG_From_int(static_cast<int >(result));
8725 }
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj = NULL;
8734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8735 int arg2 ;
8736 int arg3 ;
8737 PyObject * obj0 = 0 ;
8738 PyObject * obj1 = 0 ;
8739 PyObject * obj2 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self",(char *) "line",(char *) "level", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail;
8747 {
8748 arg2 = static_cast<int >(SWIG_As_int(obj1));
8749 if (SWIG_arg_fail(2)) SWIG_fail;
8750 }
8751 {
8752 arg3 = static_cast<int >(SWIG_As_int(obj2));
8753 if (SWIG_arg_fail(3)) SWIG_fail;
8754 }
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 (arg1)->SetFoldLevel(arg2,arg3);
8758
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 Py_INCREF(Py_None); resultobj = Py_None;
8763 return resultobj;
8764 fail:
8765 return NULL;
8766 }
8767
8768
8769 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj = NULL;
8771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8772 int arg2 ;
8773 int result;
8774 PyObject * obj0 = 0 ;
8775 PyObject * obj1 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "line", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail;
8783 {
8784 arg2 = static_cast<int >(SWIG_As_int(obj1));
8785 if (SWIG_arg_fail(2)) SWIG_fail;
8786 }
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 result = (int)(arg1)->GetFoldLevel(arg2);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 {
8795 resultobj = SWIG_From_int(static_cast<int >(result));
8796 }
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj = NULL;
8805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8806 int arg2 ;
8807 int arg3 ;
8808 int result;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 PyObject * obj2 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "line",(char *) "level", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail;
8819 {
8820 arg2 = static_cast<int >(SWIG_As_int(obj1));
8821 if (SWIG_arg_fail(2)) SWIG_fail;
8822 }
8823 {
8824 arg3 = static_cast<int >(SWIG_As_int(obj2));
8825 if (SWIG_arg_fail(3)) SWIG_fail;
8826 }
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (int)(arg1)->GetLastChild(arg2,arg3);
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 {
8835 resultobj = SWIG_From_int(static_cast<int >(result));
8836 }
8837 return resultobj;
8838 fail:
8839 return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj = NULL;
8845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8846 int arg2 ;
8847 int result;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self",(char *) "line", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8856 if (SWIG_arg_fail(1)) SWIG_fail;
8857 {
8858 arg2 = static_cast<int >(SWIG_As_int(obj1));
8859 if (SWIG_arg_fail(2)) SWIG_fail;
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (int)(arg1)->GetFoldParent(arg2);
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 {
8869 resultobj = SWIG_From_int(static_cast<int >(result));
8870 }
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj = NULL;
8879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8880 int arg2 ;
8881 int arg3 ;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 PyObject * obj2 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8891 if (SWIG_arg_fail(1)) SWIG_fail;
8892 {
8893 arg2 = static_cast<int >(SWIG_As_int(obj1));
8894 if (SWIG_arg_fail(2)) SWIG_fail;
8895 }
8896 {
8897 arg3 = static_cast<int >(SWIG_As_int(obj2));
8898 if (SWIG_arg_fail(3)) SWIG_fail;
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 (arg1)->ShowLines(arg2,arg3);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 Py_INCREF(Py_None); resultobj = Py_None;
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj = NULL;
8916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8917 int arg2 ;
8918 int arg3 ;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8928 if (SWIG_arg_fail(1)) SWIG_fail;
8929 {
8930 arg2 = static_cast<int >(SWIG_As_int(obj1));
8931 if (SWIG_arg_fail(2)) SWIG_fail;
8932 }
8933 {
8934 arg3 = static_cast<int >(SWIG_As_int(obj2));
8935 if (SWIG_arg_fail(3)) SWIG_fail;
8936 }
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 (arg1)->HideLines(arg2,arg3);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj = NULL;
8953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8954 int arg2 ;
8955 bool result;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self",(char *) "line", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail;
8965 {
8966 arg2 = static_cast<int >(SWIG_As_int(obj1));
8967 if (SWIG_arg_fail(2)) SWIG_fail;
8968 }
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (bool)(arg1)->GetLineVisible(arg2);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 {
8977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8978 }
8979 return resultobj;
8980 fail:
8981 return NULL;
8982 }
8983
8984
8985 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj = NULL;
8987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8988 int arg2 ;
8989 bool arg3 ;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 PyObject * obj2 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self",(char *) "line",(char *) "expanded", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8999 if (SWIG_arg_fail(1)) SWIG_fail;
9000 {
9001 arg2 = static_cast<int >(SWIG_As_int(obj1));
9002 if (SWIG_arg_fail(2)) SWIG_fail;
9003 }
9004 {
9005 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9006 if (SWIG_arg_fail(3)) SWIG_fail;
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetFoldExpanded(arg2,arg3);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj = NULL;
9024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9025 int arg2 ;
9026 bool result;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self",(char *) "line", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
9034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail;
9036 {
9037 arg2 = static_cast<int >(SWIG_As_int(obj1));
9038 if (SWIG_arg_fail(2)) SWIG_fail;
9039 }
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (bool)(arg1)->GetFoldExpanded(arg2);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 {
9048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9049 }
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj = NULL;
9058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9059 int arg2 ;
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
9062 char *kwnames[] = {
9063 (char *) "self",(char *) "line", NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
9067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9068 if (SWIG_arg_fail(1)) SWIG_fail;
9069 {
9070 arg2 = static_cast<int >(SWIG_As_int(obj1));
9071 if (SWIG_arg_fail(2)) SWIG_fail;
9072 }
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 (arg1)->ToggleFold(arg2);
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 Py_INCREF(Py_None); resultobj = Py_None;
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = NULL;
9089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9090 int arg2 ;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "line", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
9100 {
9101 arg2 = static_cast<int >(SWIG_As_int(obj1));
9102 if (SWIG_arg_fail(2)) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 (arg1)->EnsureVisible(arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 Py_INCREF(Py_None); resultobj = Py_None;
9112 return resultobj;
9113 fail:
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj = NULL;
9120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9121 int arg2 ;
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self",(char *) "flags", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
9129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9130 if (SWIG_arg_fail(1)) SWIG_fail;
9131 {
9132 arg2 = static_cast<int >(SWIG_As_int(obj1));
9133 if (SWIG_arg_fail(2)) SWIG_fail;
9134 }
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 (arg1)->SetFoldFlags(arg2);
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 Py_INCREF(Py_None); resultobj = Py_None;
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj = NULL;
9151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9152 int arg2 ;
9153 PyObject * obj0 = 0 ;
9154 PyObject * obj1 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self",(char *) "line", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
9160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail;
9162 {
9163 arg2 = static_cast<int >(SWIG_As_int(obj1));
9164 if (SWIG_arg_fail(2)) SWIG_fail;
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->EnsureVisibleEnforcePolicy(arg2);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj = NULL;
9182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9183 bool arg2 ;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "tabIndents", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail;
9193 {
9194 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9195 if (SWIG_arg_fail(2)) SWIG_fail;
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->SetTabIndents(arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj = NULL;
9213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9214 bool result;
9215 PyObject * obj0 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (bool)(arg1)->GetTabIndents();
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 {
9231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9232 }
9233 return resultobj;
9234 fail:
9235 return NULL;
9236 }
9237
9238
9239 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj = NULL;
9241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9242 bool arg2 ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "bsUnIndents", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail;
9252 {
9253 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9254 if (SWIG_arg_fail(2)) SWIG_fail;
9255 }
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->SetBackSpaceUnIndents(arg2);
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 Py_INCREF(Py_None); resultobj = Py_None;
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj = NULL;
9272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9273 bool result;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (bool)(arg1)->GetBackSpaceUnIndents();
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 {
9290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj = NULL;
9300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9301 int arg2 ;
9302 PyObject * obj0 = 0 ;
9303 PyObject * obj1 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self",(char *) "periodMilliseconds", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail;
9311 {
9312 arg2 = static_cast<int >(SWIG_As_int(obj1));
9313 if (SWIG_arg_fail(2)) SWIG_fail;
9314 }
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 (arg1)->SetMouseDwellTime(arg2);
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 Py_INCREF(Py_None); resultobj = Py_None;
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj = NULL;
9331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9332 int result;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail;
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = (int)(arg1)->GetMouseDwellTime();
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 {
9349 resultobj = SWIG_From_int(static_cast<int >(result));
9350 }
9351 return resultobj;
9352 fail:
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj = NULL;
9359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9360 int arg2 ;
9361 bool arg3 ;
9362 int result;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj1 = 0 ;
9365 PyObject * obj2 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail;
9373 {
9374 arg2 = static_cast<int >(SWIG_As_int(obj1));
9375 if (SWIG_arg_fail(2)) SWIG_fail;
9376 }
9377 {
9378 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9379 if (SWIG_arg_fail(3)) SWIG_fail;
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (int)(arg1)->WordStartPosition(arg2,arg3);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 {
9389 resultobj = SWIG_From_int(static_cast<int >(result));
9390 }
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj = NULL;
9399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9400 int arg2 ;
9401 bool arg3 ;
9402 int result;
9403 PyObject * obj0 = 0 ;
9404 PyObject * obj1 = 0 ;
9405 PyObject * obj2 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9412 if (SWIG_arg_fail(1)) SWIG_fail;
9413 {
9414 arg2 = static_cast<int >(SWIG_As_int(obj1));
9415 if (SWIG_arg_fail(2)) SWIG_fail;
9416 }
9417 {
9418 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9419 if (SWIG_arg_fail(3)) SWIG_fail;
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (int)(arg1)->WordEndPosition(arg2,arg3);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 {
9429 resultobj = SWIG_From_int(static_cast<int >(result));
9430 }
9431 return resultobj;
9432 fail:
9433 return NULL;
9434 }
9435
9436
9437 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj = NULL;
9439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9440 int arg2 ;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "mode", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail;
9450 {
9451 arg2 = static_cast<int >(SWIG_As_int(obj1));
9452 if (SWIG_arg_fail(2)) SWIG_fail;
9453 }
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 (arg1)->SetWrapMode(arg2);
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 Py_INCREF(Py_None); resultobj = Py_None;
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj = NULL;
9470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9471 int result;
9472 PyObject * obj0 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (int)(arg1)->GetWrapMode();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = SWIG_From_int(static_cast<int >(result));
9489 }
9490 return resultobj;
9491 fail:
9492 return NULL;
9493 }
9494
9495
9496 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = NULL;
9498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9499 int arg2 ;
9500 PyObject * obj0 = 0 ;
9501 PyObject * obj1 = 0 ;
9502 char *kwnames[] = {
9503 (char *) "self",(char *) "wrapVisualFlags", NULL
9504 };
9505
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9508 if (SWIG_arg_fail(1)) SWIG_fail;
9509 {
9510 arg2 = static_cast<int >(SWIG_As_int(obj1));
9511 if (SWIG_arg_fail(2)) SWIG_fail;
9512 }
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 (arg1)->SetWrapVisualFlags(arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj = NULL;
9529 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9530 int result;
9531 PyObject * obj0 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9538 if (SWIG_arg_fail(1)) SWIG_fail;
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (int)(arg1)->GetWrapVisualFlags();
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 {
9547 resultobj = SWIG_From_int(static_cast<int >(result));
9548 }
9549 return resultobj;
9550 fail:
9551 return NULL;
9552 }
9553
9554
9555 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj = NULL;
9557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9558 int arg2 ;
9559 PyObject * obj0 = 0 ;
9560 PyObject * obj1 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9567 if (SWIG_arg_fail(1)) SWIG_fail;
9568 {
9569 arg2 = static_cast<int >(SWIG_As_int(obj1));
9570 if (SWIG_arg_fail(2)) SWIG_fail;
9571 }
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 (arg1)->SetWrapVisualFlagsLocation(arg2);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 Py_INCREF(Py_None); resultobj = Py_None;
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj = NULL;
9588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (int)(arg1)->GetWrapVisualFlagsLocation();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 {
9606 resultobj = SWIG_From_int(static_cast<int >(result));
9607 }
9608 return resultobj;
9609 fail:
9610 return NULL;
9611 }
9612
9613
9614 static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj = NULL;
9616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9617 int arg2 ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self",(char *) "indent", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail;
9627 {
9628 arg2 = static_cast<int >(SWIG_As_int(obj1));
9629 if (SWIG_arg_fail(2)) SWIG_fail;
9630 }
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
9633 (arg1)->SetWrapStartIndent(arg2);
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 Py_INCREF(Py_None); resultobj = Py_None;
9639 return resultobj;
9640 fail:
9641 return NULL;
9642 }
9643
9644
9645 static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj = NULL;
9647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9648 int result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (int)(arg1)->GetWrapStartIndent();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 {
9665 resultobj = SWIG_From_int(static_cast<int >(result));
9666 }
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9674 PyObject *resultobj = NULL;
9675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9676 int arg2 ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self",(char *) "mode", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail;
9686 {
9687 arg2 = static_cast<int >(SWIG_As_int(obj1));
9688 if (SWIG_arg_fail(2)) SWIG_fail;
9689 }
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 (arg1)->SetLayoutCache(arg2);
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 Py_INCREF(Py_None); resultobj = Py_None;
9698 return resultobj;
9699 fail:
9700 return NULL;
9701 }
9702
9703
9704 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj = NULL;
9706 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9707 int result;
9708 PyObject * obj0 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = (int)(arg1)->GetLayoutCache();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 {
9724 resultobj = SWIG_From_int(static_cast<int >(result));
9725 }
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = NULL;
9734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9735 int arg2 ;
9736 PyObject * obj0 = 0 ;
9737 PyObject * obj1 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self",(char *) "pixelWidth", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail;
9745 {
9746 arg2 = static_cast<int >(SWIG_As_int(obj1));
9747 if (SWIG_arg_fail(2)) SWIG_fail;
9748 }
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 (arg1)->SetScrollWidth(arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj = NULL;
9765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9766 int result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
9773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9774 if (SWIG_arg_fail(1)) SWIG_fail;
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)(arg1)->GetScrollWidth();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783 resultobj = SWIG_From_int(static_cast<int >(result));
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj = NULL;
9793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9794 int arg2 ;
9795 wxString *arg3 = 0 ;
9796 int result;
9797 bool temp3 = false ;
9798 PyObject * obj0 = 0 ;
9799 PyObject * obj1 = 0 ;
9800 PyObject * obj2 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self",(char *) "style",(char *) "text", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
9808 {
9809 arg2 = static_cast<int >(SWIG_As_int(obj1));
9810 if (SWIG_arg_fail(2)) SWIG_fail;
9811 }
9812 {
9813 arg3 = wxString_in_helper(obj2);
9814 if (arg3 == NULL) SWIG_fail;
9815 temp3 = true;
9816 }
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 {
9825 resultobj = SWIG_From_int(static_cast<int >(result));
9826 }
9827 {
9828 if (temp3)
9829 delete arg3;
9830 }
9831 return resultobj;
9832 fail:
9833 {
9834 if (temp3)
9835 delete arg3;
9836 }
9837 return NULL;
9838 }
9839
9840
9841 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj = NULL;
9843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9844 bool arg2 ;
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self",(char *) "endAtLastLine", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9853 if (SWIG_arg_fail(1)) SWIG_fail;
9854 {
9855 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9856 if (SWIG_arg_fail(2)) SWIG_fail;
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->SetEndAtLastLine(arg2);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 Py_INCREF(Py_None); resultobj = Py_None;
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj = NULL;
9874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9875 int result;
9876 PyObject * obj0 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "self", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9883 if (SWIG_arg_fail(1)) SWIG_fail;
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 result = (int)(arg1)->GetEndAtLastLine();
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 {
9892 resultobj = SWIG_From_int(static_cast<int >(result));
9893 }
9894 return resultobj;
9895 fail:
9896 return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj = NULL;
9902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9903 int arg2 ;
9904 int result;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj1 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "line", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
9912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9913 if (SWIG_arg_fail(1)) SWIG_fail;
9914 {
9915 arg2 = static_cast<int >(SWIG_As_int(obj1));
9916 if (SWIG_arg_fail(2)) SWIG_fail;
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (int)(arg1)->TextHeight(arg2);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = SWIG_From_int(static_cast<int >(result));
9927 }
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = NULL;
9936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9937 bool arg2 ;
9938 PyObject * obj0 = 0 ;
9939 PyObject * obj1 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "self",(char *) "show", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
9945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail;
9947 {
9948 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9949 if (SWIG_arg_fail(2)) SWIG_fail;
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 (arg1)->SetUseVerticalScrollBar(arg2);
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 Py_INCREF(Py_None); resultobj = Py_None;
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj = NULL;
9967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9968 bool result;
9969 PyObject * obj0 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9976 if (SWIG_arg_fail(1)) SWIG_fail;
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (bool)(arg1)->GetUseVerticalScrollBar();
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9986 }
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj = NULL;
9995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9996 wxString *arg2 = 0 ;
9997 bool temp2 = false ;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self",(char *) "text", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10006 if (SWIG_arg_fail(1)) SWIG_fail;
10007 {
10008 arg2 = wxString_in_helper(obj1);
10009 if (arg2 == NULL) SWIG_fail;
10010 temp2 = true;
10011 }
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 (arg1)->AppendText((wxString const &)*arg2);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 Py_INCREF(Py_None); resultobj = Py_None;
10020 {
10021 if (temp2)
10022 delete arg2;
10023 }
10024 return resultobj;
10025 fail:
10026 {
10027 if (temp2)
10028 delete arg2;
10029 }
10030 return NULL;
10031 }
10032
10033
10034 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj = NULL;
10036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10037 bool result;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
10044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10045 if (SWIG_arg_fail(1)) SWIG_fail;
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (bool)(arg1)->GetTwoPhaseDraw();
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 {
10054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10055 }
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj = NULL;
10064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10065 bool arg2 ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self",(char *) "twoPhase", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
10073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail;
10075 {
10076 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
10077 if (SWIG_arg_fail(2)) SWIG_fail;
10078 }
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 (arg1)->SetTwoPhaseDraw(arg2);
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 Py_INCREF(Py_None); resultobj = Py_None;
10087 return resultobj;
10088 fail:
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj = NULL;
10095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
10102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10103 if (SWIG_arg_fail(1)) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 (arg1)->TargetFromSelection();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 Py_INCREF(Py_None); resultobj = Py_None;
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj = NULL;
10120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
10127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10128 if (SWIG_arg_fail(1)) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 (arg1)->LinesJoin();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 Py_INCREF(Py_None); resultobj = Py_None;
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = NULL;
10145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10146 int arg2 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self",(char *) "pixelWidth", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
10154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail;
10156 {
10157 arg2 = static_cast<int >(SWIG_As_int(obj1));
10158 if (SWIG_arg_fail(2)) SWIG_fail;
10159 }
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 (arg1)->LinesSplit(arg2);
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 Py_INCREF(Py_None); resultobj = Py_None;
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj = NULL;
10176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10177 bool arg2 ;
10178 wxColour *arg3 = 0 ;
10179 wxColour temp3 ;
10180 PyObject * obj0 = 0 ;
10181 PyObject * obj1 = 0 ;
10182 PyObject * obj2 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "useSetting",(char *) "back", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail;
10190 {
10191 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
10192 if (SWIG_arg_fail(2)) SWIG_fail;
10193 }
10194 {
10195 arg3 = &temp3;
10196 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10197 }
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 Py_INCREF(Py_None); resultobj = Py_None;
10206 return resultobj;
10207 fail:
10208 return NULL;
10209 }
10210
10211
10212 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj = NULL;
10214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10215 bool arg2 ;
10216 wxColour *arg3 = 0 ;
10217 wxColour temp3 ;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 PyObject * obj2 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
10223 };
10224
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 {
10229 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
10230 if (SWIG_arg_fail(2)) SWIG_fail;
10231 }
10232 {
10233 arg3 = &temp3;
10234 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10235 }
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 Py_INCREF(Py_None); resultobj = Py_None;
10244 return resultobj;
10245 fail:
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj = NULL;
10252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10260 if (SWIG_arg_fail(1)) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 (arg1)->LineDown();
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 Py_INCREF(Py_None); resultobj = Py_None;
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj = NULL;
10277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10285 if (SWIG_arg_fail(1)) SWIG_fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 (arg1)->LineDownExtend();
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 Py_INCREF(Py_None); resultobj = Py_None;
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj = NULL;
10302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10310 if (SWIG_arg_fail(1)) SWIG_fail;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->LineUp();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 Py_INCREF(Py_None); resultobj = Py_None;
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj = NULL;
10327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10328 PyObject * obj0 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10335 if (SWIG_arg_fail(1)) SWIG_fail;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->LineUpExtend();
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj = NULL;
10352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10353 PyObject * obj0 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->CharLeft();
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj = NULL;
10377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10378 PyObject * obj0 = 0 ;
10379 char *kwnames[] = {
10380 (char *) "self", NULL
10381 };
10382
10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 (arg1)->CharLeftExtend();
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj = NULL;
10402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10410 if (SWIG_arg_fail(1)) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->CharRight();
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj = NULL;
10427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10428 PyObject * obj0 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 (arg1)->CharRightExtend();
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 Py_INCREF(Py_None); resultobj = Py_None;
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj = NULL;
10452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10453 PyObject * obj0 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10460 if (SWIG_arg_fail(1)) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->WordLeft();
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 Py_INCREF(Py_None); resultobj = Py_None;
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj = NULL;
10477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->WordLeftExtend();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj = NULL;
10502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->WordRight();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj = NULL;
10527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->WordRightExtend();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj = NULL;
10552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->Home();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj = NULL;
10577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->HomeExtend();
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = NULL;
10602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10610 if (SWIG_arg_fail(1)) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->LineEnd();
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 Py_INCREF(Py_None); resultobj = Py_None;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj = NULL;
10627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10635 if (SWIG_arg_fail(1)) SWIG_fail;
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 (arg1)->LineEndExtend();
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj = NULL;
10652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10653 PyObject * obj0 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->DocumentStart();
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj = NULL;
10677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10678 PyObject * obj0 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10685 if (SWIG_arg_fail(1)) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 (arg1)->DocumentStartExtend();
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 Py_INCREF(Py_None); resultobj = Py_None;
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj = NULL;
10702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->DocumentEnd();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj = NULL;
10727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10728 PyObject * obj0 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->DocumentEndExtend();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj = NULL;
10752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10753 PyObject * obj0 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->PageUp();
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj = NULL;
10777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10785 if (SWIG_arg_fail(1)) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 (arg1)->PageUpExtend();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 Py_INCREF(Py_None); resultobj = Py_None;
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj = NULL;
10802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 (arg1)->PageDown();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 Py_INCREF(Py_None); resultobj = Py_None;
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj = NULL;
10827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10828 PyObject * obj0 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail;
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 (arg1)->PageDownExtend();
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj = NULL;
10852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->EditToggleOvertype();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj = NULL;
10877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10878 PyObject * obj0 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10885 if (SWIG_arg_fail(1)) SWIG_fail;
10886 {
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 (arg1)->Cancel();
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 Py_INCREF(Py_None); resultobj = Py_None;
10894 return resultobj;
10895 fail:
10896 return NULL;
10897 }
10898
10899
10900 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj = NULL;
10902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail;
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->DeleteBack();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj = NULL;
10927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10928 PyObject * obj0 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10935 if (SWIG_arg_fail(1)) SWIG_fail;
10936 {
10937 PyThreadState* __tstate = wxPyBeginAllowThreads();
10938 (arg1)->Tab();
10939
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
10943 Py_INCREF(Py_None); resultobj = Py_None;
10944 return resultobj;
10945 fail:
10946 return NULL;
10947 }
10948
10949
10950 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj = NULL;
10952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10960 if (SWIG_arg_fail(1)) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->BackTab();
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj = NULL;
10977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10978 PyObject * obj0 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail;
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 (arg1)->NewLine();
10989
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 Py_INCREF(Py_None); resultobj = Py_None;
10994 return resultobj;
10995 fail:
10996 return NULL;
10997 }
10998
10999
11000 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
11001 PyObject *resultobj = NULL;
11002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
11009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11010 if (SWIG_arg_fail(1)) SWIG_fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->FormFeed();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj = NULL;
11027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11028 PyObject * obj0 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
11034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->VCHome();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj = NULL;
11052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11053 PyObject * obj0 = 0 ;
11054 char *kwnames[] = {
11055 (char *) "self", NULL
11056 };
11057
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
11059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail;
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->VCHomeExtend();
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj = NULL;
11077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11078 PyObject * obj0 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
11084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11085 if (SWIG_arg_fail(1)) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 (arg1)->ZoomIn();
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 Py_INCREF(Py_None); resultobj = Py_None;
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj = NULL;
11102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11103 PyObject * obj0 = 0 ;
11104 char *kwnames[] = {
11105 (char *) "self", NULL
11106 };
11107
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
11109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11110 if (SWIG_arg_fail(1)) SWIG_fail;
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 (arg1)->ZoomOut();
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 Py_INCREF(Py_None); resultobj = Py_None;
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj = NULL;
11127 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11128 PyObject * obj0 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "self", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
11134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->DelWordLeft();
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj = NULL;
11152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
11159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 (arg1)->DelWordRight();
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj = NULL;
11177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11178 PyObject * obj0 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail;
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 (arg1)->LineCut();
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 Py_INCREF(Py_None); resultobj = Py_None;
11194 return resultobj;
11195 fail:
11196 return NULL;
11197 }
11198
11199
11200 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj = NULL;
11202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail;
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->LineDelete();
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 Py_INCREF(Py_None); resultobj = Py_None;
11219 return resultobj;
11220 fail:
11221 return NULL;
11222 }
11223
11224
11225 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj = NULL;
11227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11228 PyObject * obj0 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail;
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 (arg1)->LineTranspose();
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 Py_INCREF(Py_None); resultobj = Py_None;
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = NULL;
11252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11253 PyObject * obj0 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11260 if (SWIG_arg_fail(1)) SWIG_fail;
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 (arg1)->LineDuplicate();
11264
11265 wxPyEndAllowThreads(__tstate);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
11268 Py_INCREF(Py_None); resultobj = Py_None;
11269 return resultobj;
11270 fail:
11271 return NULL;
11272 }
11273
11274
11275 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
11276 PyObject *resultobj = NULL;
11277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail;
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 (arg1)->LowerCase();
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 Py_INCREF(Py_None); resultobj = Py_None;
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj = NULL;
11302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11303 PyObject * obj0 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 (arg1)->UpperCase();
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 Py_INCREF(Py_None); resultobj = Py_None;
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj = NULL;
11327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11328 PyObject * obj0 = 0 ;
11329 char *kwnames[] = {
11330 (char *) "self", NULL
11331 };
11332
11333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 (arg1)->LineScrollDown();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 Py_INCREF(Py_None); resultobj = Py_None;
11344 return resultobj;
11345 fail:
11346 return NULL;
11347 }
11348
11349
11350 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj = NULL;
11352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11360 if (SWIG_arg_fail(1)) SWIG_fail;
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->LineScrollUp();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372 }
11373
11374
11375 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj = NULL;
11377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11378 PyObject * obj0 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail;
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->DeleteBackNotLine();
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 Py_INCREF(Py_None); resultobj = Py_None;
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj = NULL;
11402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11403 PyObject * obj0 = 0 ;
11404 char *kwnames[] = {
11405 (char *) "self", NULL
11406 };
11407
11408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail;
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->HomeDisplay();
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 Py_INCREF(Py_None); resultobj = Py_None;
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj = NULL;
11427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11428 PyObject * obj0 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 (arg1)->HomeDisplayExtend();
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 Py_INCREF(Py_None); resultobj = Py_None;
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj = NULL;
11452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11453 PyObject * obj0 = 0 ;
11454 char *kwnames[] = {
11455 (char *) "self", NULL
11456 };
11457
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 (arg1)->LineEndDisplay();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 Py_INCREF(Py_None); resultobj = Py_None;
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj = NULL;
11477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11478 PyObject * obj0 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "self", NULL
11481 };
11482
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail;
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->LineEndDisplayExtend();
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 Py_INCREF(Py_None); resultobj = Py_None;
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj = NULL;
11502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11503 PyObject * obj0 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail;
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 (arg1)->HomeWrap();
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 Py_INCREF(Py_None); resultobj = Py_None;
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj = NULL;
11527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11535 if (SWIG_arg_fail(1)) SWIG_fail;
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 (arg1)->HomeWrapExtend();
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
11543 Py_INCREF(Py_None); resultobj = Py_None;
11544 return resultobj;
11545 fail:
11546 return NULL;
11547 }
11548
11549
11550 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj = NULL;
11552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11553 PyObject * obj0 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 (arg1)->LineEndWrap();
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 Py_INCREF(Py_None); resultobj = Py_None;
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj = NULL;
11577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11578 PyObject * obj0 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11585 if (SWIG_arg_fail(1)) SWIG_fail;
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->LineEndWrapExtend();
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 Py_INCREF(Py_None); resultobj = Py_None;
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj = NULL;
11602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11610 if (SWIG_arg_fail(1)) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 (arg1)->VCHomeWrap();
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 Py_INCREF(Py_None); resultobj = Py_None;
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj = NULL;
11627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11628 PyObject * obj0 = 0 ;
11629 char *kwnames[] = {
11630 (char *) "self", NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11635 if (SWIG_arg_fail(1)) SWIG_fail;
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 (arg1)->VCHomeWrapExtend();
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 Py_INCREF(Py_None); resultobj = Py_None;
11644 return resultobj;
11645 fail:
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj = NULL;
11652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11653 PyObject * obj0 = 0 ;
11654 char *kwnames[] = {
11655 (char *) "self", NULL
11656 };
11657
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11660 if (SWIG_arg_fail(1)) SWIG_fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 (arg1)->LineCopy();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 Py_INCREF(Py_None); resultobj = Py_None;
11669 return resultobj;
11670 fail:
11671 return NULL;
11672 }
11673
11674
11675 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
11676 PyObject *resultobj = NULL;
11677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11678 PyObject * obj0 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "self", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11685 if (SWIG_arg_fail(1)) SWIG_fail;
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->MoveCaretInsideView();
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 Py_INCREF(Py_None); resultobj = Py_None;
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj = NULL;
11702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11703 int arg2 ;
11704 int result;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "line", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11713 if (SWIG_arg_fail(1)) SWIG_fail;
11714 {
11715 arg2 = static_cast<int >(SWIG_As_int(obj1));
11716 if (SWIG_arg_fail(2)) SWIG_fail;
11717 }
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (int)(arg1)->LineLength(arg2);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 {
11726 resultobj = SWIG_From_int(static_cast<int >(result));
11727 }
11728 return resultobj;
11729 fail:
11730 return NULL;
11731 }
11732
11733
11734 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
11735 PyObject *resultobj = NULL;
11736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11737 int arg2 ;
11738 int arg3 ;
11739 PyObject * obj0 = 0 ;
11740 PyObject * obj1 = 0 ;
11741 PyObject * obj2 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail;
11749 {
11750 arg2 = static_cast<int >(SWIG_As_int(obj1));
11751 if (SWIG_arg_fail(2)) SWIG_fail;
11752 }
11753 {
11754 arg3 = static_cast<int >(SWIG_As_int(obj2));
11755 if (SWIG_arg_fail(3)) SWIG_fail;
11756 }
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 (arg1)->BraceHighlight(arg2,arg3);
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 Py_INCREF(Py_None); resultobj = Py_None;
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj = NULL;
11773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11774 int arg2 ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self",(char *) "pos", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
11784 {
11785 arg2 = static_cast<int >(SWIG_As_int(obj1));
11786 if (SWIG_arg_fail(2)) SWIG_fail;
11787 }
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 (arg1)->BraceBadLight(arg2);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 Py_INCREF(Py_None); resultobj = Py_None;
11796 return resultobj;
11797 fail:
11798 return NULL;
11799 }
11800
11801
11802 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj = NULL;
11804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11805 int arg2 ;
11806 int result;
11807 PyObject * obj0 = 0 ;
11808 PyObject * obj1 = 0 ;
11809 char *kwnames[] = {
11810 (char *) "self",(char *) "pos", NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11815 if (SWIG_arg_fail(1)) SWIG_fail;
11816 {
11817 arg2 = static_cast<int >(SWIG_As_int(obj1));
11818 if (SWIG_arg_fail(2)) SWIG_fail;
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (int)(arg1)->BraceMatch(arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 {
11828 resultobj = SWIG_From_int(static_cast<int >(result));
11829 }
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj = NULL;
11838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11839 bool result;
11840 PyObject * obj0 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail;
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (bool)(arg1)->GetViewEOL();
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 {
11856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11857 }
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj = NULL;
11866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11867 bool arg2 ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self",(char *) "visible", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail;
11877 {
11878 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11879 if (SWIG_arg_fail(2)) SWIG_fail;
11880 }
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetViewEOL(arg2);
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 Py_INCREF(Py_None); resultobj = Py_None;
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11896 PyObject *resultobj = NULL;
11897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11898 void *result;
11899 PyObject * obj0 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11906 if (SWIG_arg_fail(1)) SWIG_fail;
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (void *)(arg1)->GetDocPointer();
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj = NULL;
11923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11924 void *arg2 = (void *) 0 ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self",(char *) "docPointer", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail;
11934 {
11935 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
11936 SWIG_arg_fail(2);SWIG_fail;
11937 }
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 (arg1)->SetDocPointer(arg2);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 Py_INCREF(Py_None); resultobj = Py_None;
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj = NULL;
11955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11956 int arg2 ;
11957 PyObject * obj0 = 0 ;
11958 PyObject * obj1 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "self",(char *) "mask", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail;
11966 {
11967 arg2 = static_cast<int >(SWIG_As_int(obj1));
11968 if (SWIG_arg_fail(2)) SWIG_fail;
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->SetModEventMask(arg2);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj = NULL;
11986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11987 int result;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail;
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (int)(arg1)->GetEdgeColumn();
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 {
12004 resultobj = SWIG_From_int(static_cast<int >(result));
12005 }
12006 return resultobj;
12007 fail:
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj = NULL;
12014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12015 int arg2 ;
12016 PyObject * obj0 = 0 ;
12017 PyObject * obj1 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self",(char *) "column", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
12023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail;
12025 {
12026 arg2 = static_cast<int >(SWIG_As_int(obj1));
12027 if (SWIG_arg_fail(2)) SWIG_fail;
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->SetEdgeColumn(arg2);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj = NULL;
12045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12046 int result;
12047 PyObject * obj0 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
12053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail;
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 result = (int)(arg1)->GetEdgeMode();
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 {
12063 resultobj = SWIG_From_int(static_cast<int >(result));
12064 }
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj = NULL;
12073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12074 int arg2 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char *kwnames[] = {
12078 (char *) "self",(char *) "mode", NULL
12079 };
12080
12081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
12082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12083 if (SWIG_arg_fail(1)) SWIG_fail;
12084 {
12085 arg2 = static_cast<int >(SWIG_As_int(obj1));
12086 if (SWIG_arg_fail(2)) SWIG_fail;
12087 }
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetEdgeMode(arg2);
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 Py_INCREF(Py_None); resultobj = Py_None;
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj = NULL;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 wxColour result;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
12112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (arg1)->GetEdgeColour();
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 {
12122 wxColour * resultptr;
12123 resultptr = new wxColour(static_cast<wxColour & >(result));
12124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12125 }
12126 return resultobj;
12127 fail:
12128 return NULL;
12129 }
12130
12131
12132 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj = NULL;
12134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12135 wxColour *arg2 = 0 ;
12136 wxColour temp2 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self",(char *) "edgeColour", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
12144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail;
12146 {
12147 arg2 = &temp2;
12148 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12149 }
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 (arg1)->SetEdgeColour((wxColour const &)*arg2);
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 Py_INCREF(Py_None); resultobj = Py_None;
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj = NULL;
12166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
12173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 (arg1)->SearchAnchor();
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 Py_INCREF(Py_None); resultobj = Py_None;
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj = NULL;
12191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12192 int arg2 ;
12193 wxString *arg3 = 0 ;
12194 int result;
12195 bool temp3 = false ;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 PyObject * obj2 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self",(char *) "flags",(char *) "text", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail;
12206 {
12207 arg2 = static_cast<int >(SWIG_As_int(obj1));
12208 if (SWIG_arg_fail(2)) SWIG_fail;
12209 }
12210 {
12211 arg3 = wxString_in_helper(obj2);
12212 if (arg3 == NULL) SWIG_fail;
12213 temp3 = true;
12214 }
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 {
12223 resultobj = SWIG_From_int(static_cast<int >(result));
12224 }
12225 {
12226 if (temp3)
12227 delete arg3;
12228 }
12229 return resultobj;
12230 fail:
12231 {
12232 if (temp3)
12233 delete arg3;
12234 }
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj = NULL;
12241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12242 int arg2 ;
12243 wxString *arg3 = 0 ;
12244 int result;
12245 bool temp3 = false ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 PyObject * obj2 = 0 ;
12249 char *kwnames[] = {
12250 (char *) "self",(char *) "flags",(char *) "text", NULL
12251 };
12252
12253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12255 if (SWIG_arg_fail(1)) SWIG_fail;
12256 {
12257 arg2 = static_cast<int >(SWIG_As_int(obj1));
12258 if (SWIG_arg_fail(2)) SWIG_fail;
12259 }
12260 {
12261 arg3 = wxString_in_helper(obj2);
12262 if (arg3 == NULL) SWIG_fail;
12263 temp3 = true;
12264 }
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 {
12273 resultobj = SWIG_From_int(static_cast<int >(result));
12274 }
12275 {
12276 if (temp3)
12277 delete arg3;
12278 }
12279 return resultobj;
12280 fail:
12281 {
12282 if (temp3)
12283 delete arg3;
12284 }
12285 return NULL;
12286 }
12287
12288
12289 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj = NULL;
12291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12292 int result;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail;
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (int)(arg1)->LinesOnScreen();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 {
12309 resultobj = SWIG_From_int(static_cast<int >(result));
12310 }
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj = NULL;
12319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12320 bool arg2 ;
12321 PyObject * obj0 = 0 ;
12322 PyObject * obj1 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self",(char *) "allowPopUp", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12329 if (SWIG_arg_fail(1)) SWIG_fail;
12330 {
12331 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
12332 if (SWIG_arg_fail(2)) SWIG_fail;
12333 }
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 (arg1)->UsePopUp(arg2);
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 Py_INCREF(Py_None); resultobj = Py_None;
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj = NULL;
12350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12351 bool result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (bool)(arg1)->SelectionIsRectangle();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12369 }
12370 return resultobj;
12371 fail:
12372 return NULL;
12373 }
12374
12375
12376 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj = NULL;
12378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12379 int arg2 ;
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "self",(char *) "zoom", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail;
12389 {
12390 arg2 = static_cast<int >(SWIG_As_int(obj1));
12391 if (SWIG_arg_fail(2)) SWIG_fail;
12392 }
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 (arg1)->SetZoom(arg2);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 Py_INCREF(Py_None); resultobj = Py_None;
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj = NULL;
12409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12410 int result;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12418 if (SWIG_arg_fail(1)) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (int)(arg1)->GetZoom();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 {
12427 resultobj = SWIG_From_int(static_cast<int >(result));
12428 }
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj = NULL;
12437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12438 void *result;
12439 PyObject * obj0 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12446 if (SWIG_arg_fail(1)) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (void *)(arg1)->CreateDocument();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj = NULL;
12463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12464 void *arg2 = (void *) 0 ;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "docPointer", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12473 if (SWIG_arg_fail(1)) SWIG_fail;
12474 {
12475 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12476 SWIG_arg_fail(2);SWIG_fail;
12477 }
12478 }
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 (arg1)->AddRefDocument(arg2);
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 Py_INCREF(Py_None); resultobj = Py_None;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj = NULL;
12495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12496 void *arg2 = (void *) 0 ;
12497 PyObject * obj0 = 0 ;
12498 PyObject * obj1 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "docPointer", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
12504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12505 if (SWIG_arg_fail(1)) SWIG_fail;
12506 {
12507 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12508 SWIG_arg_fail(2);SWIG_fail;
12509 }
12510 }
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 (arg1)->ReleaseDocument(arg2);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 Py_INCREF(Py_None); resultobj = Py_None;
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj = NULL;
12527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12528 int result;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail;
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = (int)(arg1)->GetModEventMask();
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 {
12545 resultobj = SWIG_From_int(static_cast<int >(result));
12546 }
12547 return resultobj;
12548 fail:
12549 return NULL;
12550 }
12551
12552
12553 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj = NULL;
12555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12556 bool arg2 ;
12557 PyObject * obj0 = 0 ;
12558 PyObject * obj1 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self",(char *) "focus", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail;
12566 {
12567 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
12568 if (SWIG_arg_fail(2)) SWIG_fail;
12569 }
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->SetSTCFocus(arg2);
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 return resultobj;
12579 fail:
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj = NULL;
12586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12587 bool result;
12588 PyObject * obj0 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (bool)(arg1)->GetSTCFocus();
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 {
12604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12605 }
12606 return resultobj;
12607 fail:
12608 return NULL;
12609 }
12610
12611
12612 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj = NULL;
12614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12615 int arg2 ;
12616 PyObject * obj0 = 0 ;
12617 PyObject * obj1 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "statusCode", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
12626 arg2 = static_cast<int >(SWIG_As_int(obj1));
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 (arg1)->SetStatus(arg2);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 Py_INCREF(Py_None); resultobj = Py_None;
12637 return resultobj;
12638 fail:
12639 return NULL;
12640 }
12641
12642
12643 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12644 PyObject *resultobj = NULL;
12645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12646 int result;
12647 PyObject * obj0 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail;
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 result = (int)(arg1)->GetStatus();
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 {
12663 resultobj = SWIG_From_int(static_cast<int >(result));
12664 }
12665 return resultobj;
12666 fail:
12667 return NULL;
12668 }
12669
12670
12671 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12672 PyObject *resultobj = NULL;
12673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12674 bool arg2 ;
12675 PyObject * obj0 = 0 ;
12676 PyObject * obj1 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self",(char *) "captures", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail;
12684 {
12685 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
12686 if (SWIG_arg_fail(2)) SWIG_fail;
12687 }
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 (arg1)->SetMouseDownCaptures(arg2);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 Py_INCREF(Py_None); resultobj = Py_None;
12696 return resultobj;
12697 fail:
12698 return NULL;
12699 }
12700
12701
12702 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12703 PyObject *resultobj = NULL;
12704 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12705 bool result;
12706 PyObject * obj0 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (bool)(arg1)->GetMouseDownCaptures();
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 {
12722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12723 }
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj = NULL;
12732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12733 int arg2 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "cursorType", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail;
12743 {
12744 arg2 = static_cast<int >(SWIG_As_int(obj1));
12745 if (SWIG_arg_fail(2)) SWIG_fail;
12746 }
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetSTCCursor(arg2);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj = NULL;
12763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12764 int result;
12765 PyObject * obj0 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (int)(arg1)->GetSTCCursor();
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 {
12781 resultobj = SWIG_From_int(static_cast<int >(result));
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj = NULL;
12791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12792 int arg2 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self",(char *) "symbol", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail;
12802 {
12803 arg2 = static_cast<int >(SWIG_As_int(obj1));
12804 if (SWIG_arg_fail(2)) SWIG_fail;
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 (arg1)->SetControlCharSymbol(arg2);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 Py_INCREF(Py_None); resultobj = Py_None;
12814 return resultobj;
12815 fail:
12816 return NULL;
12817 }
12818
12819
12820 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12821 PyObject *resultobj = NULL;
12822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12823 int result;
12824 PyObject * obj0 = 0 ;
12825 char *kwnames[] = {
12826 (char *) "self", NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12831 if (SWIG_arg_fail(1)) SWIG_fail;
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (int)(arg1)->GetControlCharSymbol();
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 {
12840 resultobj = SWIG_From_int(static_cast<int >(result));
12841 }
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj = NULL;
12850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->WordPartLeft();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj = NULL;
12875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->WordPartLeftExtend();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj = NULL;
12900 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 (arg1)->WordPartRight();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 Py_INCREF(Py_None); resultobj = Py_None;
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12924 PyObject *resultobj = NULL;
12925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12926 PyObject * obj0 = 0 ;
12927 char *kwnames[] = {
12928 (char *) "self", NULL
12929 };
12930
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12933 if (SWIG_arg_fail(1)) SWIG_fail;
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 (arg1)->WordPartRightExtend();
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 Py_INCREF(Py_None); resultobj = Py_None;
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj = NULL;
12950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12951 int arg2 ;
12952 int arg3 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12962 if (SWIG_arg_fail(1)) SWIG_fail;
12963 {
12964 arg2 = static_cast<int >(SWIG_As_int(obj1));
12965 if (SWIG_arg_fail(2)) SWIG_fail;
12966 }
12967 {
12968 arg3 = static_cast<int >(SWIG_As_int(obj2));
12969 if (SWIG_arg_fail(3)) SWIG_fail;
12970 }
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 (arg1)->SetVisiblePolicy(arg2,arg3);
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 Py_INCREF(Py_None); resultobj = Py_None;
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj = NULL;
12987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12995 if (SWIG_arg_fail(1)) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 (arg1)->DelLineLeft();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 Py_INCREF(Py_None); resultobj = Py_None;
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj = NULL;
13012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13013 PyObject * obj0 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "self", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
13019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail;
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 (arg1)->DelLineRight();
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 Py_INCREF(Py_None); resultobj = Py_None;
13029 return resultobj;
13030 fail:
13031 return NULL;
13032 }
13033
13034
13035 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj = NULL;
13037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13038 int arg2 ;
13039 PyObject * obj0 = 0 ;
13040 PyObject * obj1 = 0 ;
13041 char *kwnames[] = {
13042 (char *) "self",(char *) "newOffset", NULL
13043 };
13044
13045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
13046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13047 if (SWIG_arg_fail(1)) SWIG_fail;
13048 {
13049 arg2 = static_cast<int >(SWIG_As_int(obj1));
13050 if (SWIG_arg_fail(2)) SWIG_fail;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->SetXOffset(arg2);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj = NULL;
13068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13069 int result;
13070 PyObject * obj0 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
13076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail;
13078 {
13079 PyThreadState* __tstate = wxPyBeginAllowThreads();
13080 result = (int)(arg1)->GetXOffset();
13081
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 {
13086 resultobj = SWIG_From_int(static_cast<int >(result));
13087 }
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj = NULL;
13096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13097 PyObject * obj0 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
13103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13104 if (SWIG_arg_fail(1)) SWIG_fail;
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 (arg1)->ChooseCaretX();
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 Py_INCREF(Py_None); resultobj = Py_None;
13113 return resultobj;
13114 fail:
13115 return NULL;
13116 }
13117
13118
13119 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj = NULL;
13121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13122 int arg2 ;
13123 int arg3 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 PyObject * obj2 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail;
13134 {
13135 arg2 = static_cast<int >(SWIG_As_int(obj1));
13136 if (SWIG_arg_fail(2)) SWIG_fail;
13137 }
13138 {
13139 arg3 = static_cast<int >(SWIG_As_int(obj2));
13140 if (SWIG_arg_fail(3)) SWIG_fail;
13141 }
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 (arg1)->SetXCaretPolicy(arg2,arg3);
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 Py_INCREF(Py_None); resultobj = Py_None;
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj = NULL;
13158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13159 int arg2 ;
13160 int arg3 ;
13161 PyObject * obj0 = 0 ;
13162 PyObject * obj1 = 0 ;
13163 PyObject * obj2 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail;
13171 {
13172 arg2 = static_cast<int >(SWIG_As_int(obj1));
13173 if (SWIG_arg_fail(2)) SWIG_fail;
13174 }
13175 {
13176 arg3 = static_cast<int >(SWIG_As_int(obj2));
13177 if (SWIG_arg_fail(3)) SWIG_fail;
13178 }
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 (arg1)->SetYCaretPolicy(arg2,arg3);
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
13186 Py_INCREF(Py_None); resultobj = Py_None;
13187 return resultobj;
13188 fail:
13189 return NULL;
13190 }
13191
13192
13193 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj = NULL;
13195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13196 int arg2 ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "self",(char *) "mode", NULL
13201 };
13202
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13205 if (SWIG_arg_fail(1)) SWIG_fail;
13206 {
13207 arg2 = static_cast<int >(SWIG_As_int(obj1));
13208 if (SWIG_arg_fail(2)) SWIG_fail;
13209 }
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 (arg1)->SetPrintWrapMode(arg2);
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 Py_INCREF(Py_None); resultobj = Py_None;
13218 return resultobj;
13219 fail:
13220 return NULL;
13221 }
13222
13223
13224 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13225 PyObject *resultobj = NULL;
13226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13227 int result;
13228 PyObject * obj0 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail;
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (int)(arg1)->GetPrintWrapMode();
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 {
13244 resultobj = SWIG_From_int(static_cast<int >(result));
13245 }
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj = NULL;
13254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13255 bool arg2 ;
13256 wxColour *arg3 = 0 ;
13257 wxColour temp3 ;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 PyObject * obj2 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13267 if (SWIG_arg_fail(1)) SWIG_fail;
13268 {
13269 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
13270 if (SWIG_arg_fail(2)) SWIG_fail;
13271 }
13272 {
13273 arg3 = &temp3;
13274 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 Py_INCREF(Py_None); resultobj = Py_None;
13284 return resultobj;
13285 fail:
13286 return NULL;
13287 }
13288
13289
13290 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj = NULL;
13292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13293 bool arg2 ;
13294 wxColour *arg3 = 0 ;
13295 wxColour temp3 ;
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
13298 PyObject * obj2 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "useSetting",(char *) "back", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail;
13306 {
13307 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
13308 if (SWIG_arg_fail(2)) SWIG_fail;
13309 }
13310 {
13311 arg3 = &temp3;
13312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13313 }
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj = NULL;
13330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13331 bool arg2 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self",(char *) "underline", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13340 if (SWIG_arg_fail(1)) SWIG_fail;
13341 {
13342 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
13343 if (SWIG_arg_fail(2)) SWIG_fail;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetHotspotActiveUnderline(arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj = NULL;
13361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13362 bool arg2 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "singleLine", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail;
13372 {
13373 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
13374 if (SWIG_arg_fail(2)) SWIG_fail;
13375 }
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 (arg1)->SetHotspotSingleLine(arg2);
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 Py_INCREF(Py_None); resultobj = Py_None;
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj = NULL;
13392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13393 PyObject * obj0 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->ParaDown();
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412 }
13413
13414
13415 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj = NULL;
13417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13418 PyObject * obj0 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13425 if (SWIG_arg_fail(1)) SWIG_fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->ParaDownExtend();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj = NULL;
13442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13450 if (SWIG_arg_fail(1)) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 (arg1)->ParaUp();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 Py_INCREF(Py_None); resultobj = Py_None;
13459 return resultobj;
13460 fail:
13461 return NULL;
13462 }
13463
13464
13465 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj = NULL;
13467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail;
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 (arg1)->ParaUpExtend();
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 Py_INCREF(Py_None); resultobj = Py_None;
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj = NULL;
13492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13493 int arg2 ;
13494 int result;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "pos", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13503 if (SWIG_arg_fail(1)) SWIG_fail;
13504 {
13505 arg2 = static_cast<int >(SWIG_As_int(obj1));
13506 if (SWIG_arg_fail(2)) SWIG_fail;
13507 }
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 result = (int)(arg1)->PositionBefore(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 {
13516 resultobj = SWIG_From_int(static_cast<int >(result));
13517 }
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj = NULL;
13526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13527 int arg2 ;
13528 int result;
13529 PyObject * obj0 = 0 ;
13530 PyObject * obj1 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self",(char *) "pos", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail;
13538 {
13539 arg2 = static_cast<int >(SWIG_As_int(obj1));
13540 if (SWIG_arg_fail(2)) SWIG_fail;
13541 }
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (int)(arg1)->PositionAfter(arg2);
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 {
13550 resultobj = SWIG_From_int(static_cast<int >(result));
13551 }
13552 return resultobj;
13553 fail:
13554 return NULL;
13555 }
13556
13557
13558 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj = NULL;
13560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13561 int arg2 ;
13562 int arg3 ;
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
13565 PyObject * obj2 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self",(char *) "start",(char *) "end", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail;
13573 {
13574 arg2 = static_cast<int >(SWIG_As_int(obj1));
13575 if (SWIG_arg_fail(2)) SWIG_fail;
13576 }
13577 {
13578 arg3 = static_cast<int >(SWIG_As_int(obj2));
13579 if (SWIG_arg_fail(3)) SWIG_fail;
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->CopyRange(arg2,arg3);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 Py_INCREF(Py_None); resultobj = Py_None;
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj = NULL;
13597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13598 int arg2 ;
13599 wxString *arg3 = 0 ;
13600 bool temp3 = false ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 PyObject * obj2 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "length",(char *) "text", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail;
13611 {
13612 arg2 = static_cast<int >(SWIG_As_int(obj1));
13613 if (SWIG_arg_fail(2)) SWIG_fail;
13614 }
13615 {
13616 arg3 = wxString_in_helper(obj2);
13617 if (arg3 == NULL) SWIG_fail;
13618 temp3 = true;
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 (arg1)->CopyText(arg2,(wxString const &)*arg3);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 Py_INCREF(Py_None); resultobj = Py_None;
13628 {
13629 if (temp3)
13630 delete arg3;
13631 }
13632 return resultobj;
13633 fail:
13634 {
13635 if (temp3)
13636 delete arg3;
13637 }
13638 return NULL;
13639 }
13640
13641
13642 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13643 PyObject *resultobj = NULL;
13644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13645 int arg2 ;
13646 PyObject * obj0 = 0 ;
13647 PyObject * obj1 = 0 ;
13648 char *kwnames[] = {
13649 (char *) "self",(char *) "mode", NULL
13650 };
13651
13652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13654 if (SWIG_arg_fail(1)) SWIG_fail;
13655 {
13656 arg2 = static_cast<int >(SWIG_As_int(obj1));
13657 if (SWIG_arg_fail(2)) SWIG_fail;
13658 }
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->SetSelectionMode(arg2);
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 Py_INCREF(Py_None); resultobj = Py_None;
13667 return resultobj;
13668 fail:
13669 return NULL;
13670 }
13671
13672
13673 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj = NULL;
13675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13676 int result;
13677 PyObject * obj0 = 0 ;
13678 char *kwnames[] = {
13679 (char *) "self", NULL
13680 };
13681
13682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13684 if (SWIG_arg_fail(1)) SWIG_fail;
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = (int)(arg1)->GetSelectionMode();
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 {
13693 resultobj = SWIG_From_int(static_cast<int >(result));
13694 }
13695 return resultobj;
13696 fail:
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj = NULL;
13703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13704 int arg2 ;
13705 int result;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "line", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail;
13715 {
13716 arg2 = static_cast<int >(SWIG_As_int(obj1));
13717 if (SWIG_arg_fail(2)) SWIG_fail;
13718 }
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (int)(arg1)->GetLineSelStartPosition(arg2);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 {
13727 resultobj = SWIG_From_int(static_cast<int >(result));
13728 }
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = NULL;
13737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13738 int arg2 ;
13739 int result;
13740 PyObject * obj0 = 0 ;
13741 PyObject * obj1 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self",(char *) "line", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
13747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13748 if (SWIG_arg_fail(1)) SWIG_fail;
13749 {
13750 arg2 = static_cast<int >(SWIG_As_int(obj1));
13751 if (SWIG_arg_fail(2)) SWIG_fail;
13752 }
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (int)(arg1)->GetLineSelEndPosition(arg2);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 {
13761 resultobj = SWIG_From_int(static_cast<int >(result));
13762 }
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj = NULL;
13771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13772 PyObject * obj0 = 0 ;
13773 char *kwnames[] = {
13774 (char *) "self", NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13779 if (SWIG_arg_fail(1)) SWIG_fail;
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->LineDownRectExtend();
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 Py_INCREF(Py_None); resultobj = Py_None;
13788 return resultobj;
13789 fail:
13790 return NULL;
13791 }
13792
13793
13794 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13795 PyObject *resultobj = NULL;
13796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13804 if (SWIG_arg_fail(1)) SWIG_fail;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 (arg1)->LineUpRectExtend();
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 Py_INCREF(Py_None); resultobj = Py_None;
13813 return resultobj;
13814 fail:
13815 return NULL;
13816 }
13817
13818
13819 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj = NULL;
13821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13822 PyObject * obj0 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13829 if (SWIG_arg_fail(1)) SWIG_fail;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 (arg1)->CharLeftRectExtend();
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 Py_INCREF(Py_None); resultobj = Py_None;
13838 return resultobj;
13839 fail:
13840 return NULL;
13841 }
13842
13843
13844 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13845 PyObject *resultobj = NULL;
13846 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13847 PyObject * obj0 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13854 if (SWIG_arg_fail(1)) SWIG_fail;
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 (arg1)->CharRightRectExtend();
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 Py_INCREF(Py_None); resultobj = Py_None;
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj = NULL;
13871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13872 PyObject * obj0 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13879 if (SWIG_arg_fail(1)) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->HomeRectExtend();
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 Py_INCREF(Py_None); resultobj = Py_None;
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj = NULL;
13896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13897 PyObject * obj0 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13904 if (SWIG_arg_fail(1)) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->VCHomeRectExtend();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 Py_INCREF(Py_None); resultobj = Py_None;
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj = NULL;
13921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13922 PyObject * obj0 = 0 ;
13923 char *kwnames[] = {
13924 (char *) "self", NULL
13925 };
13926
13927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13929 if (SWIG_arg_fail(1)) SWIG_fail;
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 (arg1)->LineEndRectExtend();
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 Py_INCREF(Py_None); resultobj = Py_None;
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj = NULL;
13946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13947 PyObject * obj0 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "self", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13954 if (SWIG_arg_fail(1)) SWIG_fail;
13955 {
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 (arg1)->PageUpRectExtend();
13958
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 Py_INCREF(Py_None); resultobj = Py_None;
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj = NULL;
13971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13972 PyObject * obj0 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail;
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 (arg1)->PageDownRectExtend();
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 Py_INCREF(Py_None); resultobj = Py_None;
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj = NULL;
13996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
14003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14004 if (SWIG_arg_fail(1)) SWIG_fail;
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->StutteredPageUp();
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj = NULL;
14021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14022 PyObject * obj0 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
14028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail;
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 (arg1)->StutteredPageUpExtend();
14033
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 Py_INCREF(Py_None); resultobj = Py_None;
14038 return resultobj;
14039 fail:
14040 return NULL;
14041 }
14042
14043
14044 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
14045 PyObject *resultobj = NULL;
14046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14047 PyObject * obj0 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
14053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14054 if (SWIG_arg_fail(1)) SWIG_fail;
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 (arg1)->StutteredPageDown();
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 Py_INCREF(Py_None); resultobj = Py_None;
14063 return resultobj;
14064 fail:
14065 return NULL;
14066 }
14067
14068
14069 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj = NULL;
14071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14072 PyObject * obj0 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
14078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail;
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 (arg1)->StutteredPageDownExtend();
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 Py_INCREF(Py_None); resultobj = Py_None;
14088 return resultobj;
14089 fail:
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj = NULL;
14096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
14103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 (arg1)->WordLeftEnd();
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj = NULL;
14121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14122 PyObject * obj0 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
14128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail;
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 (arg1)->WordLeftEndExtend();
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 Py_INCREF(Py_None); resultobj = Py_None;
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj = NULL;
14146 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14147 PyObject * obj0 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
14153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14154 if (SWIG_arg_fail(1)) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 (arg1)->WordRightEnd();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj = NULL;
14171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14172 PyObject * obj0 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail;
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 (arg1)->WordRightEndExtend();
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 Py_INCREF(Py_None); resultobj = Py_None;
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj = NULL;
14196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14197 wxString *arg2 = 0 ;
14198 bool temp2 = false ;
14199 PyObject * obj0 = 0 ;
14200 PyObject * obj1 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self",(char *) "characters", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14207 if (SWIG_arg_fail(1)) SWIG_fail;
14208 {
14209 arg2 = wxString_in_helper(obj1);
14210 if (arg2 == NULL) SWIG_fail;
14211 temp2 = true;
14212 }
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 Py_INCREF(Py_None); resultobj = Py_None;
14221 {
14222 if (temp2)
14223 delete arg2;
14224 }
14225 return resultobj;
14226 fail:
14227 {
14228 if (temp2)
14229 delete arg2;
14230 }
14231 return NULL;
14232 }
14233
14234
14235 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj = NULL;
14237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14238 PyObject * obj0 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 (arg1)->SetCharsDefault();
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 Py_INCREF(Py_None); resultobj = Py_None;
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj = NULL;
14262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14263 int result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14271 if (SWIG_arg_fail(1)) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 result = (int)(arg1)->AutoCompGetCurrent();
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 {
14280 resultobj = SWIG_From_int(static_cast<int >(result));
14281 }
14282 return resultobj;
14283 fail:
14284 return NULL;
14285 }
14286
14287
14288 static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj = NULL;
14290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14291 int arg2 ;
14292 PyObject * obj0 = 0 ;
14293 PyObject * obj1 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "bytes", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14300 if (SWIG_arg_fail(1)) SWIG_fail;
14301 {
14302 arg2 = static_cast<int >(SWIG_As_int(obj1));
14303 if (SWIG_arg_fail(2)) SWIG_fail;
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->Allocate(arg2);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 return resultobj;
14314 fail:
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj = NULL;
14321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14322 int arg2 ;
14323 int arg3 ;
14324 int result;
14325 PyObject * obj0 = 0 ;
14326 PyObject * obj1 = 0 ;
14327 PyObject * obj2 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "line",(char *) "column", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
14333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail;
14335 {
14336 arg2 = static_cast<int >(SWIG_As_int(obj1));
14337 if (SWIG_arg_fail(2)) SWIG_fail;
14338 }
14339 {
14340 arg3 = static_cast<int >(SWIG_As_int(obj2));
14341 if (SWIG_arg_fail(3)) SWIG_fail;
14342 }
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 result = (int)(arg1)->FindColumn(arg2,arg3);
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 {
14351 resultobj = SWIG_From_int(static_cast<int >(result));
14352 }
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj = NULL;
14361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14362 PyObject * obj0 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self", NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14369 if (SWIG_arg_fail(1)) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 (arg1)->StartRecord();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 Py_INCREF(Py_None); resultobj = Py_None;
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj = NULL;
14386 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14394 if (SWIG_arg_fail(1)) SWIG_fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->StopRecord();
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj = NULL;
14411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14412 int arg2 ;
14413 PyObject * obj0 = 0 ;
14414 PyObject * obj1 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self",(char *) "lexer", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
14420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail;
14422 {
14423 arg2 = static_cast<int >(SWIG_As_int(obj1));
14424 if (SWIG_arg_fail(2)) SWIG_fail;
14425 }
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 (arg1)->SetLexer(arg2);
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 Py_INCREF(Py_None); resultobj = Py_None;
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj = NULL;
14442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14443 int result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (int)(arg1)->GetLexer();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = SWIG_From_int(static_cast<int >(result));
14461 }
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj = NULL;
14470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14471 int arg2 ;
14472 int arg3 ;
14473 PyObject * obj0 = 0 ;
14474 PyObject * obj1 = 0 ;
14475 PyObject * obj2 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self",(char *) "start",(char *) "end", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14482 if (SWIG_arg_fail(1)) SWIG_fail;
14483 {
14484 arg2 = static_cast<int >(SWIG_As_int(obj1));
14485 if (SWIG_arg_fail(2)) SWIG_fail;
14486 }
14487 {
14488 arg3 = static_cast<int >(SWIG_As_int(obj2));
14489 if (SWIG_arg_fail(3)) SWIG_fail;
14490 }
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 (arg1)->Colourise(arg2,arg3);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 return resultobj;
14500 fail:
14501 return NULL;
14502 }
14503
14504
14505 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj = NULL;
14507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14508 wxString *arg2 = 0 ;
14509 wxString *arg3 = 0 ;
14510 bool temp2 = false ;
14511 bool temp3 = false ;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 PyObject * obj2 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "key",(char *) "value", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
14520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail;
14522 {
14523 arg2 = wxString_in_helper(obj1);
14524 if (arg2 == NULL) SWIG_fail;
14525 temp2 = true;
14526 }
14527 {
14528 arg3 = wxString_in_helper(obj2);
14529 if (arg3 == NULL) SWIG_fail;
14530 temp3 = true;
14531 }
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 Py_INCREF(Py_None); resultobj = Py_None;
14540 {
14541 if (temp2)
14542 delete arg2;
14543 }
14544 {
14545 if (temp3)
14546 delete arg3;
14547 }
14548 return resultobj;
14549 fail:
14550 {
14551 if (temp2)
14552 delete arg2;
14553 }
14554 {
14555 if (temp3)
14556 delete arg3;
14557 }
14558 return NULL;
14559 }
14560
14561
14562 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj = NULL;
14564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14565 int arg2 ;
14566 wxString *arg3 = 0 ;
14567 bool temp3 = false ;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 PyObject * obj2 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14577 if (SWIG_arg_fail(1)) SWIG_fail;
14578 {
14579 arg2 = static_cast<int >(SWIG_As_int(obj1));
14580 if (SWIG_arg_fail(2)) SWIG_fail;
14581 }
14582 {
14583 arg3 = wxString_in_helper(obj2);
14584 if (arg3 == NULL) SWIG_fail;
14585 temp3 = true;
14586 }
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 Py_INCREF(Py_None); resultobj = Py_None;
14595 {
14596 if (temp3)
14597 delete arg3;
14598 }
14599 return resultobj;
14600 fail:
14601 {
14602 if (temp3)
14603 delete arg3;
14604 }
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj = NULL;
14611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14612 wxString *arg2 = 0 ;
14613 bool temp2 = false ;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self",(char *) "language", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail;
14623 {
14624 arg2 = wxString_in_helper(obj1);
14625 if (arg2 == NULL) SWIG_fail;
14626 temp2 = true;
14627 }
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 (arg1)->SetLexerLanguage((wxString const &)*arg2);
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 Py_INCREF(Py_None); resultobj = Py_None;
14636 {
14637 if (temp2)
14638 delete arg2;
14639 }
14640 return resultobj;
14641 fail:
14642 {
14643 if (temp2)
14644 delete arg2;
14645 }
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj = NULL;
14652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14653 int result;
14654 PyObject * obj0 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail;
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (int)(arg1)->GetCurrentLine();
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = SWIG_From_int(static_cast<int >(result));
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj = NULL;
14680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14681 int arg2 ;
14682 wxString *arg3 = 0 ;
14683 bool temp3 = false ;
14684 PyObject * obj0 = 0 ;
14685 PyObject * obj1 = 0 ;
14686 PyObject * obj2 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14693 if (SWIG_arg_fail(1)) SWIG_fail;
14694 {
14695 arg2 = static_cast<int >(SWIG_As_int(obj1));
14696 if (SWIG_arg_fail(2)) SWIG_fail;
14697 }
14698 {
14699 arg3 = wxString_in_helper(obj2);
14700 if (arg3 == NULL) SWIG_fail;
14701 temp3 = true;
14702 }
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 Py_INCREF(Py_None); resultobj = Py_None;
14711 {
14712 if (temp3)
14713 delete arg3;
14714 }
14715 return resultobj;
14716 fail:
14717 {
14718 if (temp3)
14719 delete arg3;
14720 }
14721 return NULL;
14722 }
14723
14724
14725 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj = NULL;
14727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14728 int arg2 ;
14729 wxFont *arg3 = 0 ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 PyObject * obj2 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "styleNum",(char *) "font", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail;
14740 {
14741 arg2 = static_cast<int >(SWIG_As_int(obj1));
14742 if (SWIG_arg_fail(2)) SWIG_fail;
14743 }
14744 {
14745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14746 if (SWIG_arg_fail(3)) SWIG_fail;
14747 if (arg3 == NULL) {
14748 SWIG_null_ref("wxFont");
14749 }
14750 if (SWIG_arg_fail(3)) SWIG_fail;
14751 }
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 (arg1)->StyleSetFont(arg2,*arg3);
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 Py_INCREF(Py_None); resultobj = Py_None;
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj = NULL;
14768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14769 int arg2 ;
14770 int arg3 ;
14771 wxString *arg4 = 0 ;
14772 bool arg5 ;
14773 bool arg6 ;
14774 bool arg7 ;
14775 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
14776 bool temp4 = false ;
14777 PyObject * obj0 = 0 ;
14778 PyObject * obj1 = 0 ;
14779 PyObject * obj2 = 0 ;
14780 PyObject * obj3 = 0 ;
14781 PyObject * obj4 = 0 ;
14782 PyObject * obj5 = 0 ;
14783 PyObject * obj6 = 0 ;
14784 PyObject * obj7 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail;
14792 {
14793 arg2 = static_cast<int >(SWIG_As_int(obj1));
14794 if (SWIG_arg_fail(2)) SWIG_fail;
14795 }
14796 {
14797 arg3 = static_cast<int >(SWIG_As_int(obj2));
14798 if (SWIG_arg_fail(3)) SWIG_fail;
14799 }
14800 {
14801 arg4 = wxString_in_helper(obj3);
14802 if (arg4 == NULL) SWIG_fail;
14803 temp4 = true;
14804 }
14805 {
14806 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
14807 if (SWIG_arg_fail(5)) SWIG_fail;
14808 }
14809 {
14810 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
14811 if (SWIG_arg_fail(6)) SWIG_fail;
14812 }
14813 {
14814 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
14815 if (SWIG_arg_fail(7)) SWIG_fail;
14816 }
14817 if (obj7) {
14818 {
14819 arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7));
14820 if (SWIG_arg_fail(8)) SWIG_fail;
14821 }
14822 }
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 Py_INCREF(Py_None); resultobj = Py_None;
14831 {
14832 if (temp4)
14833 delete arg4;
14834 }
14835 return resultobj;
14836 fail:
14837 {
14838 if (temp4)
14839 delete arg4;
14840 }
14841 return NULL;
14842 }
14843
14844
14845 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj = NULL;
14847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14848 int arg2 ;
14849 int arg3 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 PyObject * obj2 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self",(char *) "style",(char *) "characterSet", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
14858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14859 if (SWIG_arg_fail(1)) SWIG_fail;
14860 {
14861 arg2 = static_cast<int >(SWIG_As_int(obj1));
14862 if (SWIG_arg_fail(2)) SWIG_fail;
14863 }
14864 {
14865 arg3 = static_cast<int >(SWIG_As_int(obj2));
14866 if (SWIG_arg_fail(3)) SWIG_fail;
14867 }
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 (arg1)->StyleSetCharacterSet(arg2,arg3);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 Py_INCREF(Py_None); resultobj = Py_None;
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj = NULL;
14884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14885 int arg2 ;
14886 wxFontEncoding arg3 ;
14887 PyObject * obj0 = 0 ;
14888 PyObject * obj1 = 0 ;
14889 PyObject * obj2 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "style",(char *) "encoding", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
14895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14896 if (SWIG_arg_fail(1)) SWIG_fail;
14897 {
14898 arg2 = static_cast<int >(SWIG_As_int(obj1));
14899 if (SWIG_arg_fail(2)) SWIG_fail;
14900 }
14901 {
14902 arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2));
14903 if (SWIG_arg_fail(3)) SWIG_fail;
14904 }
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->StyleSetFontEncoding(arg2,arg3);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 Py_INCREF(Py_None); resultobj = Py_None;
14913 return resultobj;
14914 fail:
14915 return NULL;
14916 }
14917
14918
14919 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
14920 PyObject *resultobj = NULL;
14921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14922 int arg2 ;
14923 PyObject * obj0 = 0 ;
14924 PyObject * obj1 = 0 ;
14925 char *kwnames[] = {
14926 (char *) "self",(char *) "cmd", NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail;
14932 {
14933 arg2 = static_cast<int >(SWIG_As_int(obj1));
14934 if (SWIG_arg_fail(2)) SWIG_fail;
14935 }
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 (arg1)->CmdKeyExecute(arg2);
14939
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 Py_INCREF(Py_None); resultobj = Py_None;
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
14951 PyObject *resultobj = NULL;
14952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14953 int arg2 ;
14954 int arg3 ;
14955 PyObject * obj0 = 0 ;
14956 PyObject * obj1 = 0 ;
14957 PyObject * obj2 = 0 ;
14958 char *kwnames[] = {
14959 (char *) "self",(char *) "left",(char *) "right", NULL
14960 };
14961
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail;
14965 {
14966 arg2 = static_cast<int >(SWIG_As_int(obj1));
14967 if (SWIG_arg_fail(2)) SWIG_fail;
14968 }
14969 {
14970 arg3 = static_cast<int >(SWIG_As_int(obj2));
14971 if (SWIG_arg_fail(3)) SWIG_fail;
14972 }
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 (arg1)->SetMargins(arg2,arg3);
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 Py_INCREF(Py_None); resultobj = Py_None;
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj = NULL;
14989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14990 int *arg2 = (int *) 0 ;
14991 int *arg3 = (int *) 0 ;
14992 int temp2 ;
14993 int res2 = 0 ;
14994 int temp3 ;
14995 int res3 = 0 ;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self", NULL
14999 };
15000
15001 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15002 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 (arg1)->GetSelection(arg2,arg3);
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 Py_INCREF(Py_None); resultobj = Py_None;
15014 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15015 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15016 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15017 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj = NULL;
15026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15027 int arg2 ;
15028 wxPoint result;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self",(char *) "pos", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
15036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail;
15038 {
15039 arg2 = static_cast<int >(SWIG_As_int(obj1));
15040 if (SWIG_arg_fail(2)) SWIG_fail;
15041 }
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (arg1)->PointFromPosition(arg2);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 wxPoint * resultptr;
15051 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15053 }
15054 return resultobj;
15055 fail:
15056 return NULL;
15057 }
15058
15059
15060 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj = NULL;
15062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15063 int arg2 ;
15064 PyObject * obj0 = 0 ;
15065 PyObject * obj1 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self",(char *) "line", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail;
15073 {
15074 arg2 = static_cast<int >(SWIG_As_int(obj1));
15075 if (SWIG_arg_fail(2)) SWIG_fail;
15076 }
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 (arg1)->ScrollToLine(arg2);
15080
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 Py_INCREF(Py_None); resultobj = Py_None;
15085 return resultobj;
15086 fail:
15087 return NULL;
15088 }
15089
15090
15091 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj = NULL;
15093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15094 int arg2 ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self",(char *) "column", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
15102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail;
15104 {
15105 arg2 = static_cast<int >(SWIG_As_int(obj1));
15106 if (SWIG_arg_fail(2)) SWIG_fail;
15107 }
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 (arg1)->ScrollToColumn(arg2);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 Py_INCREF(Py_None); resultobj = Py_None;
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj = NULL;
15124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15125 int arg2 ;
15126 long arg3 = (long) 0 ;
15127 long arg4 = (long) 0 ;
15128 long result;
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 PyObject * obj2 = 0 ;
15132 PyObject * obj3 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15139 if (SWIG_arg_fail(1)) SWIG_fail;
15140 {
15141 arg2 = static_cast<int >(SWIG_As_int(obj1));
15142 if (SWIG_arg_fail(2)) SWIG_fail;
15143 }
15144 if (obj2) {
15145 {
15146 arg3 = static_cast<long >(SWIG_As_long(obj2));
15147 if (SWIG_arg_fail(3)) SWIG_fail;
15148 }
15149 }
15150 if (obj3) {
15151 {
15152 arg4 = static_cast<long >(SWIG_As_long(obj3));
15153 if (SWIG_arg_fail(4)) SWIG_fail;
15154 }
15155 }
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 {
15164 resultobj = SWIG_From_long(static_cast<long >(result));
15165 }
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = NULL;
15174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15175 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self",(char *) "bar", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
15183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail;
15185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15186 if (SWIG_arg_fail(2)) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 (arg1)->SetVScrollBar(arg2);
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 Py_INCREF(Py_None); resultobj = Py_None;
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj = NULL;
15203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15204 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self",(char *) "bar", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
15212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail;
15214 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15215 if (SWIG_arg_fail(2)) SWIG_fail;
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 (arg1)->SetHScrollBar(arg2);
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 Py_INCREF(Py_None); resultobj = Py_None;
15224 return resultobj;
15225 fail:
15226 return NULL;
15227 }
15228
15229
15230 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj = NULL;
15232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15233 bool result;
15234 PyObject * obj0 = 0 ;
15235 char *kwnames[] = {
15236 (char *) "self", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail;
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 result = (bool)(arg1)->GetLastKeydownProcessed();
15245
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 {
15250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15251 }
15252 return resultobj;
15253 fail:
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj = NULL;
15260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15261 bool arg2 ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self",(char *) "val", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail;
15271 {
15272 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15273 if (SWIG_arg_fail(2)) SWIG_fail;
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetLastKeydownProcessed(arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj = NULL;
15291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15292 wxString *arg2 = 0 ;
15293 bool result;
15294 bool temp2 = false ;
15295 PyObject * obj0 = 0 ;
15296 PyObject * obj1 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self",(char *) "filename", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15303 if (SWIG_arg_fail(1)) SWIG_fail;
15304 {
15305 arg2 = wxString_in_helper(obj1);
15306 if (arg2 == NULL) SWIG_fail;
15307 temp2 = true;
15308 }
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 {
15317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15318 }
15319 {
15320 if (temp2)
15321 delete arg2;
15322 }
15323 return resultobj;
15324 fail:
15325 {
15326 if (temp2)
15327 delete arg2;
15328 }
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj = NULL;
15335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15336 wxString *arg2 = 0 ;
15337 bool result;
15338 bool temp2 = false ;
15339 PyObject * obj0 = 0 ;
15340 PyObject * obj1 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "filename", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
15348 {
15349 arg2 = wxString_in_helper(obj1);
15350 if (arg2 == NULL) SWIG_fail;
15351 temp2 = true;
15352 }
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 {
15361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15362 }
15363 {
15364 if (temp2)
15365 delete arg2;
15366 }
15367 return resultobj;
15368 fail:
15369 {
15370 if (temp2)
15371 delete arg2;
15372 }
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj = NULL;
15379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15380 int arg2 ;
15381 int arg3 ;
15382 wxDragResult arg4 ;
15383 wxDragResult result;
15384 PyObject * obj0 = 0 ;
15385 PyObject * obj1 = 0 ;
15386 PyObject * obj2 = 0 ;
15387 PyObject * obj3 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail;
15395 {
15396 arg2 = static_cast<int >(SWIG_As_int(obj1));
15397 if (SWIG_arg_fail(2)) SWIG_fail;
15398 }
15399 {
15400 arg3 = static_cast<int >(SWIG_As_int(obj2));
15401 if (SWIG_arg_fail(3)) SWIG_fail;
15402 }
15403 {
15404 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
15405 if (SWIG_arg_fail(4)) SWIG_fail;
15406 }
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 resultobj = SWIG_From_int((result));
15415 return resultobj;
15416 fail:
15417 return NULL;
15418 }
15419
15420
15421 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj = NULL;
15423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15424 long arg2 ;
15425 long arg3 ;
15426 wxString *arg4 = 0 ;
15427 bool result;
15428 bool temp4 = false ;
15429 PyObject * obj0 = 0 ;
15430 PyObject * obj1 = 0 ;
15431 PyObject * obj2 = 0 ;
15432 PyObject * obj3 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail;
15440 {
15441 arg2 = static_cast<long >(SWIG_As_long(obj1));
15442 if (SWIG_arg_fail(2)) SWIG_fail;
15443 }
15444 {
15445 arg3 = static_cast<long >(SWIG_As_long(obj2));
15446 if (SWIG_arg_fail(3)) SWIG_fail;
15447 }
15448 {
15449 arg4 = wxString_in_helper(obj3);
15450 if (arg4 == NULL) SWIG_fail;
15451 temp4 = true;
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 {
15461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15462 }
15463 {
15464 if (temp4)
15465 delete arg4;
15466 }
15467 return resultobj;
15468 fail:
15469 {
15470 if (temp4)
15471 delete arg4;
15472 }
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj = NULL;
15479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15480 bool arg2 ;
15481 PyObject * obj0 = 0 ;
15482 PyObject * obj1 = 0 ;
15483 char *kwnames[] = {
15484 (char *) "self",(char *) "useAA", NULL
15485 };
15486
15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail;
15490 {
15491 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15492 if (SWIG_arg_fail(2)) SWIG_fail;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetUseAntiAliasing(arg2);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj = NULL;
15510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15511 bool result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail;
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 result = (bool)(arg1)->GetUseAntiAliasing();
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 {
15528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15529 }
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj = NULL;
15538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15539 char *arg2 = (char *) 0 ;
15540 PyObject * obj0 = 0 ;
15541 PyObject * obj1 = 0 ;
15542 char *kwnames[] = {
15543 (char *) "self",(char *) "text", NULL
15544 };
15545
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail;
15547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15548 if (SWIG_arg_fail(1)) SWIG_fail;
15549 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15550 SWIG_arg_fail(2);SWIG_fail;
15551 }
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 (arg1)->AddTextRaw((char const *)arg2);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 Py_INCREF(Py_None); resultobj = Py_None;
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj = NULL;
15568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15569 int arg2 ;
15570 char *arg3 = (char *) 0 ;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
15573 PyObject * obj2 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self",(char *) "pos",(char *) "text", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail;
15581 {
15582 arg2 = static_cast<int >(SWIG_As_int(obj1));
15583 if (SWIG_arg_fail(2)) SWIG_fail;
15584 }
15585 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
15586 SWIG_arg_fail(3);SWIG_fail;
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj = NULL;
15604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15605 int *arg2 = (int *) 0 ;
15606 wxCharBuffer result;
15607 int temp2 ;
15608 int res2 = 0 ;
15609 PyObject * obj0 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self", NULL
15612 };
15613
15614 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail;
15616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = (arg1)->GetCurLineRaw(arg2);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 resultobj = PyString_FromString((char*)(&result)->data());
15627 }
15628 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15629 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj = NULL;
15638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15639 int arg2 ;
15640 wxCharBuffer result;
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 char *kwnames[] = {
15644 (char *) "self",(char *) "line", NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail;
15648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15649 if (SWIG_arg_fail(1)) SWIG_fail;
15650 {
15651 arg2 = static_cast<int >(SWIG_As_int(obj1));
15652 if (SWIG_arg_fail(2)) SWIG_fail;
15653 }
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 result = (arg1)->GetLineRaw(arg2);
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 {
15662 resultobj = PyString_FromString((char*)(&result)->data());
15663 }
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj = NULL;
15672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15673 wxCharBuffer result;
15674 PyObject * obj0 = 0 ;
15675 char *kwnames[] = {
15676 (char *) "self", NULL
15677 };
15678
15679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail;
15680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15681 if (SWIG_arg_fail(1)) SWIG_fail;
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 result = (arg1)->GetSelectedTextRaw();
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 {
15690 resultobj = PyString_FromString((char*)(&result)->data());
15691 }
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj = NULL;
15700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15701 int arg2 ;
15702 int arg3 ;
15703 wxCharBuffer result;
15704 PyObject * obj0 = 0 ;
15705 PyObject * obj1 = 0 ;
15706 PyObject * obj2 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15713 if (SWIG_arg_fail(1)) SWIG_fail;
15714 {
15715 arg2 = static_cast<int >(SWIG_As_int(obj1));
15716 if (SWIG_arg_fail(2)) SWIG_fail;
15717 }
15718 {
15719 arg3 = static_cast<int >(SWIG_As_int(obj2));
15720 if (SWIG_arg_fail(3)) SWIG_fail;
15721 }
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (arg1)->GetTextRangeRaw(arg2,arg3);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 {
15730 resultobj = PyString_FromString((char*)(&result)->data());
15731 }
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj = NULL;
15740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15741 char *arg2 = (char *) 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "text", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail;
15749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail;
15751 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15752 SWIG_arg_fail(2);SWIG_fail;
15753 }
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->SetTextRaw((char const *)arg2);
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = NULL;
15770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15771 wxCharBuffer result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail;
15778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (arg1)->GetTextRaw();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 {
15788 resultobj = PyString_FromString((char*)(&result)->data());
15789 }
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj = NULL;
15798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15799 char *arg2 = (char *) 0 ;
15800 PyObject * obj0 = 0 ;
15801 PyObject * obj1 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "text", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail;
15807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail;
15809 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15810 SWIG_arg_fail(2);SWIG_fail;
15811 }
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 (arg1)->AppendTextRaw((char const *)arg2);
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 Py_INCREF(Py_None); resultobj = Py_None;
15820 return resultobj;
15821 fail:
15822 return NULL;
15823 }
15824
15825
15826 static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15827 PyObject *obj;
15828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15829 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15830 Py_INCREF(obj);
15831 return Py_BuildValue((char *)"");
15832 }
15833 static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj = NULL;
15835 wxEventType arg1 = (wxEventType) 0 ;
15836 int arg2 = (int) 0 ;
15837 wxStyledTextEvent *result;
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "commandType",(char *) "id", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15845 if (obj0) {
15846 {
15847 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
15848 if (SWIG_arg_fail(1)) SWIG_fail;
15849 }
15850 }
15851 if (obj1) {
15852 {
15853 arg2 = static_cast<int >(SWIG_As_int(obj1));
15854 if (SWIG_arg_fail(2)) SWIG_fail;
15855 }
15856 }
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
15865 return resultobj;
15866 fail:
15867 return NULL;
15868 }
15869
15870
15871 static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj = NULL;
15873 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15874 PyObject * obj0 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 delete arg1;
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 Py_INCREF(Py_None); resultobj = Py_None;
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj = NULL;
15898 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15899 int arg2 ;
15900 PyObject * obj0 = 0 ;
15901 PyObject * obj1 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self",(char *) "pos", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15908 if (SWIG_arg_fail(1)) SWIG_fail;
15909 {
15910 arg2 = static_cast<int >(SWIG_As_int(obj1));
15911 if (SWIG_arg_fail(2)) SWIG_fail;
15912 }
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 (arg1)->SetPosition(arg2);
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 Py_INCREF(Py_None); resultobj = Py_None;
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj = NULL;
15929 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15930 int arg2 ;
15931 PyObject * obj0 = 0 ;
15932 PyObject * obj1 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self",(char *) "k", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15939 if (SWIG_arg_fail(1)) SWIG_fail;
15940 {
15941 arg2 = static_cast<int >(SWIG_As_int(obj1));
15942 if (SWIG_arg_fail(2)) SWIG_fail;
15943 }
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 (arg1)->SetKey(arg2);
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 Py_INCREF(Py_None); resultobj = Py_None;
15952 return resultobj;
15953 fail:
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj = NULL;
15960 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15961 int arg2 ;
15962 PyObject * obj0 = 0 ;
15963 PyObject * obj1 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self",(char *) "m", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15970 if (SWIG_arg_fail(1)) SWIG_fail;
15971 {
15972 arg2 = static_cast<int >(SWIG_As_int(obj1));
15973 if (SWIG_arg_fail(2)) SWIG_fail;
15974 }
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 (arg1)->SetModifiers(arg2);
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 Py_INCREF(Py_None); resultobj = Py_None;
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj = NULL;
15991 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15992 int arg2 ;
15993 PyObject * obj0 = 0 ;
15994 PyObject * obj1 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "t", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
16000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail;
16002 {
16003 arg2 = static_cast<int >(SWIG_As_int(obj1));
16004 if (SWIG_arg_fail(2)) SWIG_fail;
16005 }
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 (arg1)->SetModificationType(arg2);
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 Py_INCREF(Py_None); resultobj = Py_None;
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj = NULL;
16022 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16023 wxString *arg2 = 0 ;
16024 bool temp2 = false ;
16025 PyObject * obj0 = 0 ;
16026 PyObject * obj1 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self",(char *) "t", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
16032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16033 if (SWIG_arg_fail(1)) SWIG_fail;
16034 {
16035 arg2 = wxString_in_helper(obj1);
16036 if (arg2 == NULL) SWIG_fail;
16037 temp2 = true;
16038 }
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 (arg1)->SetText((wxString const &)*arg2);
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 Py_INCREF(Py_None); resultobj = Py_None;
16047 {
16048 if (temp2)
16049 delete arg2;
16050 }
16051 return resultobj;
16052 fail:
16053 {
16054 if (temp2)
16055 delete arg2;
16056 }
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj = NULL;
16063 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16064 int arg2 ;
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
16067 char *kwnames[] = {
16068 (char *) "self",(char *) "len", NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
16072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16073 if (SWIG_arg_fail(1)) SWIG_fail;
16074 {
16075 arg2 = static_cast<int >(SWIG_As_int(obj1));
16076 if (SWIG_arg_fail(2)) SWIG_fail;
16077 }
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->SetLength(arg2);
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 Py_INCREF(Py_None); resultobj = Py_None;
16086 return resultobj;
16087 fail:
16088 return NULL;
16089 }
16090
16091
16092 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
16093 PyObject *resultobj = NULL;
16094 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16095 int arg2 ;
16096 PyObject * obj0 = 0 ;
16097 PyObject * obj1 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self",(char *) "num", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
16103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16104 if (SWIG_arg_fail(1)) SWIG_fail;
16105 {
16106 arg2 = static_cast<int >(SWIG_As_int(obj1));
16107 if (SWIG_arg_fail(2)) SWIG_fail;
16108 }
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 (arg1)->SetLinesAdded(arg2);
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 Py_INCREF(Py_None); resultobj = Py_None;
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj = NULL;
16125 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16126 int arg2 ;
16127 PyObject * obj0 = 0 ;
16128 PyObject * obj1 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self",(char *) "val", NULL
16131 };
16132
16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
16134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16135 if (SWIG_arg_fail(1)) SWIG_fail;
16136 {
16137 arg2 = static_cast<int >(SWIG_As_int(obj1));
16138 if (SWIG_arg_fail(2)) SWIG_fail;
16139 }
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 (arg1)->SetLine(arg2);
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 Py_INCREF(Py_None); resultobj = Py_None;
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj = NULL;
16156 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16157 int arg2 ;
16158 PyObject * obj0 = 0 ;
16159 PyObject * obj1 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self",(char *) "val", NULL
16162 };
16163
16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
16165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16166 if (SWIG_arg_fail(1)) SWIG_fail;
16167 {
16168 arg2 = static_cast<int >(SWIG_As_int(obj1));
16169 if (SWIG_arg_fail(2)) SWIG_fail;
16170 }
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->SetFoldLevelNow(arg2);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj = NULL;
16187 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16188 int arg2 ;
16189 PyObject * obj0 = 0 ;
16190 PyObject * obj1 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self",(char *) "val", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
16196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16197 if (SWIG_arg_fail(1)) SWIG_fail;
16198 {
16199 arg2 = static_cast<int >(SWIG_As_int(obj1));
16200 if (SWIG_arg_fail(2)) SWIG_fail;
16201 }
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 (arg1)->SetFoldLevelPrev(arg2);
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 Py_INCREF(Py_None); resultobj = Py_None;
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj = NULL;
16218 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16219 int arg2 ;
16220 PyObject * obj0 = 0 ;
16221 PyObject * obj1 = 0 ;
16222 char *kwnames[] = {
16223 (char *) "self",(char *) "val", NULL
16224 };
16225
16226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
16227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16228 if (SWIG_arg_fail(1)) SWIG_fail;
16229 {
16230 arg2 = static_cast<int >(SWIG_As_int(obj1));
16231 if (SWIG_arg_fail(2)) SWIG_fail;
16232 }
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 (arg1)->SetMargin(arg2);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 Py_INCREF(Py_None); resultobj = Py_None;
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj = NULL;
16249 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16250 int arg2 ;
16251 PyObject * obj0 = 0 ;
16252 PyObject * obj1 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self",(char *) "val", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
16258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16259 if (SWIG_arg_fail(1)) SWIG_fail;
16260 {
16261 arg2 = static_cast<int >(SWIG_As_int(obj1));
16262 if (SWIG_arg_fail(2)) SWIG_fail;
16263 }
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 (arg1)->SetMessage(arg2);
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 Py_INCREF(Py_None); resultobj = Py_None;
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj = NULL;
16280 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16281 int arg2 ;
16282 PyObject * obj0 = 0 ;
16283 PyObject * obj1 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self",(char *) "val", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
16289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16290 if (SWIG_arg_fail(1)) SWIG_fail;
16291 {
16292 arg2 = static_cast<int >(SWIG_As_int(obj1));
16293 if (SWIG_arg_fail(2)) SWIG_fail;
16294 }
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 (arg1)->SetWParam(arg2);
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 return resultobj;
16304 fail:
16305 return NULL;
16306 }
16307
16308
16309 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj = NULL;
16311 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16312 int arg2 ;
16313 PyObject * obj0 = 0 ;
16314 PyObject * obj1 = 0 ;
16315 char *kwnames[] = {
16316 (char *) "self",(char *) "val", NULL
16317 };
16318
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
16320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16321 if (SWIG_arg_fail(1)) SWIG_fail;
16322 {
16323 arg2 = static_cast<int >(SWIG_As_int(obj1));
16324 if (SWIG_arg_fail(2)) SWIG_fail;
16325 }
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 (arg1)->SetLParam(arg2);
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 Py_INCREF(Py_None); resultobj = Py_None;
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16341 PyObject *resultobj = NULL;
16342 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16343 int arg2 ;
16344 PyObject * obj0 = 0 ;
16345 PyObject * obj1 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self",(char *) "val", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
16351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail;
16353 {
16354 arg2 = static_cast<int >(SWIG_As_int(obj1));
16355 if (SWIG_arg_fail(2)) SWIG_fail;
16356 }
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 (arg1)->SetListType(arg2);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 Py_INCREF(Py_None); resultobj = Py_None;
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj = NULL;
16373 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16374 int arg2 ;
16375 PyObject * obj0 = 0 ;
16376 PyObject * obj1 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self",(char *) "val", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
16384 {
16385 arg2 = static_cast<int >(SWIG_As_int(obj1));
16386 if (SWIG_arg_fail(2)) SWIG_fail;
16387 }
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 (arg1)->SetX(arg2);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 Py_INCREF(Py_None); resultobj = Py_None;
16396 return resultobj;
16397 fail:
16398 return NULL;
16399 }
16400
16401
16402 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
16403 PyObject *resultobj = NULL;
16404 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16405 int arg2 ;
16406 PyObject * obj0 = 0 ;
16407 PyObject * obj1 = 0 ;
16408 char *kwnames[] = {
16409 (char *) "self",(char *) "val", NULL
16410 };
16411
16412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
16413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16414 if (SWIG_arg_fail(1)) SWIG_fail;
16415 {
16416 arg2 = static_cast<int >(SWIG_As_int(obj1));
16417 if (SWIG_arg_fail(2)) SWIG_fail;
16418 }
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 (arg1)->SetY(arg2);
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 Py_INCREF(Py_None); resultobj = Py_None;
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj = NULL;
16435 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16436 wxString *arg2 = 0 ;
16437 bool temp2 = false ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "val", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
16445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16446 if (SWIG_arg_fail(1)) SWIG_fail;
16447 {
16448 arg2 = wxString_in_helper(obj1);
16449 if (arg2 == NULL) SWIG_fail;
16450 temp2 = true;
16451 }
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 (arg1)->SetDragText((wxString const &)*arg2);
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 Py_INCREF(Py_None); resultobj = Py_None;
16460 {
16461 if (temp2)
16462 delete arg2;
16463 }
16464 return resultobj;
16465 fail:
16466 {
16467 if (temp2)
16468 delete arg2;
16469 }
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj = NULL;
16476 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16477 bool arg2 ;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "val", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
16485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail;
16487 {
16488 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16489 if (SWIG_arg_fail(2)) SWIG_fail;
16490 }
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 (arg1)->SetDragAllowMove(arg2);
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 Py_INCREF(Py_None); resultobj = Py_None;
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj = NULL;
16507 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16508 wxDragResult arg2 ;
16509 PyObject * obj0 = 0 ;
16510 PyObject * obj1 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "val", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
16516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16517 if (SWIG_arg_fail(1)) SWIG_fail;
16518 {
16519 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
16520 if (SWIG_arg_fail(2)) SWIG_fail;
16521 }
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 (arg1)->SetDragResult(arg2);
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 Py_INCREF(Py_None); resultobj = Py_None;
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj = NULL;
16538 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16539 int result;
16540 PyObject * obj0 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
16546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail;
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 {
16556 resultobj = SWIG_From_int(static_cast<int >(result));
16557 }
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj = NULL;
16566 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16567 int result;
16568 PyObject * obj0 = 0 ;
16569 char *kwnames[] = {
16570 (char *) "self", NULL
16571 };
16572
16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16575 if (SWIG_arg_fail(1)) SWIG_fail;
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 {
16584 resultobj = SWIG_From_int(static_cast<int >(result));
16585 }
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj = NULL;
16594 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16595 int result;
16596 PyObject * obj0 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16603 if (SWIG_arg_fail(1)) SWIG_fail;
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 {
16612 resultobj = SWIG_From_int(static_cast<int >(result));
16613 }
16614 return resultobj;
16615 fail:
16616 return NULL;
16617 }
16618
16619
16620 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj = NULL;
16622 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16623 int result;
16624 PyObject * obj0 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 resultobj = SWIG_From_int(static_cast<int >(result));
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj = NULL;
16650 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16651 wxString result;
16652 PyObject * obj0 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail;
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = ((wxStyledTextEvent const *)arg1)->GetText();
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 {
16668 #if wxUSE_UNICODE
16669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16670 #else
16671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16672 #endif
16673 }
16674 return resultobj;
16675 fail:
16676 return NULL;
16677 }
16678
16679
16680 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj = NULL;
16682 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16683 int result;
16684 PyObject * obj0 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 {
16700 resultobj = SWIG_From_int(static_cast<int >(result));
16701 }
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj = NULL;
16710 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16711 int result;
16712 PyObject * obj0 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail;
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 {
16728 resultobj = SWIG_From_int(static_cast<int >(result));
16729 }
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj = NULL;
16738 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16739 int result;
16740 PyObject * obj0 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail;
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 {
16756 resultobj = SWIG_From_int(static_cast<int >(result));
16757 }
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj = NULL;
16766 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16767 int result;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16775 if (SWIG_arg_fail(1)) SWIG_fail;
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 {
16784 resultobj = SWIG_From_int(static_cast<int >(result));
16785 }
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj = NULL;
16794 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16795 int result;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16803 if (SWIG_arg_fail(1)) SWIG_fail;
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 {
16812 resultobj = SWIG_From_int(static_cast<int >(result));
16813 }
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj = NULL;
16822 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16823 int result;
16824 PyObject * obj0 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "self", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16831 if (SWIG_arg_fail(1)) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = SWIG_From_int(static_cast<int >(result));
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = NULL;
16850 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16851 int result;
16852 PyObject * obj0 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
16858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16859 if (SWIG_arg_fail(1)) SWIG_fail;
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 {
16868 resultobj = SWIG_From_int(static_cast<int >(result));
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj = NULL;
16878 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16879 int result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail;
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 {
16896 resultobj = SWIG_From_int(static_cast<int >(result));
16897 }
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj = NULL;
16906 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16907 int result;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16915 if (SWIG_arg_fail(1)) SWIG_fail;
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16919
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 {
16924 resultobj = SWIG_From_int(static_cast<int >(result));
16925 }
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj = NULL;
16934 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16935 int result;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16943 if (SWIG_arg_fail(1)) SWIG_fail;
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 {
16952 resultobj = SWIG_From_int(static_cast<int >(result));
16953 }
16954 return resultobj;
16955 fail:
16956 return NULL;
16957 }
16958
16959
16960 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj = NULL;
16962 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16963 int result;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "self", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 resultobj = SWIG_From_int(static_cast<int >(result));
16981 }
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj = NULL;
16990 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16991 int result;
16992 PyObject * obj0 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 resultobj = SWIG_From_int(static_cast<int >(result));
17009 }
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj = NULL;
17018 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17019 wxString result;
17020 PyObject * obj0 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
17026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17027 if (SWIG_arg_fail(1)) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (arg1)->GetDragText();
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 {
17036 #if wxUSE_UNICODE
17037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17038 #else
17039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17040 #endif
17041 }
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = NULL;
17050 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17051 bool result;
17052 PyObject * obj0 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
17058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17059 if (SWIG_arg_fail(1)) SWIG_fail;
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (bool)(arg1)->GetDragAllowMove();
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 {
17068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17069 }
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj = NULL;
17078 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17079 wxDragResult result;
17080 PyObject * obj0 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
17086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17087 if (SWIG_arg_fail(1)) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (wxDragResult)(arg1)->GetDragResult();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = SWIG_From_int((result));
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj = NULL;
17104 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17105 bool result;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
17112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail;
17114 {
17115 PyThreadState* __tstate = wxPyBeginAllowThreads();
17116 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
17117
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 {
17122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = NULL;
17132 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17133 bool result;
17134 PyObject * obj0 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
17140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17141 if (SWIG_arg_fail(1)) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17151 }
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj = NULL;
17160 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17161 bool result;
17162 PyObject * obj0 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
17168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail;
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 {
17178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17179 }
17180 return resultobj;
17181 fail:
17182 return NULL;
17183 }
17184
17185
17186 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj = NULL;
17188 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17189 wxEvent *result;
17190 PyObject * obj0 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
17196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17197 if (SWIG_arg_fail(1)) SWIG_fail;
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
17213 PyObject *obj;
17214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17215 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
17216 Py_INCREF(obj);
17217 return Py_BuildValue((char *)"");
17218 }
17219 static PyMethodDef SwigMethods[] = {
17220 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17221 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17222 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17223 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
17224 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17225 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
17226 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17227 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17228 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17229 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
17230 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17231 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17232 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
17233 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
17234 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17235 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
17236 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
17237 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17238 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
17239 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17240 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17241 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17242 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17243 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17244 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
17245 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
17246 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
17247 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
17248 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17249 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
17250 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
17251 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
17252 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17253 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17254 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17255 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17256 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17257 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17258 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17259 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17260 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17261 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
17262 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17263 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17264 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
17265 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17266 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
17267 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
17268 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
17269 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
17270 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
17271 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17272 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17273 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17274 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17275 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17276 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17277 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17278 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17279 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17280 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17281 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17282 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
17283 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17284 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17285 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
17286 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
17287 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17288 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17289 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
17290 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
17291 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17292 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17293 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17294 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
17295 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
17296 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17297 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
17298 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17299 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17300 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17301 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
17302 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17303 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17304 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17305 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17306 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17307 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17308 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17309 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17310 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17311 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17312 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17313 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17314 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17315 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17316 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17317 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17318 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17319 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
17320 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
17321 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17322 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
17323 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
17324 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
17325 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
17326 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17327 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17328 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
17329 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17330 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17331 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
17332 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17333 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17334 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17335 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17336 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
17337 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17338 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17339 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17340 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17341 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
17342 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
17343 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17344 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17345 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17346 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17347 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17348 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17349 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17350 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17351 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17352 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17353 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17354 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17355 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17356 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17357 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17358 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17359 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17360 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17361 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17362 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17363 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17364 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17365 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17366 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17367 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17368 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17369 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17370 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17371 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17372 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
17373 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
17374 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17375 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17376 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
17377 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17378 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17379 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17380 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17381 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
17382 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17383 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
17384 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
17385 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17386 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17387 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
17388 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
17389 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17390 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17391 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17392 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
17393 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
17394 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
17395 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
17396 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
17397 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
17398 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
17399 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
17400 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17401 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17402 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
17403 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17404 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17405 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17406 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17407 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17408 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17409 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17410 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17411 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17412 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
17413 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17414 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17415 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17416 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
17417 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17418 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
17419 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17420 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17421 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17422 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17423 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17424 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
17425 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17426 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17427 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17428 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
17429 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
17430 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
17431 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
17432 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17433 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17434 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17435 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
17436 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17437 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17438 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17439 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17440 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17441 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17442 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17443 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17444 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17445 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17446 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17447 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17448 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17449 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17450 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17451 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17452 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17453 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17454 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17455 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17456 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17457 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17458 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17459 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17460 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17461 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17462 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17463 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17464 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17465 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
17466 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17467 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17468 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17469 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
17470 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
17471 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
17472 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
17473 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
17474 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17475 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
17476 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17477 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17478 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17479 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
17480 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17481 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17482 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17483 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17484 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17485 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
17486 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17487 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17488 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17489 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
17490 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17491 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17492 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17493 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17495 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17496 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17497 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17498 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
17501 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
17502 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
17503 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17506 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
17507 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
17508 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
17511 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
17513 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
17515 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
17516 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17522 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17523 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17524 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17525 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17527 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17529 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
17530 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
17532 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17533 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
17534 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
17535 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17536 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17537 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17538 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17539 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17540 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17541 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17542 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17543 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17544 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17545 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17546 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17547 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17548 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17549 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17550 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17551 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17552 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17553 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17554 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17555 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17556 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17557 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17558 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17559 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17560 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17561 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17562 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17563 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17564 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17565 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17566 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17567 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17569 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17570 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17571 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17572 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17573 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17574 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17575 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17576 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17577 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17578 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17579 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17580 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17581 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17582 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17583 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17584 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17585 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17586 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17587 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17588 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17589 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17590 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17591 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17592 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17593 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17594 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17595 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17596 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17597 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17598 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17599 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17600 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17601 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17602 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17603 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17604 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17605 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17606 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17607 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17608 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17609 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17610 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17611 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17612 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17613 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17614 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17615 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17616 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17617 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17618 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
17619 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17620 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17621 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17622 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17623 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17624 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17625 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17626 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17628 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17629 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17630 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17631 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
17632 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
17633 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
17634 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17636 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17640 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17641 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17642 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17644 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17645 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17646 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17647 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17648 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17649 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17650 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17651 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17652 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17654 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17655 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17656 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17657 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17658 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17659 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17660 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17661 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17662 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17663 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17666 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17667 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17668 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17669 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17671 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17676 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17677 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17679 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17680 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17681 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17682 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17683 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17684 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17685 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17686 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17688 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17689 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17690 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17693 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17694 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17695 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17698 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17703 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17704 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17705 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17707 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17708 { NULL, NULL, 0, NULL }
17709 };
17710
17711
17712 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17713
17714 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17715 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17716 }
17717 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17718 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17719 }
17720 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17721 return (void *)((wxObject *) ((wxSizerItem *) x));
17722 }
17723 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17725 }
17726 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17727 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17728 }
17729 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17730 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17731 }
17732 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17733 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17734 }
17735 static void *_p_wxSizerTo_p_wxObject(void *x) {
17736 return (void *)((wxObject *) ((wxSizer *) x));
17737 }
17738 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17739 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17740 }
17741 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17742 return (void *)((wxObject *) ((wxFileHistory *) x));
17743 }
17744 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17746 }
17747 static void *_p_wxEventTo_p_wxObject(void *x) {
17748 return (void *)((wxObject *) ((wxEvent *) x));
17749 }
17750 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17751 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17752 }
17753 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17754 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17755 }
17756 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17757 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17758 }
17759 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17760 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17761 }
17762 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17763 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17764 }
17765 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17767 }
17768 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17769 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17770 }
17771 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17772 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17773 }
17774 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17775 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17776 }
17777 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17778 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17779 }
17780 static void *_p_wxControlTo_p_wxObject(void *x) {
17781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17782 }
17783 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17784 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17785 }
17786 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17787 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17788 }
17789 static void *_p_wxFSFileTo_p_wxObject(void *x) {
17790 return (void *)((wxObject *) ((wxFSFile *) x));
17791 }
17792 static void *_p_wxClipboardTo_p_wxObject(void *x) {
17793 return (void *)((wxObject *) ((wxClipboard *) x));
17794 }
17795 static void *_p_wxPySizerTo_p_wxObject(void *x) {
17796 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17797 }
17798 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17800 }
17801 static void *_p_wxPyEventTo_p_wxObject(void *x) {
17802 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17803 }
17804 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17806 }
17807 static void *_p_wxShowEventTo_p_wxObject(void *x) {
17808 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17809 }
17810 static void *_p_wxToolTipTo_p_wxObject(void *x) {
17811 return (void *)((wxObject *) ((wxToolTip *) x));
17812 }
17813 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17814 return (void *)((wxObject *) ((wxMenuItem *) x));
17815 }
17816 static void *_p_wxDateEventTo_p_wxObject(void *x) {
17817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17818 }
17819 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17820 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17821 }
17822 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17824 }
17825 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17826 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17827 }
17828 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17829 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17830 }
17831 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17832 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17833 }
17834 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17835 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17836 }
17837 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17838 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17839 }
17840 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17841 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17842 }
17843 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17844 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17845 }
17846 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17847 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17848 }
17849 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17850 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17851 }
17852 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17853 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17854 }
17855 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17856 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17857 }
17858 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17859 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17860 }
17861 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17862 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17863 }
17864 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17865 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17866 }
17867 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17868 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17869 }
17870 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
17871 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
17872 }
17873 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17874 return (void *)((wxObject *) ((wxImageHandler *) x));
17875 }
17876 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17877 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17878 }
17879 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17880 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17881 }
17882 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17883 return (void *)((wxObject *) ((wxEvtHandler *) x));
17884 }
17885 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17886 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17887 }
17888 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17889 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17890 }
17891 static void *_p_wxImageTo_p_wxObject(void *x) {
17892 return (void *)((wxObject *) ((wxImage *) x));
17893 }
17894 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17895 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17896 }
17897 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17898 return (void *)((wxObject *) ((wxSystemOptions *) x));
17899 }
17900 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17901 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17902 }
17903 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17905 }
17906 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17907 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17908 }
17909 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17910 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17911 }
17912 static void *_p_wxWindowTo_p_wxObject(void *x) {
17913 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17914 }
17915 static void *_p_wxMenuTo_p_wxObject(void *x) {
17916 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17917 }
17918 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17920 }
17921 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17922 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17923 }
17924 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17925 return (void *)((wxObject *) ((wxFileSystem *) x));
17926 }
17927 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17929 }
17930 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17931 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17932 }
17933 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17934 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17935 }
17936 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17937 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17938 }
17939 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17940 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17941 }
17942 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17943 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17944 }
17945 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17946 return (void *)((wxObject *) ((wxBusyInfo *) x));
17947 }
17948 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17949 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17950 }
17951 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17952 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17953 }
17954 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17955 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17956 }
17957 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17958 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17959 }
17960 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17961 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17962 }
17963 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17964 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17965 }
17966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17968 }
17969 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17970 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17971 }
17972 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17973 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17974 }
17975 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17976 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17977 }
17978 static void *_p_wxControlTo_p_wxWindow(void *x) {
17979 return (void *)((wxWindow *) ((wxControl *) x));
17980 }
17981 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17982 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17983 }
17984 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17985 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17986 }
17987 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17988 return (void *)((wxWindow *) ((wxMenuBar *) x));
17989 }
17990 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17991 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17992 }
17993 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17994 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17995 }
17996 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17997 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17998 }
17999 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
18000 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
18001 }
18002 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
18003 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
18004 }
18005 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
18006 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
18007 }
18008 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
18009 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18010 }
18011 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
18012 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
18013 }
18014 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
18015 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
18016 }
18017 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
18018 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
18019 }
18020 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18022 }
18023 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18024 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18025 }
18026 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18027 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18028 }
18029 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18030 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18031 }
18032 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
18033 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
18034 }
18035 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
18036 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
18037 }
18038 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18039 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18040 }
18041 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18042 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18043 }
18044 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18045 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18046 }
18047 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18048 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18049 }
18050 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
18051 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
18052 }
18053 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
18054 return (void *)((wxControl *) ((wxControlWithItems *) x));
18055 }
18056 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
18057 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
18058 }
18059 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
18060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
18061 }
18062 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
18063 return (void *)((wxEvent *) ((wxMenuEvent *) x));
18064 }
18065 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
18066 return (void *)((wxEvent *) ((wxCloseEvent *) x));
18067 }
18068 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
18069 return (void *)((wxEvent *) ((wxMouseEvent *) x));
18070 }
18071 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
18072 return (void *)((wxEvent *) ((wxEraseEvent *) x));
18073 }
18074 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
18075 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
18076 }
18077 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
18078 return (void *)((wxEvent *) ((wxTimerEvent *) x));
18079 }
18080 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
18081 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
18082 }
18083 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
18084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
18085 }
18086 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
18087 return (void *)((wxEvent *) ((wxPyEvent *) x));
18088 }
18089 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
18090 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
18091 }
18092 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
18093 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
18094 }
18095 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
18096 return (void *)((wxEvent *) ((wxIdleEvent *) x));
18097 }
18098 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
18099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
18100 }
18101 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
18102 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
18103 }
18104 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18105 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18106 }
18107 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18108 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18109 }
18110 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18111 return (void *)((wxEvent *) ((wxActivateEvent *) x));
18112 }
18113 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18114 return (void *)((wxEvent *) ((wxSizeEvent *) x));
18115 }
18116 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18117 return (void *)((wxEvent *) ((wxMoveEvent *) x));
18118 }
18119 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18120 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18121 }
18122 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18123 return (void *)((wxEvent *) ((wxPaintEvent *) x));
18124 }
18125 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18126 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18127 }
18128 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
18129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
18130 }
18131 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18133 }
18134 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18135 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18136 }
18137 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18138 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18139 }
18140 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18141 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18142 }
18143 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18144 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18145 }
18146 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18147 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18148 }
18149 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18150 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18151 }
18152 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18154 }
18155 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
18156 return (void *)((wxEvent *) ((wxProcessEvent *) x));
18157 }
18158 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18159 return (void *)((wxEvent *) ((wxShowEvent *) x));
18160 }
18161 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18162 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18163 }
18164 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18166 }
18167 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18169 }
18170 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18171 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18172 }
18173 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18174 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18175 }
18176 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18177 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18178 }
18179 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
18180 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
18181 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
18182 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
18183 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
18184 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
18185 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
18186 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
18187 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
18188 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
18189 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
18190 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
18191 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
18192 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
18193 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
18194 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
18195 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
18196 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
18197 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
18198 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
18199 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
18200 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
18201 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
18202 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
18203 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
18204 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
18205 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
18206 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
18207 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
18208 static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0};
18209 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
18210 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
18211 static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0};
18212 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
18213 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
18214 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
18215 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
18216 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
18217 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
18218 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
18219 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
18220 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
18221 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
18222 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
18223 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
18224 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
18225 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
18226 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
18227 static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0};
18228 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
18229 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
18230 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
18231 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
18232 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
18233 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
18234 static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0};
18235 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
18236 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
18237 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
18238 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
18239 static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0};
18240 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
18241 static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, 0};
18242 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
18243 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
18244 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
18245 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
18246 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
18247 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
18248 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
18249 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
18250 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
18251 static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0};
18252 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
18253 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
18254 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
18255 static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0};
18256 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
18257 static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0};
18258 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
18259 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
18260 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
18261 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
18262 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
18263 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
18264 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
18265 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
18266 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
18267 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
18268 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
18269 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
18270 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
18271 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
18272 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
18273 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
18274 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
18275 static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0};
18276 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
18277 static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0};
18278 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
18279 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
18280 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
18281 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
18282 static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0};
18283 static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, 0};
18284 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
18285 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
18286 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
18287 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
18288
18289 static swig_type_info *swig_type_initial[] = {
18290 &_swigt__p_char,
18291 &_swigt__p_form_ops_t,
18292 &_swigt__p_int,
18293 &_swigt__p_unsigned_char,
18294 &_swigt__p_unsigned_int,
18295 &_swigt__p_unsigned_long,
18296 &_swigt__p_void,
18297 &_swigt__p_wxANIHandler,
18298 &_swigt__p_wxAcceleratorTable,
18299 &_swigt__p_wxActivateEvent,
18300 &_swigt__p_wxBMPHandler,
18301 &_swigt__p_wxBitmap,
18302 &_swigt__p_wxBoxSizer,
18303 &_swigt__p_wxBusyInfo,
18304 &_swigt__p_wxCURHandler,
18305 &_swigt__p_wxChildFocusEvent,
18306 &_swigt__p_wxClipboard,
18307 &_swigt__p_wxCloseEvent,
18308 &_swigt__p_wxColour,
18309 &_swigt__p_wxCommandEvent,
18310 &_swigt__p_wxContextMenuEvent,
18311 &_swigt__p_wxControl,
18312 &_swigt__p_wxControlWithItems,
18313 &_swigt__p_wxDC,
18314 &_swigt__p_wxDateEvent,
18315 &_swigt__p_wxDisplayChangedEvent,
18316 &_swigt__p_wxDropFilesEvent,
18317 &_swigt__p_wxDuplexMode,
18318 &_swigt__p_wxEraseEvent,
18319 &_swigt__p_wxEvent,
18320 &_swigt__p_wxEvtHandler,
18321 &_swigt__p_wxFSFile,
18322 &_swigt__p_wxFileHistory,
18323 &_swigt__p_wxFileSystem,
18324 &_swigt__p_wxFlexGridSizer,
18325 &_swigt__p_wxFocusEvent,
18326 &_swigt__p_wxFont,
18327 &_swigt__p_wxGBSizerItem,
18328 &_swigt__p_wxGIFHandler,
18329 &_swigt__p_wxGridBagSizer,
18330 &_swigt__p_wxGridSizer,
18331 &_swigt__p_wxICOHandler,
18332 &_swigt__p_wxIconizeEvent,
18333 &_swigt__p_wxIdleEvent,
18334 &_swigt__p_wxImage,
18335 &_swigt__p_wxImageHandler,
18336 &_swigt__p_wxIndividualLayoutConstraint,
18337 &_swigt__p_wxInitDialogEvent,
18338 &_swigt__p_wxJPEGHandler,
18339 &_swigt__p_wxJoystickEvent,
18340 &_swigt__p_wxKeyEvent,
18341 &_swigt__p_wxLayoutConstraints,
18342 &_swigt__p_wxMaximizeEvent,
18343 &_swigt__p_wxMemoryBuffer,
18344 &_swigt__p_wxMenu,
18345 &_swigt__p_wxMenuBar,
18346 &_swigt__p_wxMenuEvent,
18347 &_swigt__p_wxMenuItem,
18348 &_swigt__p_wxMouseCaptureChangedEvent,
18349 &_swigt__p_wxMouseEvent,
18350 &_swigt__p_wxMoveEvent,
18351 &_swigt__p_wxNavigationKeyEvent,
18352 &_swigt__p_wxNcPaintEvent,
18353 &_swigt__p_wxNotifyEvent,
18354 &_swigt__p_wxObject,
18355 &_swigt__p_wxPCXHandler,
18356 &_swigt__p_wxPNGHandler,
18357 &_swigt__p_wxPNMHandler,
18358 &_swigt__p_wxPaintEvent,
18359 &_swigt__p_wxPaletteChangedEvent,
18360 &_swigt__p_wxPaperSize,
18361 &_swigt__p_wxPoint,
18362 &_swigt__p_wxProcessEvent,
18363 &_swigt__p_wxPyApp,
18364 &_swigt__p_wxPyCommandEvent,
18365 &_swigt__p_wxPyEvent,
18366 &_swigt__p_wxPyImageHandler,
18367 &_swigt__p_wxPyProcess,
18368 &_swigt__p_wxPySizer,
18369 &_swigt__p_wxPyTimer,
18370 &_swigt__p_wxPyValidator,
18371 &_swigt__p_wxQueryNewPaletteEvent,
18372 &_swigt__p_wxRect,
18373 &_swigt__p_wxScrollBar,
18374 &_swigt__p_wxScrollEvent,
18375 &_swigt__p_wxScrollWinEvent,
18376 &_swigt__p_wxSetCursorEvent,
18377 &_swigt__p_wxShowEvent,
18378 &_swigt__p_wxSizeEvent,
18379 &_swigt__p_wxSizer,
18380 &_swigt__p_wxSizerItem,
18381 &_swigt__p_wxStaticBoxSizer,
18382 &_swigt__p_wxStdDialogButtonSizer,
18383 &_swigt__p_wxStyledTextCtrl,
18384 &_swigt__p_wxStyledTextEvent,
18385 &_swigt__p_wxSysColourChangedEvent,
18386 &_swigt__p_wxSystemOptions,
18387 &_swigt__p_wxTIFFHandler,
18388 &_swigt__p_wxTimerEvent,
18389 &_swigt__p_wxToolTip,
18390 &_swigt__p_wxUpdateUIEvent,
18391 &_swigt__p_wxValidator,
18392 &_swigt__p_wxWindow,
18393 &_swigt__p_wxWindowCreateEvent,
18394 &_swigt__p_wxWindowDestroyEvent,
18395 &_swigt__p_wxXPMHandler,
18396 &_swigt__ptrdiff_t,
18397 &_swigt__std__ptrdiff_t,
18398 &_swigt__unsigned_int,
18399 };
18400
18401 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
18402 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
18403 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
18404 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
18405 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
18406 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
18407 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
18408 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
18409 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
18410 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18411 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
18412 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
18413 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
18414 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
18415 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
18416 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18417 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
18418 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
18419 static 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_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}};
18420 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
18421 static 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}};
18422 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
18423 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
18424 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18425 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
18426 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
18427 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
18428 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
18429 static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
18430 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
18431 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
18432 static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
18433 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
18434 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
18435 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18436 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18437 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
18438 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18439 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
18440 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18441 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18442 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18443 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18444 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18445 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18446 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
18447 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18448 static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
18449 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
18450 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18451 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18452 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
18453 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_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}};
18454 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
18455 static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
18456 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
18457 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
18458 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
18459 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
18460 static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
18461 static 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}};
18462 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
18463 static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
18464 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
18465 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
18466 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
18467 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
18468 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18469 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18470 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
18471 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
18472 static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
18473 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18474 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18475 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
18476 static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
18477 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
18478 static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
18479 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
18480 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18481 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18482 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
18483 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
18484 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
18485 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
18486 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
18487 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
18488 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
18489 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
18490 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
18491 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
18492 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
18493 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
18494 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
18495 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
18496 static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
18497 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
18498 static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
18499 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_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_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_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_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_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_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}};
18500 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
18501 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
18502 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
18503 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
18504 static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
18505 static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
18506 static 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}};
18507 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
18508 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
18509 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
18510
18511 static swig_cast_info *swig_cast_initial[] = {
18512 _swigc__p_char,
18513 _swigc__p_form_ops_t,
18514 _swigc__p_int,
18515 _swigc__p_unsigned_char,
18516 _swigc__p_unsigned_int,
18517 _swigc__p_unsigned_long,
18518 _swigc__p_void,
18519 _swigc__p_wxANIHandler,
18520 _swigc__p_wxAcceleratorTable,
18521 _swigc__p_wxActivateEvent,
18522 _swigc__p_wxBMPHandler,
18523 _swigc__p_wxBitmap,
18524 _swigc__p_wxBoxSizer,
18525 _swigc__p_wxBusyInfo,
18526 _swigc__p_wxCURHandler,
18527 _swigc__p_wxChildFocusEvent,
18528 _swigc__p_wxClipboard,
18529 _swigc__p_wxCloseEvent,
18530 _swigc__p_wxColour,
18531 _swigc__p_wxCommandEvent,
18532 _swigc__p_wxContextMenuEvent,
18533 _swigc__p_wxControl,
18534 _swigc__p_wxControlWithItems,
18535 _swigc__p_wxDC,
18536 _swigc__p_wxDateEvent,
18537 _swigc__p_wxDisplayChangedEvent,
18538 _swigc__p_wxDropFilesEvent,
18539 _swigc__p_wxDuplexMode,
18540 _swigc__p_wxEraseEvent,
18541 _swigc__p_wxEvent,
18542 _swigc__p_wxEvtHandler,
18543 _swigc__p_wxFSFile,
18544 _swigc__p_wxFileHistory,
18545 _swigc__p_wxFileSystem,
18546 _swigc__p_wxFlexGridSizer,
18547 _swigc__p_wxFocusEvent,
18548 _swigc__p_wxFont,
18549 _swigc__p_wxGBSizerItem,
18550 _swigc__p_wxGIFHandler,
18551 _swigc__p_wxGridBagSizer,
18552 _swigc__p_wxGridSizer,
18553 _swigc__p_wxICOHandler,
18554 _swigc__p_wxIconizeEvent,
18555 _swigc__p_wxIdleEvent,
18556 _swigc__p_wxImage,
18557 _swigc__p_wxImageHandler,
18558 _swigc__p_wxIndividualLayoutConstraint,
18559 _swigc__p_wxInitDialogEvent,
18560 _swigc__p_wxJPEGHandler,
18561 _swigc__p_wxJoystickEvent,
18562 _swigc__p_wxKeyEvent,
18563 _swigc__p_wxLayoutConstraints,
18564 _swigc__p_wxMaximizeEvent,
18565 _swigc__p_wxMemoryBuffer,
18566 _swigc__p_wxMenu,
18567 _swigc__p_wxMenuBar,
18568 _swigc__p_wxMenuEvent,
18569 _swigc__p_wxMenuItem,
18570 _swigc__p_wxMouseCaptureChangedEvent,
18571 _swigc__p_wxMouseEvent,
18572 _swigc__p_wxMoveEvent,
18573 _swigc__p_wxNavigationKeyEvent,
18574 _swigc__p_wxNcPaintEvent,
18575 _swigc__p_wxNotifyEvent,
18576 _swigc__p_wxObject,
18577 _swigc__p_wxPCXHandler,
18578 _swigc__p_wxPNGHandler,
18579 _swigc__p_wxPNMHandler,
18580 _swigc__p_wxPaintEvent,
18581 _swigc__p_wxPaletteChangedEvent,
18582 _swigc__p_wxPaperSize,
18583 _swigc__p_wxPoint,
18584 _swigc__p_wxProcessEvent,
18585 _swigc__p_wxPyApp,
18586 _swigc__p_wxPyCommandEvent,
18587 _swigc__p_wxPyEvent,
18588 _swigc__p_wxPyImageHandler,
18589 _swigc__p_wxPyProcess,
18590 _swigc__p_wxPySizer,
18591 _swigc__p_wxPyTimer,
18592 _swigc__p_wxPyValidator,
18593 _swigc__p_wxQueryNewPaletteEvent,
18594 _swigc__p_wxRect,
18595 _swigc__p_wxScrollBar,
18596 _swigc__p_wxScrollEvent,
18597 _swigc__p_wxScrollWinEvent,
18598 _swigc__p_wxSetCursorEvent,
18599 _swigc__p_wxShowEvent,
18600 _swigc__p_wxSizeEvent,
18601 _swigc__p_wxSizer,
18602 _swigc__p_wxSizerItem,
18603 _swigc__p_wxStaticBoxSizer,
18604 _swigc__p_wxStdDialogButtonSizer,
18605 _swigc__p_wxStyledTextCtrl,
18606 _swigc__p_wxStyledTextEvent,
18607 _swigc__p_wxSysColourChangedEvent,
18608 _swigc__p_wxSystemOptions,
18609 _swigc__p_wxTIFFHandler,
18610 _swigc__p_wxTimerEvent,
18611 _swigc__p_wxToolTip,
18612 _swigc__p_wxUpdateUIEvent,
18613 _swigc__p_wxValidator,
18614 _swigc__p_wxWindow,
18615 _swigc__p_wxWindowCreateEvent,
18616 _swigc__p_wxWindowDestroyEvent,
18617 _swigc__p_wxXPMHandler,
18618 _swigc__ptrdiff_t,
18619 _swigc__std__ptrdiff_t,
18620 _swigc__unsigned_int,
18621 };
18622
18623
18624 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18625
18626 static swig_const_info swig_const_table[] = {
18627 {0, 0, 0, 0.0, 0, 0}};
18628
18629 #ifdef __cplusplus
18630 }
18631 #endif
18632 /*************************************************************************
18633 * Type initialization:
18634 * This problem is tough by the requirement that no dynamic
18635 * memory is used. Also, since swig_type_info structures store pointers to
18636 * swig_cast_info structures and swig_cast_info structures store pointers back
18637 * to swig_type_info structures, we need some lookup code at initialization.
18638 * The idea is that swig generates all the structures that are needed.
18639 * The runtime then collects these partially filled structures.
18640 * The SWIG_InitializeModule function takes these initial arrays out of
18641 * swig_module, and does all the lookup, filling in the swig_module.types
18642 * array with the correct data and linking the correct swig_cast_info
18643 * structures together.
18644
18645 * The generated swig_type_info structures are assigned staticly to an initial
18646 * array. We just loop though that array, and handle each type individually.
18647 * First we lookup if this type has been already loaded, and if so, use the
18648 * loaded structure instead of the generated one. Then we have to fill in the
18649 * cast linked list. The cast data is initially stored in something like a
18650 * two-dimensional array. Each row corresponds to a type (there are the same
18651 * number of rows as there are in the swig_type_initial array). Each entry in
18652 * a column is one of the swig_cast_info structures for that type.
18653 * The cast_initial array is actually an array of arrays, because each row has
18654 * a variable number of columns. So to actually build the cast linked list,
18655 * we find the array of casts associated with the type, and loop through it
18656 * adding the casts to the list. The one last trick we need to do is making
18657 * sure the type pointer in the swig_cast_info struct is correct.
18658
18659 * First off, we lookup the cast->type name to see if it is already loaded.
18660 * There are three cases to handle:
18661 * 1) If the cast->type has already been loaded AND the type we are adding
18662 * casting info to has not been loaded (it is in this module), THEN we
18663 * replace the cast->type pointer with the type pointer that has already
18664 * been loaded.
18665 * 2) If BOTH types (the one we are adding casting info to, and the
18666 * cast->type) are loaded, THEN the cast info has already been loaded by
18667 * the previous module so we just ignore it.
18668 * 3) Finally, if cast->type has not already been loaded, then we add that
18669 * swig_cast_info to the linked list (because the cast->type) pointer will
18670 * be correct.
18671 **/
18672
18673 #ifdef __cplusplus
18674 extern "C" {
18675 #if 0
18676 } /* c-mode */
18677 #endif
18678 #endif
18679
18680 #if 0
18681 #define SWIGRUNTIME_DEBUG
18682 #endif
18683
18684 SWIGRUNTIME void
18685 SWIG_InitializeModule(void *clientdata) {
18686 size_t i;
18687 swig_module_info *module_head;
18688 static int init_run = 0;
18689
18690 clientdata = clientdata;
18691
18692 if (init_run) return;
18693 init_run = 1;
18694
18695 /* Initialize the swig_module */
18696 swig_module.type_initial = swig_type_initial;
18697 swig_module.cast_initial = swig_cast_initial;
18698
18699 /* Try and load any already created modules */
18700 module_head = SWIG_GetModule(clientdata);
18701 if (module_head) {
18702 swig_module.next = module_head->next;
18703 module_head->next = &swig_module;
18704 } else {
18705 /* This is the first module loaded */
18706 swig_module.next = &swig_module;
18707 SWIG_SetModule(clientdata, &swig_module);
18708 }
18709
18710 /* Now work on filling in swig_module.types */
18711 #ifdef SWIGRUNTIME_DEBUG
18712 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
18713 #endif
18714 for (i = 0; i < swig_module.size; ++i) {
18715 swig_type_info *type = 0;
18716 swig_type_info *ret;
18717 swig_cast_info *cast;
18718
18719 #ifdef SWIGRUNTIME_DEBUG
18720 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18721 #endif
18722
18723 /* if there is another module already loaded */
18724 if (swig_module.next != &swig_module) {
18725 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
18726 }
18727 if (type) {
18728 /* Overwrite clientdata field */
18729 #ifdef SWIGRUNTIME_DEBUG
18730 printf("SWIG_InitializeModule: found type %s\n", type->name);
18731 #endif
18732 if (swig_module.type_initial[i]->clientdata) {
18733 type->clientdata = swig_module.type_initial[i]->clientdata;
18734 #ifdef SWIGRUNTIME_DEBUG
18735 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
18736 #endif
18737 }
18738 } else {
18739 type = swig_module.type_initial[i];
18740 }
18741
18742 /* Insert casting types */
18743 cast = swig_module.cast_initial[i];
18744 while (cast->type) {
18745 /* Don't need to add information already in the list */
18746 ret = 0;
18747 #ifdef SWIGRUNTIME_DEBUG
18748 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
18749 #endif
18750 if (swig_module.next != &swig_module) {
18751 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
18752 #ifdef SWIGRUNTIME_DEBUG
18753 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
18754 #endif
18755 }
18756 if (ret) {
18757 if (type == swig_module.type_initial[i]) {
18758 #ifdef SWIGRUNTIME_DEBUG
18759 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
18760 #endif
18761 cast->type = ret;
18762 ret = 0;
18763 } else {
18764 /* Check for casting already in the list */
18765 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
18766 #ifdef SWIGRUNTIME_DEBUG
18767 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
18768 #endif
18769 if (!ocast) ret = 0;
18770 }
18771 }
18772
18773 if (!ret) {
18774 #ifdef SWIGRUNTIME_DEBUG
18775 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
18776 #endif
18777 if (type->cast) {
18778 type->cast->prev = cast;
18779 cast->next = type->cast;
18780 }
18781 type->cast = cast;
18782 }
18783 cast++;
18784 }
18785 /* Set entry in modules->types array equal to the type */
18786 swig_module.types[i] = type;
18787 }
18788 swig_module.types[i] = 0;
18789
18790 #ifdef SWIGRUNTIME_DEBUG
18791 printf("**** SWIG_InitializeModule: Cast List ******\n");
18792 for (i = 0; i < swig_module.size; ++i) {
18793 int j = 0;
18794 swig_cast_info *cast = swig_module.cast_initial[i];
18795 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18796 while (cast->type) {
18797 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
18798 cast++;
18799 ++j;
18800 }
18801 printf("---- Total casts: %d\n",j);
18802 }
18803 printf("**** SWIG_InitializeModule: Cast List ******\n");
18804 #endif
18805 }
18806
18807 /* This function will propagate the clientdata field of type to
18808 * any new swig_type_info structures that have been added into the list
18809 * of equivalent types. It is like calling
18810 * SWIG_TypeClientData(type, clientdata) a second time.
18811 */
18812 SWIGRUNTIME void
18813 SWIG_PropagateClientData(void) {
18814 size_t i;
18815 swig_cast_info *equiv;
18816 static int init_run = 0;
18817
18818 if (init_run) return;
18819 init_run = 1;
18820
18821 for (i = 0; i < swig_module.size; i++) {
18822 if (swig_module.types[i]->clientdata) {
18823 equiv = swig_module.types[i]->cast;
18824 while (equiv) {
18825 if (!equiv->converter) {
18826 if (equiv->type && !equiv->type->clientdata)
18827 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
18828 }
18829 equiv = equiv->next;
18830 }
18831 }
18832 }
18833 }
18834
18835 #ifdef __cplusplus
18836 #if 0
18837 {
18838 /* c-mode */
18839 #endif
18840 }
18841 #endif
18842
18843
18844
18845 #ifdef __cplusplus
18846 extern "C" {
18847 #endif
18848
18849 /* Python-specific SWIG API */
18850 #define SWIG_newvarlink() SWIG_Python_newvarlink()
18851 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18852 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18853
18854 /* -----------------------------------------------------------------------------
18855 * global variable support code.
18856 * ----------------------------------------------------------------------------- */
18857
18858 typedef struct swig_globalvar {
18859 char *name; /* Name of global variable */
18860 PyObject *(*get_attr)(void); /* Return the current value */
18861 int (*set_attr)(PyObject *); /* Set the value */
18862 struct swig_globalvar *next;
18863 } swig_globalvar;
18864
18865 typedef struct swig_varlinkobject {
18866 PyObject_HEAD
18867 swig_globalvar *vars;
18868 } swig_varlinkobject;
18869
18870 SWIGINTERN PyObject *
18871 swig_varlink_repr(swig_varlinkobject *v) {
18872 v = v;
18873 return PyString_FromString("<Swig global variables>");
18874 }
18875
18876 SWIGINTERN int
18877 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
18878 swig_globalvar *var;
18879 flags = flags;
18880 fprintf(fp,"Swig global variables { ");
18881 for (var = v->vars; var; var=var->next) {
18882 fprintf(fp,"%s", var->name);
18883 if (var->next) fprintf(fp,", ");
18884 }
18885 fprintf(fp," }\n");
18886 return 0;
18887 }
18888
18889 SWIGINTERN PyObject *
18890 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18891 swig_globalvar *var = v->vars;
18892 while (var) {
18893 if (strcmp(var->name,n) == 0) {
18894 return (*var->get_attr)();
18895 }
18896 var = var->next;
18897 }
18898 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18899 return NULL;
18900 }
18901
18902 SWIGINTERN int
18903 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18904 swig_globalvar *var = v->vars;
18905 while (var) {
18906 if (strcmp(var->name,n) == 0) {
18907 return (*var->set_attr)(p);
18908 }
18909 var = var->next;
18910 }
18911 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18912 return 1;
18913 }
18914
18915 SWIGINTERN PyTypeObject*
18916 swig_varlink_type(void) {
18917 static char varlink__doc__[] = "Swig var link object";
18918 static PyTypeObject varlink_type
18919 #if !defined(__cplusplus)
18920 ;
18921 static int type_init = 0;
18922 if (!type_init) {
18923 PyTypeObject tmp
18924 #endif
18925 = {
18926 PyObject_HEAD_INIT(&PyType_Type)
18927 0, /* Number of items in variable part (ob_size) */
18928 (char *)"swigvarlink", /* Type name (tp_name) */
18929 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18930 0, /* Itemsize (tp_itemsize) */
18931 0, /* Deallocator (tp_dealloc) */
18932 (printfunc) swig_varlink_print, /* Print (tp_print) */
18933 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18934 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18935 0, /* tp_compare */
18936 (reprfunc) swig_varlink_repr, /* tp_repr */
18937 0, /* tp_as_number */
18938 0, /* tp_as_sequence */
18939 0, /* tp_as_mapping */
18940 0, /* tp_hash */
18941 0, /* tp_call */
18942 0, /* tp_str */
18943 0, /* tp_getattro */
18944 0, /* tp_setattro */
18945 0, /* tp_as_buffer */
18946 0, /* tp_flags */
18947 varlink__doc__, /* tp_doc */
18948 #if PY_VERSION_HEX >= 0x02000000
18949 0, /* tp_traverse */
18950 0, /* tp_clear */
18951 #endif
18952 #if PY_VERSION_HEX >= 0x02010000
18953 0, /* tp_richcompare */
18954 0, /* tp_weaklistoffset */
18955 #endif
18956 #if PY_VERSION_HEX >= 0x02020000
18957 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
18958 #endif
18959 #if PY_VERSION_HEX >= 0x02030000
18960 0, /* tp_del */
18961 #endif
18962 #ifdef COUNT_ALLOCS
18963 0,0,0,0 /* tp_alloc -> tp_next */
18964 #endif
18965 };
18966 #if !defined(__cplusplus)
18967 varlink_type = tmp;
18968 type_init = 1;
18969 }
18970 #endif
18971 return &varlink_type;
18972 }
18973
18974 /* Create a variable linking object for use later */
18975 SWIGINTERN PyObject *
18976 SWIG_Python_newvarlink(void) {
18977 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
18978 if (result) {
18979 result->vars = 0;
18980 }
18981 return ((PyObject*) result);
18982 }
18983
18984 SWIGINTERN void
18985 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
18986 swig_varlinkobject *v = (swig_varlinkobject *) p;
18987 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18988 if (gv) {
18989 size_t size = strlen(name)+1;
18990 gv->name = (char *)malloc(size);
18991 if (gv->name) {
18992 strncpy(gv->name,name,size);
18993 gv->get_attr = get_attr;
18994 gv->set_attr = set_attr;
18995 gv->next = v->vars;
18996 }
18997 }
18998 v->vars = gv;
18999 }
19000
19001 /* -----------------------------------------------------------------------------
19002 * constants/methods manipulation
19003 * ----------------------------------------------------------------------------- */
19004
19005 /* Install Constants */
19006 SWIGINTERN void
19007 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
19008 PyObject *obj = 0;
19009 size_t i;
19010 for (i = 0; constants[i].type; ++i) {
19011 switch(constants[i].type) {
19012 case SWIG_PY_INT:
19013 obj = PyInt_FromLong(constants[i].lvalue);
19014 break;
19015 case SWIG_PY_FLOAT:
19016 obj = PyFloat_FromDouble(constants[i].dvalue);
19017 break;
19018 case SWIG_PY_STRING:
19019 if (constants[i].pvalue) {
19020 obj = PyString_FromString((char *) constants[i].pvalue);
19021 } else {
19022 Py_INCREF(Py_None);
19023 obj = Py_None;
19024 }
19025 break;
19026 case SWIG_PY_POINTER:
19027 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
19028 break;
19029 case SWIG_PY_BINARY:
19030 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
19031 break;
19032 default:
19033 obj = 0;
19034 break;
19035 }
19036 if (obj) {
19037 PyDict_SetItemString(d,constants[i].name,obj);
19038 Py_DECREF(obj);
19039 }
19040 }
19041 }
19042
19043 /* -----------------------------------------------------------------------------*/
19044 /* Fix SwigMethods to carry the callback ptrs when needed */
19045 /* -----------------------------------------------------------------------------*/
19046
19047 SWIGINTERN void
19048 SWIG_Python_FixMethods(PyMethodDef *methods,
19049 swig_const_info *const_table,
19050 swig_type_info **types,
19051 swig_type_info **types_initial) {
19052 size_t i;
19053 for (i = 0; methods[i].ml_name; ++i) {
19054 char *c = methods[i].ml_doc;
19055 if (c && (c = strstr(c, "swig_ptr: "))) {
19056 int j;
19057 swig_const_info *ci = 0;
19058 char *name = c + 10;
19059 for (j = 0; const_table[j].type; ++j) {
19060 if (strncmp(const_table[j].name, name,
19061 strlen(const_table[j].name)) == 0) {
19062 ci = &(const_table[j]);
19063 break;
19064 }
19065 }
19066 if (ci) {
19067 size_t shift = (ci->ptype) - types;
19068 swig_type_info *ty = types_initial[shift];
19069 size_t ldoc = (c - methods[i].ml_doc);
19070 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
19071 char *ndoc = (char*)malloc(ldoc + lptr + 10);
19072 if (ndoc) {
19073 char *buff = ndoc;
19074 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
19075 if (ptr) {
19076 strncpy(buff, methods[i].ml_doc, ldoc);
19077 buff += ldoc;
19078 strncpy(buff, "swig_ptr: ", 10);
19079 buff += 10;
19080 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
19081 methods[i].ml_doc = ndoc;
19082 }
19083 }
19084 }
19085 }
19086 }
19087 }
19088
19089 /* -----------------------------------------------------------------------------*
19090 * Initialize type list
19091 * -----------------------------------------------------------------------------*/
19092
19093 #ifdef __cplusplus
19094 }
19095 #endif
19096
19097 /* -----------------------------------------------------------------------------*
19098 * Partial Init method
19099 * -----------------------------------------------------------------------------*/
19100
19101 #ifdef __cplusplus
19102 extern "C"
19103 #endif
19104 SWIGEXPORT void SWIG_init(void) {
19105 static PyObject *SWIG_globals = 0;
19106 PyObject *m, *d;
19107 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19108
19109 /* Fix SwigMethods to carry the callback ptrs when needed */
19110 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
19111
19112 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19113 d = PyModule_GetDict(m);
19114
19115 SWIG_InitializeModule(0);
19116 SWIG_InstallConstants(d,swig_const_table);
19117
19118 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19119 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
19120 {
19121 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast<int >(1)));
19122 }
19123 {
19124 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast<int >(1)));
19125 }
19126 {
19127 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast<int >(-1)));
19128 }
19129 {
19130 PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast<int >(2000)));
19131 }
19132 {
19133 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast<int >(3000)));
19134 }
19135 {
19136 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast<int >(4000)));
19137 }
19138 {
19139 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast<int >(0)));
19140 }
19141 {
19142 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast<int >(1)));
19143 }
19144 {
19145 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast<int >(2)));
19146 }
19147 {
19148 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast<int >(0)));
19149 }
19150 {
19151 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast<int >(1)));
19152 }
19153 {
19154 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast<int >(2)));
19155 }
19156 {
19157 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast<int >(65001)));
19158 }
19159 {
19160 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast<int >(1)));
19161 }
19162 {
19163 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast<int >(31)));
19164 }
19165 {
19166 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast<int >(0)));
19167 }
19168 {
19169 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast<int >(1)));
19170 }
19171 {
19172 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast<int >(2)));
19173 }
19174 {
19175 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast<int >(3)));
19176 }
19177 {
19178 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast<int >(4)));
19179 }
19180 {
19181 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast<int >(5)));
19182 }
19183 {
19184 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast<int >(6)));
19185 }
19186 {
19187 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast<int >(7)));
19188 }
19189 {
19190 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast<int >(8)));
19191 }
19192 {
19193 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast<int >(9)));
19194 }
19195 {
19196 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast<int >(10)));
19197 }
19198 {
19199 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast<int >(11)));
19200 }
19201 {
19202 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast<int >(12)));
19203 }
19204 {
19205 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast<int >(13)));
19206 }
19207 {
19208 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast<int >(14)));
19209 }
19210 {
19211 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast<int >(15)));
19212 }
19213 {
19214 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast<int >(16)));
19215 }
19216 {
19217 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast<int >(17)));
19218 }
19219 {
19220 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast<int >(18)));
19221 }
19222 {
19223 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast<int >(19)));
19224 }
19225 {
19226 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast<int >(20)));
19227 }
19228 {
19229 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast<int >(21)));
19230 }
19231 {
19232 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast<int >(22)));
19233 }
19234 {
19235 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast<int >(23)));
19236 }
19237 {
19238 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast<int >(24)));
19239 }
19240 {
19241 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast<int >(25)));
19242 }
19243 {
19244 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast<int >(10000)));
19245 }
19246 {
19247 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast<int >(25)));
19248 }
19249 {
19250 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast<int >(26)));
19251 }
19252 {
19253 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast<int >(27)));
19254 }
19255 {
19256 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast<int >(28)));
19257 }
19258 {
19259 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast<int >(29)));
19260 }
19261 {
19262 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast<int >(30)));
19263 }
19264 {
19265 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast<int >(31)));
19266 }
19267 {
19268 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast<int >(0xFE000000)));
19269 }
19270 {
19271 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast<int >(0)));
19272 }
19273 {
19274 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast<int >(1)));
19275 }
19276 {
19277 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast<int >(32)));
19278 }
19279 {
19280 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast<int >(33)));
19281 }
19282 {
19283 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast<int >(34)));
19284 }
19285 {
19286 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast<int >(35)));
19287 }
19288 {
19289 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast<int >(36)));
19290 }
19291 {
19292 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast<int >(37)));
19293 }
19294 {
19295 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast<int >(39)));
19296 }
19297 {
19298 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast<int >(127)));
19299 }
19300 {
19301 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast<int >(0)));
19302 }
19303 {
19304 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast<int >(1)));
19305 }
19306 {
19307 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast<int >(186)));
19308 }
19309 {
19310 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast<int >(136)));
19311 }
19312 {
19313 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast<int >(238)));
19314 }
19315 {
19316 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast<int >(134)));
19317 }
19318 {
19319 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast<int >(161)));
19320 }
19321 {
19322 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast<int >(129)));
19323 }
19324 {
19325 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast<int >(77)));
19326 }
19327 {
19328 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast<int >(255)));
19329 }
19330 {
19331 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast<int >(204)));
19332 }
19333 {
19334 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast<int >(128)));
19335 }
19336 {
19337 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast<int >(2)));
19338 }
19339 {
19340 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast<int >(162)));
19341 }
19342 {
19343 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast<int >(130)));
19344 }
19345 {
19346 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast<int >(177)));
19347 }
19348 {
19349 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast<int >(178)));
19350 }
19351 {
19352 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast<int >(163)));
19353 }
19354 {
19355 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast<int >(222)));
19356 }
19357 {
19358 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast<int >(0)));
19359 }
19360 {
19361 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast<int >(1)));
19362 }
19363 {
19364 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast<int >(2)));
19365 }
19366 {
19367 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast<int >(7)));
19368 }
19369 {
19370 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast<int >(0)));
19371 }
19372 {
19373 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast<int >(1)));
19374 }
19375 {
19376 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast<int >(2)));
19377 }
19378 {
19379 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast<int >(3)));
19380 }
19381 {
19382 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast<int >(4)));
19383 }
19384 {
19385 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast<int >(5)));
19386 }
19387 {
19388 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast<int >(6)));
19389 }
19390 {
19391 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast<int >(0x20)));
19392 }
19393 {
19394 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast<int >(0x40)));
19395 }
19396 {
19397 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast<int >(0x80)));
19398 }
19399 {
19400 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast<int >(0xE0)));
19401 }
19402 {
19403 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast<int >(0)));
19404 }
19405 {
19406 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast<int >(1)));
19407 }
19408 {
19409 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast<int >(2)));
19410 }
19411 {
19412 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast<int >(3)));
19413 }
19414 {
19415 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast<int >(4)));
19416 }
19417 {
19418 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast<int >(2)));
19419 }
19420 {
19421 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast<int >(4)));
19422 }
19423 {
19424 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast<int >(0x00100000)));
19425 }
19426 {
19427 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast<int >(0x00200000)));
19428 }
19429 {
19430 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast<int >(0x00400000)));
19431 }
19432 {
19433 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast<int >(0x400)));
19434 }
19435 {
19436 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast<int >(0x1000)));
19437 }
19438 {
19439 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast<int >(0x2000)));
19440 }
19441 {
19442 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast<int >(0x4000)));
19443 }
19444 {
19445 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast<int >(0x8000)));
19446 }
19447 {
19448 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast<int >(0x10000)));
19449 }
19450 {
19451 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast<int >(0x20000)));
19452 }
19453 {
19454 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast<int >(0x0FFF)));
19455 }
19456 {
19457 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast<int >(0x0002)));
19458 }
19459 {
19460 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast<int >(0x0004)));
19461 }
19462 {
19463 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast<int >(0x0008)));
19464 }
19465 {
19466 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast<int >(0x0010)));
19467 }
19468 {
19469 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast<int >(0x0040)));
19470 }
19471 {
19472 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast<int >(0x0001)));
19473 }
19474 {
19475 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast<int >(10000000)));
19476 }
19477 {
19478 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast<int >(0)));
19479 }
19480 {
19481 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast<int >(1)));
19482 }
19483 {
19484 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast<int >(0x0000)));
19485 }
19486 {
19487 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast<int >(0x0001)));
19488 }
19489 {
19490 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast<int >(0x0002)));
19491 }
19492 {
19493 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast<int >(0x0000)));
19494 }
19495 {
19496 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast<int >(0x0001)));
19497 }
19498 {
19499 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast<int >(0x0002)));
19500 }
19501 {
19502 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast<int >(0)));
19503 }
19504 {
19505 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast<int >(1)));
19506 }
19507 {
19508 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast<int >(2)));
19509 }
19510 {
19511 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast<int >(3)));
19512 }
19513 {
19514 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast<int >(0)));
19515 }
19516 {
19517 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast<int >(1)));
19518 }
19519 {
19520 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast<int >(2)));
19521 }
19522 {
19523 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast<int >(-1)));
19524 }
19525 {
19526 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast<int >(4)));
19527 }
19528 {
19529 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast<int >(0x01)));
19530 }
19531 {
19532 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast<int >(0x04)));
19533 }
19534 {
19535 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast<int >(0x01)));
19536 }
19537 {
19538 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast<int >(0x04)));
19539 }
19540 {
19541 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast<int >(0x10)));
19542 }
19543 {
19544 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast<int >(0x08)));
19545 }
19546 {
19547 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast<int >(0)));
19548 }
19549 {
19550 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast<int >(1)));
19551 }
19552 {
19553 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast<int >(2)));
19554 }
19555 {
19556 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast<int >(8)));
19557 }
19558 {
19559 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast<int >(0x1)));
19560 }
19561 {
19562 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast<int >(0x2)));
19563 }
19564 {
19565 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast<int >(0x4)));
19566 }
19567 {
19568 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast<int >(0x8)));
19569 }
19570 {
19571 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast<int >(0x10)));
19572 }
19573 {
19574 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast<int >(0x20)));
19575 }
19576 {
19577 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast<int >(0x40)));
19578 }
19579 {
19580 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast<int >(0x100)));
19581 }
19582 {
19583 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast<int >(0x200)));
19584 }
19585 {
19586 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast<int >(0x400)));
19587 }
19588 {
19589 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast<int >(0x800)));
19590 }
19591 {
19592 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast<int >(0xF77)));
19593 }
19594 {
19595 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast<int >(300)));
19596 }
19597 {
19598 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast<int >(301)));
19599 }
19600 {
19601 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast<int >(302)));
19602 }
19603 {
19604 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast<int >(303)));
19605 }
19606 {
19607 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast<int >(304)));
19608 }
19609 {
19610 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast<int >(305)));
19611 }
19612 {
19613 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast<int >(306)));
19614 }
19615 {
19616 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast<int >(307)));
19617 }
19618 {
19619 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast<int >(308)));
19620 }
19621 {
19622 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast<int >(309)));
19623 }
19624 {
19625 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast<int >(7)));
19626 }
19627 {
19628 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast<int >(8)));
19629 }
19630 {
19631 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast<int >(9)));
19632 }
19633 {
19634 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast<int >(13)));
19635 }
19636 {
19637 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast<int >(310)));
19638 }
19639 {
19640 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast<int >(311)));
19641 }
19642 {
19643 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast<int >(312)));
19644 }
19645 {
19646 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast<int >(1)));
19647 }
19648 {
19649 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast<int >(2)));
19650 }
19651 {
19652 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast<int >(4)));
19653 }
19654 {
19655 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast<int >(0)));
19656 }
19657 {
19658 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast<int >(1)));
19659 }
19660 {
19661 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast<int >(2)));
19662 }
19663 {
19664 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast<int >(3)));
19665 }
19666 {
19667 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast<int >(4)));
19668 }
19669 {
19670 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast<int >(5)));
19671 }
19672 {
19673 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast<int >(6)));
19674 }
19675 {
19676 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast<int >(7)));
19677 }
19678 {
19679 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast<int >(8)));
19680 }
19681 {
19682 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast<int >(9)));
19683 }
19684 {
19685 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast<int >(10)));
19686 }
19687 {
19688 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast<int >(11)));
19689 }
19690 {
19691 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast<int >(12)));
19692 }
19693 {
19694 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast<int >(13)));
19695 }
19696 {
19697 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast<int >(14)));
19698 }
19699 {
19700 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast<int >(15)));
19701 }
19702 {
19703 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast<int >(16)));
19704 }
19705 {
19706 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast<int >(17)));
19707 }
19708 {
19709 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast<int >(18)));
19710 }
19711 {
19712 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast<int >(19)));
19713 }
19714 {
19715 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast<int >(20)));
19716 }
19717 {
19718 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast<int >(21)));
19719 }
19720 {
19721 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast<int >(22)));
19722 }
19723 {
19724 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast<int >(23)));
19725 }
19726 {
19727 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast<int >(24)));
19728 }
19729 {
19730 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast<int >(25)));
19731 }
19732 {
19733 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast<int >(26)));
19734 }
19735 {
19736 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast<int >(27)));
19737 }
19738 {
19739 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast<int >(28)));
19740 }
19741 {
19742 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast<int >(29)));
19743 }
19744 {
19745 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast<int >(30)));
19746 }
19747 {
19748 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast<int >(31)));
19749 }
19750 {
19751 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast<int >(32)));
19752 }
19753 {
19754 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast<int >(33)));
19755 }
19756 {
19757 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast<int >(34)));
19758 }
19759 {
19760 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast<int >(35)));
19761 }
19762 {
19763 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast<int >(36)));
19764 }
19765 {
19766 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast<int >(37)));
19767 }
19768 {
19769 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast<int >(38)));
19770 }
19771 {
19772 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast<int >(39)));
19773 }
19774 {
19775 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast<int >(40)));
19776 }
19777 {
19778 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast<int >(41)));
19779 }
19780 {
19781 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast<int >(42)));
19782 }
19783 {
19784 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast<int >(43)));
19785 }
19786 {
19787 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast<int >(44)));
19788 }
19789 {
19790 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast<int >(45)));
19791 }
19792 {
19793 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast<int >(46)));
19794 }
19795 {
19796 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast<int >(47)));
19797 }
19798 {
19799 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast<int >(48)));
19800 }
19801 {
19802 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast<int >(49)));
19803 }
19804 {
19805 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast<int >(50)));
19806 }
19807 {
19808 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast<int >(51)));
19809 }
19810 {
19811 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast<int >(52)));
19812 }
19813 {
19814 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast<int >(53)));
19815 }
19816 {
19817 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast<int >(54)));
19818 }
19819 {
19820 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast<int >(55)));
19821 }
19822 {
19823 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast<int >(56)));
19824 }
19825 {
19826 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast<int >(57)));
19827 }
19828 {
19829 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast<int >(58)));
19830 }
19831 {
19832 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast<int >(59)));
19833 }
19834 {
19835 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast<int >(60)));
19836 }
19837 {
19838 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast<int >(61)));
19839 }
19840 {
19841 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast<int >(62)));
19842 }
19843 {
19844 PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast<int >(63)));
19845 }
19846 {
19847 PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast<int >(64)));
19848 }
19849 {
19850 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast<int >(1000)));
19851 }
19852 {
19853 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast<int >(0)));
19854 }
19855 {
19856 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
19857 }
19858 {
19859 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast<int >(2)));
19860 }
19861 {
19862 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast<int >(3)));
19863 }
19864 {
19865 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast<int >(4)));
19866 }
19867 {
19868 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast<int >(5)));
19869 }
19870 {
19871 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast<int >(6)));
19872 }
19873 {
19874 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(7)));
19875 }
19876 {
19877 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast<int >(8)));
19878 }
19879 {
19880 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast<int >(9)));
19881 }
19882 {
19883 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast<int >(10)));
19884 }
19885 {
19886 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
19887 }
19888 {
19889 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast<int >(12)));
19890 }
19891 {
19892 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
19893 }
19894 {
19895 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast<int >(0)));
19896 }
19897 {
19898 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast<int >(1)));
19899 }
19900 {
19901 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
19902 }
19903 {
19904 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
19905 }
19906 {
19907 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast<int >(4)));
19908 }
19909 {
19910 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast<int >(5)));
19911 }
19912 {
19913 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast<int >(6)));
19914 }
19915 {
19916 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast<int >(7)));
19917 }
19918 {
19919 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast<int >(8)));
19920 }
19921 {
19922 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
19923 }
19924 {
19925 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast<int >(10)));
19926 }
19927 {
19928 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
19929 }
19930 {
19931 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
19932 }
19933 {
19934 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast<int >(13)));
19935 }
19936 {
19937 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast<int >(14)));
19938 }
19939 {
19940 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast<int >(15)));
19941 }
19942 {
19943 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast<int >(16)));
19944 }
19945 {
19946 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast<int >(17)));
19947 }
19948 {
19949 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast<int >(18)));
19950 }
19951 {
19952 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast<int >(19)));
19953 }
19954 {
19955 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast<int >(0)));
19956 }
19957 {
19958 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast<int >(1)));
19959 }
19960 {
19961 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast<int >(2)));
19962 }
19963 {
19964 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast<int >(3)));
19965 }
19966 {
19967 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast<int >(4)));
19968 }
19969 {
19970 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast<int >(5)));
19971 }
19972 {
19973 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast<int >(6)));
19974 }
19975 {
19976 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast<int >(7)));
19977 }
19978 {
19979 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast<int >(8)));
19980 }
19981 {
19982 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast<int >(9)));
19983 }
19984 {
19985 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast<int >(10)));
19986 }
19987 {
19988 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast<int >(11)));
19989 }
19990 {
19991 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast<int >(12)));
19992 }
19993 {
19994 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast<int >(13)));
19995 }
19996 {
19997 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast<int >(14)));
19998 }
19999 {
20000 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast<int >(15)));
20001 }
20002 {
20003 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast<int >(16)));
20004 }
20005 {
20006 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast<int >(17)));
20007 }
20008 {
20009 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast<int >(18)));
20010 }
20011 {
20012 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast<int >(19)));
20013 }
20014 {
20015 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast<int >(20)));
20016 }
20017 {
20018 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast<int >(21)));
20019 }
20020 {
20021 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast<int >(22)));
20022 }
20023 {
20024 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast<int >(23)));
20025 }
20026 {
20027 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast<int >(24)));
20028 }
20029 {
20030 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast<int >(25)));
20031 }
20032 {
20033 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast<int >(26)));
20034 }
20035 {
20036 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast<int >(27)));
20037 }
20038 {
20039 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast<int >(28)));
20040 }
20041 {
20042 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast<int >(29)));
20043 }
20044 {
20045 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast<int >(30)));
20046 }
20047 {
20048 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast<int >(31)));
20049 }
20050 {
20051 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast<int >(40)));
20052 }
20053 {
20054 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast<int >(41)));
20055 }
20056 {
20057 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast<int >(42)));
20058 }
20059 {
20060 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast<int >(43)));
20061 }
20062 {
20063 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast<int >(44)));
20064 }
20065 {
20066 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast<int >(45)));
20067 }
20068 {
20069 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast<int >(46)));
20070 }
20071 {
20072 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast<int >(47)));
20073 }
20074 {
20075 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast<int >(48)));
20076 }
20077 {
20078 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast<int >(49)));
20079 }
20080 {
20081 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast<int >(50)));
20082 }
20083 {
20084 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast<int >(51)));
20085 }
20086 {
20087 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast<int >(52)));
20088 }
20089 {
20090 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast<int >(55)));
20091 }
20092 {
20093 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast<int >(56)));
20094 }
20095 {
20096 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast<int >(57)));
20097 }
20098 {
20099 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast<int >(58)));
20100 }
20101 {
20102 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast<int >(59)));
20103 }
20104 {
20105 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast<int >(60)));
20106 }
20107 {
20108 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast<int >(61)));
20109 }
20110 {
20111 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast<int >(62)));
20112 }
20113 {
20114 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast<int >(63)));
20115 }
20116 {
20117 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast<int >(64)));
20118 }
20119 {
20120 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast<int >(65)));
20121 }
20122 {
20123 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast<int >(66)));
20124 }
20125 {
20126 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast<int >(67)));
20127 }
20128 {
20129 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast<int >(70)));
20130 }
20131 {
20132 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast<int >(71)));
20133 }
20134 {
20135 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast<int >(72)));
20136 }
20137 {
20138 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast<int >(73)));
20139 }
20140 {
20141 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast<int >(74)));
20142 }
20143 {
20144 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast<int >(75)));
20145 }
20146 {
20147 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast<int >(76)));
20148 }
20149 {
20150 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast<int >(77)));
20151 }
20152 {
20153 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast<int >(80)));
20154 }
20155 {
20156 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast<int >(81)));
20157 }
20158 {
20159 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast<int >(82)));
20160 }
20161 {
20162 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast<int >(83)));
20163 }
20164 {
20165 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast<int >(84)));
20166 }
20167 {
20168 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast<int >(85)));
20169 }
20170 {
20171 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast<int >(86)));
20172 }
20173 {
20174 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast<int >(87)));
20175 }
20176 {
20177 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast<int >(90)));
20178 }
20179 {
20180 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast<int >(91)));
20181 }
20182 {
20183 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast<int >(92)));
20184 }
20185 {
20186 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast<int >(93)));
20187 }
20188 {
20189 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast<int >(94)));
20190 }
20191 {
20192 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast<int >(95)));
20193 }
20194 {
20195 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast<int >(96)));
20196 }
20197 {
20198 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast<int >(97)));
20199 }
20200 {
20201 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(98)));
20202 }
20203 {
20204 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast<int >(99)));
20205 }
20206 {
20207 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast<int >(100)));
20208 }
20209 {
20210 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast<int >(101)));
20211 }
20212 {
20213 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast<int >(102)));
20214 }
20215 {
20216 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast<int >(104)));
20217 }
20218 {
20219 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast<int >(105)));
20220 }
20221 {
20222 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast<int >(106)));
20223 }
20224 {
20225 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast<int >(107)));
20226 }
20227 {
20228 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast<int >(108)));
20229 }
20230 {
20231 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast<int >(109)));
20232 }
20233 {
20234 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast<int >(110)));
20235 }
20236 {
20237 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast<int >(111)));
20238 }
20239 {
20240 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast<int >(112)));
20241 }
20242 {
20243 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(113)));
20244 }
20245 {
20246 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast<int >(114)));
20247 }
20248 {
20249 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast<int >(115)));
20250 }
20251 {
20252 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast<int >(116)));
20253 }
20254 {
20255 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast<int >(117)));
20256 }
20257 {
20258 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast<int >(118)));
20259 }
20260 {
20261 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast<int >(119)));
20262 }
20263 {
20264 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast<int >(120)));
20265 }
20266 {
20267 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast<int >(121)));
20268 }
20269 {
20270 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast<int >(122)));
20271 }
20272 {
20273 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast<int >(123)));
20274 }
20275 {
20276 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast<int >(124)));
20277 }
20278 {
20279 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast<int >(125)));
20280 }
20281 {
20282 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast<int >(126)));
20283 }
20284 {
20285 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast<int >(127)));
20286 }
20287 {
20288 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20289 }
20290 {
20291 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast<int >(1)));
20292 }
20293 {
20294 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
20295 }
20296 {
20297 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast<int >(3)));
20298 }
20299 {
20300 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast<int >(4)));
20301 }
20302 {
20303 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast<int >(5)));
20304 }
20305 {
20306 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast<int >(6)));
20307 }
20308 {
20309 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast<int >(7)));
20310 }
20311 {
20312 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast<int >(8)));
20313 }
20314 {
20315 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
20316 }
20317 {
20318 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast<int >(10)));
20319 }
20320 {
20321 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
20322 }
20323 {
20324 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast<int >(12)));
20325 }
20326 {
20327 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast<int >(13)));
20328 }
20329 {
20330 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast<int >(14)));
20331 }
20332 {
20333 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast<int >(15)));
20334 }
20335 {
20336 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast<int >(17)));
20337 }
20338 {
20339 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast<int >(18)));
20340 }
20341 {
20342 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast<int >(19)));
20343 }
20344 {
20345 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast<int >(20)));
20346 }
20347 {
20348 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast<int >(21)));
20349 }
20350 {
20351 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast<int >(22)));
20352 }
20353 {
20354 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast<int >(23)));
20355 }
20356 {
20357 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast<int >(24)));
20358 }
20359 {
20360 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast<int >(25)));
20361 }
20362 {
20363 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast<int >(26)));
20364 }
20365 {
20366 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast<int >(27)));
20367 }
20368 {
20369 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast<int >(28)));
20370 }
20371 {
20372 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast<int >(29)));
20373 }
20374 {
20375 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast<int >(30)));
20376 }
20377 {
20378 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20379 }
20380 {
20381 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast<int >(1)));
20382 }
20383 {
20384 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast<int >(2)));
20385 }
20386 {
20387 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast<int >(3)));
20388 }
20389 {
20390 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast<int >(4)));
20391 }
20392 {
20393 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast<int >(5)));
20394 }
20395 {
20396 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast<int >(6)));
20397 }
20398 {
20399 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
20400 }
20401 {
20402 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast<int >(8)));
20403 }
20404 {
20405 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
20406 }
20407 {
20408 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast<int >(10)));
20409 }
20410 {
20411 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast<int >(11)));
20412 }
20413 {
20414 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast<int >(12)));
20415 }
20416 {
20417 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast<int >(13)));
20418 }
20419 {
20420 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast<int >(14)));
20421 }
20422 {
20423 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20424 }
20425 {
20426 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast<int >(1)));
20427 }
20428 {
20429 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast<int >(2)));
20430 }
20431 {
20432 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast<int >(3)));
20433 }
20434 {
20435 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast<int >(4)));
20436 }
20437 {
20438 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20439 }
20440 {
20441 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast<int >(1)));
20442 }
20443 {
20444 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast<int >(2)));
20445 }
20446 {
20447 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast<int >(3)));
20448 }
20449 {
20450 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast<int >(4)));
20451 }
20452 {
20453 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20454 }
20455 {
20456 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast<int >(1)));
20457 }
20458 {
20459 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
20460 }
20461 {
20462 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
20463 }
20464 {
20465 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast<int >(4)));
20466 }
20467 {
20468 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast<int >(5)));
20469 }
20470 {
20471 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast<int >(6)));
20472 }
20473 {
20474 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast<int >(7)));
20475 }
20476 {
20477 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast<int >(8)));
20478 }
20479 {
20480 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
20481 }
20482 {
20483 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast<int >(10)));
20484 }
20485 {
20486 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
20487 }
20488 {
20489 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
20490 }
20491 {
20492 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast<int >(13)));
20493 }
20494 {
20495 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast<int >(14)));
20496 }
20497 {
20498 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast<int >(15)));
20499 }
20500 {
20501 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast<int >(16)));
20502 }
20503 {
20504 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast<int >(17)));
20505 }
20506 {
20507 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast<int >(18)));
20508 }
20509 {
20510 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast<int >(19)));
20511 }
20512 {
20513 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20514 }
20515 {
20516 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast<int >(1)));
20517 }
20518 {
20519 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast<int >(2)));
20520 }
20521 {
20522 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast<int >(3)));
20523 }
20524 {
20525 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast<int >(4)));
20526 }
20527 {
20528 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast<int >(5)));
20529 }
20530 {
20531 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast<int >(6)));
20532 }
20533 {
20534 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast<int >(7)));
20535 }
20536 {
20537 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast<int >(8)));
20538 }
20539 {
20540 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast<int >(9)));
20541 }
20542 {
20543 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast<int >(10)));
20544 }
20545 {
20546 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast<int >(11)));
20547 }
20548 {
20549 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast<int >(12)));
20550 }
20551 {
20552 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast<int >(13)));
20553 }
20554 {
20555 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast<int >(14)));
20556 }
20557 {
20558 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast<int >(15)));
20559 }
20560 {
20561 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast<int >(16)));
20562 }
20563 {
20564 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast<int >(17)));
20565 }
20566 {
20567 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast<int >(18)));
20568 }
20569 {
20570 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast<int >(19)));
20571 }
20572 {
20573 PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast<int >(20)));
20574 }
20575 {
20576 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20577 }
20578 {
20579 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast<int >(1)));
20580 }
20581 {
20582 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast<int >(2)));
20583 }
20584 {
20585 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast<int >(3)));
20586 }
20587 {
20588 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast<int >(4)));
20589 }
20590 {
20591 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast<int >(5)));
20592 }
20593 {
20594 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
20595 }
20596 {
20597 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
20598 }
20599 {
20600 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20601 }
20602 {
20603 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast<int >(1)));
20604 }
20605 {
20606 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast<int >(2)));
20607 }
20608 {
20609 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
20610 }
20611 {
20612 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast<int >(4)));
20613 }
20614 {
20615 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast<int >(5)));
20616 }
20617 {
20618 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast<int >(9)));
20619 }
20620 {
20621 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20622 }
20623 {
20624 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast<int >(1)));
20625 }
20626 {
20627 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast<int >(2)));
20628 }
20629 {
20630 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast<int >(3)));
20631 }
20632 {
20633 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast<int >(4)));
20634 }
20635 {
20636 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast<int >(5)));
20637 }
20638 {
20639 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast<int >(6)));
20640 }
20641 {
20642 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20643 }
20644 {
20645 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast<int >(1)));
20646 }
20647 {
20648 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast<int >(2)));
20649 }
20650 {
20651 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
20652 }
20653 {
20654 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast<int >(4)));
20655 }
20656 {
20657 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast<int >(5)));
20658 }
20659 {
20660 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast<int >(6)));
20661 }
20662 {
20663 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast<int >(7)));
20664 }
20665 {
20666 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast<int >(8)));
20667 }
20668 {
20669 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
20670 }
20671 {
20672 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20673 }
20674 {
20675 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast<int >(1)));
20676 }
20677 {
20678 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast<int >(2)));
20679 }
20680 {
20681 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast<int >(3)));
20682 }
20683 {
20684 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast<int >(6)));
20685 }
20686 {
20687 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast<int >(7)));
20688 }
20689 {
20690 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
20691 }
20692 {
20693 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
20694 }
20695 {
20696 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast<int >(10)));
20697 }
20698 {
20699 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast<int >(11)));
20700 }
20701 {
20702 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast<int >(12)));
20703 }
20704 {
20705 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast<int >(13)));
20706 }
20707 {
20708 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast<int >(14)));
20709 }
20710 {
20711 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast<int >(15)));
20712 }
20713 {
20714 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast<int >(16)));
20715 }
20716 {
20717 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20718 }
20719 {
20720 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast<int >(1)));
20721 }
20722 {
20723 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
20724 }
20725 {
20726 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast<int >(3)));
20727 }
20728 {
20729 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast<int >(4)));
20730 }
20731 {
20732 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast<int >(5)));
20733 }
20734 {
20735 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast<int >(6)));
20736 }
20737 {
20738 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast<int >(7)));
20739 }
20740 {
20741 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
20742 }
20743 {
20744 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast<int >(9)));
20745 }
20746 {
20747 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast<int >(10)));
20748 }
20749 {
20750 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast<int >(11)));
20751 }
20752 {
20753 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20754 }
20755 {
20756 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast<int >(1)));
20757 }
20758 {
20759 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast<int >(2)));
20760 }
20761 {
20762 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast<int >(3)));
20763 }
20764 {
20765 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast<int >(4)));
20766 }
20767 {
20768 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast<int >(5)));
20769 }
20770 {
20771 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast<int >(6)));
20772 }
20773 {
20774 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast<int >(7)));
20775 }
20776 {
20777 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
20778 }
20779 {
20780 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
20781 }
20782 {
20783 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast<int >(10)));
20784 }
20785 {
20786 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20787 }
20788 {
20789 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast<int >(1)));
20790 }
20791 {
20792 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast<int >(2)));
20793 }
20794 {
20795 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast<int >(3)));
20796 }
20797 {
20798 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast<int >(6)));
20799 }
20800 {
20801 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
20802 }
20803 {
20804 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
20805 }
20806 {
20807 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast<int >(10)));
20808 }
20809 {
20810 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20811 }
20812 {
20813 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
20814 }
20815 {
20816 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast<int >(2)));
20817 }
20818 {
20819 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast<int >(3)));
20820 }
20821 {
20822 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast<int >(4)));
20823 }
20824 {
20825 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast<int >(5)));
20826 }
20827 {
20828 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast<int >(6)));
20829 }
20830 {
20831 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
20832 }
20833 {
20834 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
20835 }
20836 {
20837 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20838 }
20839 {
20840 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
20841 }
20842 {
20843 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast<int >(2)));
20844 }
20845 {
20846 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast<int >(3)));
20847 }
20848 {
20849 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
20850 }
20851 {
20852 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast<int >(5)));
20853 }
20854 {
20855 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast<int >(6)));
20856 }
20857 {
20858 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast<int >(7)));
20859 }
20860 {
20861 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast<int >(8)));
20862 }
20863 {
20864 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast<int >(9)));
20865 }
20866 {
20867 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast<int >(10)));
20868 }
20869 {
20870 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20871 }
20872 {
20873 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast<int >(1)));
20874 }
20875 {
20876 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast<int >(2)));
20877 }
20878 {
20879 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
20880 }
20881 {
20882 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast<int >(4)));
20883 }
20884 {
20885 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast<int >(5)));
20886 }
20887 {
20888 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast<int >(6)));
20889 }
20890 {
20891 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast<int >(7)));
20892 }
20893 {
20894 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast<int >(8)));
20895 }
20896 {
20897 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast<int >(9)));
20898 }
20899 {
20900 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast<int >(10)));
20901 }
20902 {
20903 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast<int >(11)));
20904 }
20905 {
20906 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20907 }
20908 {
20909 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
20910 }
20911 {
20912 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast<int >(2)));
20913 }
20914 {
20915 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast<int >(3)));
20916 }
20917 {
20918 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
20919 }
20920 {
20921 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast<int >(5)));
20922 }
20923 {
20924 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast<int >(6)));
20925 }
20926 {
20927 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
20928 }
20929 {
20930 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast<int >(8)));
20931 }
20932 {
20933 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20934 }
20935 {
20936 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast<int >(1)));
20937 }
20938 {
20939 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
20940 }
20941 {
20942 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast<int >(3)));
20943 }
20944 {
20945 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast<int >(4)));
20946 }
20947 {
20948 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(5)));
20949 }
20950 {
20951 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast<int >(6)));
20952 }
20953 {
20954 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast<int >(7)));
20955 }
20956 {
20957 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast<int >(8)));
20958 }
20959 {
20960 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
20961 }
20962 {
20963 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast<int >(10)));
20964 }
20965 {
20966 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast<int >(11)));
20967 }
20968 {
20969 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast<int >(12)));
20970 }
20971 {
20972 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast<int >(13)));
20973 }
20974 {
20975 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast<int >(14)));
20976 }
20977 {
20978 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast<int >(15)));
20979 }
20980 {
20981 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast<int >(0)));
20982 }
20983 {
20984 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast<int >(1)));
20985 }
20986 {
20987 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast<int >(2)));
20988 }
20989 {
20990 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast<int >(3)));
20991 }
20992 {
20993 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast<int >(4)));
20994 }
20995 {
20996 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
20997 }
20998 {
20999 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast<int >(6)));
21000 }
21001 {
21002 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast<int >(7)));
21003 }
21004 {
21005 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast<int >(8)));
21006 }
21007 {
21008 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
21009 }
21010 {
21011 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast<int >(10)));
21012 }
21013 {
21014 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast<int >(11)));
21015 }
21016 {
21017 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast<int >(12)));
21018 }
21019 {
21020 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
21021 }
21022 {
21023 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast<int >(14)));
21024 }
21025 {
21026 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21027 }
21028 {
21029 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast<int >(1)));
21030 }
21031 {
21032 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast<int >(2)));
21033 }
21034 {
21035 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast<int >(3)));
21036 }
21037 {
21038 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast<int >(4)));
21039 }
21040 {
21041 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast<int >(5)));
21042 }
21043 {
21044 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast<int >(6)));
21045 }
21046 {
21047 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
21048 }
21049 {
21050 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast<int >(8)));
21051 }
21052 {
21053 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast<int >(9)));
21054 }
21055 {
21056 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast<int >(10)));
21057 }
21058 {
21059 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
21060 }
21061 {
21062 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast<int >(12)));
21063 }
21064 {
21065 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast<int >(13)));
21066 }
21067 {
21068 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast<int >(14)));
21069 }
21070 {
21071 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21072 }
21073 {
21074 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast<int >(1)));
21075 }
21076 {
21077 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast<int >(2)));
21078 }
21079 {
21080 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast<int >(3)));
21081 }
21082 {
21083 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast<int >(4)));
21084 }
21085 {
21086 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast<int >(5)));
21087 }
21088 {
21089 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
21090 }
21091 {
21092 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
21093 }
21094 {
21095 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast<int >(8)));
21096 }
21097 {
21098 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast<int >(9)));
21099 }
21100 {
21101 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast<int >(10)));
21102 }
21103 {
21104 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast<int >(11)));
21105 }
21106 {
21107 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast<int >(12)));
21108 }
21109 {
21110 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast<int >(13)));
21111 }
21112 {
21113 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast<int >(14)));
21114 }
21115 {
21116 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast<int >(15)));
21117 }
21118 {
21119 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21120 }
21121 {
21122 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast<int >(1)));
21123 }
21124 {
21125 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
21126 }
21127 {
21128 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast<int >(3)));
21129 }
21130 {
21131 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast<int >(4)));
21132 }
21133 {
21134 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
21135 }
21136 {
21137 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast<int >(6)));
21138 }
21139 {
21140 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
21141 }
21142 {
21143 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast<int >(8)));
21144 }
21145 {
21146 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast<int >(9)));
21147 }
21148 {
21149 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast<int >(10)));
21150 }
21151 {
21152 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast<int >(11)));
21153 }
21154 {
21155 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast<int >(12)));
21156 }
21157 {
21158 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast<int >(13)));
21159 }
21160 {
21161 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast<int >(14)));
21162 }
21163 {
21164 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast<int >(15)));
21165 }
21166 {
21167 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast<int >(16)));
21168 }
21169 {
21170 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21171 }
21172 {
21173 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast<int >(1)));
21174 }
21175 {
21176 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast<int >(2)));
21177 }
21178 {
21179 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast<int >(3)));
21180 }
21181 {
21182 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast<int >(4)));
21183 }
21184 {
21185 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast<int >(5)));
21186 }
21187 {
21188 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast<int >(6)));
21189 }
21190 {
21191 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast<int >(7)));
21192 }
21193 {
21194 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast<int >(8)));
21195 }
21196 {
21197 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
21198 }
21199 {
21200 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast<int >(10)));
21201 }
21202 {
21203 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21204 }
21205 {
21206 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast<int >(1)));
21207 }
21208 {
21209 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
21210 }
21211 {
21212 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
21213 }
21214 {
21215 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast<int >(4)));
21216 }
21217 {
21218 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast<int >(5)));
21219 }
21220 {
21221 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast<int >(6)));
21222 }
21223 {
21224 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
21225 }
21226 {
21227 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
21228 }
21229 {
21230 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast<int >(9)));
21231 }
21232 {
21233 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast<int >(10)));
21234 }
21235 {
21236 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast<int >(11)));
21237 }
21238 {
21239 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21240 }
21241 {
21242 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast<int >(1)));
21243 }
21244 {
21245 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast<int >(2)));
21246 }
21247 {
21248 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast<int >(3)));
21249 }
21250 {
21251 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast<int >(4)));
21252 }
21253 {
21254 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast<int >(5)));
21255 }
21256 {
21257 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast<int >(6)));
21258 }
21259 {
21260 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast<int >(7)));
21261 }
21262 {
21263 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast<int >(8)));
21264 }
21265 {
21266 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast<int >(9)));
21267 }
21268 {
21269 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast<int >(10)));
21270 }
21271 {
21272 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast<int >(11)));
21273 }
21274 {
21275 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast<int >(12)));
21276 }
21277 {
21278 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast<int >(13)));
21279 }
21280 {
21281 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast<int >(14)));
21282 }
21283 {
21284 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast<int >(15)));
21285 }
21286 {
21287 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21288 }
21289 {
21290 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast<int >(1)));
21291 }
21292 {
21293 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast<int >(2)));
21294 }
21295 {
21296 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast<int >(3)));
21297 }
21298 {
21299 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast<int >(4)));
21300 }
21301 {
21302 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast<int >(5)));
21303 }
21304 {
21305 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast<int >(6)));
21306 }
21307 {
21308 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast<int >(7)));
21309 }
21310 {
21311 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast<int >(8)));
21312 }
21313 {
21314 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast<int >(9)));
21315 }
21316 {
21317 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast<int >(10)));
21318 }
21319 {
21320 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast<int >(11)));
21321 }
21322 {
21323 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast<int >(12)));
21324 }
21325 {
21326 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast<int >(13)));
21327 }
21328 {
21329 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast<int >(14)));
21330 }
21331 {
21332 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast<int >(0)));
21333 }
21334 {
21335 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast<int >(1)));
21336 }
21337 {
21338 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast<int >(2)));
21339 }
21340 {
21341 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast<int >(3)));
21342 }
21343 {
21344 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast<int >(4)));
21345 }
21346 {
21347 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast<int >(5)));
21348 }
21349 {
21350 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast<int >(6)));
21351 }
21352 {
21353 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast<int >(7)));
21354 }
21355 {
21356 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast<int >(8)));
21357 }
21358 {
21359 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast<int >(9)));
21360 }
21361 {
21362 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast<int >(10)));
21363 }
21364 {
21365 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast<int >(11)));
21366 }
21367 {
21368 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast<int >(12)));
21369 }
21370 {
21371 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast<int >(13)));
21372 }
21373 {
21374 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast<int >(14)));
21375 }
21376 {
21377 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast<int >(15)));
21378 }
21379 {
21380 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast<int >(16)));
21381 }
21382 {
21383 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast<int >(17)));
21384 }
21385 {
21386 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21387 }
21388 {
21389 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast<int >(1)));
21390 }
21391 {
21392 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast<int >(2)));
21393 }
21394 {
21395 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast<int >(3)));
21396 }
21397 {
21398 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast<int >(4)));
21399 }
21400 {
21401 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast<int >(5)));
21402 }
21403 {
21404 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast<int >(6)));
21405 }
21406 {
21407 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast<int >(7)));
21408 }
21409 {
21410 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast<int >(8)));
21411 }
21412 {
21413 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
21414 }
21415 {
21416 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast<int >(10)));
21417 }
21418 {
21419 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast<int >(11)));
21420 }
21421 {
21422 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast<int >(12)));
21423 }
21424 {
21425 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast<int >(13)));
21426 }
21427 {
21428 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast<int >(14)));
21429 }
21430 {
21431 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21432 }
21433 {
21434 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast<int >(1)));
21435 }
21436 {
21437 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast<int >(2)));
21438 }
21439 {
21440 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast<int >(3)));
21441 }
21442 {
21443 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast<int >(4)));
21444 }
21445 {
21446 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast<int >(5)));
21447 }
21448 {
21449 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast<int >(6)));
21450 }
21451 {
21452 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21453 }
21454 {
21455 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast<int >(1)));
21456 }
21457 {
21458 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
21459 }
21460 {
21461 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast<int >(3)));
21462 }
21463 {
21464 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast<int >(4)));
21465 }
21466 {
21467 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast<int >(5)));
21468 }
21469 {
21470 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast<int >(6)));
21471 }
21472 {
21473 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast<int >(7)));
21474 }
21475 {
21476 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast<int >(8)));
21477 }
21478 {
21479 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21480 }
21481 {
21482 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast<int >(1)));
21483 }
21484 {
21485 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast<int >(2)));
21486 }
21487 {
21488 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast<int >(3)));
21489 }
21490 {
21491 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast<int >(4)));
21492 }
21493 {
21494 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast<int >(5)));
21495 }
21496 {
21497 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21498 }
21499 {
21500 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast<int >(1)));
21501 }
21502 {
21503 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast<int >(2)));
21504 }
21505 {
21506 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast<int >(3)));
21507 }
21508 {
21509 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast<int >(4)));
21510 }
21511 {
21512 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast<int >(5)));
21513 }
21514 {
21515 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast<int >(6)));
21516 }
21517 {
21518 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21519 }
21520 {
21521 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast<int >(1)));
21522 }
21523 {
21524 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast<int >(2)));
21525 }
21526 {
21527 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast<int >(3)));
21528 }
21529 {
21530 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast<int >(4)));
21531 }
21532 {
21533 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast<int >(5)));
21534 }
21535 {
21536 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast<int >(6)));
21537 }
21538 {
21539 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast<int >(7)));
21540 }
21541 {
21542 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast<int >(8)));
21543 }
21544 {
21545 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast<int >(9)));
21546 }
21547 {
21548 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast<int >(10)));
21549 }
21550 {
21551 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast<int >(11)));
21552 }
21553 {
21554 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast<int >(12)));
21555 }
21556 {
21557 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast<int >(13)));
21558 }
21559 {
21560 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast<int >(31)));
21561 }
21562 {
21563 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21564 }
21565 {
21566 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast<int >(1)));
21567 }
21568 {
21569 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast<int >(2)));
21570 }
21571 {
21572 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast<int >(3)));
21573 }
21574 {
21575 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast<int >(4)));
21576 }
21577 {
21578 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
21579 }
21580 {
21581 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
21582 }
21583 {
21584 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast<int >(7)));
21585 }
21586 {
21587 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast<int >(8)));
21588 }
21589 {
21590 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast<int >(9)));
21591 }
21592 {
21593 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast<int >(10)));
21594 }
21595 {
21596 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast<int >(11)));
21597 }
21598 {
21599 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast<int >(12)));
21600 }
21601 {
21602 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast<int >(13)));
21603 }
21604 {
21605 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast<int >(14)));
21606 }
21607 {
21608 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast<int >(15)));
21609 }
21610 {
21611 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast<int >(16)));
21612 }
21613 {
21614 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21615 }
21616 {
21617 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast<int >(1)));
21618 }
21619 {
21620 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
21621 }
21622 {
21623 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
21624 }
21625 {
21626 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast<int >(4)));
21627 }
21628 {
21629 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast<int >(5)));
21630 }
21631 {
21632 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast<int >(6)));
21633 }
21634 {
21635 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast<int >(7)));
21636 }
21637 {
21638 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast<int >(8)));
21639 }
21640 {
21641 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
21642 }
21643 {
21644 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast<int >(10)));
21645 }
21646 {
21647 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
21648 }
21649 {
21650 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
21651 }
21652 {
21653 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast<int >(19)));
21654 }
21655 {
21656 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21657 }
21658 {
21659 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast<int >(1)));
21660 }
21661 {
21662 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast<int >(2)));
21663 }
21664 {
21665 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast<int >(3)));
21666 }
21667 {
21668 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast<int >(4)));
21669 }
21670 {
21671 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast<int >(5)));
21672 }
21673 {
21674 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast<int >(6)));
21675 }
21676 {
21677 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast<int >(7)));
21678 }
21679 {
21680 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast<int >(8)));
21681 }
21682 {
21683 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast<int >(9)));
21684 }
21685 {
21686 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast<int >(31)));
21687 }
21688 {
21689 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21690 }
21691 {
21692 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
21693 }
21694 {
21695 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
21696 }
21697 {
21698 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast<int >(3)));
21699 }
21700 {
21701 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast<int >(4)));
21702 }
21703 {
21704 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast<int >(5)));
21705 }
21706 {
21707 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast<int >(6)));
21708 }
21709 {
21710 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast<int >(7)));
21711 }
21712 {
21713 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast<int >(8)));
21714 }
21715 {
21716 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast<int >(9)));
21717 }
21718 {
21719 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21720 }
21721 {
21722 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast<int >(1)));
21723 }
21724 {
21725 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
21726 }
21727 {
21728 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
21729 }
21730 {
21731 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast<int >(4)));
21732 }
21733 {
21734 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast<int >(5)));
21735 }
21736 {
21737 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast<int >(6)));
21738 }
21739 {
21740 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast<int >(7)));
21741 }
21742 {
21743 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast<int >(8)));
21744 }
21745 {
21746 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
21747 }
21748 {
21749 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast<int >(10)));
21750 }
21751 {
21752 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
21753 }
21754 {
21755 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
21756 }
21757 {
21758 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast<int >(13)));
21759 }
21760 {
21761 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast<int >(14)));
21762 }
21763 {
21764 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast<int >(19)));
21765 }
21766 {
21767 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21768 }
21769 {
21770 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast<int >(1)));
21771 }
21772 {
21773 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
21774 }
21775 {
21776 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast<int >(3)));
21777 }
21778 {
21779 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast<int >(4)));
21780 }
21781 {
21782 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast<int >(5)));
21783 }
21784 {
21785 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast<int >(6)));
21786 }
21787 {
21788 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast<int >(7)));
21789 }
21790 {
21791 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast<int >(8)));
21792 }
21793 {
21794 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast<int >(9)));
21795 }
21796 {
21797 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast<int >(10)));
21798 }
21799 {
21800 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
21801 }
21802 {
21803 PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast<int >(12)));
21804 }
21805 {
21806 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21807 }
21808 {
21809 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
21810 }
21811 {
21812 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
21813 }
21814 {
21815 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
21816 }
21817 {
21818 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast<int >(4)));
21819 }
21820 {
21821 PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
21822 }
21823 {
21824 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast<int >(6)));
21825 }
21826 {
21827 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast<int >(7)));
21828 }
21829 {
21830 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast<int >(8)));
21831 }
21832 {
21833 PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast<int >(9)));
21834 }
21835 {
21836 PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast<int >(10)));
21837 }
21838 {
21839 PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast<int >(11)));
21840 }
21841 {
21842 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast<int >(12)));
21843 }
21844 {
21845 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21846 }
21847 {
21848 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast<int >(1)));
21849 }
21850 {
21851 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
21852 }
21853 {
21854 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast<int >(3)));
21855 }
21856 {
21857 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast<int >(4)));
21858 }
21859 {
21860 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast<int >(5)));
21861 }
21862 {
21863 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast<int >(6)));
21864 }
21865 {
21866 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast<int >(7)));
21867 }
21868 {
21869 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
21870 }
21871 {
21872 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast<int >(9)));
21873 }
21874 {
21875 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast<int >(10)));
21876 }
21877 {
21878 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast<int >(11)));
21879 }
21880 {
21881 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast<int >(12)));
21882 }
21883 {
21884 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast<int >(13)));
21885 }
21886 {
21887 PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21888 }
21889 {
21890 PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast<int >(1)));
21891 }
21892 {
21893 PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
21894 }
21895 {
21896 PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast<int >(3)));
21897 }
21898 {
21899 PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast<int >(4)));
21900 }
21901 {
21902 PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast<int >(5)));
21903 }
21904 {
21905 PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast<int >(6)));
21906 }
21907 {
21908 PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast<int >(7)));
21909 }
21910 {
21911 PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast<int >(8)));
21912 }
21913 {
21914 PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast<int >(9)));
21915 }
21916 {
21917 PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast<int >(10)));
21918 }
21919 {
21920 PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
21921 }
21922 {
21923 PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
21924 }
21925 {
21926 PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(2)));
21927 }
21928 {
21929 PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
21930 }
21931 {
21932 PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast<int >(4)));
21933 }
21934 {
21935 PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
21936 }
21937 {
21938 PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
21939 }
21940 {
21941 PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
21942 }
21943 {
21944 PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast<int >(8)));
21945 }
21946 {
21947 PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast<int >(9)));
21948 }
21949 {
21950 PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast<int >(10)));
21951 }
21952 {
21953 PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast<int >(11)));
21954 }
21955 {
21956 PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast<int >(12)));
21957 }
21958 {
21959 PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast<int >(13)));
21960 }
21961 {
21962 PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast<int >(14)));
21963 }
21964 {
21965 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast<int >(2011)));
21966 }
21967 {
21968 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast<int >(2013)));
21969 }
21970 {
21971 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast<int >(2176)));
21972 }
21973 {
21974 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast<int >(2177)));
21975 }
21976 {
21977 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast<int >(2178)));
21978 }
21979 {
21980 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast<int >(2179)));
21981 }
21982 {
21983 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast<int >(2180)));
21984 }
21985 {
21986 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast<int >(2300)));
21987 }
21988 {
21989 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast<int >(2301)));
21990 }
21991 {
21992 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast<int >(2302)));
21993 }
21994 {
21995 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast<int >(2303)));
21996 }
21997 {
21998 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast<int >(2304)));
21999 }
22000 {
22001 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast<int >(2305)));
22002 }
22003 {
22004 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast<int >(2306)));
22005 }
22006 {
22007 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast<int >(2307)));
22008 }
22009 {
22010 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast<int >(2308)));
22011 }
22012 {
22013 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast<int >(2309)));
22014 }
22015 {
22016 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast<int >(2310)));
22017 }
22018 {
22019 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast<int >(2311)));
22020 }
22021 {
22022 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast<int >(2312)));
22023 }
22024 {
22025 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast<int >(2313)));
22026 }
22027 {
22028 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast<int >(2314)));
22029 }
22030 {
22031 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast<int >(2315)));
22032 }
22033 {
22034 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast<int >(2316)));
22035 }
22036 {
22037 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast<int >(2317)));
22038 }
22039 {
22040 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast<int >(2318)));
22041 }
22042 {
22043 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast<int >(2319)));
22044 }
22045 {
22046 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast<int >(2320)));
22047 }
22048 {
22049 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast<int >(2321)));
22050 }
22051 {
22052 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast<int >(2322)));
22053 }
22054 {
22055 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2323)));
22056 }
22057 {
22058 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast<int >(2324)));
22059 }
22060 {
22061 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast<int >(2325)));
22062 }
22063 {
22064 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast<int >(2326)));
22065 }
22066 {
22067 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast<int >(2327)));
22068 }
22069 {
22070 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast<int >(2328)));
22071 }
22072 {
22073 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast<int >(2329)));
22074 }
22075 {
22076 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast<int >(2330)));
22077 }
22078 {
22079 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast<int >(2331)));
22080 }
22081 {
22082 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast<int >(2332)));
22083 }
22084 {
22085 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast<int >(2333)));
22086 }
22087 {
22088 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast<int >(2334)));
22089 }
22090 {
22091 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast<int >(2335)));
22092 }
22093 {
22094 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast<int >(2336)));
22095 }
22096 {
22097 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast<int >(2337)));
22098 }
22099 {
22100 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast<int >(2338)));
22101 }
22102 {
22103 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast<int >(2339)));
22104 }
22105 {
22106 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast<int >(2404)));
22107 }
22108 {
22109 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast<int >(2340)));
22110 }
22111 {
22112 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast<int >(2341)));
22113 }
22114 {
22115 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast<int >(2342)));
22116 }
22117 {
22118 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast<int >(2343)));
22119 }
22120 {
22121 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast<int >(2344)));
22122 }
22123 {
22124 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast<int >(2345)));
22125 }
22126 {
22127 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2346)));
22128 }
22129 {
22130 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast<int >(2347)));
22131 }
22132 {
22133 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2348)));
22134 }
22135 {
22136 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast<int >(2349)));
22137 }
22138 {
22139 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2450)));
22140 }
22141 {
22142 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast<int >(2451)));
22143 }
22144 {
22145 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast<int >(2452)));
22146 }
22147 {
22148 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast<int >(2453)));
22149 }
22150 {
22151 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2454)));
22152 }
22153 {
22154 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast<int >(2455)));
22155 }
22156 {
22157 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast<int >(2390)));
22158 }
22159 {
22160 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast<int >(2391)));
22161 }
22162 {
22163 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast<int >(2392)));
22164 }
22165 {
22166 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast<int >(2393)));
22167 }
22168 {
22169 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast<int >(2395)));
22170 }
22171 {
22172 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast<int >(2396)));
22173 }
22174 {
22175 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast<int >(2413)));
22176 }
22177 {
22178 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast<int >(2414)));
22179 }
22180 {
22181 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast<int >(2415)));
22182 }
22183 {
22184 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast<int >(2416)));
22185 }
22186 {
22187 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2426)));
22188 }
22189 {
22190 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2427)));
22191 }
22192 {
22193 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast<int >(2428)));
22194 }
22195 {
22196 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast<int >(2429)));
22197 }
22198 {
22199 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast<int >(2430)));
22200 }
22201 {
22202 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast<int >(2431)));
22203 }
22204 {
22205 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast<int >(2432)));
22206 }
22207 {
22208 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2433)));
22209 }
22210 {
22211 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2434)));
22212 }
22213 {
22214 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast<int >(2435)));
22215 }
22216 {
22217 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast<int >(2436)));
22218 }
22219 {
22220 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast<int >(2437)));
22221 }
22222 {
22223 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2438)));
22224 }
22225 {
22226 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast<int >(2439)));
22227 }
22228 {
22229 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast<int >(2440)));
22230 }
22231 {
22232 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast<int >(2441)));
22233 }
22234 {
22235 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast<int >(2442)));
22236 }
22237 {
22238 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast<int >(wxEVT_STC_CHANGE)));
22239 }
22240 {
22241 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast<int >(wxEVT_STC_STYLENEEDED)));
22242 }
22243 {
22244 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast<int >(wxEVT_STC_CHARADDED)));
22245 }
22246 {
22247 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTREACHED)));
22248 }
22249 {
22250 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTLEFT)));
22251 }
22252 {
22253 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast<int >(wxEVT_STC_ROMODIFYATTEMPT)));
22254 }
22255 {
22256 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast<int >(wxEVT_STC_KEY)));
22257 }
22258 {
22259 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_DOUBLECLICK)));
22260 }
22261 {
22262 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast<int >(wxEVT_STC_UPDATEUI)));
22263 }
22264 {
22265 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast<int >(wxEVT_STC_MODIFIED)));
22266 }
22267 {
22268 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast<int >(wxEVT_STC_MACRORECORD)));
22269 }
22270 {
22271 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_MARGINCLICK)));
22272 }
22273 {
22274 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast<int >(wxEVT_STC_NEEDSHOWN)));
22275 }
22276 {
22277 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast<int >(wxEVT_STC_PAINTED)));
22278 }
22279 {
22280 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast<int >(wxEVT_STC_USERLISTSELECTION)));
22281 }
22282 {
22283 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast<int >(wxEVT_STC_URIDROPPED)));
22284 }
22285 {
22286 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLSTART)));
22287 }
22288 {
22289 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLEND)));
22290 }
22291 {
22292 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast<int >(wxEVT_STC_START_DRAG)));
22293 }
22294 {
22295 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast<int >(wxEVT_STC_DRAG_OVER)));
22296 }
22297 {
22298 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast<int >(wxEVT_STC_DO_DROP)));
22299 }
22300 {
22301 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast<int >(wxEVT_STC_ZOOM)));
22302 }
22303 {
22304 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_CLICK)));
22305 }
22306 {
22307 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_DCLICK)));
22308 }
22309 {
22310 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_CALLTIP_CLICK)));
22311 }
22312
22313
22314 }
22315