]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/msw/stc_wrap.cpp
Fixup for docstrings being inherited instead of usign the right ones
[wxWidgets.git] / wxPython / contrib / stc / msw / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxRect swig_types[0]
1343 #define SWIGTYPE_p_wxObject swig_types[1]
1344 #define SWIGTYPE_p_unsigned_char swig_types[2]
1345 #define SWIGTYPE_p_wxColour swig_types[3]
1346 #define SWIGTYPE_p_wxScrollBar swig_types[4]
1347 #define SWIGTYPE_p_wxStyledTextEvent swig_types[5]
1348 #define SWIGTYPE_p_wxWindow swig_types[6]
1349 #define SWIGTYPE_p_wxCommandEvent swig_types[7]
1350 #define SWIGTYPE_p_unsigned_long swig_types[8]
1351 #define SWIGTYPE_p_wxBitmap swig_types[9]
1352 #define SWIGTYPE_p_unsigned_int swig_types[10]
1353 #define SWIGTYPE_unsigned_int swig_types[11]
1354 #define SWIGTYPE_p_form_ops_t swig_types[12]
1355 #define SWIGTYPE_p_wxDuplexMode swig_types[13]
1356 #define SWIGTYPE_p_void swig_types[14]
1357 #define SWIGTYPE_p_char swig_types[15]
1358 #define SWIGTYPE_p_wxPoint swig_types[16]
1359 #define SWIGTYPE_p_wxDC swig_types[17]
1360 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1361 #define SWIGTYPE_std__ptrdiff_t swig_types[19]
1362 #define SWIGTYPE_ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[21]
1364 #define SWIGTYPE_p_wxFont swig_types[22]
1365 #define SWIGTYPE_p_wxControl swig_types[23]
1366 #define SWIGTYPE_p_wxEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1368 #define SWIGTYPE_p_int swig_types[26]
1369 #define SWIGTYPE_p_wxMemoryBuffer swig_types[27]
1370 static swig_type_info *swig_types[29];
1371
1372 /* -------- TYPES TABLE (END) -------- */
1373
1374
1375 /*-----------------------------------------------
1376 @(target):= _stc.so
1377 ------------------------------------------------*/
1378 #define SWIG_init init_stc
1379
1380 #define SWIG_name "_stc"
1381
1382 #include "wx/wxPython/wxPython.h"
1383 #include "wx/wxPython/pyclasses.h"
1384 #include <wx/stc/stc.h>
1385
1386
1387 static const wxString wxPySTCNameStr(wxSTCNameStr);
1388
1389 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1390 #define SWIG_From_int PyInt_FromLong
1391 /*@@*/
1392
1393
1394 #include <limits.h>
1395
1396
1397 SWIGINTERN int
1398 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1399 const char *errmsg)
1400 {
1401 if (value < min_value) {
1402 if (errmsg) {
1403 PyErr_Format(PyExc_OverflowError,
1404 "value %ld is less than '%s' minimum %ld",
1405 value, errmsg, min_value);
1406 }
1407 return 0;
1408 } else if (value > max_value) {
1409 if (errmsg) {
1410 PyErr_Format(PyExc_OverflowError,
1411 "value %ld is greater than '%s' maximum %ld",
1412 value, errmsg, max_value);
1413 }
1414 return 0;
1415 }
1416 return 1;
1417 }
1418
1419
1420 SWIGINTERN int
1421 SWIG_AsVal_long(PyObject* obj, long* val)
1422 {
1423 if (PyNumber_Check(obj)) {
1424 if (val) *val = PyInt_AsLong(obj);
1425 return 1;
1426 }
1427 else {
1428 SWIG_type_error("number", obj);
1429 }
1430 return 0;
1431 }
1432
1433
1434 #if INT_MAX != LONG_MAX
1435 SWIGINTERN int
1436 SWIG_AsVal_int(PyObject *obj, int *val)
1437 {
1438 const char* errmsg = val ? "int" : (char*)0;
1439 long v;
1440 if (SWIG_AsVal_long(obj, &v)) {
1441 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1442 if (val) *val = (int)(v);
1443 return 1;
1444 } else {
1445 return 0;
1446 }
1447 } else {
1448 PyErr_Clear();
1449 }
1450 if (val) {
1451 SWIG_type_error(errmsg, obj);
1452 }
1453 return 0;
1454 }
1455 #else
1456 SWIGINTERNSHORT int
1457 SWIG_AsVal_int(PyObject *obj, int *val)
1458 {
1459 return SWIG_AsVal_long(obj,(long*)val);
1460 }
1461 #endif
1462
1463
1464 SWIGINTERNSHORT int
1465 SWIG_As_int(PyObject* obj)
1466 {
1467 int v;
1468 if (!SWIG_AsVal_int(obj, &v)) {
1469 /*
1470 this is needed to make valgrind/purify happier.
1471 */
1472 memset((void*)&v, 0, sizeof(int));
1473 }
1474 return v;
1475 }
1476
1477
1478 SWIGINTERNSHORT long
1479 SWIG_As_long(PyObject* obj)
1480 {
1481 long v;
1482 if (!SWIG_AsVal_long(obj, &v)) {
1483 /*
1484 this is needed to make valgrind/purify happier.
1485 */
1486 memset((void*)&v, 0, sizeof(long));
1487 }
1488 return v;
1489 }
1490
1491
1492 SWIGINTERNSHORT int
1493 SWIG_Check_int(PyObject* obj)
1494 {
1495 return SWIG_AsVal_int(obj, (int*)0);
1496 }
1497
1498
1499 SWIGINTERNSHORT int
1500 SWIG_Check_long(PyObject* obj)
1501 {
1502 return SWIG_AsVal_long(obj, (long*)0);
1503 }
1504
1505
1506 SWIGINTERN int
1507 SWIG_AsVal_bool(PyObject *obj, bool *val)
1508 {
1509 if (obj == Py_True) {
1510 if (val) *val = true;
1511 return 1;
1512 }
1513 if (obj == Py_False) {
1514 if (val) *val = false;
1515 return 1;
1516 }
1517 int res = 0;
1518 if (SWIG_AsVal_int(obj, &res)) {
1519 if (val) *val = res ? true : false;
1520 return 1;
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error("bool", obj);
1526 }
1527 return 0;
1528 }
1529
1530
1531 SWIGINTERNSHORT bool
1532 SWIG_As_bool(PyObject* obj)
1533 {
1534 bool v;
1535 if (!SWIG_AsVal_bool(obj, &v)) {
1536 /*
1537 this is needed to make valgrind/purify happier.
1538 */
1539 memset((void*)&v, 0, sizeof(bool));
1540 }
1541 return v;
1542 }
1543
1544
1545 SWIGINTERNSHORT int
1546 SWIG_Check_bool(PyObject* obj)
1547 {
1548 return SWIG_AsVal_bool(obj, (bool*)0);
1549 }
1550
1551
1552 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1553 PyObject* o2;
1554 PyObject* o3;
1555
1556 if (!target) {
1557 target = o;
1558 } else if (target == Py_None) {
1559 Py_DECREF(Py_None);
1560 target = o;
1561 } else {
1562 if (!PyTuple_Check(target)) {
1563 o2 = target;
1564 target = PyTuple_New(1);
1565 PyTuple_SetItem(target, 0, o2);
1566 }
1567 o3 = PyTuple_New(1);
1568 PyTuple_SetItem(o3, 0, o);
1569
1570 o2 = target;
1571 target = PySequence_Concat(o2, o3);
1572 Py_DECREF(o2);
1573 Py_DECREF(o3);
1574 }
1575 return target;
1576 }
1577
1578
1579
1580 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1581 SWIGINTERN int
1582 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1583 {
1584 static swig_type_info* pchar_info = 0;
1585 char* vptr = 0;
1586 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1587 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1588 if (cptr) *cptr = vptr;
1589 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1590 return SWIG_OLDOBJ;
1591 } else {
1592 PyErr_Clear();
1593 if (PyString_Check(obj)) {
1594 if (cptr) {
1595 *cptr = PyString_AS_STRING(obj);
1596 if (psize) {
1597 *psize = PyString_GET_SIZE(obj) + 1;
1598 }
1599 }
1600 return SWIG_PYSTR;
1601 }
1602 }
1603 if (cptr) {
1604 SWIG_type_error("char *", obj);
1605 }
1606 return 0;
1607 }
1608
1609
1610 SWIGINTERNSHORT int
1611 SWIG_AsCharPtr(PyObject *obj, char **val)
1612 {
1613 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1614 return 1;
1615 }
1616 if (val) {
1617 PyErr_Clear();
1618 SWIG_type_error("char *", obj);
1619 }
1620 return 0;
1621 }
1622
1623
1624 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1625 #define SWIG_From_long PyInt_FromLong
1626 /*@@*/
1627
1628 #ifdef __cplusplus
1629 extern "C" {
1630 #endif
1631 static int _wrap_STCNameStr_set(PyObject *) {
1632 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1633 return 1;
1634 }
1635
1636
1637 static PyObject *_wrap_STCNameStr_get(void) {
1638 PyObject *pyobj;
1639
1640 {
1641 #if wxUSE_UNICODE
1642 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1643 #else
1644 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1645 #endif
1646 }
1647 return pyobj;
1648 }
1649
1650
1651 static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxWindow *arg1 = (wxWindow *) 0 ;
1654 int arg2 = (int) wxID_ANY ;
1655 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1656 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1657 wxSize const &arg4_defvalue = wxDefaultSize ;
1658 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1659 long arg5 = (long) 0 ;
1660 wxString const &arg6_defvalue = wxPySTCNameStr ;
1661 wxString *arg6 = (wxString *) &arg6_defvalue ;
1662 wxStyledTextCtrl *result;
1663 wxPoint temp3 ;
1664 wxSize temp4 ;
1665 bool temp6 = false ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 PyObject * obj2 = 0 ;
1669 PyObject * obj3 = 0 ;
1670 PyObject * obj4 = 0 ;
1671 PyObject * obj5 = 0 ;
1672 char *kwnames[] = {
1673 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1674 };
1675
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1678 if (SWIG_arg_fail(1)) SWIG_fail;
1679 if (obj1) {
1680 {
1681 arg2 = (int)(SWIG_As_int(obj1));
1682 if (SWIG_arg_fail(2)) SWIG_fail;
1683 }
1684 }
1685 if (obj2) {
1686 {
1687 arg3 = &temp3;
1688 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1689 }
1690 }
1691 if (obj3) {
1692 {
1693 arg4 = &temp4;
1694 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1695 }
1696 }
1697 if (obj4) {
1698 {
1699 arg5 = (long)(SWIG_As_long(obj4));
1700 if (SWIG_arg_fail(5)) SWIG_fail;
1701 }
1702 }
1703 if (obj5) {
1704 {
1705 arg6 = wxString_in_helper(obj5);
1706 if (arg6 == NULL) SWIG_fail;
1707 temp6 = true;
1708 }
1709 }
1710 {
1711 if (!wxPyCheckForApp()) SWIG_fail;
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1719 {
1720 if (temp6)
1721 delete arg6;
1722 }
1723 return resultobj;
1724 fail:
1725 {
1726 if (temp6)
1727 delete arg6;
1728 }
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxStyledTextCtrl *result;
1736 char *kwnames[] = {
1737 NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
1741 {
1742 if (!wxPyCheckForApp()) SWIG_fail;
1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
1744 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
1749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1750 return resultobj;
1751 fail:
1752 return NULL;
1753 }
1754
1755
1756 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1759 wxWindow *arg2 = (wxWindow *) 0 ;
1760 int arg3 = (int) wxID_ANY ;
1761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1763 wxSize const &arg5_defvalue = wxDefaultSize ;
1764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1765 long arg6 = (long) 0 ;
1766 wxString const &arg7_defvalue = wxSTCNameStr ;
1767 wxString *arg7 = (wxString *) &arg7_defvalue ;
1768 bool result;
1769 wxPoint temp4 ;
1770 wxSize temp5 ;
1771 bool temp7 = false ;
1772 PyObject * obj0 = 0 ;
1773 PyObject * obj1 = 0 ;
1774 PyObject * obj2 = 0 ;
1775 PyObject * obj3 = 0 ;
1776 PyObject * obj4 = 0 ;
1777 PyObject * obj5 = 0 ;
1778 PyObject * obj6 = 0 ;
1779 char *kwnames[] = {
1780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1781 };
1782
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1785 if (SWIG_arg_fail(1)) SWIG_fail;
1786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1787 if (SWIG_arg_fail(2)) SWIG_fail;
1788 if (obj2) {
1789 {
1790 arg3 = (int)(SWIG_As_int(obj2));
1791 if (SWIG_arg_fail(3)) SWIG_fail;
1792 }
1793 }
1794 if (obj3) {
1795 {
1796 arg4 = &temp4;
1797 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1798 }
1799 }
1800 if (obj4) {
1801 {
1802 arg5 = &temp5;
1803 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1804 }
1805 }
1806 if (obj5) {
1807 {
1808 arg6 = (long)(SWIG_As_long(obj5));
1809 if (SWIG_arg_fail(6)) SWIG_fail;
1810 }
1811 }
1812 if (obj6) {
1813 {
1814 arg7 = wxString_in_helper(obj6);
1815 if (arg7 == NULL) SWIG_fail;
1816 temp7 = true;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 {
1827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1828 }
1829 {
1830 if (temp7)
1831 delete arg7;
1832 }
1833 return resultobj;
1834 fail:
1835 {
1836 if (temp7)
1837 delete arg7;
1838 }
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1846 wxString *arg2 = 0 ;
1847 bool temp2 = false ;
1848 PyObject * obj0 = 0 ;
1849 PyObject * obj1 = 0 ;
1850 char *kwnames[] = {
1851 (char *) "self",(char *) "text", NULL
1852 };
1853
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
1855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1856 if (SWIG_arg_fail(1)) SWIG_fail;
1857 {
1858 arg2 = wxString_in_helper(obj1);
1859 if (arg2 == NULL) SWIG_fail;
1860 temp2 = true;
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 (arg1)->AddText((wxString const &)*arg2);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 Py_INCREF(Py_None); resultobj = Py_None;
1870 {
1871 if (temp2)
1872 delete arg2;
1873 }
1874 return resultobj;
1875 fail:
1876 {
1877 if (temp2)
1878 delete arg2;
1879 }
1880 return NULL;
1881 }
1882
1883
1884 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
1885 PyObject *resultobj;
1886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1887 wxMemoryBuffer *arg2 = 0 ;
1888 bool temp2 = false ;
1889 PyObject * obj0 = 0 ;
1890 PyObject * obj1 = 0 ;
1891 char *kwnames[] = {
1892 (char *) "self",(char *) "data", NULL
1893 };
1894
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
1896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1897 if (SWIG_arg_fail(1)) SWIG_fail;
1898 {
1899 if (!PyString_Check(obj1)) {
1900 PyErr_SetString(PyExc_TypeError, "String buffer expected");
1901 SWIG_fail;
1902 }
1903 char* str = PyString_AS_STRING(obj1);
1904 int len = PyString_GET_SIZE(obj1);
1905 arg2 = new wxMemoryBuffer(len);
1906 temp2 = true;
1907 memcpy(arg2->GetData(), str, len);
1908 arg2->SetDataLen(len);
1909 }
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 Py_INCREF(Py_None); resultobj = Py_None;
1918 {
1919 if (temp2) delete arg2;
1920 }
1921 return resultobj;
1922 fail:
1923 {
1924 if (temp2) delete arg2;
1925 }
1926 return NULL;
1927 }
1928
1929
1930 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1933 int arg2 ;
1934 wxString *arg3 = 0 ;
1935 bool temp3 = false ;
1936 PyObject * obj0 = 0 ;
1937 PyObject * obj1 = 0 ;
1938 PyObject * obj2 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self",(char *) "pos",(char *) "text", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1945 if (SWIG_arg_fail(1)) SWIG_fail;
1946 {
1947 arg2 = (int)(SWIG_As_int(obj1));
1948 if (SWIG_arg_fail(2)) SWIG_fail;
1949 }
1950 {
1951 arg3 = wxString_in_helper(obj2);
1952 if (arg3 == NULL) SWIG_fail;
1953 temp3 = true;
1954 }
1955 {
1956 PyThreadState* __tstate = wxPyBeginAllowThreads();
1957 (arg1)->InsertText(arg2,(wxString const &)*arg3);
1958
1959 wxPyEndAllowThreads(__tstate);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 }
1962 Py_INCREF(Py_None); resultobj = Py_None;
1963 {
1964 if (temp3)
1965 delete arg3;
1966 }
1967 return resultobj;
1968 fail:
1969 {
1970 if (temp3)
1971 delete arg3;
1972 }
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
1986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1987 if (SWIG_arg_fail(1)) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 (arg1)->ClearAll();
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 Py_INCREF(Py_None); resultobj = Py_None;
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2012 if (SWIG_arg_fail(1)) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 (arg1)->ClearDocumentStyle();
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 Py_INCREF(Py_None); resultobj = Py_None;
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2030 int result;
2031 PyObject * obj0 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "self", NULL
2034 };
2035
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2038 if (SWIG_arg_fail(1)) SWIG_fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (int)(arg1)->GetLength();
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 {
2047 resultobj = SWIG_From_int((int)(result));
2048 }
2049 return resultobj;
2050 fail:
2051 return NULL;
2052 }
2053
2054
2055 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
2056 PyObject *resultobj;
2057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2058 int arg2 ;
2059 int result;
2060 PyObject * obj0 = 0 ;
2061 PyObject * obj1 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self",(char *) "pos", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2068 if (SWIG_arg_fail(1)) SWIG_fail;
2069 {
2070 arg2 = (int)(SWIG_As_int(obj1));
2071 if (SWIG_arg_fail(2)) SWIG_fail;
2072 }
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 result = (int)(arg1)->GetCharAt(arg2);
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 {
2081 resultobj = SWIG_From_int((int)(result));
2082 }
2083 return resultobj;
2084 fail:
2085 return NULL;
2086 }
2087
2088
2089 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2092 int result;
2093 PyObject * obj0 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "self", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail;
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = (int)(arg1)->GetCurrentPos();
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 resultobj = SWIG_From_int((int)(result));
2110 }
2111 return resultobj;
2112 fail:
2113 return NULL;
2114 }
2115
2116
2117 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2120 int result;
2121 PyObject * obj0 = 0 ;
2122 char *kwnames[] = {
2123 (char *) "self", NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2128 if (SWIG_arg_fail(1)) SWIG_fail;
2129 {
2130 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131 result = (int)(arg1)->GetAnchor();
2132
2133 wxPyEndAllowThreads(__tstate);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
2136 {
2137 resultobj = SWIG_From_int((int)(result));
2138 }
2139 return resultobj;
2140 fail:
2141 return NULL;
2142 }
2143
2144
2145 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
2146 PyObject *resultobj;
2147 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2148 int arg2 ;
2149 int result;
2150 PyObject * obj0 = 0 ;
2151 PyObject * obj1 = 0 ;
2152 char *kwnames[] = {
2153 (char *) "self",(char *) "pos", NULL
2154 };
2155
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2158 if (SWIG_arg_fail(1)) SWIG_fail;
2159 {
2160 arg2 = (int)(SWIG_As_int(obj1));
2161 if (SWIG_arg_fail(2)) SWIG_fail;
2162 }
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 result = (int)(arg1)->GetStyleAt(arg2);
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 {
2171 resultobj = SWIG_From_int((int)(result));
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2189 if (SWIG_arg_fail(1)) SWIG_fail;
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 (arg1)->Redo();
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 Py_INCREF(Py_None); resultobj = Py_None;
2198 return resultobj;
2199 fail:
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2207 bool arg2 ;
2208 PyObject * obj0 = 0 ;
2209 PyObject * obj1 = 0 ;
2210 char *kwnames[] = {
2211 (char *) "self",(char *) "collectUndo", NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2216 if (SWIG_arg_fail(1)) SWIG_fail;
2217 {
2218 arg2 = (bool)(SWIG_As_bool(obj1));
2219 if (SWIG_arg_fail(2)) SWIG_fail;
2220 }
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 (arg1)->SetUndoCollection(arg2);
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 Py_INCREF(Py_None); resultobj = Py_None;
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2245 if (SWIG_arg_fail(1)) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 (arg1)->SelectAll();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2270 if (SWIG_arg_fail(1)) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->SetSavePoint();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2288 int arg2 ;
2289 int arg3 ;
2290 wxMemoryBuffer result;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 PyObject * obj2 = 0 ;
2294 char *kwnames[] = {
2295 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
2296 };
2297
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2300 if (SWIG_arg_fail(1)) SWIG_fail;
2301 {
2302 arg2 = (int)(SWIG_As_int(obj1));
2303 if (SWIG_arg_fail(2)) SWIG_fail;
2304 }
2305 {
2306 arg3 = (int)(SWIG_As_int(obj2));
2307 if (SWIG_arg_fail(3)) SWIG_fail;
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (arg1)->GetStyledText(arg2,arg3);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 {
2317 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2318 }
2319 return resultobj;
2320 fail:
2321 return NULL;
2322 }
2323
2324
2325 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2328 bool result;
2329 PyObject * obj0 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self", NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2336 if (SWIG_arg_fail(1)) SWIG_fail;
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
2339 result = (bool)(arg1)->CanRedo();
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
2344 {
2345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2346 }
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2356 int arg2 ;
2357 int result;
2358 PyObject * obj0 = 0 ;
2359 PyObject * obj1 = 0 ;
2360 char *kwnames[] = {
2361 (char *) "self",(char *) "handle", NULL
2362 };
2363
2364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2366 if (SWIG_arg_fail(1)) SWIG_fail;
2367 {
2368 arg2 = (int)(SWIG_As_int(obj1));
2369 if (SWIG_arg_fail(2)) SWIG_fail;
2370 }
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 result = (int)(arg1)->MarkerLineFromHandle(arg2);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
2378 {
2379 resultobj = SWIG_From_int((int)(result));
2380 }
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2390 int arg2 ;
2391 PyObject * obj0 = 0 ;
2392 PyObject * obj1 = 0 ;
2393 char *kwnames[] = {
2394 (char *) "self",(char *) "handle", NULL
2395 };
2396
2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2399 if (SWIG_arg_fail(1)) SWIG_fail;
2400 {
2401 arg2 = (int)(SWIG_As_int(obj1));
2402 if (SWIG_arg_fail(2)) SWIG_fail;
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 (arg1)->MarkerDeleteHandle(arg2);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 Py_INCREF(Py_None); resultobj = Py_None;
2412 return resultobj;
2413 fail:
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2421 bool result;
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2429 if (SWIG_arg_fail(1)) SWIG_fail;
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 result = (bool)(arg1)->GetUndoCollection();
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
2437 {
2438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2439 }
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2449 int result;
2450 PyObject * obj0 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2457 if (SWIG_arg_fail(1)) SWIG_fail;
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 result = (int)(arg1)->GetViewWhiteSpace();
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 {
2466 resultobj = SWIG_From_int((int)(result));
2467 }
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2477 int arg2 ;
2478 PyObject * obj0 = 0 ;
2479 PyObject * obj1 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self",(char *) "viewWS", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2486 if (SWIG_arg_fail(1)) SWIG_fail;
2487 {
2488 arg2 = (int)(SWIG_As_int(obj1));
2489 if (SWIG_arg_fail(2)) SWIG_fail;
2490 }
2491 {
2492 PyThreadState* __tstate = wxPyBeginAllowThreads();
2493 (arg1)->SetViewWhiteSpace(arg2);
2494
2495 wxPyEndAllowThreads(__tstate);
2496 if (PyErr_Occurred()) SWIG_fail;
2497 }
2498 Py_INCREF(Py_None); resultobj = Py_None;
2499 return resultobj;
2500 fail:
2501 return NULL;
2502 }
2503
2504
2505 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj;
2507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2508 wxPoint arg2 ;
2509 int result;
2510 PyObject * obj0 = 0 ;
2511 PyObject * obj1 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self",(char *) "pt", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail;
2519 {
2520 wxPoint * argp;
2521 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2522 if (SWIG_arg_fail(2)) SWIG_fail;
2523 if (argp == NULL) {
2524 SWIG_null_ref("wxPoint");
2525 }
2526 if (SWIG_arg_fail(2)) SWIG_fail;
2527 arg2 = *argp;
2528 }
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 result = (int)(arg1)->PositionFromPoint(arg2);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 {
2537 resultobj = SWIG_From_int((int)(result));
2538 }
2539 return resultobj;
2540 fail:
2541 return NULL;
2542 }
2543
2544
2545 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
2546 PyObject *resultobj;
2547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2548 int arg2 ;
2549 int arg3 ;
2550 int result;
2551 PyObject * obj0 = 0 ;
2552 PyObject * obj1 = 0 ;
2553 PyObject * obj2 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "self",(char *) "x",(char *) "y", NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2560 if (SWIG_arg_fail(1)) SWIG_fail;
2561 {
2562 arg2 = (int)(SWIG_As_int(obj1));
2563 if (SWIG_arg_fail(2)) SWIG_fail;
2564 }
2565 {
2566 arg3 = (int)(SWIG_As_int(obj2));
2567 if (SWIG_arg_fail(3)) SWIG_fail;
2568 }
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
2571 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 {
2577 resultobj = SWIG_From_int((int)(result));
2578 }
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2588 int arg2 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "line", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2597 if (SWIG_arg_fail(1)) SWIG_fail;
2598 {
2599 arg2 = (int)(SWIG_As_int(obj1));
2600 if (SWIG_arg_fail(2)) SWIG_fail;
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 (arg1)->GotoLine(arg2);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 Py_INCREF(Py_None); resultobj = Py_None;
2610 return resultobj;
2611 fail:
2612 return NULL;
2613 }
2614
2615
2616 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2619 int arg2 ;
2620 PyObject * obj0 = 0 ;
2621 PyObject * obj1 = 0 ;
2622 char *kwnames[] = {
2623 (char *) "self",(char *) "pos", NULL
2624 };
2625
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2628 if (SWIG_arg_fail(1)) SWIG_fail;
2629 {
2630 arg2 = (int)(SWIG_As_int(obj1));
2631 if (SWIG_arg_fail(2)) SWIG_fail;
2632 }
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 (arg1)->GotoPos(arg2);
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 Py_INCREF(Py_None); resultobj = Py_None;
2641 return resultobj;
2642 fail:
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2650 int arg2 ;
2651 PyObject * obj0 = 0 ;
2652 PyObject * obj1 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self",(char *) "posAnchor", NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2659 if (SWIG_arg_fail(1)) SWIG_fail;
2660 {
2661 arg2 = (int)(SWIG_As_int(obj1));
2662 if (SWIG_arg_fail(2)) SWIG_fail;
2663 }
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
2666 (arg1)->SetAnchor(arg2);
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 return resultobj;
2673 fail:
2674 return NULL;
2675 }
2676
2677
2678 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2681 int *arg2 = (int *) 0 ;
2682 wxString result;
2683 int temp2 ;
2684 int res2 = 0 ;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2693 if (SWIG_arg_fail(1)) SWIG_fail;
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 result = (arg1)->GetCurLine(arg2);
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 {
2702 #if wxUSE_UNICODE
2703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2704 #else
2705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2706 #endif
2707 }
2708 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2709 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2710 return resultobj;
2711 fail:
2712 return NULL;
2713 }
2714
2715
2716 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2719 int result;
2720 PyObject * obj0 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail;
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 result = (int)(arg1)->GetEndStyled();
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 {
2736 resultobj = SWIG_From_int((int)(result));
2737 }
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2747 int arg2 ;
2748 PyObject * obj0 = 0 ;
2749 PyObject * obj1 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self",(char *) "eolMode", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail;
2757 {
2758 arg2 = (int)(SWIG_As_int(obj1));
2759 if (SWIG_arg_fail(2)) SWIG_fail;
2760 }
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 (arg1)->ConvertEOLs(arg2);
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 Py_INCREF(Py_None); resultobj = Py_None;
2769 return resultobj;
2770 fail:
2771 return NULL;
2772 }
2773
2774
2775 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2776 PyObject *resultobj;
2777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2778 int result;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 result = (int)(arg1)->GetEOLMode();
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
2795 resultobj = SWIG_From_int((int)(result));
2796 }
2797 return resultobj;
2798 fail:
2799 return NULL;
2800 }
2801
2802
2803 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2804 PyObject *resultobj;
2805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2806 int arg2 ;
2807 PyObject * obj0 = 0 ;
2808 PyObject * obj1 = 0 ;
2809 char *kwnames[] = {
2810 (char *) "self",(char *) "eolMode", NULL
2811 };
2812
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2815 if (SWIG_arg_fail(1)) SWIG_fail;
2816 {
2817 arg2 = (int)(SWIG_As_int(obj1));
2818 if (SWIG_arg_fail(2)) SWIG_fail;
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->SetEOLMode(arg2);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2837 int arg2 ;
2838 int arg3 ;
2839 PyObject * obj0 = 0 ;
2840 PyObject * obj1 = 0 ;
2841 PyObject * obj2 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self",(char *) "pos",(char *) "mask", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2848 if (SWIG_arg_fail(1)) SWIG_fail;
2849 {
2850 arg2 = (int)(SWIG_As_int(obj1));
2851 if (SWIG_arg_fail(2)) SWIG_fail;
2852 }
2853 {
2854 arg3 = (int)(SWIG_As_int(obj2));
2855 if (SWIG_arg_fail(3)) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->StartStyling(arg2,arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2874 int arg2 ;
2875 int arg3 ;
2876 PyObject * obj0 = 0 ;
2877 PyObject * obj1 = 0 ;
2878 PyObject * obj2 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self",(char *) "length",(char *) "style", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
2886 {
2887 arg2 = (int)(SWIG_As_int(obj1));
2888 if (SWIG_arg_fail(2)) SWIG_fail;
2889 }
2890 {
2891 arg3 = (int)(SWIG_As_int(obj2));
2892 if (SWIG_arg_fail(3)) SWIG_fail;
2893 }
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 (arg1)->SetStyling(arg2,arg3);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 Py_INCREF(Py_None); resultobj = Py_None;
2902 return resultobj;
2903 fail:
2904 return NULL;
2905 }
2906
2907
2908 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2911 bool result;
2912 PyObject * obj0 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 result = (bool)(arg1)->GetBufferedDraw();
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 {
2928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2929 }
2930 return resultobj;
2931 fail:
2932 return NULL;
2933 }
2934
2935
2936 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2937 PyObject *resultobj;
2938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2939 bool arg2 ;
2940 PyObject * obj0 = 0 ;
2941 PyObject * obj1 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "buffered", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
2947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2948 if (SWIG_arg_fail(1)) SWIG_fail;
2949 {
2950 arg2 = (bool)(SWIG_As_bool(obj1));
2951 if (SWIG_arg_fail(2)) SWIG_fail;
2952 }
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->SetBufferedDraw(arg2);
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2970 int arg2 ;
2971 PyObject * obj0 = 0 ;
2972 PyObject * obj1 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self",(char *) "tabWidth", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
2978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail;
2980 {
2981 arg2 = (int)(SWIG_As_int(obj1));
2982 if (SWIG_arg_fail(2)) SWIG_fail;
2983 }
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 (arg1)->SetTabWidth(arg2);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
2991 Py_INCREF(Py_None); resultobj = Py_None;
2992 return resultobj;
2993 fail:
2994 return NULL;
2995 }
2996
2997
2998 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3001 int result;
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 result = (int)(arg1)->GetTabWidth();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 {
3018 resultobj = SWIG_From_int((int)(result));
3019 }
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3029 int arg2 ;
3030 PyObject * obj0 = 0 ;
3031 PyObject * obj1 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self",(char *) "codePage", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(1)) SWIG_fail;
3039 {
3040 arg2 = (int)(SWIG_As_int(obj1));
3041 if (SWIG_arg_fail(2)) SWIG_fail;
3042 }
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 (arg1)->SetCodePage(arg2);
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
3050 Py_INCREF(Py_None); resultobj = Py_None;
3051 return resultobj;
3052 fail:
3053 return NULL;
3054 }
3055
3056
3057 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3060 int arg2 ;
3061 int arg3 ;
3062 wxColour const &arg4_defvalue = wxNullColour ;
3063 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3064 wxColour const &arg5_defvalue = wxNullColour ;
3065 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3066 wxColour temp4 ;
3067 wxColour temp5 ;
3068 PyObject * obj0 = 0 ;
3069 PyObject * obj1 = 0 ;
3070 PyObject * obj2 = 0 ;
3071 PyObject * obj3 = 0 ;
3072 PyObject * obj4 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
3080 {
3081 arg2 = (int)(SWIG_As_int(obj1));
3082 if (SWIG_arg_fail(2)) SWIG_fail;
3083 }
3084 {
3085 arg3 = (int)(SWIG_As_int(obj2));
3086 if (SWIG_arg_fail(3)) SWIG_fail;
3087 }
3088 if (obj3) {
3089 {
3090 arg4 = &temp4;
3091 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3092 }
3093 }
3094 if (obj4) {
3095 {
3096 arg5 = &temp5;
3097 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3098 }
3099 }
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 return resultobj;
3109 fail:
3110 return NULL;
3111 }
3112
3113
3114 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3115 PyObject *resultobj;
3116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3117 int arg2 ;
3118 wxColour *arg3 = 0 ;
3119 wxColour temp3 ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj1 = 0 ;
3122 PyObject * obj2 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3129 if (SWIG_arg_fail(1)) SWIG_fail;
3130 {
3131 arg2 = (int)(SWIG_As_int(obj1));
3132 if (SWIG_arg_fail(2)) SWIG_fail;
3133 }
3134 {
3135 arg3 = &temp3;
3136 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3155 int arg2 ;
3156 wxColour *arg3 = 0 ;
3157 wxColour temp3 ;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 PyObject * obj2 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
3168 {
3169 arg2 = (int)(SWIG_As_int(obj1));
3170 if (SWIG_arg_fail(2)) SWIG_fail;
3171 }
3172 {
3173 arg3 = &temp3;
3174 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3175 }
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3193 int arg2 ;
3194 int arg3 ;
3195 int result;
3196 PyObject * obj0 = 0 ;
3197 PyObject * obj1 = 0 ;
3198 PyObject * obj2 = 0 ;
3199 char *kwnames[] = {
3200 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3201 };
3202
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3205 if (SWIG_arg_fail(1)) SWIG_fail;
3206 {
3207 arg2 = (int)(SWIG_As_int(obj1));
3208 if (SWIG_arg_fail(2)) SWIG_fail;
3209 }
3210 {
3211 arg3 = (int)(SWIG_As_int(obj2));
3212 if (SWIG_arg_fail(3)) SWIG_fail;
3213 }
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 result = (int)(arg1)->MarkerAdd(arg2,arg3);
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 {
3222 resultobj = SWIG_From_int((int)(result));
3223 }
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3233 int arg2 ;
3234 int arg3 ;
3235 PyObject * obj0 = 0 ;
3236 PyObject * obj1 = 0 ;
3237 PyObject * obj2 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
3245 {
3246 arg2 = (int)(SWIG_As_int(obj1));
3247 if (SWIG_arg_fail(2)) SWIG_fail;
3248 }
3249 {
3250 arg3 = (int)(SWIG_As_int(obj2));
3251 if (SWIG_arg_fail(3)) SWIG_fail;
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 (arg1)->MarkerDelete(arg2,arg3);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 Py_INCREF(Py_None); resultobj = Py_None;
3261 return resultobj;
3262 fail:
3263 return NULL;
3264 }
3265
3266
3267 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj;
3269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3270 int arg2 ;
3271 PyObject * obj0 = 0 ;
3272 PyObject * obj1 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "self",(char *) "markerNumber", NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
3280 {
3281 arg2 = (int)(SWIG_As_int(obj1));
3282 if (SWIG_arg_fail(2)) SWIG_fail;
3283 }
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 (arg1)->MarkerDeleteAll(arg2);
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 Py_INCREF(Py_None); resultobj = Py_None;
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3301 int arg2 ;
3302 int result;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3305 char *kwnames[] = {
3306 (char *) "self",(char *) "line", NULL
3307 };
3308
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3311 if (SWIG_arg_fail(1)) SWIG_fail;
3312 {
3313 arg2 = (int)(SWIG_As_int(obj1));
3314 if (SWIG_arg_fail(2)) SWIG_fail;
3315 }
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (int)(arg1)->MarkerGet(arg2);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 {
3324 resultobj = SWIG_From_int((int)(result));
3325 }
3326 return resultobj;
3327 fail:
3328 return NULL;
3329 }
3330
3331
3332 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj;
3334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3335 int arg2 ;
3336 int arg3 ;
3337 int result;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 PyObject * obj2 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3343 };
3344
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail;
3348 {
3349 arg2 = (int)(SWIG_As_int(obj1));
3350 if (SWIG_arg_fail(2)) SWIG_fail;
3351 }
3352 {
3353 arg3 = (int)(SWIG_As_int(obj2));
3354 if (SWIG_arg_fail(3)) SWIG_fail;
3355 }
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = (int)(arg1)->MarkerNext(arg2,arg3);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364 resultobj = SWIG_From_int((int)(result));
3365 }
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3375 int arg2 ;
3376 int arg3 ;
3377 int result;
3378 PyObject * obj0 = 0 ;
3379 PyObject * obj1 = 0 ;
3380 PyObject * obj2 = 0 ;
3381 char *kwnames[] = {
3382 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3383 };
3384
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3387 if (SWIG_arg_fail(1)) SWIG_fail;
3388 {
3389 arg2 = (int)(SWIG_As_int(obj1));
3390 if (SWIG_arg_fail(2)) SWIG_fail;
3391 }
3392 {
3393 arg3 = (int)(SWIG_As_int(obj2));
3394 if (SWIG_arg_fail(3)) SWIG_fail;
3395 }
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404 resultobj = SWIG_From_int((int)(result));
3405 }
3406 return resultobj;
3407 fail:
3408 return NULL;
3409 }
3410
3411
3412 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
3413 PyObject *resultobj;
3414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3415 int arg2 ;
3416 wxBitmap *arg3 = 0 ;
3417 PyObject * obj0 = 0 ;
3418 PyObject * obj1 = 0 ;
3419 PyObject * obj2 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3426 if (SWIG_arg_fail(1)) SWIG_fail;
3427 {
3428 arg2 = (int)(SWIG_As_int(obj1));
3429 if (SWIG_arg_fail(2)) SWIG_fail;
3430 }
3431 {
3432 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 if (arg3 == NULL) {
3435 SWIG_null_ref("wxBitmap");
3436 }
3437 if (SWIG_arg_fail(3)) SWIG_fail;
3438 }
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 Py_INCREF(Py_None); resultobj = Py_None;
3447 return resultobj;
3448 fail:
3449 return NULL;
3450 }
3451
3452
3453 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3456 int arg2 ;
3457 int arg3 ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 PyObject * obj2 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "margin",(char *) "marginType", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail;
3468 {
3469 arg2 = (int)(SWIG_As_int(obj1));
3470 if (SWIG_arg_fail(2)) SWIG_fail;
3471 }
3472 {
3473 arg3 = (int)(SWIG_As_int(obj2));
3474 if (SWIG_arg_fail(3)) SWIG_fail;
3475 }
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 (arg1)->SetMarginType(arg2,arg3);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3493 int arg2 ;
3494 int result;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self",(char *) "margin", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail;
3504 {
3505 arg2 = (int)(SWIG_As_int(obj1));
3506 if (SWIG_arg_fail(2)) SWIG_fail;
3507 }
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 result = (int)(arg1)->GetMarginType(arg2);
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 resultobj = SWIG_From_int((int)(result));
3517 }
3518 return resultobj;
3519 fail:
3520 return NULL;
3521 }
3522
3523
3524 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3525 PyObject *resultobj;
3526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3527 int arg2 ;
3528 int arg3 ;
3529 PyObject * obj0 = 0 ;
3530 PyObject * obj1 = 0 ;
3531 PyObject * obj2 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail;
3539 {
3540 arg2 = (int)(SWIG_As_int(obj1));
3541 if (SWIG_arg_fail(2)) SWIG_fail;
3542 }
3543 {
3544 arg3 = (int)(SWIG_As_int(obj2));
3545 if (SWIG_arg_fail(3)) SWIG_fail;
3546 }
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SetMarginWidth(arg2,arg3);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3564 int arg2 ;
3565 int result;
3566 PyObject * obj0 = 0 ;
3567 PyObject * obj1 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "self",(char *) "margin", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3574 if (SWIG_arg_fail(1)) SWIG_fail;
3575 {
3576 arg2 = (int)(SWIG_As_int(obj1));
3577 if (SWIG_arg_fail(2)) SWIG_fail;
3578 }
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 result = (int)(arg1)->GetMarginWidth(arg2);
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 {
3587 resultobj = SWIG_From_int((int)(result));
3588 }
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3598 int arg2 ;
3599 int arg3 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602 PyObject * obj2 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self",(char *) "margin",(char *) "mask", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail;
3610 {
3611 arg2 = (int)(SWIG_As_int(obj1));
3612 if (SWIG_arg_fail(2)) SWIG_fail;
3613 }
3614 {
3615 arg3 = (int)(SWIG_As_int(obj2));
3616 if (SWIG_arg_fail(3)) SWIG_fail;
3617 }
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 (arg1)->SetMarginMask(arg2,arg3);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3635 int arg2 ;
3636 int result;
3637 PyObject * obj0 = 0 ;
3638 PyObject * obj1 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "margin", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3645 if (SWIG_arg_fail(1)) SWIG_fail;
3646 {
3647 arg2 = (int)(SWIG_As_int(obj1));
3648 if (SWIG_arg_fail(2)) SWIG_fail;
3649 }
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 result = (int)(arg1)->GetMarginMask(arg2);
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 {
3658 resultobj = SWIG_From_int((int)(result));
3659 }
3660 return resultobj;
3661 fail:
3662 return NULL;
3663 }
3664
3665
3666 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj;
3668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3669 int arg2 ;
3670 bool arg3 ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 char *kwnames[] = {
3675 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
3676 };
3677
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3680 if (SWIG_arg_fail(1)) SWIG_fail;
3681 {
3682 arg2 = (int)(SWIG_As_int(obj1));
3683 if (SWIG_arg_fail(2)) SWIG_fail;
3684 }
3685 {
3686 arg3 = (bool)(SWIG_As_bool(obj2));
3687 if (SWIG_arg_fail(3)) SWIG_fail;
3688 }
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 (arg1)->SetMarginSensitive(arg2,arg3);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 Py_INCREF(Py_None); resultobj = Py_None;
3697 return resultobj;
3698 fail:
3699 return NULL;
3700 }
3701
3702
3703 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3706 int arg2 ;
3707 bool result;
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "margin", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail;
3717 {
3718 arg2 = (int)(SWIG_As_int(obj1));
3719 if (SWIG_arg_fail(2)) SWIG_fail;
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = (bool)(arg1)->GetMarginSensitive(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 {
3729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3730 }
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->StyleClearAll();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3765 int arg2 ;
3766 wxColour *arg3 = 0 ;
3767 wxColour temp3 ;
3768 PyObject * obj0 = 0 ;
3769 PyObject * obj1 = 0 ;
3770 PyObject * obj2 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self",(char *) "style",(char *) "fore", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail;
3778 {
3779 arg2 = (int)(SWIG_As_int(obj1));
3780 if (SWIG_arg_fail(2)) SWIG_fail;
3781 }
3782 {
3783 arg3 = &temp3;
3784 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3785 }
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3803 int arg2 ;
3804 wxColour *arg3 = 0 ;
3805 wxColour temp3 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 PyObject * obj2 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self",(char *) "style",(char *) "back", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3815 if (SWIG_arg_fail(1)) SWIG_fail;
3816 {
3817 arg2 = (int)(SWIG_As_int(obj1));
3818 if (SWIG_arg_fail(2)) SWIG_fail;
3819 }
3820 {
3821 arg3 = &temp3;
3822 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3841 int arg2 ;
3842 bool arg3 ;
3843 PyObject * obj0 = 0 ;
3844 PyObject * obj1 = 0 ;
3845 PyObject * obj2 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self",(char *) "style",(char *) "bold", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
3851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail;
3853 {
3854 arg2 = (int)(SWIG_As_int(obj1));
3855 if (SWIG_arg_fail(2)) SWIG_fail;
3856 }
3857 {
3858 arg3 = (bool)(SWIG_As_bool(obj2));
3859 if (SWIG_arg_fail(3)) SWIG_fail;
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 (arg1)->StyleSetBold(arg2,arg3);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 return resultobj;
3870 fail:
3871 return NULL;
3872 }
3873
3874
3875 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3878 int arg2 ;
3879 bool arg3 ;
3880 PyObject * obj0 = 0 ;
3881 PyObject * obj1 = 0 ;
3882 PyObject * obj2 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "style",(char *) "italic", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
3888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3889 if (SWIG_arg_fail(1)) SWIG_fail;
3890 {
3891 arg2 = (int)(SWIG_As_int(obj1));
3892 if (SWIG_arg_fail(2)) SWIG_fail;
3893 }
3894 {
3895 arg3 = (bool)(SWIG_As_bool(obj2));
3896 if (SWIG_arg_fail(3)) SWIG_fail;
3897 }
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 (arg1)->StyleSetItalic(arg2,arg3);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3915 int arg2 ;
3916 int arg3 ;
3917 PyObject * obj0 = 0 ;
3918 PyObject * obj1 = 0 ;
3919 PyObject * obj2 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail;
3927 {
3928 arg2 = (int)(SWIG_As_int(obj1));
3929 if (SWIG_arg_fail(2)) SWIG_fail;
3930 }
3931 {
3932 arg3 = (int)(SWIG_As_int(obj2));
3933 if (SWIG_arg_fail(3)) SWIG_fail;
3934 }
3935 {
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 (arg1)->StyleSetSize(arg2,arg3);
3938
3939 wxPyEndAllowThreads(__tstate);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 Py_INCREF(Py_None); resultobj = Py_None;
3943 return resultobj;
3944 fail:
3945 return NULL;
3946 }
3947
3948
3949 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3952 int arg2 ;
3953 wxString *arg3 = 0 ;
3954 bool temp3 = false ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 PyObject * obj2 = 0 ;
3958 char *kwnames[] = {
3959 (char *) "self",(char *) "style",(char *) "fontName", NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
3963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail;
3965 {
3966 arg2 = (int)(SWIG_As_int(obj1));
3967 if (SWIG_arg_fail(2)) SWIG_fail;
3968 }
3969 {
3970 arg3 = wxString_in_helper(obj2);
3971 if (arg3 == NULL) SWIG_fail;
3972 temp3 = true;
3973 }
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 Py_INCREF(Py_None); resultobj = Py_None;
3982 {
3983 if (temp3)
3984 delete arg3;
3985 }
3986 return resultobj;
3987 fail:
3988 {
3989 if (temp3)
3990 delete arg3;
3991 }
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3999 int arg2 ;
4000 bool arg3 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 PyObject * obj2 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self",(char *) "style",(char *) "filled", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4010 if (SWIG_arg_fail(1)) SWIG_fail;
4011 {
4012 arg2 = (int)(SWIG_As_int(obj1));
4013 if (SWIG_arg_fail(2)) SWIG_fail;
4014 }
4015 {
4016 arg3 = (bool)(SWIG_As_bool(obj2));
4017 if (SWIG_arg_fail(3)) SWIG_fail;
4018 }
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 (arg1)->StyleSetEOLFilled(arg2,arg3);
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 Py_INCREF(Py_None); resultobj = Py_None;
4027 return resultobj;
4028 fail:
4029 return NULL;
4030 }
4031
4032
4033 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj;
4035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4036 PyObject * obj0 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self", NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4043 if (SWIG_arg_fail(1)) SWIG_fail;
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 (arg1)->StyleResetDefault();
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 Py_INCREF(Py_None); resultobj = Py_None;
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4061 int arg2 ;
4062 bool arg3 ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 PyObject * obj2 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "style",(char *) "underline", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4072 if (SWIG_arg_fail(1)) SWIG_fail;
4073 {
4074 arg2 = (int)(SWIG_As_int(obj1));
4075 if (SWIG_arg_fail(2)) SWIG_fail;
4076 }
4077 {
4078 arg3 = (bool)(SWIG_As_bool(obj2));
4079 if (SWIG_arg_fail(3)) SWIG_fail;
4080 }
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->StyleSetUnderline(arg2,arg3);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4098 int arg2 ;
4099 int arg3 ;
4100 PyObject * obj0 = 0 ;
4101 PyObject * obj1 = 0 ;
4102 PyObject * obj2 = 0 ;
4103 char *kwnames[] = {
4104 (char *) "self",(char *) "style",(char *) "caseForce", NULL
4105 };
4106
4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4109 if (SWIG_arg_fail(1)) SWIG_fail;
4110 {
4111 arg2 = (int)(SWIG_As_int(obj1));
4112 if (SWIG_arg_fail(2)) SWIG_fail;
4113 }
4114 {
4115 arg3 = (int)(SWIG_As_int(obj2));
4116 if (SWIG_arg_fail(3)) SWIG_fail;
4117 }
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 (arg1)->StyleSetCase(arg2,arg3);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 Py_INCREF(Py_None); resultobj = Py_None;
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4135 int arg2 ;
4136 bool arg3 ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 PyObject * obj2 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "style",(char *) "hotspot", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
4147 {
4148 arg2 = (int)(SWIG_As_int(obj1));
4149 if (SWIG_arg_fail(2)) SWIG_fail;
4150 }
4151 {
4152 arg3 = (bool)(SWIG_As_bool(obj2));
4153 if (SWIG_arg_fail(3)) SWIG_fail;
4154 }
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 (arg1)->StyleSetHotSpot(arg2,arg3);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 Py_INCREF(Py_None); resultobj = Py_None;
4163 return resultobj;
4164 fail:
4165 return NULL;
4166 }
4167
4168
4169 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4172 bool arg2 ;
4173 wxColour *arg3 = 0 ;
4174 wxColour temp3 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 PyObject * obj2 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4184 if (SWIG_arg_fail(1)) SWIG_fail;
4185 {
4186 arg2 = (bool)(SWIG_As_bool(obj1));
4187 if (SWIG_arg_fail(2)) SWIG_fail;
4188 }
4189 {
4190 arg3 = &temp3;
4191 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4192 }
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4210 bool arg2 ;
4211 wxColour *arg3 = 0 ;
4212 wxColour temp3 ;
4213 PyObject * obj0 = 0 ;
4214 PyObject * obj1 = 0 ;
4215 PyObject * obj2 = 0 ;
4216 char *kwnames[] = {
4217 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4218 };
4219
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4222 if (SWIG_arg_fail(1)) SWIG_fail;
4223 {
4224 arg2 = (bool)(SWIG_As_bool(obj1));
4225 if (SWIG_arg_fail(2)) SWIG_fail;
4226 }
4227 {
4228 arg3 = &temp3;
4229 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4230 }
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 Py_INCREF(Py_None); resultobj = Py_None;
4239 return resultobj;
4240 fail:
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4248 wxColour *arg2 = 0 ;
4249 wxColour temp2 ;
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "self",(char *) "fore", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4258 if (SWIG_arg_fail(1)) SWIG_fail;
4259 {
4260 arg2 = &temp2;
4261 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4262 }
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 (arg1)->SetCaretForeground((wxColour const &)*arg2);
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 Py_INCREF(Py_None); resultobj = Py_None;
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4280 int arg2 ;
4281 int arg3 ;
4282 int arg4 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj2 = 0 ;
4286 PyObject * obj3 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail;
4294 {
4295 arg2 = (int)(SWIG_As_int(obj1));
4296 if (SWIG_arg_fail(2)) SWIG_fail;
4297 }
4298 {
4299 arg3 = (int)(SWIG_As_int(obj2));
4300 if (SWIG_arg_fail(3)) SWIG_fail;
4301 }
4302 {
4303 arg4 = (int)(SWIG_As_int(obj3));
4304 if (SWIG_arg_fail(4)) SWIG_fail;
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4323 int arg2 ;
4324 int arg3 ;
4325 PyObject * obj0 = 0 ;
4326 PyObject * obj1 = 0 ;
4327 PyObject * obj2 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "key",(char *) "modifiers", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
4333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail;
4335 {
4336 arg2 = (int)(SWIG_As_int(obj1));
4337 if (SWIG_arg_fail(2)) SWIG_fail;
4338 }
4339 {
4340 arg3 = (int)(SWIG_As_int(obj2));
4341 if (SWIG_arg_fail(3)) SWIG_fail;
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 (arg1)->CmdKeyClear(arg2,arg3);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 Py_INCREF(Py_None); resultobj = Py_None;
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4360 PyObject * obj0 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4367 if (SWIG_arg_fail(1)) SWIG_fail;
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 (arg1)->CmdKeyClearAll();
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 Py_INCREF(Py_None); resultobj = Py_None;
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4385 int arg2 ;
4386 char *arg3 = (char *) 0 ;
4387 PyObject * obj0 = 0 ;
4388 PyObject * obj1 = 0 ;
4389 PyObject * obj2 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail;
4397 {
4398 arg2 = (int)(SWIG_As_int(obj1));
4399 if (SWIG_arg_fail(2)) SWIG_fail;
4400 }
4401 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4402 SWIG_arg_fail(3);SWIG_fail;
4403 }
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 (arg1)->SetStyleBytes(arg2,arg3);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 Py_INCREF(Py_None); resultobj = Py_None;
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4421 int arg2 ;
4422 bool arg3 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 PyObject * obj2 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "style",(char *) "visible", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4432 if (SWIG_arg_fail(1)) SWIG_fail;
4433 {
4434 arg2 = (int)(SWIG_As_int(obj1));
4435 if (SWIG_arg_fail(2)) SWIG_fail;
4436 }
4437 {
4438 arg3 = (bool)(SWIG_As_bool(obj2));
4439 if (SWIG_arg_fail(3)) SWIG_fail;
4440 }
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 (arg1)->StyleSetVisible(arg2,arg3);
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 Py_INCREF(Py_None); resultobj = Py_None;
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj;
4457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4458 int result;
4459 PyObject * obj0 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail;
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 result = (int)(arg1)->GetCaretPeriod();
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 {
4475 resultobj = SWIG_From_int((int)(result));
4476 }
4477 return resultobj;
4478 fail:
4479 return NULL;
4480 }
4481
4482
4483 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4486 int arg2 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self",(char *) "periodMilliseconds", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail;
4496 {
4497 arg2 = (int)(SWIG_As_int(obj1));
4498 if (SWIG_arg_fail(2)) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 (arg1)->SetCaretPeriod(arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4517 wxString *arg2 = 0 ;
4518 bool temp2 = false ;
4519 PyObject * obj0 = 0 ;
4520 PyObject * obj1 = 0 ;
4521 char *kwnames[] = {
4522 (char *) "self",(char *) "characters", NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4527 if (SWIG_arg_fail(1)) SWIG_fail;
4528 {
4529 arg2 = wxString_in_helper(obj1);
4530 if (arg2 == NULL) SWIG_fail;
4531 temp2 = true;
4532 }
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->SetWordChars((wxString const &)*arg2);
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 {
4542 if (temp2)
4543 delete arg2;
4544 }
4545 return resultobj;
4546 fail:
4547 {
4548 if (temp2)
4549 delete arg2;
4550 }
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail;
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 (arg1)->BeginUndoAction();
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj;
4582 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail;
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 (arg1)->EndUndoAction();
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 Py_INCREF(Py_None); resultobj = Py_None;
4599 return resultobj;
4600 fail:
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4608 int arg2 ;
4609 int arg3 ;
4610 PyObject * obj0 = 0 ;
4611 PyObject * obj1 = 0 ;
4612 PyObject * obj2 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self",(char *) "indic",(char *) "style", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 arg2 = (int)(SWIG_As_int(obj1));
4622 if (SWIG_arg_fail(2)) SWIG_fail;
4623 }
4624 {
4625 arg3 = (int)(SWIG_As_int(obj2));
4626 if (SWIG_arg_fail(3)) SWIG_fail;
4627 }
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 (arg1)->IndicatorSetStyle(arg2,arg3);
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 Py_INCREF(Py_None); resultobj = Py_None;
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4645 int arg2 ;
4646 int result;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "indic", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
4656 {
4657 arg2 = (int)(SWIG_As_int(obj1));
4658 if (SWIG_arg_fail(2)) SWIG_fail;
4659 }
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 result = (int)(arg1)->IndicatorGetStyle(arg2);
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 {
4668 resultobj = SWIG_From_int((int)(result));
4669 }
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4679 int arg2 ;
4680 wxColour *arg3 = 0 ;
4681 wxColour temp3 ;
4682 PyObject * obj0 = 0 ;
4683 PyObject * obj1 = 0 ;
4684 PyObject * obj2 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "indic",(char *) "fore", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4691 if (SWIG_arg_fail(1)) SWIG_fail;
4692 {
4693 arg2 = (int)(SWIG_As_int(obj1));
4694 if (SWIG_arg_fail(2)) SWIG_fail;
4695 }
4696 {
4697 arg3 = &temp3;
4698 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4717 int arg2 ;
4718 wxColour result;
4719 PyObject * obj0 = 0 ;
4720 PyObject * obj1 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self",(char *) "indic", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
4728 {
4729 arg2 = (int)(SWIG_As_int(obj1));
4730 if (SWIG_arg_fail(2)) SWIG_fail;
4731 }
4732 {
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (arg1)->IndicatorGetForeground(arg2);
4735
4736 wxPyEndAllowThreads(__tstate);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 {
4740 wxColour * resultptr;
4741 resultptr = new wxColour((wxColour &)(result));
4742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4743 }
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4753 bool arg2 ;
4754 wxColour *arg3 = 0 ;
4755 wxColour temp3 ;
4756 PyObject * obj0 = 0 ;
4757 PyObject * obj1 = 0 ;
4758 PyObject * obj2 = 0 ;
4759 char *kwnames[] = {
4760 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail;
4766 {
4767 arg2 = (bool)(SWIG_As_bool(obj1));
4768 if (SWIG_arg_fail(2)) SWIG_fail;
4769 }
4770 {
4771 arg3 = &temp3;
4772 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4791 bool arg2 ;
4792 wxColour *arg3 = 0 ;
4793 wxColour temp3 ;
4794 PyObject * obj0 = 0 ;
4795 PyObject * obj1 = 0 ;
4796 PyObject * obj2 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4799 };
4800
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4803 if (SWIG_arg_fail(1)) SWIG_fail;
4804 {
4805 arg2 = (bool)(SWIG_As_bool(obj1));
4806 if (SWIG_arg_fail(2)) SWIG_fail;
4807 }
4808 {
4809 arg3 = &temp3;
4810 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4811 }
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 Py_INCREF(Py_None); resultobj = Py_None;
4820 return resultobj;
4821 fail:
4822 return NULL;
4823 }
4824
4825
4826 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4827 PyObject *resultobj;
4828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4829 int arg2 ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self",(char *) "bits", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
4837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail;
4839 {
4840 arg2 = (int)(SWIG_As_int(obj1));
4841 if (SWIG_arg_fail(2)) SWIG_fail;
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 (arg1)->SetStyleBits(arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 Py_INCREF(Py_None); resultobj = Py_None;
4851 return resultobj;
4852 fail:
4853 return NULL;
4854 }
4855
4856
4857 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj;
4859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4860 int result;
4861 PyObject * obj0 = 0 ;
4862 char *kwnames[] = {
4863 (char *) "self", NULL
4864 };
4865
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
4867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(1)) SWIG_fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (int)(arg1)->GetStyleBits();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 {
4877 resultobj = SWIG_From_int((int)(result));
4878 }
4879 return resultobj;
4880 fail:
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4888 int arg2 ;
4889 int arg3 ;
4890 PyObject * obj0 = 0 ;
4891 PyObject * obj1 = 0 ;
4892 PyObject * obj2 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "line",(char *) "state", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
4898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4899 if (SWIG_arg_fail(1)) SWIG_fail;
4900 {
4901 arg2 = (int)(SWIG_As_int(obj1));
4902 if (SWIG_arg_fail(2)) SWIG_fail;
4903 }
4904 {
4905 arg3 = (int)(SWIG_As_int(obj2));
4906 if (SWIG_arg_fail(3)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 (arg1)->SetLineState(arg2,arg3);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 Py_INCREF(Py_None); resultobj = Py_None;
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4923 PyObject *resultobj;
4924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4925 int arg2 ;
4926 int result;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self",(char *) "line", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
4934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail;
4936 {
4937 arg2 = (int)(SWIG_As_int(obj1));
4938 if (SWIG_arg_fail(2)) SWIG_fail;
4939 }
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 result = (int)(arg1)->GetLineState(arg2);
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 {
4948 resultobj = SWIG_From_int((int)(result));
4949 }
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
4966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4967 if (SWIG_arg_fail(1)) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 result = (int)(arg1)->GetMaxLineState();
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 {
4976 resultobj = SWIG_From_int((int)(result));
4977 }
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4987 bool result;
4988 PyObject * obj0 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
4994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail;
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 result = (bool)(arg1)->GetCaretLineVisible();
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 {
5004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5005 }
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5015 bool arg2 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "show", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail;
5025 {
5026 arg2 = (bool)(SWIG_As_bool(obj1));
5027 if (SWIG_arg_fail(2)) SWIG_fail;
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 (arg1)->SetCaretLineVisible(arg2);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5046 wxColour result;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (arg1)->GetCaretLineBack();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063 wxColour * resultptr;
5064 resultptr = new wxColour((wxColour &)(result));
5065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5066 }
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5076 wxColour *arg2 = 0 ;
5077 wxColour temp2 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "back", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
5085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5086 if (SWIG_arg_fail(1)) SWIG_fail;
5087 {
5088 arg2 = &temp2;
5089 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5090 }
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5108 int arg2 ;
5109 bool arg3 ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "style",(char *) "changeable", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
5118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5119 if (SWIG_arg_fail(1)) SWIG_fail;
5120 {
5121 arg2 = (int)(SWIG_As_int(obj1));
5122 if (SWIG_arg_fail(2)) SWIG_fail;
5123 }
5124 {
5125 arg3 = (bool)(SWIG_As_bool(obj2));
5126 if (SWIG_arg_fail(3)) SWIG_fail;
5127 }
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 (arg1)->StyleSetChangeable(arg2,arg3);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 Py_INCREF(Py_None); resultobj = Py_None;
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5145 int arg2 ;
5146 wxString *arg3 = 0 ;
5147 bool temp3 = false ;
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
5150 PyObject * obj2 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail;
5158 {
5159 arg2 = (int)(SWIG_As_int(obj1));
5160 if (SWIG_arg_fail(2)) SWIG_fail;
5161 }
5162 {
5163 arg3 = wxString_in_helper(obj2);
5164 if (arg3 == NULL) SWIG_fail;
5165 temp3 = true;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 {
5176 if (temp3)
5177 delete arg3;
5178 }
5179 return resultobj;
5180 fail:
5181 {
5182 if (temp3)
5183 delete arg3;
5184 }
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail;
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 (arg1)->AutoCompCancel();
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 return resultobj;
5209 fail:
5210 return NULL;
5211 }
5212
5213
5214 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
5215 PyObject *resultobj;
5216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5217 bool result;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5225 if (SWIG_arg_fail(1)) SWIG_fail;
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
5228 result = (bool)(arg1)->AutoCompActive();
5229
5230 wxPyEndAllowThreads(__tstate);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
5233 {
5234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5235 }
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5245 int result;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail;
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = (int)(arg1)->AutoCompPosStart();
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 {
5262 resultobj = SWIG_From_int((int)(result));
5263 }
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5273 PyObject * obj0 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5280 if (SWIG_arg_fail(1)) SWIG_fail;
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 (arg1)->AutoCompComplete();
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 Py_INCREF(Py_None); resultobj = Py_None;
5289 return resultobj;
5290 fail:
5291 return NULL;
5292 }
5293
5294
5295 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5298 wxString *arg2 = 0 ;
5299 bool temp2 = false ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "characterSet", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail;
5309 {
5310 arg2 = wxString_in_helper(obj1);
5311 if (arg2 == NULL) SWIG_fail;
5312 temp2 = true;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->AutoCompStops((wxString const &)*arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 {
5323 if (temp2)
5324 delete arg2;
5325 }
5326 return resultobj;
5327 fail:
5328 {
5329 if (temp2)
5330 delete arg2;
5331 }
5332 return NULL;
5333 }
5334
5335
5336 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5339 int arg2 ;
5340 PyObject * obj0 = 0 ;
5341 PyObject * obj1 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "self",(char *) "separatorCharacter", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
5349 {
5350 arg2 = (int)(SWIG_As_int(obj1));
5351 if (SWIG_arg_fail(2)) SWIG_fail;
5352 }
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 (arg1)->AutoCompSetSeparator(arg2);
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 Py_INCREF(Py_None); resultobj = Py_None;
5361 return resultobj;
5362 fail:
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5370 int result;
5371 PyObject * obj0 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 result = (int)(arg1)->AutoCompGetSeparator();
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 {
5387 resultobj = SWIG_From_int((int)(result));
5388 }
5389 return resultobj;
5390 fail:
5391 return NULL;
5392 }
5393
5394
5395 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5398 wxString *arg2 = 0 ;
5399 bool temp2 = false ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self",(char *) "text", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail;
5409 {
5410 arg2 = wxString_in_helper(obj1);
5411 if (arg2 == NULL) SWIG_fail;
5412 temp2 = true;
5413 }
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 (arg1)->AutoCompSelect((wxString const &)*arg2);
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 Py_INCREF(Py_None); resultobj = Py_None;
5422 {
5423 if (temp2)
5424 delete arg2;
5425 }
5426 return resultobj;
5427 fail:
5428 {
5429 if (temp2)
5430 delete arg2;
5431 }
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5439 bool arg2 ;
5440 PyObject * obj0 = 0 ;
5441 PyObject * obj1 = 0 ;
5442 char *kwnames[] = {
5443 (char *) "self",(char *) "cancel", NULL
5444 };
5445
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5448 if (SWIG_arg_fail(1)) SWIG_fail;
5449 {
5450 arg2 = (bool)(SWIG_As_bool(obj1));
5451 if (SWIG_arg_fail(2)) SWIG_fail;
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->AutoCompSetCancelAtStart(arg2);
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 Py_INCREF(Py_None); resultobj = Py_None;
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5470 bool result;
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(1)) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (bool)(arg1)->AutoCompGetCancelAtStart();
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5498 wxString *arg2 = 0 ;
5499 bool temp2 = false ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "characterSet", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5508 if (SWIG_arg_fail(1)) SWIG_fail;
5509 {
5510 arg2 = wxString_in_helper(obj1);
5511 if (arg2 == NULL) SWIG_fail;
5512 temp2 = true;
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
5522 {
5523 if (temp2)
5524 delete arg2;
5525 }
5526 return resultobj;
5527 fail:
5528 {
5529 if (temp2)
5530 delete arg2;
5531 }
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5539 bool arg2 ;
5540 PyObject * obj0 = 0 ;
5541 PyObject * obj1 = 0 ;
5542 char *kwnames[] = {
5543 (char *) "self",(char *) "chooseSingle", NULL
5544 };
5545
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5548 if (SWIG_arg_fail(1)) SWIG_fail;
5549 {
5550 arg2 = (bool)(SWIG_As_bool(obj1));
5551 if (SWIG_arg_fail(2)) SWIG_fail;
5552 }
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 (arg1)->AutoCompSetChooseSingle(arg2);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 Py_INCREF(Py_None); resultobj = Py_None;
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj;
5569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5570 bool result;
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail;
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = (bool)(arg1)->AutoCompGetChooseSingle();
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 {
5587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5588 }
5589 return resultobj;
5590 fail:
5591 return NULL;
5592 }
5593
5594
5595 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5596 PyObject *resultobj;
5597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5598 bool arg2 ;
5599 PyObject * obj0 = 0 ;
5600 PyObject * obj1 = 0 ;
5601 char *kwnames[] = {
5602 (char *) "self",(char *) "ignoreCase", NULL
5603 };
5604
5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail;
5608 {
5609 arg2 = (bool)(SWIG_As_bool(obj1));
5610 if (SWIG_arg_fail(2)) SWIG_fail;
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->AutoCompSetIgnoreCase(arg2);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 return resultobj;
5621 fail:
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5629 bool result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5637 if (SWIG_arg_fail(1)) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (bool)(arg1)->AutoCompGetIgnoreCase();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5647 }
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5657 int arg2 ;
5658 wxString *arg3 = 0 ;
5659 bool temp3 = false ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 PyObject * obj2 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "listType",(char *) "itemList", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail;
5670 {
5671 arg2 = (int)(SWIG_As_int(obj1));
5672 if (SWIG_arg_fail(2)) SWIG_fail;
5673 }
5674 {
5675 arg3 = wxString_in_helper(obj2);
5676 if (arg3 == NULL) SWIG_fail;
5677 temp3 = true;
5678 }
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 Py_INCREF(Py_None); resultobj = Py_None;
5687 {
5688 if (temp3)
5689 delete arg3;
5690 }
5691 return resultobj;
5692 fail:
5693 {
5694 if (temp3)
5695 delete arg3;
5696 }
5697 return NULL;
5698 }
5699
5700
5701 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj;
5703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5704 bool arg2 ;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "autoHide", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail;
5714 {
5715 arg2 = (bool)(SWIG_As_bool(obj1));
5716 if (SWIG_arg_fail(2)) SWIG_fail;
5717 }
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 (arg1)->AutoCompSetAutoHide(arg2);
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 Py_INCREF(Py_None); resultobj = Py_None;
5726 return resultobj;
5727 fail:
5728 return NULL;
5729 }
5730
5731
5732 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj;
5734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5735 bool result;
5736 PyObject * obj0 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5743 if (SWIG_arg_fail(1)) SWIG_fail;
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)(arg1)->AutoCompGetAutoHide();
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 }
5754 return resultobj;
5755 fail:
5756 return NULL;
5757 }
5758
5759
5760 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj;
5762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5763 bool arg2 ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char *kwnames[] = {
5767 (char *) "self",(char *) "dropRestOfWord", NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(1)) SWIG_fail;
5773 {
5774 arg2 = (bool)(SWIG_As_bool(obj1));
5775 if (SWIG_arg_fail(2)) SWIG_fail;
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 (arg1)->AutoCompSetDropRestOfWord(arg2);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 Py_INCREF(Py_None); resultobj = Py_None;
5785 return resultobj;
5786 fail:
5787 return NULL;
5788 }
5789
5790
5791 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5792 PyObject *resultobj;
5793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5794 bool result;
5795 PyObject * obj0 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 {
5811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5812 }
5813 return resultobj;
5814 fail:
5815 return NULL;
5816 }
5817
5818
5819 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5822 int arg2 ;
5823 wxBitmap *arg3 = 0 ;
5824 PyObject * obj0 = 0 ;
5825 PyObject * obj1 = 0 ;
5826 PyObject * obj2 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self",(char *) "type",(char *) "bmp", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail;
5834 {
5835 arg2 = (int)(SWIG_As_int(obj1));
5836 if (SWIG_arg_fail(2)) SWIG_fail;
5837 }
5838 {
5839 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5840 if (SWIG_arg_fail(3)) SWIG_fail;
5841 if (arg3 == NULL) {
5842 SWIG_null_ref("wxBitmap");
5843 }
5844 if (SWIG_arg_fail(3)) SWIG_fail;
5845 }
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
5869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5870 if (SWIG_arg_fail(1)) SWIG_fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 (arg1)->ClearRegisteredImages();
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 Py_INCREF(Py_None); resultobj = Py_None;
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5888 int result;
5889 PyObject * obj0 = 0 ;
5890 char *kwnames[] = {
5891 (char *) "self", NULL
5892 };
5893
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
5895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail;
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (int)(arg1)->AutoCompGetTypeSeparator();
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 {
5905 resultobj = SWIG_From_int((int)(result));
5906 }
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5916 int arg2 ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self",(char *) "separatorCharacter", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
5924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5925 if (SWIG_arg_fail(1)) SWIG_fail;
5926 {
5927 arg2 = (int)(SWIG_As_int(obj1));
5928 if (SWIG_arg_fail(2)) SWIG_fail;
5929 }
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 (arg1)->AutoCompSetTypeSeparator(arg2);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 Py_INCREF(Py_None); resultobj = Py_None;
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5947 int arg2 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self",(char *) "indentSize", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
5955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5956 if (SWIG_arg_fail(1)) SWIG_fail;
5957 {
5958 arg2 = (int)(SWIG_As_int(obj1));
5959 if (SWIG_arg_fail(2)) SWIG_fail;
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->SetIndent(arg2);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 Py_INCREF(Py_None); resultobj = Py_None;
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5978 int result;
5979 PyObject * obj0 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
5985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5986 if (SWIG_arg_fail(1)) SWIG_fail;
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (int)(arg1)->GetIndent();
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 resultobj = SWIG_From_int((int)(result));
5996 }
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6006 bool arg2 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self",(char *) "useTabs", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6015 if (SWIG_arg_fail(1)) SWIG_fail;
6016 {
6017 arg2 = (bool)(SWIG_As_bool(obj1));
6018 if (SWIG_arg_fail(2)) SWIG_fail;
6019 }
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 (arg1)->SetUseTabs(arg2);
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 Py_INCREF(Py_None); resultobj = Py_None;
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6037 bool result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail;
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (bool)(arg1)->GetUseTabs();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6055 }
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6065 int arg2 ;
6066 int arg3 ;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 PyObject * obj2 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self",(char *) "line",(char *) "indentSize", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail;
6077 {
6078 arg2 = (int)(SWIG_As_int(obj1));
6079 if (SWIG_arg_fail(2)) SWIG_fail;
6080 }
6081 {
6082 arg3 = (int)(SWIG_As_int(obj2));
6083 if (SWIG_arg_fail(3)) SWIG_fail;
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 (arg1)->SetLineIndentation(arg2,arg3);
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 Py_INCREF(Py_None); resultobj = Py_None;
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6102 int arg2 ;
6103 int result;
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "line", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail;
6113 {
6114 arg2 = (int)(SWIG_As_int(obj1));
6115 if (SWIG_arg_fail(2)) SWIG_fail;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (int)(arg1)->GetLineIndentation(arg2);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 {
6125 resultobj = SWIG_From_int((int)(result));
6126 }
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6136 int arg2 ;
6137 int result;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "line", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6146 if (SWIG_arg_fail(1)) SWIG_fail;
6147 {
6148 arg2 = (int)(SWIG_As_int(obj1));
6149 if (SWIG_arg_fail(2)) SWIG_fail;
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (int)(arg1)->GetLineIndentPosition(arg2);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 {
6159 resultobj = SWIG_From_int((int)(result));
6160 }
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6170 int arg2 ;
6171 int result;
6172 PyObject * obj0 = 0 ;
6173 PyObject * obj1 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self",(char *) "pos", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
6181 {
6182 arg2 = (int)(SWIG_As_int(obj1));
6183 if (SWIG_arg_fail(2)) SWIG_fail;
6184 }
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (int)(arg1)->GetColumn(arg2);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 {
6193 resultobj = SWIG_From_int((int)(result));
6194 }
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6204 bool arg2 ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self",(char *) "show", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6213 if (SWIG_arg_fail(1)) SWIG_fail;
6214 {
6215 arg2 = (bool)(SWIG_As_bool(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 (arg1)->SetUseHorizontalScrollBar(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6235 bool result;
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (bool)(arg1)->GetUseHorizontalScrollBar();
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 {
6252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6253 }
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6263 bool arg2 ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self",(char *) "show", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail;
6273 {
6274 arg2 = (bool)(SWIG_As_bool(obj1));
6275 if (SWIG_arg_fail(2)) SWIG_fail;
6276 }
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 (arg1)->SetIndentationGuides(arg2);
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 Py_INCREF(Py_None); resultobj = Py_None;
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6294 bool result;
6295 PyObject * obj0 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail;
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (bool)(arg1)->GetIndentationGuides();
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 {
6311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6312 }
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6322 int arg2 ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "column", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6331 if (SWIG_arg_fail(1)) SWIG_fail;
6332 {
6333 arg2 = (int)(SWIG_As_int(obj1));
6334 if (SWIG_arg_fail(2)) SWIG_fail;
6335 }
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 (arg1)->SetHighlightGuide(arg2);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 Py_INCREF(Py_None); resultobj = Py_None;
6344 return resultobj;
6345 fail:
6346 return NULL;
6347 }
6348
6349
6350 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6351 PyObject *resultobj;
6352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6353 int result;
6354 PyObject * obj0 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6361 if (SWIG_arg_fail(1)) SWIG_fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (int)(arg1)->GetHighlightGuide();
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 resultobj = SWIG_From_int((int)(result));
6371 }
6372 return resultobj;
6373 fail:
6374 return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj;
6380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6381 int arg2 ;
6382 int result;
6383 PyObject * obj0 = 0 ;
6384 PyObject * obj1 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self",(char *) "line", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 {
6393 arg2 = (int)(SWIG_As_int(obj1));
6394 if (SWIG_arg_fail(2)) SWIG_fail;
6395 }
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (int)(arg1)->GetLineEndPosition(arg2);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 resultobj = SWIG_From_int((int)(result));
6405 }
6406 return resultobj;
6407 fail:
6408 return NULL;
6409 }
6410
6411
6412 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj;
6414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6415 int result;
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "self", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (int)(arg1)->GetCodePage();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 {
6432 resultobj = SWIG_From_int((int)(result));
6433 }
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6443 wxColour result;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6451 if (SWIG_arg_fail(1)) SWIG_fail;
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 result = (arg1)->GetCaretForeground();
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 {
6460 wxColour * resultptr;
6461 resultptr = new wxColour((wxColour &)(result));
6462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6463 }
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6473 bool result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail;
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (bool)(arg1)->GetReadOnly();
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 {
6490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6491 }
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6501 int arg2 ;
6502 PyObject * obj0 = 0 ;
6503 PyObject * obj1 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self",(char *) "pos", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail;
6511 {
6512 arg2 = (int)(SWIG_As_int(obj1));
6513 if (SWIG_arg_fail(2)) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->SetCurrentPos(arg2);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6532 int arg2 ;
6533 PyObject * obj0 = 0 ;
6534 PyObject * obj1 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self",(char *) "pos", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
6542 {
6543 arg2 = (int)(SWIG_As_int(obj1));
6544 if (SWIG_arg_fail(2)) SWIG_fail;
6545 }
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 (arg1)->SetSelectionStart(arg2);
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 Py_INCREF(Py_None); resultobj = Py_None;
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6563 int result;
6564 PyObject * obj0 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "self", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(1)) SWIG_fail;
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 result = (int)(arg1)->GetSelectionStart();
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 {
6580 resultobj = SWIG_From_int((int)(result));
6581 }
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6591 int arg2 ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 char *kwnames[] = {
6595 (char *) "self",(char *) "pos", NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail;
6601 {
6602 arg2 = (int)(SWIG_As_int(obj1));
6603 if (SWIG_arg_fail(2)) SWIG_fail;
6604 }
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 (arg1)->SetSelectionEnd(arg2);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 Py_INCREF(Py_None); resultobj = Py_None;
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6622 int result;
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (int)(arg1)->GetSelectionEnd();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
6639 resultobj = SWIG_From_int((int)(result));
6640 }
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6650 int arg2 ;
6651 PyObject * obj0 = 0 ;
6652 PyObject * obj1 = 0 ;
6653 char *kwnames[] = {
6654 (char *) "self",(char *) "magnification", NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail;
6660 {
6661 arg2 = (int)(SWIG_As_int(obj1));
6662 if (SWIG_arg_fail(2)) SWIG_fail;
6663 }
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->SetPrintMagnification(arg2);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 Py_INCREF(Py_None); resultobj = Py_None;
6672 return resultobj;
6673 fail:
6674 return NULL;
6675 }
6676
6677
6678 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6681 int result;
6682 PyObject * obj0 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6689 if (SWIG_arg_fail(1)) SWIG_fail;
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (int)(arg1)->GetPrintMagnification();
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698 resultobj = SWIG_From_int((int)(result));
6699 }
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6709 int arg2 ;
6710 PyObject * obj0 = 0 ;
6711 PyObject * obj1 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self",(char *) "mode", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail;
6719 {
6720 arg2 = (int)(SWIG_As_int(obj1));
6721 if (SWIG_arg_fail(2)) SWIG_fail;
6722 }
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 (arg1)->SetPrintColourMode(arg2);
6726
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 Py_INCREF(Py_None); resultobj = Py_None;
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj;
6739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6740 int result;
6741 PyObject * obj0 = 0 ;
6742 char *kwnames[] = {
6743 (char *) "self", NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6748 if (SWIG_arg_fail(1)) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (int)(arg1)->GetPrintColourMode();
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 {
6757 resultobj = SWIG_From_int((int)(result));
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6768 int arg2 ;
6769 int arg3 ;
6770 wxString *arg4 = 0 ;
6771 int arg5 = (int) 0 ;
6772 int result;
6773 bool temp4 = false ;
6774 PyObject * obj0 = 0 ;
6775 PyObject * obj1 = 0 ;
6776 PyObject * obj2 = 0 ;
6777 PyObject * obj3 = 0 ;
6778 PyObject * obj4 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6785 if (SWIG_arg_fail(1)) SWIG_fail;
6786 {
6787 arg2 = (int)(SWIG_As_int(obj1));
6788 if (SWIG_arg_fail(2)) SWIG_fail;
6789 }
6790 {
6791 arg3 = (int)(SWIG_As_int(obj2));
6792 if (SWIG_arg_fail(3)) SWIG_fail;
6793 }
6794 {
6795 arg4 = wxString_in_helper(obj3);
6796 if (arg4 == NULL) SWIG_fail;
6797 temp4 = true;
6798 }
6799 if (obj4) {
6800 {
6801 arg5 = (int)(SWIG_As_int(obj4));
6802 if (SWIG_arg_fail(5)) SWIG_fail;
6803 }
6804 }
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 {
6813 resultobj = SWIG_From_int((int)(result));
6814 }
6815 {
6816 if (temp4)
6817 delete arg4;
6818 }
6819 return resultobj;
6820 fail:
6821 {
6822 if (temp4)
6823 delete arg4;
6824 }
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6832 bool arg2 ;
6833 int arg3 ;
6834 int arg4 ;
6835 wxDC *arg5 = (wxDC *) 0 ;
6836 wxDC *arg6 = (wxDC *) 0 ;
6837 wxRect arg7 ;
6838 wxRect arg8 ;
6839 int result;
6840 PyObject * obj0 = 0 ;
6841 PyObject * obj1 = 0 ;
6842 PyObject * obj2 = 0 ;
6843 PyObject * obj3 = 0 ;
6844 PyObject * obj4 = 0 ;
6845 PyObject * obj5 = 0 ;
6846 PyObject * obj6 = 0 ;
6847 PyObject * obj7 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail;
6855 {
6856 arg2 = (bool)(SWIG_As_bool(obj1));
6857 if (SWIG_arg_fail(2)) SWIG_fail;
6858 }
6859 {
6860 arg3 = (int)(SWIG_As_int(obj2));
6861 if (SWIG_arg_fail(3)) SWIG_fail;
6862 }
6863 {
6864 arg4 = (int)(SWIG_As_int(obj3));
6865 if (SWIG_arg_fail(4)) SWIG_fail;
6866 }
6867 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6868 if (SWIG_arg_fail(5)) SWIG_fail;
6869 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6870 if (SWIG_arg_fail(6)) SWIG_fail;
6871 {
6872 wxRect * argp;
6873 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6874 if (SWIG_arg_fail(7)) SWIG_fail;
6875 if (argp == NULL) {
6876 SWIG_null_ref("wxRect");
6877 }
6878 if (SWIG_arg_fail(7)) SWIG_fail;
6879 arg7 = *argp;
6880 }
6881 {
6882 wxRect * argp;
6883 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6884 if (SWIG_arg_fail(8)) SWIG_fail;
6885 if (argp == NULL) {
6886 SWIG_null_ref("wxRect");
6887 }
6888 if (SWIG_arg_fail(8)) SWIG_fail;
6889 arg8 = *argp;
6890 }
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 {
6899 resultobj = SWIG_From_int((int)(result));
6900 }
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6910 int result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (int)(arg1)->GetFirstVisibleLine();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 {
6927 resultobj = SWIG_From_int((int)(result));
6928 }
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6938 int arg2 ;
6939 wxString result;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self",(char *) "line", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
6947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6948 if (SWIG_arg_fail(1)) SWIG_fail;
6949 {
6950 arg2 = (int)(SWIG_As_int(obj1));
6951 if (SWIG_arg_fail(2)) SWIG_fail;
6952 }
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 result = (arg1)->GetLine(arg2);
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 {
6961 #if wxUSE_UNICODE
6962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6963 #else
6964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6965 #endif
6966 }
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6976 int result;
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
6983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6984 if (SWIG_arg_fail(1)) SWIG_fail;
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (int)(arg1)->GetLineCount();
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 {
6993 resultobj = SWIG_From_int((int)(result));
6994 }
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj;
7003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7004 int arg2 ;
7005 PyObject * obj0 = 0 ;
7006 PyObject * obj1 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "self",(char *) "pixelWidth", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7013 if (SWIG_arg_fail(1)) SWIG_fail;
7014 {
7015 arg2 = (int)(SWIG_As_int(obj1));
7016 if (SWIG_arg_fail(2)) SWIG_fail;
7017 }
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 (arg1)->SetMarginLeft(arg2);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 Py_INCREF(Py_None); resultobj = Py_None;
7026 return resultobj;
7027 fail:
7028 return NULL;
7029 }
7030
7031
7032 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7035 int result;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (int)(arg1)->GetMarginLeft();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052 resultobj = SWIG_From_int((int)(result));
7053 }
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7063 int arg2 ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "pixelWidth", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7072 if (SWIG_arg_fail(1)) SWIG_fail;
7073 {
7074 arg2 = (int)(SWIG_As_int(obj1));
7075 if (SWIG_arg_fail(2)) SWIG_fail;
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->SetMarginRight(arg2);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7094 int result;
7095 PyObject * obj0 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7102 if (SWIG_arg_fail(1)) SWIG_fail;
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (int)(arg1)->GetMarginRight();
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 {
7111 resultobj = SWIG_From_int((int)(result));
7112 }
7113 return resultobj;
7114 fail:
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7122 bool result;
7123 PyObject * obj0 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail;
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (bool)(arg1)->GetModify();
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 {
7139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7140 }
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7150 int arg2 ;
7151 int arg3 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 PyObject * obj2 = 0 ;
7155 char *kwnames[] = {
7156 (char *) "self",(char *) "start",(char *) "end", NULL
7157 };
7158
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail;
7162 {
7163 arg2 = (int)(SWIG_As_int(obj1));
7164 if (SWIG_arg_fail(2)) SWIG_fail;
7165 }
7166 {
7167 arg3 = (int)(SWIG_As_int(obj2));
7168 if (SWIG_arg_fail(3)) SWIG_fail;
7169 }
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 (arg1)->SetSelection(arg2,arg3);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181 }
7182
7183
7184 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7187 wxString result;
7188 PyObject * obj0 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7195 if (SWIG_arg_fail(1)) SWIG_fail;
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (arg1)->GetSelectedText();
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 {
7204 #if wxUSE_UNICODE
7205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7206 #else
7207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7208 #endif
7209 }
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7219 int arg2 ;
7220 int arg3 ;
7221 wxString result;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail;
7232 {
7233 arg2 = (int)(SWIG_As_int(obj1));
7234 if (SWIG_arg_fail(2)) SWIG_fail;
7235 }
7236 {
7237 arg3 = (int)(SWIG_As_int(obj2));
7238 if (SWIG_arg_fail(3)) SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (arg1)->GetTextRange(arg2,arg3);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 {
7248 #if wxUSE_UNICODE
7249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7250 #else
7251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7252 #endif
7253 }
7254 return resultobj;
7255 fail:
7256 return NULL;
7257 }
7258
7259
7260 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7263 bool arg2 ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "normal", NULL
7268 };
7269
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
7273 {
7274 arg2 = (bool)(SWIG_As_bool(obj1));
7275 if (SWIG_arg_fail(2)) SWIG_fail;
7276 }
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 (arg1)->HideSelection(arg2);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 Py_INCREF(Py_None); resultobj = Py_None;
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7294 int arg2 ;
7295 int result;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self",(char *) "pos", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7304 if (SWIG_arg_fail(1)) SWIG_fail;
7305 {
7306 arg2 = (int)(SWIG_As_int(obj1));
7307 if (SWIG_arg_fail(2)) SWIG_fail;
7308 }
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (int)(arg1)->LineFromPosition(arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 {
7317 resultobj = SWIG_From_int((int)(result));
7318 }
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7328 int arg2 ;
7329 int result;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "line", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7338 if (SWIG_arg_fail(1)) SWIG_fail;
7339 {
7340 arg2 = (int)(SWIG_As_int(obj1));
7341 if (SWIG_arg_fail(2)) SWIG_fail;
7342 }
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 result = (int)(arg1)->PositionFromLine(arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 {
7351 resultobj = SWIG_From_int((int)(result));
7352 }
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7362 int arg2 ;
7363 int arg3 ;
7364 PyObject * obj0 = 0 ;
7365 PyObject * obj1 = 0 ;
7366 PyObject * obj2 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self",(char *) "columns",(char *) "lines", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
7372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7373 if (SWIG_arg_fail(1)) SWIG_fail;
7374 {
7375 arg2 = (int)(SWIG_As_int(obj1));
7376 if (SWIG_arg_fail(2)) SWIG_fail;
7377 }
7378 {
7379 arg3 = (int)(SWIG_As_int(obj2));
7380 if (SWIG_arg_fail(3)) SWIG_fail;
7381 }
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 (arg1)->LineScroll(arg2,arg3);
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 Py_INCREF(Py_None); resultobj = Py_None;
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->EnsureCaretVisible();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7424 wxString *arg2 = 0 ;
7425 bool temp2 = false ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 char *kwnames[] = {
7429 (char *) "self",(char *) "text", NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail;
7435 {
7436 arg2 = wxString_in_helper(obj1);
7437 if (arg2 == NULL) SWIG_fail;
7438 temp2 = true;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->ReplaceSelection((wxString const &)*arg2);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7465 bool arg2 ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "readOnly", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail;
7475 {
7476 arg2 = (bool)(SWIG_As_bool(obj1));
7477 if (SWIG_arg_fail(2)) SWIG_fail;
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 (arg1)->SetReadOnly(arg2);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7496 bool result;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (bool)(arg1)->CanPaste();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7524 bool result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (bool)(arg1)->CanUndo();
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7542 }
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7559 if (SWIG_arg_fail(1)) SWIG_fail;
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 (arg1)->EmptyUndoBuffer();
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 Py_INCREF(Py_None); resultobj = Py_None;
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 (arg1)->Undo();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 Py_INCREF(Py_None); resultobj = Py_None;
7593 return resultobj;
7594 fail:
7595 return NULL;
7596 }
7597
7598
7599 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 (arg1)->Cut();
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 Py_INCREF(Py_None); resultobj = Py_None;
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7627 PyObject * obj0 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail;
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 (arg1)->Copy();
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 Py_INCREF(Py_None); resultobj = Py_None;
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->Paste();
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7684 if (SWIG_arg_fail(1)) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 (arg1)->Clear();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 Py_INCREF(Py_None); resultobj = Py_None;
7693 return resultobj;
7694 fail:
7695 return NULL;
7696 }
7697
7698
7699 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7702 wxString *arg2 = 0 ;
7703 bool temp2 = false ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self",(char *) "text", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7712 if (SWIG_arg_fail(1)) SWIG_fail;
7713 {
7714 arg2 = wxString_in_helper(obj1);
7715 if (arg2 == NULL) SWIG_fail;
7716 temp2 = true;
7717 }
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->SetText((wxString const &)*arg2);
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 {
7727 if (temp2)
7728 delete arg2;
7729 }
7730 return resultobj;
7731 fail:
7732 {
7733 if (temp2)
7734 delete arg2;
7735 }
7736 return NULL;
7737 }
7738
7739
7740 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj;
7742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7743 wxString result;
7744 PyObject * obj0 = 0 ;
7745 char *kwnames[] = {
7746 (char *) "self", NULL
7747 };
7748
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7751 if (SWIG_arg_fail(1)) SWIG_fail;
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 result = (arg1)->GetText();
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 {
7760 #if wxUSE_UNICODE
7761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7762 #else
7763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7764 #endif
7765 }
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7775 int result;
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (int)(arg1)->GetTextLength();
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 {
7792 resultobj = SWIG_From_int((int)(result));
7793 }
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7803 bool arg2 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "overtype", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
7813 {
7814 arg2 = (bool)(SWIG_As_bool(obj1));
7815 if (SWIG_arg_fail(2)) SWIG_fail;
7816 }
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 (arg1)->SetOvertype(arg2);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 Py_INCREF(Py_None); resultobj = Py_None;
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj;
7833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7834 bool result;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
7841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (bool)(arg1)->GetOvertype();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 {
7851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7852 }
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7862 int arg2 ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "pixelWidth", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
7870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail;
7872 {
7873 arg2 = (int)(SWIG_As_int(obj1));
7874 if (SWIG_arg_fail(2)) SWIG_fail;
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 (arg1)->SetCaretWidth(arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7893 int result;
7894 PyObject * obj0 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
7900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail;
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 result = (int)(arg1)->GetCaretWidth();
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 {
7910 resultobj = SWIG_From_int((int)(result));
7911 }
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7921 int arg2 ;
7922 PyObject * obj0 = 0 ;
7923 PyObject * obj1 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self",(char *) "pos", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
7929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail;
7931 {
7932 arg2 = (int)(SWIG_As_int(obj1));
7933 if (SWIG_arg_fail(2)) SWIG_fail;
7934 }
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SetTargetStart(arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7952 int result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
7959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (int)(arg1)->GetTargetStart();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 resultobj = SWIG_From_int((int)(result));
7970 }
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7980 int arg2 ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "pos", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
7990 {
7991 arg2 = (int)(SWIG_As_int(obj1));
7992 if (SWIG_arg_fail(2)) SWIG_fail;
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 (arg1)->SetTargetEnd(arg2);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 Py_INCREF(Py_None); resultobj = Py_None;
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8011 int result;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (int)(arg1)->GetTargetEnd();
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 {
8028 resultobj = SWIG_From_int((int)(result));
8029 }
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8039 wxString *arg2 = 0 ;
8040 int result;
8041 bool temp2 = false ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "text", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 {
8052 arg2 = wxString_in_helper(obj1);
8053 if (arg2 == NULL) SWIG_fail;
8054 temp2 = true;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 {
8064 resultobj = SWIG_From_int((int)(result));
8065 }
8066 {
8067 if (temp2)
8068 delete arg2;
8069 }
8070 return resultobj;
8071 fail:
8072 {
8073 if (temp2)
8074 delete arg2;
8075 }
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8083 wxString *arg2 = 0 ;
8084 int result;
8085 bool temp2 = false ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self",(char *) "text", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail;
8095 {
8096 arg2 = wxString_in_helper(obj1);
8097 if (arg2 == NULL) SWIG_fail;
8098 temp2 = true;
8099 }
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 resultobj = SWIG_From_int((int)(result));
8109 }
8110 {
8111 if (temp2)
8112 delete arg2;
8113 }
8114 return resultobj;
8115 fail:
8116 {
8117 if (temp2)
8118 delete arg2;
8119 }
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8127 wxString *arg2 = 0 ;
8128 int result;
8129 bool temp2 = false ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "text", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
8140 arg2 = wxString_in_helper(obj1);
8141 if (arg2 == NULL) SWIG_fail;
8142 temp2 = true;
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 {
8152 resultobj = SWIG_From_int((int)(result));
8153 }
8154 {
8155 if (temp2)
8156 delete arg2;
8157 }
8158 return resultobj;
8159 fail:
8160 {
8161 if (temp2)
8162 delete arg2;
8163 }
8164 return NULL;
8165 }
8166
8167
8168 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8171 int arg2 ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "flags", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail;
8181 {
8182 arg2 = (int)(SWIG_As_int(obj1));
8183 if (SWIG_arg_fail(2)) SWIG_fail;
8184 }
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 (arg1)->SetSearchFlags(arg2);
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 Py_INCREF(Py_None); resultobj = Py_None;
8193 return resultobj;
8194 fail:
8195 return NULL;
8196 }
8197
8198
8199 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8202 int result;
8203 PyObject * obj0 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 result = (int)(arg1)->GetSearchFlags();
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 {
8219 resultobj = SWIG_From_int((int)(result));
8220 }
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj;
8229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8230 int arg2 ;
8231 wxString *arg3 = 0 ;
8232 bool temp3 = false ;
8233 PyObject * obj0 = 0 ;
8234 PyObject * obj1 = 0 ;
8235 PyObject * obj2 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self",(char *) "pos",(char *) "definition", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail;
8243 {
8244 arg2 = (int)(SWIG_As_int(obj1));
8245 if (SWIG_arg_fail(2)) SWIG_fail;
8246 }
8247 {
8248 arg3 = wxString_in_helper(obj2);
8249 if (arg3 == NULL) SWIG_fail;
8250 temp3 = true;
8251 }
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 Py_INCREF(Py_None); resultobj = Py_None;
8260 {
8261 if (temp3)
8262 delete arg3;
8263 }
8264 return resultobj;
8265 fail:
8266 {
8267 if (temp3)
8268 delete arg3;
8269 }
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8277 PyObject * obj0 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "self", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8284 if (SWIG_arg_fail(1)) SWIG_fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->CallTipCancel();
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8302 bool result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 result = (bool)(arg1)->CallTipActive();
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 {
8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8320 }
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8330 int result;
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail;
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (int)(arg1)->CallTipPosAtStart();
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 {
8347 resultobj = SWIG_From_int((int)(result));
8348 }
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8358 int arg2 ;
8359 int arg3 ;
8360 PyObject * obj0 = 0 ;
8361 PyObject * obj1 = 0 ;
8362 PyObject * obj2 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "self",(char *) "start",(char *) "end", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail;
8370 {
8371 arg2 = (int)(SWIG_As_int(obj1));
8372 if (SWIG_arg_fail(2)) SWIG_fail;
8373 }
8374 {
8375 arg3 = (int)(SWIG_As_int(obj2));
8376 if (SWIG_arg_fail(3)) SWIG_fail;
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 (arg1)->CallTipSetHighlight(arg2,arg3);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 Py_INCREF(Py_None); resultobj = Py_None;
8386 return resultobj;
8387 fail:
8388 return NULL;
8389 }
8390
8391
8392 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8395 wxColour *arg2 = 0 ;
8396 wxColour temp2 ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self",(char *) "back", NULL
8401 };
8402
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8405 if (SWIG_arg_fail(1)) SWIG_fail;
8406 {
8407 arg2 = &temp2;
8408 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8427 wxColour *arg2 = 0 ;
8428 wxColour temp2 ;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "fore", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail;
8438 {
8439 arg2 = &temp2;
8440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8459 wxColour *arg2 = 0 ;
8460 wxColour temp2 ;
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self",(char *) "fore", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
8470 {
8471 arg2 = &temp2;
8472 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8473 }
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 Py_INCREF(Py_None); resultobj = Py_None;
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8491 int arg2 ;
8492 int result;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self",(char *) "line", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail;
8502 {
8503 arg2 = (int)(SWIG_As_int(obj1));
8504 if (SWIG_arg_fail(2)) SWIG_fail;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)(arg1)->VisibleFromDocLine(arg2);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514 resultobj = SWIG_From_int((int)(result));
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8525 int arg2 ;
8526 int result;
8527 PyObject * obj0 = 0 ;
8528 PyObject * obj1 = 0 ;
8529 char *kwnames[] = {
8530 (char *) "self",(char *) "lineDisplay", NULL
8531 };
8532
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8535 if (SWIG_arg_fail(1)) SWIG_fail;
8536 {
8537 arg2 = (int)(SWIG_As_int(obj1));
8538 if (SWIG_arg_fail(2)) SWIG_fail;
8539 }
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 result = (int)(arg1)->DocLineFromVisible(arg2);
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 {
8548 resultobj = SWIG_From_int((int)(result));
8549 }
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8559 int arg2 ;
8560 int arg3 ;
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 PyObject * obj2 = 0 ;
8564 char *kwnames[] = {
8565 (char *) "self",(char *) "line",(char *) "level", NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8570 if (SWIG_arg_fail(1)) SWIG_fail;
8571 {
8572 arg2 = (int)(SWIG_As_int(obj1));
8573 if (SWIG_arg_fail(2)) SWIG_fail;
8574 }
8575 {
8576 arg3 = (int)(SWIG_As_int(obj2));
8577 if (SWIG_arg_fail(3)) SWIG_fail;
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->SetFoldLevel(arg2,arg3);
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 Py_INCREF(Py_None); resultobj = Py_None;
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj;
8595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8596 int arg2 ;
8597 int result;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "line", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8606 if (SWIG_arg_fail(1)) SWIG_fail;
8607 {
8608 arg2 = (int)(SWIG_As_int(obj1));
8609 if (SWIG_arg_fail(2)) SWIG_fail;
8610 }
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (int)(arg1)->GetFoldLevel(arg2);
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 {
8619 resultobj = SWIG_From_int((int)(result));
8620 }
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8630 int arg2 ;
8631 int arg3 ;
8632 int result;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 PyObject * obj2 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self",(char *) "line",(char *) "level", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail;
8643 {
8644 arg2 = (int)(SWIG_As_int(obj1));
8645 if (SWIG_arg_fail(2)) SWIG_fail;
8646 }
8647 {
8648 arg3 = (int)(SWIG_As_int(obj2));
8649 if (SWIG_arg_fail(3)) SWIG_fail;
8650 }
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (int)(arg1)->GetLastChild(arg2,arg3);
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 {
8659 resultobj = SWIG_From_int((int)(result));
8660 }
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj;
8669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8670 int arg2 ;
8671 int result;
8672 PyObject * obj0 = 0 ;
8673 PyObject * obj1 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self",(char *) "line", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail;
8681 {
8682 arg2 = (int)(SWIG_As_int(obj1));
8683 if (SWIG_arg_fail(2)) SWIG_fail;
8684 }
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (int)(arg1)->GetFoldParent(arg2);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 {
8693 resultobj = SWIG_From_int((int)(result));
8694 }
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8704 int arg2 ;
8705 int arg3 ;
8706 PyObject * obj0 = 0 ;
8707 PyObject * obj1 = 0 ;
8708 PyObject * obj2 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 arg2 = (int)(SWIG_As_int(obj1));
8718 if (SWIG_arg_fail(2)) SWIG_fail;
8719 }
8720 {
8721 arg3 = (int)(SWIG_As_int(obj2));
8722 if (SWIG_arg_fail(3)) SWIG_fail;
8723 }
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 (arg1)->ShowLines(arg2,arg3);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 Py_INCREF(Py_None); resultobj = Py_None;
8732 return resultobj;
8733 fail:
8734 return NULL;
8735 }
8736
8737
8738 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj;
8740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8741 int arg2 ;
8742 int arg3 ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 PyObject * obj2 = 0 ;
8746 char *kwnames[] = {
8747 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8748 };
8749
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail;
8753 {
8754 arg2 = (int)(SWIG_As_int(obj1));
8755 if (SWIG_arg_fail(2)) SWIG_fail;
8756 }
8757 {
8758 arg3 = (int)(SWIG_As_int(obj2));
8759 if (SWIG_arg_fail(3)) SWIG_fail;
8760 }
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 (arg1)->HideLines(arg2,arg3);
8764
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 Py_INCREF(Py_None); resultobj = Py_None;
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj;
8777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8778 int arg2 ;
8779 bool result;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self",(char *) "line", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail;
8789 {
8790 arg2 = (int)(SWIG_As_int(obj1));
8791 if (SWIG_arg_fail(2)) SWIG_fail;
8792 }
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)(arg1)->GetLineVisible(arg2);
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 {
8801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8802 }
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8812 int arg2 ;
8813 bool arg3 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 PyObject * obj2 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self",(char *) "line",(char *) "expanded", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8823 if (SWIG_arg_fail(1)) SWIG_fail;
8824 {
8825 arg2 = (int)(SWIG_As_int(obj1));
8826 if (SWIG_arg_fail(2)) SWIG_fail;
8827 }
8828 {
8829 arg3 = (bool)(SWIG_As_bool(obj2));
8830 if (SWIG_arg_fail(3)) SWIG_fail;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->SetFoldExpanded(arg2,arg3);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj;
8848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8849 int arg2 ;
8850 bool result;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "line", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
8858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail;
8860 {
8861 arg2 = (int)(SWIG_As_int(obj1));
8862 if (SWIG_arg_fail(2)) SWIG_fail;
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (bool)(arg1)->GetFoldExpanded(arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 {
8872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8873 }
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8883 int arg2 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "line", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
8891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8892 if (SWIG_arg_fail(1)) SWIG_fail;
8893 {
8894 arg2 = (int)(SWIG_As_int(obj1));
8895 if (SWIG_arg_fail(2)) SWIG_fail;
8896 }
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 (arg1)->ToggleFold(arg2);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 Py_INCREF(Py_None); resultobj = Py_None;
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8914 int arg2 ;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "line", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail;
8924 {
8925 arg2 = (int)(SWIG_As_int(obj1));
8926 if (SWIG_arg_fail(2)) SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->EnsureVisible(arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8945 int arg2 ;
8946 PyObject * obj0 = 0 ;
8947 PyObject * obj1 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self",(char *) "flags", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
8953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8954 if (SWIG_arg_fail(1)) SWIG_fail;
8955 {
8956 arg2 = (int)(SWIG_As_int(obj1));
8957 if (SWIG_arg_fail(2)) SWIG_fail;
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->SetFoldFlags(arg2);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8976 int arg2 ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self",(char *) "line", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
8984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail;
8986 {
8987 arg2 = (int)(SWIG_As_int(obj1));
8988 if (SWIG_arg_fail(2)) SWIG_fail;
8989 }
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->EnsureVisibleEnforcePolicy(arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9007 bool arg2 ;
9008 PyObject * obj0 = 0 ;
9009 PyObject * obj1 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self",(char *) "tabIndents", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail;
9017 {
9018 arg2 = (bool)(SWIG_As_bool(obj1));
9019 if (SWIG_arg_fail(2)) SWIG_fail;
9020 }
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 (arg1)->SetTabIndents(arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9046 if (SWIG_arg_fail(1)) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)(arg1)->GetTabIndents();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9066 bool arg2 ;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self",(char *) "bsUnIndents", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9075 if (SWIG_arg_fail(1)) SWIG_fail;
9076 {
9077 arg2 = (bool)(SWIG_As_bool(obj1));
9078 if (SWIG_arg_fail(2)) SWIG_fail;
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->SetBackSpaceUnIndents(arg2);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9097 bool result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = (bool)(arg1)->GetBackSpaceUnIndents();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 {
9114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9115 }
9116 return resultobj;
9117 fail:
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9125 int arg2 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self",(char *) "periodMilliseconds", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9134 if (SWIG_arg_fail(1)) SWIG_fail;
9135 {
9136 arg2 = (int)(SWIG_As_int(obj1));
9137 if (SWIG_arg_fail(2)) SWIG_fail;
9138 }
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->SetMouseDwellTime(arg2);
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 Py_INCREF(Py_None); resultobj = Py_None;
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj;
9155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9156 int result;
9157 PyObject * obj0 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (int)(arg1)->GetMouseDwellTime();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 resultobj = SWIG_From_int((int)(result));
9174 }
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9184 int arg2 ;
9185 bool arg3 ;
9186 int result;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail;
9197 {
9198 arg2 = (int)(SWIG_As_int(obj1));
9199 if (SWIG_arg_fail(2)) SWIG_fail;
9200 }
9201 {
9202 arg3 = (bool)(SWIG_As_bool(obj2));
9203 if (SWIG_arg_fail(3)) SWIG_fail;
9204 }
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (int)(arg1)->WordStartPosition(arg2,arg3);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 {
9213 resultobj = SWIG_From_int((int)(result));
9214 }
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9224 int arg2 ;
9225 bool arg3 ;
9226 int result;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 PyObject * obj2 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail;
9237 {
9238 arg2 = (int)(SWIG_As_int(obj1));
9239 if (SWIG_arg_fail(2)) SWIG_fail;
9240 }
9241 {
9242 arg3 = (bool)(SWIG_As_bool(obj2));
9243 if (SWIG_arg_fail(3)) SWIG_fail;
9244 }
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)(arg1)->WordEndPosition(arg2,arg3);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 {
9253 resultobj = SWIG_From_int((int)(result));
9254 }
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9264 int arg2 ;
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "mode", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail;
9274 {
9275 arg2 = (int)(SWIG_As_int(obj1));
9276 if (SWIG_arg_fail(2)) SWIG_fail;
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->SetWrapMode(arg2);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9295 int result;
9296 PyObject * obj0 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail;
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 result = (int)(arg1)->GetWrapMode();
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 {
9312 resultobj = SWIG_From_int((int)(result));
9313 }
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9323 int arg2 ;
9324 PyObject * obj0 = 0 ;
9325 PyObject * obj1 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self",(char *) "wrapVisualFlags", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail;
9333 {
9334 arg2 = (int)(SWIG_As_int(obj1));
9335 if (SWIG_arg_fail(2)) SWIG_fail;
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 (arg1)->SetWrapVisualFlags(arg2);
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 Py_INCREF(Py_None); resultobj = Py_None;
9345 return resultobj;
9346 fail:
9347 return NULL;
9348 }
9349
9350
9351 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9352 PyObject *resultobj;
9353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9354 int result;
9355 PyObject * obj0 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (int)(arg1)->GetWrapVisualFlags();
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 {
9371 resultobj = SWIG_From_int((int)(result));
9372 }
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9382 int arg2 ;
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail;
9392 {
9393 arg2 = (int)(SWIG_As_int(obj1));
9394 if (SWIG_arg_fail(2)) SWIG_fail;
9395 }
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 (arg1)->SetWrapVisualFlagsLocation(arg2);
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 Py_INCREF(Py_None); resultobj = Py_None;
9404 return resultobj;
9405 fail:
9406 return NULL;
9407 }
9408
9409
9410 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9413 int result;
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9421 if (SWIG_arg_fail(1)) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (int)(arg1)->GetWrapVisualFlagsLocation();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 {
9430 resultobj = SWIG_From_int((int)(result));
9431 }
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9441 int arg2 ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "indent", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
9451 {
9452 arg2 = (int)(SWIG_As_int(obj1));
9453 if (SWIG_arg_fail(2)) SWIG_fail;
9454 }
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 (arg1)->SetWrapStartIndent(arg2);
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 Py_INCREF(Py_None); resultobj = Py_None;
9463 return resultobj;
9464 fail:
9465 return NULL;
9466 }
9467
9468
9469 static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9470 PyObject *resultobj;
9471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9472 int result;
9473 PyObject * obj0 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "self", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9480 if (SWIG_arg_fail(1)) SWIG_fail;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (int)(arg1)->GetWrapStartIndent();
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 {
9489 resultobj = SWIG_From_int((int)(result));
9490 }
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9500 int arg2 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "mode", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail;
9510 {
9511 arg2 = (int)(SWIG_As_int(obj1));
9512 if (SWIG_arg_fail(2)) SWIG_fail;
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 (arg1)->SetLayoutCache(arg2);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 Py_INCREF(Py_None); resultobj = Py_None;
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9531 int result;
9532 PyObject * obj0 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail;
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 result = (int)(arg1)->GetLayoutCache();
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 {
9548 resultobj = SWIG_From_int((int)(result));
9549 }
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9559 int arg2 ;
9560 PyObject * obj0 = 0 ;
9561 PyObject * obj1 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "self",(char *) "pixelWidth", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9568 if (SWIG_arg_fail(1)) SWIG_fail;
9569 {
9570 arg2 = (int)(SWIG_As_int(obj1));
9571 if (SWIG_arg_fail(2)) SWIG_fail;
9572 }
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 (arg1)->SetScrollWidth(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 Py_INCREF(Py_None); resultobj = Py_None;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9590 int result;
9591 PyObject * obj0 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
9597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(1)) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = (int)(arg1)->GetScrollWidth();
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 resultobj = SWIG_From_int((int)(result));
9608 }
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9618 int arg2 ;
9619 wxString *arg3 = 0 ;
9620 int result;
9621 bool temp3 = false ;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 PyObject * obj2 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self",(char *) "style",(char *) "text", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
9630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9631 if (SWIG_arg_fail(1)) SWIG_fail;
9632 {
9633 arg2 = (int)(SWIG_As_int(obj1));
9634 if (SWIG_arg_fail(2)) SWIG_fail;
9635 }
9636 {
9637 arg3 = wxString_in_helper(obj2);
9638 if (arg3 == NULL) SWIG_fail;
9639 temp3 = true;
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 {
9649 resultobj = SWIG_From_int((int)(result));
9650 }
9651 {
9652 if (temp3)
9653 delete arg3;
9654 }
9655 return resultobj;
9656 fail:
9657 {
9658 if (temp3)
9659 delete arg3;
9660 }
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9668 bool arg2 ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self",(char *) "endAtLastLine", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9677 if (SWIG_arg_fail(1)) SWIG_fail;
9678 {
9679 arg2 = (bool)(SWIG_As_bool(obj1));
9680 if (SWIG_arg_fail(2)) SWIG_fail;
9681 }
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 (arg1)->SetEndAtLastLine(arg2);
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9699 int result;
9700 PyObject * obj0 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail;
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (int)(arg1)->GetEndAtLastLine();
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 {
9716 resultobj = SWIG_From_int((int)(result));
9717 }
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj;
9726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9727 int arg2 ;
9728 int result;
9729 PyObject * obj0 = 0 ;
9730 PyObject * obj1 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self",(char *) "line", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
9736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9737 if (SWIG_arg_fail(1)) SWIG_fail;
9738 {
9739 arg2 = (int)(SWIG_As_int(obj1));
9740 if (SWIG_arg_fail(2)) SWIG_fail;
9741 }
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (int)(arg1)->TextHeight(arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 {
9750 resultobj = SWIG_From_int((int)(result));
9751 }
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9761 bool arg2 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "show", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
9769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9770 if (SWIG_arg_fail(1)) SWIG_fail;
9771 {
9772 arg2 = (bool)(SWIG_As_bool(obj1));
9773 if (SWIG_arg_fail(2)) SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 (arg1)->SetUseVerticalScrollBar(arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9792 bool result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail;
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (bool)(arg1)->GetUseVerticalScrollBar();
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9820 wxString *arg2 = 0 ;
9821 bool temp2 = false ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "text", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
9829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail;
9831 {
9832 arg2 = wxString_in_helper(obj1);
9833 if (arg2 == NULL) SWIG_fail;
9834 temp2 = true;
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 (arg1)->AppendText((wxString const &)*arg2);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 Py_INCREF(Py_None); resultobj = Py_None;
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9861 bool result;
9862 PyObject * obj0 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
9868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail;
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (bool)(arg1)->GetTwoPhaseDraw();
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 {
9878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9879 }
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9889 bool arg2 ;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self",(char *) "twoPhase", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
9897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail;
9899 {
9900 arg2 = (bool)(SWIG_As_bool(obj1));
9901 if (SWIG_arg_fail(2)) SWIG_fail;
9902 }
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 (arg1)->SetTwoPhaseDraw(arg2);
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 Py_INCREF(Py_None); resultobj = Py_None;
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
9926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 (arg1)->TargetFromSelection();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 Py_INCREF(Py_None); resultobj = Py_None;
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9945 PyObject * obj0 = 0 ;
9946 char *kwnames[] = {
9947 (char *) "self", NULL
9948 };
9949
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
9951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail;
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 (arg1)->LinesJoin();
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 Py_INCREF(Py_None); resultobj = Py_None;
9961 return resultobj;
9962 fail:
9963 return NULL;
9964 }
9965
9966
9967 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
9968 PyObject *resultobj;
9969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9970 int arg2 ;
9971 PyObject * obj0 = 0 ;
9972 PyObject * obj1 = 0 ;
9973 char *kwnames[] = {
9974 (char *) "self",(char *) "pixelWidth", NULL
9975 };
9976
9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
9978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9979 if (SWIG_arg_fail(1)) SWIG_fail;
9980 {
9981 arg2 = (int)(SWIG_As_int(obj1));
9982 if (SWIG_arg_fail(2)) SWIG_fail;
9983 }
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 (arg1)->LinesSplit(arg2);
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 Py_INCREF(Py_None); resultobj = Py_None;
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10001 bool arg2 ;
10002 wxColour *arg3 = 0 ;
10003 wxColour temp3 ;
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
10006 PyObject * obj2 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self",(char *) "useSetting",(char *) "back", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail;
10014 {
10015 arg2 = (bool)(SWIG_As_bool(obj1));
10016 if (SWIG_arg_fail(2)) SWIG_fail;
10017 }
10018 {
10019 arg3 = &temp3;
10020 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10021 }
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 Py_INCREF(Py_None); resultobj = Py_None;
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10039 bool arg2 ;
10040 wxColour *arg3 = 0 ;
10041 wxColour temp3 ;
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
10044 PyObject * obj2 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 {
10053 arg2 = (bool)(SWIG_As_bool(obj1));
10054 if (SWIG_arg_fail(2)) SWIG_fail;
10055 }
10056 {
10057 arg3 = &temp3;
10058 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10059 }
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 Py_INCREF(Py_None); resultobj = Py_None;
10068 return resultobj;
10069 fail:
10070 return NULL;
10071 }
10072
10073
10074 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj;
10076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10084 if (SWIG_arg_fail(1)) SWIG_fail;
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 (arg1)->LineDown();
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 Py_INCREF(Py_None); resultobj = Py_None;
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail;
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 (arg1)->LineDownExtend();
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 Py_INCREF(Py_None); resultobj = Py_None;
10118 return resultobj;
10119 fail:
10120 return NULL;
10121 }
10122
10123
10124 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
10125 PyObject *resultobj;
10126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 (arg1)->LineUp();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 Py_INCREF(Py_None); resultobj = Py_None;
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10152 PyObject * obj0 = 0 ;
10153 char *kwnames[] = {
10154 (char *) "self", NULL
10155 };
10156
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail;
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 (arg1)->LineUpExtend();
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_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10177 PyObject * obj0 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "self", NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10184 if (SWIG_arg_fail(1)) SWIG_fail;
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 (arg1)->CharLeft();
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 Py_INCREF(Py_None); resultobj = Py_None;
10193 return resultobj;
10194 fail:
10195 return NULL;
10196 }
10197
10198
10199 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj;
10201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10202 PyObject * obj0 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10209 if (SWIG_arg_fail(1)) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 (arg1)->CharLeftExtend();
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 Py_INCREF(Py_None); resultobj = Py_None;
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail;
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 (arg1)->CharRight();
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10252 PyObject * obj0 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail;
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 (arg1)->CharRightExtend();
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 Py_INCREF(Py_None); resultobj = Py_None;
10268 return resultobj;
10269 fail:
10270 return NULL;
10271 }
10272
10273
10274 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->WordLeft();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->WordLeftExtend();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 (arg1)->WordRight();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 Py_INCREF(Py_None); resultobj = Py_None;
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->WordRightExtend();
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->Home();
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10402 PyObject * obj0 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self", NULL
10405 };
10406
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10409 if (SWIG_arg_fail(1)) SWIG_fail;
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->HomeExtend();
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 Py_INCREF(Py_None); resultobj = Py_None;
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj;
10426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 (arg1)->LineEnd();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 Py_INCREF(Py_None); resultobj = Py_None;
10443 return resultobj;
10444 fail:
10445 return NULL;
10446 }
10447
10448
10449 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj;
10451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->LineEndExtend();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail;
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->DocumentStart();
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10502 PyObject * obj0 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 (arg1)->DocumentStartExtend();
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 Py_INCREF(Py_None); resultobj = Py_None;
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10527 PyObject * obj0 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10534 if (SWIG_arg_fail(1)) SWIG_fail;
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->DocumentEnd();
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->DocumentEndExtend();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10584 if (SWIG_arg_fail(1)) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->PageUp();
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10602 PyObject * obj0 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->PageUpExtend();
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10627 PyObject * obj0 = 0 ;
10628 char *kwnames[] = {
10629 (char *) "self", NULL
10630 };
10631
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 (arg1)->PageDown();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646 }
10647
10648
10649 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 (arg1)->PageDownExtend();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 Py_INCREF(Py_None); resultobj = Py_None;
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->EditToggleOvertype();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->Cancel();
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj;
10726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 (arg1)->DeleteBack();
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 Py_INCREF(Py_None); resultobj = Py_None;
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
10750 PyObject *resultobj;
10751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 (arg1)->Tab();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 Py_INCREF(Py_None); resultobj = Py_None;
10768 return resultobj;
10769 fail:
10770 return NULL;
10771 }
10772
10773
10774 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10777 PyObject * obj0 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "self", NULL
10780 };
10781
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10784 if (SWIG_arg_fail(1)) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 (arg1)->BackTab();
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 Py_INCREF(Py_None); resultobj = Py_None;
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 (arg1)->NewLine();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj;
10826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10827 PyObject * obj0 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
10833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail;
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->FormFeed();
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 Py_INCREF(Py_None); resultobj = Py_None;
10843 return resultobj;
10844 fail:
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 (arg1)->VCHome();
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 Py_INCREF(Py_None); resultobj = Py_None;
10868 return resultobj;
10869 fail:
10870 return NULL;
10871 }
10872
10873
10874 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj;
10876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
10883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10884 if (SWIG_arg_fail(1)) SWIG_fail;
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 (arg1)->VCHomeExtend();
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 Py_INCREF(Py_None); resultobj = Py_None;
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self", NULL
10905 };
10906
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
10908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10909 if (SWIG_arg_fail(1)) SWIG_fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->ZoomIn();
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->ZoomOut();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
10958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->DelWordLeft();
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->DelWordRight();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 (arg1)->LineCut();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj;
11026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11027 PyObject * obj0 = 0 ;
11028 char *kwnames[] = {
11029 (char *) "self", NULL
11030 };
11031
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail;
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 (arg1)->LineDelete();
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 Py_INCREF(Py_None); resultobj = Py_None;
11043 return resultobj;
11044 fail:
11045 return NULL;
11046 }
11047
11048
11049 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj;
11051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail;
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 (arg1)->LineTranspose();
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "self", NULL
11080 };
11081
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail;
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 (arg1)->LineDuplicate();
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 Py_INCREF(Py_None); resultobj = Py_None;
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj;
11101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11109 if (SWIG_arg_fail(1)) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 (arg1)->LowerCase();
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 Py_INCREF(Py_None); resultobj = Py_None;
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
11125 PyObject *resultobj;
11126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11127 PyObject * obj0 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail;
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->UpperCase();
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 Py_INCREF(Py_None); resultobj = Py_None;
11143 return resultobj;
11144 fail:
11145 return NULL;
11146 }
11147
11148
11149 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail;
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 (arg1)->LineScrollDown();
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 Py_INCREF(Py_None); resultobj = Py_None;
11168 return resultobj;
11169 fail:
11170 return NULL;
11171 }
11172
11173
11174 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
11175 PyObject *resultobj;
11176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11177 PyObject * obj0 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail;
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->LineScrollUp();
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11202 PyObject * obj0 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "self", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->DeleteBackNotLine();
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11225 PyObject *resultobj;
11226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->HomeDisplay();
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11259 if (SWIG_arg_fail(1)) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 (arg1)->HomeDisplayExtend();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 Py_INCREF(Py_None); resultobj = Py_None;
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 (arg1)->LineEndDisplay();
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 Py_INCREF(Py_None); resultobj = Py_None;
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 (arg1)->LineEndDisplayExtend();
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11327 PyObject * obj0 = 0 ;
11328 char *kwnames[] = {
11329 (char *) "self", NULL
11330 };
11331
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail;
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 (arg1)->HomeWrap();
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj;
11351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11359 if (SWIG_arg_fail(1)) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 (arg1)->HomeWrapExtend();
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 Py_INCREF(Py_None); resultobj = Py_None;
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11377 PyObject * obj0 = 0 ;
11378 char *kwnames[] = {
11379 (char *) "self", NULL
11380 };
11381
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11384 if (SWIG_arg_fail(1)) SWIG_fail;
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->LineEndWrap();
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11402 PyObject * obj0 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->LineEndWrapExtend();
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11427 PyObject * obj0 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail;
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 (arg1)->VCHomeWrap();
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
11442 Py_INCREF(Py_None); resultobj = Py_None;
11443 return resultobj;
11444 fail:
11445 return NULL;
11446 }
11447
11448
11449 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11450 PyObject *resultobj;
11451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11452 PyObject * obj0 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 (arg1)->VCHomeWrapExtend();
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->LineCopy();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
11500 PyObject *resultobj;
11501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->MoveCaretInsideView();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11527 int arg2 ;
11528 int result;
11529 PyObject * obj0 = 0 ;
11530 PyObject * obj1 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self",(char *) "line", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail;
11538 {
11539 arg2 = (int)(SWIG_As_int(obj1));
11540 if (SWIG_arg_fail(2)) SWIG_fail;
11541 }
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (int)(arg1)->LineLength(arg2);
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 {
11550 resultobj = SWIG_From_int((int)(result));
11551 }
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11561 int arg2 ;
11562 int arg3 ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 PyObject * obj2 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail;
11573 {
11574 arg2 = (int)(SWIG_As_int(obj1));
11575 if (SWIG_arg_fail(2)) SWIG_fail;
11576 }
11577 {
11578 arg3 = (int)(SWIG_As_int(obj2));
11579 if (SWIG_arg_fail(3)) SWIG_fail;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 (arg1)->BraceHighlight(arg2,arg3);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 Py_INCREF(Py_None); resultobj = Py_None;
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11598 int arg2 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "pos", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail;
11608 {
11609 arg2 = (int)(SWIG_As_int(obj1));
11610 if (SWIG_arg_fail(2)) SWIG_fail;
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 (arg1)->BraceBadLight(arg2);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 Py_INCREF(Py_None); resultobj = Py_None;
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11629 int arg2 ;
11630 int result;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self",(char *) "pos", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11639 if (SWIG_arg_fail(1)) SWIG_fail;
11640 {
11641 arg2 = (int)(SWIG_As_int(obj1));
11642 if (SWIG_arg_fail(2)) SWIG_fail;
11643 }
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 result = (int)(arg1)->BraceMatch(arg2);
11647
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 {
11652 resultobj = SWIG_From_int((int)(result));
11653 }
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj;
11662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11663 bool result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11671 if (SWIG_arg_fail(1)) SWIG_fail;
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (bool)(arg1)->GetViewEOL();
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 {
11680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11681 }
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11689 PyObject *resultobj;
11690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11691 bool arg2 ;
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self",(char *) "visible", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail;
11701 {
11702 arg2 = (bool)(SWIG_As_bool(obj1));
11703 if (SWIG_arg_fail(2)) SWIG_fail;
11704 }
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 (arg1)->SetViewEOL(arg2);
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 Py_INCREF(Py_None); resultobj = Py_None;
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11722 void *result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (void *)(arg1)->GetDocPointer();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11748 void *arg2 = (void *) 0 ;
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "docPointer", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail;
11758 {
11759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
11760 SWIG_arg_fail(2);SWIG_fail;
11761 }
11762 }
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 (arg1)->SetDocPointer(arg2);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 Py_INCREF(Py_None); resultobj = Py_None;
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11780 int arg2 ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "mask", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 {
11791 arg2 = (int)(SWIG_As_int(obj1));
11792 if (SWIG_arg_fail(2)) SWIG_fail;
11793 }
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->SetModEventMask(arg2);
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11811 int result;
11812 PyObject * obj0 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail;
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (int)(arg1)->GetEdgeColumn();
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 {
11828 resultobj = SWIG_From_int((int)(result));
11829 }
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj;
11838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11839 int arg2 ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 char *kwnames[] = {
11843 (char *) "self",(char *) "column", NULL
11844 };
11845
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
11847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11848 if (SWIG_arg_fail(1)) SWIG_fail;
11849 {
11850 arg2 = (int)(SWIG_As_int(obj1));
11851 if (SWIG_arg_fail(2)) SWIG_fail;
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 (arg1)->SetEdgeColumn(arg2);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 Py_INCREF(Py_None); resultobj = Py_None;
11861 return resultobj;
11862 fail:
11863 return NULL;
11864 }
11865
11866
11867 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11868 PyObject *resultobj;
11869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11870 int result;
11871 PyObject * obj0 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
11877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail;
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = (int)(arg1)->GetEdgeMode();
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 {
11887 resultobj = SWIG_From_int((int)(result));
11888 }
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11896 PyObject *resultobj;
11897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11898 int arg2 ;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "mode", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
11906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail;
11908 {
11909 arg2 = (int)(SWIG_As_int(obj1));
11910 if (SWIG_arg_fail(2)) SWIG_fail;
11911 }
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->SetEdgeMode(arg2);
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 Py_INCREF(Py_None); resultobj = Py_None;
11920 return resultobj;
11921 fail:
11922 return NULL;
11923 }
11924
11925
11926 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj;
11928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11929 wxColour result;
11930 PyObject * obj0 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
11936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail;
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = (arg1)->GetEdgeColour();
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 {
11946 wxColour * resultptr;
11947 resultptr = new wxColour((wxColour &)(result));
11948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11949 }
11950 return resultobj;
11951 fail:
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11959 wxColour *arg2 = 0 ;
11960 wxColour temp2 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char *kwnames[] = {
11964 (char *) "self",(char *) "edgeColour", NULL
11965 };
11966
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
11968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail;
11970 {
11971 arg2 = &temp2;
11972 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11973 }
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 (arg1)->SetEdgeColour((wxColour const &)*arg2);
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 Py_INCREF(Py_None); resultobj = Py_None;
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11991 PyObject * obj0 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self", NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
11997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 (arg1)->SearchAnchor();
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 Py_INCREF(Py_None); resultobj = Py_None;
12007 return resultobj;
12008 fail:
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12016 int arg2 ;
12017 wxString *arg3 = 0 ;
12018 int result;
12019 bool temp3 = false ;
12020 PyObject * obj0 = 0 ;
12021 PyObject * obj1 = 0 ;
12022 PyObject * obj2 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self",(char *) "flags",(char *) "text", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail;
12030 {
12031 arg2 = (int)(SWIG_As_int(obj1));
12032 if (SWIG_arg_fail(2)) SWIG_fail;
12033 }
12034 {
12035 arg3 = wxString_in_helper(obj2);
12036 if (arg3 == NULL) SWIG_fail;
12037 temp3 = true;
12038 }
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
12047 resultobj = SWIG_From_int((int)(result));
12048 }
12049 {
12050 if (temp3)
12051 delete arg3;
12052 }
12053 return resultobj;
12054 fail:
12055 {
12056 if (temp3)
12057 delete arg3;
12058 }
12059 return NULL;
12060 }
12061
12062
12063 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12066 int arg2 ;
12067 wxString *arg3 = 0 ;
12068 int result;
12069 bool temp3 = false ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 PyObject * obj2 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "flags",(char *) "text", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12079 if (SWIG_arg_fail(1)) SWIG_fail;
12080 {
12081 arg2 = (int)(SWIG_As_int(obj1));
12082 if (SWIG_arg_fail(2)) SWIG_fail;
12083 }
12084 {
12085 arg3 = wxString_in_helper(obj2);
12086 if (arg3 == NULL) SWIG_fail;
12087 temp3 = true;
12088 }
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 {
12097 resultobj = SWIG_From_int((int)(result));
12098 }
12099 {
12100 if (temp3)
12101 delete arg3;
12102 }
12103 return resultobj;
12104 fail:
12105 {
12106 if (temp3)
12107 delete arg3;
12108 }
12109 return NULL;
12110 }
12111
12112
12113 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12116 int result;
12117 PyObject * obj0 = 0 ;
12118 char *kwnames[] = {
12119 (char *) "self", NULL
12120 };
12121
12122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12124 if (SWIG_arg_fail(1)) SWIG_fail;
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 result = (int)(arg1)->LinesOnScreen();
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 {
12133 resultobj = SWIG_From_int((int)(result));
12134 }
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12144 bool arg2 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "allowPopUp", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail;
12154 {
12155 arg2 = (bool)(SWIG_As_bool(obj1));
12156 if (SWIG_arg_fail(2)) SWIG_fail;
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->UsePopUp(arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169 }
12170
12171
12172 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12175 bool result;
12176 PyObject * obj0 = 0 ;
12177 char *kwnames[] = {
12178 (char *) "self", NULL
12179 };
12180
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail;
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (bool)(arg1)->SelectionIsRectangle();
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 {
12192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12193 }
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12201 PyObject *resultobj;
12202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12203 int arg2 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "zoom", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
12213 {
12214 arg2 = (int)(SWIG_As_int(obj1));
12215 if (SWIG_arg_fail(2)) SWIG_fail;
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->SetZoom(arg2);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 Py_INCREF(Py_None); resultobj = Py_None;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12234 int result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (int)(arg1)->GetZoom();
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 {
12251 resultobj = SWIG_From_int((int)(result));
12252 }
12253 return resultobj;
12254 fail:
12255 return NULL;
12256 }
12257
12258
12259 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj;
12261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12262 void *result;
12263 PyObject * obj0 = 0 ;
12264 char *kwnames[] = {
12265 (char *) "self", NULL
12266 };
12267
12268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12270 if (SWIG_arg_fail(1)) SWIG_fail;
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 result = (void *)(arg1)->CreateDocument();
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12288 void *arg2 = (void *) 0 ;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self",(char *) "docPointer", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail;
12298 {
12299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12300 SWIG_arg_fail(2);SWIG_fail;
12301 }
12302 }
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 (arg1)->AddRefDocument(arg2);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 Py_INCREF(Py_None); resultobj = Py_None;
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12320 void *arg2 = (void *) 0 ;
12321 PyObject * obj0 = 0 ;
12322 PyObject * obj1 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self",(char *) "docPointer", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",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 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12332 SWIG_arg_fail(2);SWIG_fail;
12333 }
12334 }
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
12337 (arg1)->ReleaseDocument(arg2);
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 Py_INCREF(Py_None); resultobj = Py_None;
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12352 int result;
12353 PyObject * obj0 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "self", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12360 if (SWIG_arg_fail(1)) SWIG_fail;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = (int)(arg1)->GetModEventMask();
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 {
12369 resultobj = SWIG_From_int((int)(result));
12370 }
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12380 bool arg2 ;
12381 PyObject * obj0 = 0 ;
12382 PyObject * obj1 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self",(char *) "focus", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
12390 {
12391 arg2 = (bool)(SWIG_As_bool(obj1));
12392 if (SWIG_arg_fail(2)) SWIG_fail;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetSTCFocus(arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12411 bool result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (bool)(arg1)->GetSTCFocus();
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 {
12428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12429 }
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12439 int arg2 ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "statusCode", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12448 if (SWIG_arg_fail(1)) SWIG_fail;
12449 {
12450 arg2 = (int)(SWIG_As_int(obj1));
12451 if (SWIG_arg_fail(2)) SWIG_fail;
12452 }
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 (arg1)->SetStatus(arg2);
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 Py_INCREF(Py_None); resultobj = Py_None;
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12470 int result;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = (int)(arg1)->GetStatus();
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 {
12487 resultobj = SWIG_From_int((int)(result));
12488 }
12489 return resultobj;
12490 fail:
12491 return NULL;
12492 }
12493
12494
12495 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12498 bool arg2 ;
12499 PyObject * obj0 = 0 ;
12500 PyObject * obj1 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "self",(char *) "captures", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail;
12508 {
12509 arg2 = (bool)(SWIG_As_bool(obj1));
12510 if (SWIG_arg_fail(2)) SWIG_fail;
12511 }
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 (arg1)->SetMouseDownCaptures(arg2);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 Py_INCREF(Py_None); resultobj = Py_None;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12529 bool result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (bool)(arg1)->GetMouseDownCaptures();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 {
12546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12547 }
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12557 int arg2 ;
12558 PyObject * obj0 = 0 ;
12559 PyObject * obj1 = 0 ;
12560 char *kwnames[] = {
12561 (char *) "self",(char *) "cursorType", NULL
12562 };
12563
12564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12566 if (SWIG_arg_fail(1)) SWIG_fail;
12567 {
12568 arg2 = (int)(SWIG_As_int(obj1));
12569 if (SWIG_arg_fail(2)) SWIG_fail;
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 (arg1)->SetSTCCursor(arg2);
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 Py_INCREF(Py_None); resultobj = Py_None;
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12588 int result;
12589 PyObject * obj0 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (int)(arg1)->GetSTCCursor();
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 {
12605 resultobj = SWIG_From_int((int)(result));
12606 }
12607 return resultobj;
12608 fail:
12609 return NULL;
12610 }
12611
12612
12613 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12616 int arg2 ;
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "symbol", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail;
12626 {
12627 arg2 = (int)(SWIG_As_int(obj1));
12628 if (SWIG_arg_fail(2)) SWIG_fail;
12629 }
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 (arg1)->SetControlCharSymbol(arg2);
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 Py_INCREF(Py_None); resultobj = Py_None;
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12647 int result;
12648 PyObject * obj0 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "self", NULL
12651 };
12652
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail;
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (int)(arg1)->GetControlCharSymbol();
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 {
12664 resultobj = SWIG_From_int((int)(result));
12665 }
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj;
12674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12675 PyObject * obj0 = 0 ;
12676 char *kwnames[] = {
12677 (char *) "self", NULL
12678 };
12679
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12682 if (SWIG_arg_fail(1)) SWIG_fail;
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 (arg1)->WordPartLeft();
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 Py_INCREF(Py_None); resultobj = Py_None;
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12700 PyObject * obj0 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "self", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail;
12708 {
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 (arg1)->WordPartLeftExtend();
12711
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 Py_INCREF(Py_None); resultobj = Py_None;
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj;
12724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail;
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 (arg1)->WordPartRight();
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 Py_INCREF(Py_None); resultobj = Py_None;
12741 return resultobj;
12742 fail:
12743 return NULL;
12744 }
12745
12746
12747 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12748 PyObject *resultobj;
12749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12750 PyObject * obj0 = 0 ;
12751 char *kwnames[] = {
12752 (char *) "self", NULL
12753 };
12754
12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail;
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 (arg1)->WordPartRightExtend();
12761
12762 wxPyEndAllowThreads(__tstate);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 }
12765 Py_INCREF(Py_None); resultobj = Py_None;
12766 return resultobj;
12767 fail:
12768 return NULL;
12769 }
12770
12771
12772 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12773 PyObject *resultobj;
12774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12775 int arg2 ;
12776 int arg3 ;
12777 PyObject * obj0 = 0 ;
12778 PyObject * obj1 = 0 ;
12779 PyObject * obj2 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail;
12787 {
12788 arg2 = (int)(SWIG_As_int(obj1));
12789 if (SWIG_arg_fail(2)) SWIG_fail;
12790 }
12791 {
12792 arg3 = (int)(SWIG_As_int(obj2));
12793 if (SWIG_arg_fail(3)) SWIG_fail;
12794 }
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 (arg1)->SetVisiblePolicy(arg2,arg3);
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 Py_INCREF(Py_None); resultobj = Py_None;
12803 return resultobj;
12804 fail:
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12819 if (SWIG_arg_fail(1)) SWIG_fail;
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 (arg1)->DelLineLeft();
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 Py_INCREF(Py_None); resultobj = Py_None;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->DelLineRight();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 Py_INCREF(Py_None); resultobj = Py_None;
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12862 int arg2 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "newOffset", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
12870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail;
12872 {
12873 arg2 = (int)(SWIG_As_int(obj1));
12874 if (SWIG_arg_fail(2)) SWIG_fail;
12875 }
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 (arg1)->SetXOffset(arg2);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 Py_INCREF(Py_None); resultobj = Py_None;
12884 return resultobj;
12885 fail:
12886 return NULL;
12887 }
12888
12889
12890 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12893 int result;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
12900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12901 if (SWIG_arg_fail(1)) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (int)(arg1)->GetXOffset();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 {
12910 resultobj = SWIG_From_int((int)(result));
12911 }
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12921 PyObject * obj0 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
12927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail;
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->ChooseCaretX();
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 Py_INCREF(Py_None); resultobj = Py_None;
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12946 int arg2 ;
12947 int arg3 ;
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12951 char *kwnames[] = {
12952 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
12953 };
12954
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail;
12958 {
12959 arg2 = (int)(SWIG_As_int(obj1));
12960 if (SWIG_arg_fail(2)) SWIG_fail;
12961 }
12962 {
12963 arg3 = (int)(SWIG_As_int(obj2));
12964 if (SWIG_arg_fail(3)) SWIG_fail;
12965 }
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 (arg1)->SetXCaretPolicy(arg2,arg3);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 Py_INCREF(Py_None); resultobj = Py_None;
12974 return resultobj;
12975 fail:
12976 return NULL;
12977 }
12978
12979
12980 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12981 PyObject *resultobj;
12982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12983 int arg2 ;
12984 int arg3 ;
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
12987 PyObject * obj2 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 {
12996 arg2 = (int)(SWIG_As_int(obj1));
12997 if (SWIG_arg_fail(2)) SWIG_fail;
12998 }
12999 {
13000 arg3 = (int)(SWIG_As_int(obj2));
13001 if (SWIG_arg_fail(3)) SWIG_fail;
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 (arg1)->SetYCaretPolicy(arg2,arg3);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 Py_INCREF(Py_None); resultobj = Py_None;
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13020 int arg2 ;
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self",(char *) "mode", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail;
13030 {
13031 arg2 = (int)(SWIG_As_int(obj1));
13032 if (SWIG_arg_fail(2)) SWIG_fail;
13033 }
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 (arg1)->SetPrintWrapMode(arg2);
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 Py_INCREF(Py_None); resultobj = Py_None;
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13051 int result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail;
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (int)(arg1)->GetPrintWrapMode();
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 resultobj = SWIG_From_int((int)(result));
13069 }
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13079 bool arg2 ;
13080 wxColour *arg3 = 0 ;
13081 wxColour temp3 ;
13082 PyObject * obj0 = 0 ;
13083 PyObject * obj1 = 0 ;
13084 PyObject * obj2 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail;
13092 {
13093 arg2 = (bool)(SWIG_As_bool(obj1));
13094 if (SWIG_arg_fail(2)) SWIG_fail;
13095 }
13096 {
13097 arg3 = &temp3;
13098 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13099 }
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
13102 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
13103
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 Py_INCREF(Py_None); resultobj = Py_None;
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13117 bool arg2 ;
13118 wxColour *arg3 = 0 ;
13119 wxColour temp3 ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 PyObject * obj2 = 0 ;
13123 char *kwnames[] = {
13124 (char *) "self",(char *) "useSetting",(char *) "back", NULL
13125 };
13126
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail;
13130 {
13131 arg2 = (bool)(SWIG_As_bool(obj1));
13132 if (SWIG_arg_fail(2)) SWIG_fail;
13133 }
13134 {
13135 arg3 = &temp3;
13136 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13137 }
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 Py_INCREF(Py_None); resultobj = Py_None;
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13155 bool arg2 ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "underline", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
13165 {
13166 arg2 = (bool)(SWIG_As_bool(obj1));
13167 if (SWIG_arg_fail(2)) SWIG_fail;
13168 }
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 (arg1)->SetHotspotActiveUnderline(arg2);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 Py_INCREF(Py_None); resultobj = Py_None;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13186 bool arg2 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "singleLine", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13195 if (SWIG_arg_fail(1)) SWIG_fail;
13196 {
13197 arg2 = (bool)(SWIG_As_bool(obj1));
13198 if (SWIG_arg_fail(2)) SWIG_fail;
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->SetHotspotSingleLine(arg2);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 (arg1)->ParaDown();
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 Py_INCREF(Py_None); resultobj = Py_None;
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail;
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 (arg1)->ParaDownExtend();
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 Py_INCREF(Py_None); resultobj = Py_None;
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13267 PyObject * obj0 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->ParaUp();
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail;
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->ParaUpExtend();
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 return resultobj;
13309 fail:
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13317 int arg2 ;
13318 int result;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "pos", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail;
13328 {
13329 arg2 = (int)(SWIG_As_int(obj1));
13330 if (SWIG_arg_fail(2)) SWIG_fail;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (int)(arg1)->PositionBefore(arg2);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 resultobj = SWIG_From_int((int)(result));
13341 }
13342 return resultobj;
13343 fail:
13344 return NULL;
13345 }
13346
13347
13348 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj;
13350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13351 int arg2 ;
13352 int result;
13353 PyObject * obj0 = 0 ;
13354 PyObject * obj1 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self",(char *) "pos", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail;
13362 {
13363 arg2 = (int)(SWIG_As_int(obj1));
13364 if (SWIG_arg_fail(2)) SWIG_fail;
13365 }
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 result = (int)(arg1)->PositionAfter(arg2);
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 {
13374 resultobj = SWIG_From_int((int)(result));
13375 }
13376 return resultobj;
13377 fail:
13378 return NULL;
13379 }
13380
13381
13382 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13385 int arg2 ;
13386 int arg3 ;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "start",(char *) "end", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13396 if (SWIG_arg_fail(1)) SWIG_fail;
13397 {
13398 arg2 = (int)(SWIG_As_int(obj1));
13399 if (SWIG_arg_fail(2)) SWIG_fail;
13400 }
13401 {
13402 arg3 = (int)(SWIG_As_int(obj2));
13403 if (SWIG_arg_fail(3)) SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->CopyRange(arg2,arg3);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13422 int arg2 ;
13423 wxString *arg3 = 0 ;
13424 bool temp3 = false ;
13425 PyObject * obj0 = 0 ;
13426 PyObject * obj1 = 0 ;
13427 PyObject * obj2 = 0 ;
13428 char *kwnames[] = {
13429 (char *) "self",(char *) "length",(char *) "text", NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail;
13435 {
13436 arg2 = (int)(SWIG_As_int(obj1));
13437 if (SWIG_arg_fail(2)) SWIG_fail;
13438 }
13439 {
13440 arg3 = wxString_in_helper(obj2);
13441 if (arg3 == NULL) SWIG_fail;
13442 temp3 = true;
13443 }
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->CopyText(arg2,(wxString const &)*arg3);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
13452 {
13453 if (temp3)
13454 delete arg3;
13455 }
13456 return resultobj;
13457 fail:
13458 {
13459 if (temp3)
13460 delete arg3;
13461 }
13462 return NULL;
13463 }
13464
13465
13466 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13469 int arg2 ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self",(char *) "mode", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13478 if (SWIG_arg_fail(1)) SWIG_fail;
13479 {
13480 arg2 = (int)(SWIG_As_int(obj1));
13481 if (SWIG_arg_fail(2)) SWIG_fail;
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->SetSelectionMode(arg2);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 return resultobj;
13492 fail:
13493 return NULL;
13494 }
13495
13496
13497 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13498 PyObject *resultobj;
13499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13500 int result;
13501 PyObject * obj0 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 result = (int)(arg1)->GetSelectionMode();
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 {
13517 resultobj = SWIG_From_int((int)(result));
13518 }
13519 return resultobj;
13520 fail:
13521 return NULL;
13522 }
13523
13524
13525 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj;
13527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13528 int arg2 ;
13529 int result;
13530 PyObject * obj0 = 0 ;
13531 PyObject * obj1 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "line", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail;
13539 {
13540 arg2 = (int)(SWIG_As_int(obj1));
13541 if (SWIG_arg_fail(2)) SWIG_fail;
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (int)(arg1)->GetLineSelStartPosition(arg2);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 {
13551 resultobj = SWIG_From_int((int)(result));
13552 }
13553 return resultobj;
13554 fail:
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13562 int arg2 ;
13563 int result;
13564 PyObject * obj0 = 0 ;
13565 PyObject * obj1 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self",(char *) "line", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) 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 = (int)(SWIG_As_int(obj1));
13575 if (SWIG_arg_fail(2)) SWIG_fail;
13576 }
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (int)(arg1)->GetLineSelEndPosition(arg2);
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 {
13585 resultobj = SWIG_From_int((int)(result));
13586 }
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13596 PyObject * obj0 = 0 ;
13597 char *kwnames[] = {
13598 (char *) "self", NULL
13599 };
13600
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail;
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 (arg1)->LineDownRectExtend();
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 Py_INCREF(Py_None); resultobj = Py_None;
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13621 PyObject * obj0 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail;
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 (arg1)->LineUpRectExtend();
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 Py_INCREF(Py_None); resultobj = Py_None;
13637 return resultobj;
13638 fail:
13639 return NULL;
13640 }
13641
13642
13643 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj;
13645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13646 PyObject * obj0 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail;
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 (arg1)->CharLeftRectExtend();
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 Py_INCREF(Py_None); resultobj = Py_None;
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail;
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 (arg1)->CharRightRectExtend();
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 Py_INCREF(Py_None); resultobj = Py_None;
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13696 PyObject * obj0 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "self", NULL
13699 };
13700
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13703 if (SWIG_arg_fail(1)) SWIG_fail;
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->HomeRectExtend();
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13721 PyObject * obj0 = 0 ;
13722 char *kwnames[] = {
13723 (char *) "self", NULL
13724 };
13725
13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13728 if (SWIG_arg_fail(1)) SWIG_fail;
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->VCHomeRectExtend();
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail;
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 (arg1)->LineEndRectExtend();
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 Py_INCREF(Py_None); resultobj = Py_None;
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 (arg1)->PageUpRectExtend();
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13803 if (SWIG_arg_fail(1)) SWIG_fail;
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 (arg1)->PageDownRectExtend();
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 Py_INCREF(Py_None); resultobj = Py_None;
13812 return resultobj;
13813 fail:
13814 return NULL;
13815 }
13816
13817
13818 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13821 PyObject * obj0 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
13827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail;
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 (arg1)->StutteredPageUp();
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13846 PyObject * obj0 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
13852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13853 if (SWIG_arg_fail(1)) SWIG_fail;
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->StutteredPageUpExtend();
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 (arg1)->StutteredPageDown();
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 Py_INCREF(Py_None); resultobj = Py_None;
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
13902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail;
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->StutteredPageDownExtend();
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13921 PyObject * obj0 = 0 ;
13922 char *kwnames[] = {
13923 (char *) "self", NULL
13924 };
13925
13926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
13927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail;
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 (arg1)->WordLeftEnd();
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 Py_INCREF(Py_None); resultobj = Py_None;
13937 return resultobj;
13938 fail:
13939 return NULL;
13940 }
13941
13942
13943 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj;
13945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
13952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail;
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->WordLeftEndExtend();
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 return resultobj;
13963 fail:
13964 return NULL;
13965 }
13966
13967
13968 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj;
13970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13971 PyObject * obj0 = 0 ;
13972 char *kwnames[] = {
13973 (char *) "self", NULL
13974 };
13975
13976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
13977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail;
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 (arg1)->WordRightEnd();
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 Py_INCREF(Py_None); resultobj = Py_None;
13987 return resultobj;
13988 fail:
13989 return NULL;
13990 }
13991
13992
13993 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj;
13995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail;
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->WordRightEndExtend();
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14021 wxString *arg2 = 0 ;
14022 bool temp2 = false ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "characters", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14031 if (SWIG_arg_fail(1)) SWIG_fail;
14032 {
14033 arg2 = wxString_in_helper(obj1);
14034 if (arg2 == NULL) SWIG_fail;
14035 temp2 = true;
14036 }
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 Py_INCREF(Py_None); resultobj = Py_None;
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
14049 return resultobj;
14050 fail:
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return NULL;
14056 }
14057
14058
14059 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14062 PyObject * obj0 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "self", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail;
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 (arg1)->SetCharsDefault();
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 Py_INCREF(Py_None); resultobj = Py_None;
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj;
14086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14087 int result;
14088 PyObject * obj0 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail;
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = (int)(arg1)->AutoCompGetCurrent();
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 {
14104 resultobj = SWIG_From_int((int)(result));
14105 }
14106 return resultobj;
14107 fail:
14108 return NULL;
14109 }
14110
14111
14112 static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj;
14114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14115 int arg2 ;
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "bytes", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14124 if (SWIG_arg_fail(1)) SWIG_fail;
14125 {
14126 arg2 = (int)(SWIG_As_int(obj1));
14127 if (SWIG_arg_fail(2)) SWIG_fail;
14128 }
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 (arg1)->Allocate(arg2);
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 Py_INCREF(Py_None); resultobj = Py_None;
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14146 int arg2 ;
14147 int arg3 ;
14148 int result;
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj1 = 0 ;
14151 PyObject * obj2 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "line",(char *) "column", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
14157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail;
14159 {
14160 arg2 = (int)(SWIG_As_int(obj1));
14161 if (SWIG_arg_fail(2)) SWIG_fail;
14162 }
14163 {
14164 arg3 = (int)(SWIG_As_int(obj2));
14165 if (SWIG_arg_fail(3)) SWIG_fail;
14166 }
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (int)(arg1)->FindColumn(arg2,arg3);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 {
14175 resultobj = SWIG_From_int((int)(result));
14176 }
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14186 PyObject * obj0 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 (arg1)->StartRecord();
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 Py_INCREF(Py_None); resultobj = Py_None;
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14211 PyObject * obj0 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 (arg1)->StopRecord();
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 Py_INCREF(Py_None); resultobj = Py_None;
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14236 int arg2 ;
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj1 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "lexer", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
14248 if (SWIG_arg_fail(2)) SWIG_fail;
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 (arg1)->SetLexer(arg2);
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261 }
14262
14263
14264 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14267 int result;
14268 PyObject * obj0 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "self", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14275 if (SWIG_arg_fail(1)) SWIG_fail;
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 result = (int)(arg1)->GetLexer();
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 {
14284 resultobj = SWIG_From_int((int)(result));
14285 }
14286 return resultobj;
14287 fail:
14288 return NULL;
14289 }
14290
14291
14292 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj;
14294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14295 int arg2 ;
14296 int arg3 ;
14297 PyObject * obj0 = 0 ;
14298 PyObject * obj1 = 0 ;
14299 PyObject * obj2 = 0 ;
14300 char *kwnames[] = {
14301 (char *) "self",(char *) "start",(char *) "end", NULL
14302 };
14303
14304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14306 if (SWIG_arg_fail(1)) SWIG_fail;
14307 {
14308 arg2 = (int)(SWIG_As_int(obj1));
14309 if (SWIG_arg_fail(2)) SWIG_fail;
14310 }
14311 {
14312 arg3 = (int)(SWIG_As_int(obj2));
14313 if (SWIG_arg_fail(3)) SWIG_fail;
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->Colourise(arg2,arg3);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14332 wxString *arg2 = 0 ;
14333 wxString *arg3 = 0 ;
14334 bool temp2 = false ;
14335 bool temp3 = false ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self",(char *) "key",(char *) "value", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
14344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail;
14346 {
14347 arg2 = wxString_in_helper(obj1);
14348 if (arg2 == NULL) SWIG_fail;
14349 temp2 = true;
14350 }
14351 {
14352 arg3 = wxString_in_helper(obj2);
14353 if (arg3 == NULL) SWIG_fail;
14354 temp3 = true;
14355 }
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 Py_INCREF(Py_None); resultobj = Py_None;
14364 {
14365 if (temp2)
14366 delete arg2;
14367 }
14368 {
14369 if (temp3)
14370 delete arg3;
14371 }
14372 return resultobj;
14373 fail:
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 {
14379 if (temp3)
14380 delete arg3;
14381 }
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14389 int arg2 ;
14390 wxString *arg3 = 0 ;
14391 bool temp3 = false ;
14392 PyObject * obj0 = 0 ;
14393 PyObject * obj1 = 0 ;
14394 PyObject * obj2 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail;
14402 {
14403 arg2 = (int)(SWIG_As_int(obj1));
14404 if (SWIG_arg_fail(2)) SWIG_fail;
14405 }
14406 {
14407 arg3 = wxString_in_helper(obj2);
14408 if (arg3 == NULL) SWIG_fail;
14409 temp3 = true;
14410 }
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 {
14420 if (temp3)
14421 delete arg3;
14422 }
14423 return resultobj;
14424 fail:
14425 {
14426 if (temp3)
14427 delete arg3;
14428 }
14429 return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14436 wxString *arg2 = 0 ;
14437 bool temp2 = false ;
14438 PyObject * obj0 = 0 ;
14439 PyObject * obj1 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self",(char *) "language", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail;
14447 {
14448 arg2 = wxString_in_helper(obj1);
14449 if (arg2 == NULL) SWIG_fail;
14450 temp2 = true;
14451 }
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 (arg1)->SetLexerLanguage((wxString const &)*arg2);
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 Py_INCREF(Py_None); resultobj = Py_None;
14460 {
14461 if (temp2)
14462 delete arg2;
14463 }
14464 return resultobj;
14465 fail:
14466 {
14467 if (temp2)
14468 delete arg2;
14469 }
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14477 int result;
14478 PyObject * obj0 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (int)(arg1)->GetCurrentLine();
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 {
14494 resultobj = SWIG_From_int((int)(result));
14495 }
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj;
14504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14505 int arg2 ;
14506 wxString *arg3 = 0 ;
14507 bool temp3 = false ;
14508 PyObject * obj0 = 0 ;
14509 PyObject * obj1 = 0 ;
14510 PyObject * obj2 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail;
14518 {
14519 arg2 = (int)(SWIG_As_int(obj1));
14520 if (SWIG_arg_fail(2)) SWIG_fail;
14521 }
14522 {
14523 arg3 = wxString_in_helper(obj2);
14524 if (arg3 == NULL) SWIG_fail;
14525 temp3 = true;
14526 }
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 {
14536 if (temp3)
14537 delete arg3;
14538 }
14539 return resultobj;
14540 fail:
14541 {
14542 if (temp3)
14543 delete arg3;
14544 }
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14552 int arg2 ;
14553 wxFont *arg3 = 0 ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
14556 PyObject * obj2 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "styleNum",(char *) "font", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
14565 arg2 = (int)(SWIG_As_int(obj1));
14566 if (SWIG_arg_fail(2)) SWIG_fail;
14567 }
14568 {
14569 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14570 if (SWIG_arg_fail(3)) SWIG_fail;
14571 if (arg3 == NULL) {
14572 SWIG_null_ref("wxFont");
14573 }
14574 if (SWIG_arg_fail(3)) SWIG_fail;
14575 }
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 (arg1)->StyleSetFont(arg2,*arg3);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 Py_INCREF(Py_None); resultobj = Py_None;
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14593 int arg2 ;
14594 int arg3 ;
14595 wxString *arg4 = 0 ;
14596 bool arg5 ;
14597 bool arg6 ;
14598 bool arg7 ;
14599 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
14600 bool temp4 = false ;
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
14603 PyObject * obj2 = 0 ;
14604 PyObject * obj3 = 0 ;
14605 PyObject * obj4 = 0 ;
14606 PyObject * obj5 = 0 ;
14607 PyObject * obj6 = 0 ;
14608 PyObject * obj7 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail;
14616 {
14617 arg2 = (int)(SWIG_As_int(obj1));
14618 if (SWIG_arg_fail(2)) SWIG_fail;
14619 }
14620 {
14621 arg3 = (int)(SWIG_As_int(obj2));
14622 if (SWIG_arg_fail(3)) SWIG_fail;
14623 }
14624 {
14625 arg4 = wxString_in_helper(obj3);
14626 if (arg4 == NULL) SWIG_fail;
14627 temp4 = true;
14628 }
14629 {
14630 arg5 = (bool)(SWIG_As_bool(obj4));
14631 if (SWIG_arg_fail(5)) SWIG_fail;
14632 }
14633 {
14634 arg6 = (bool)(SWIG_As_bool(obj5));
14635 if (SWIG_arg_fail(6)) SWIG_fail;
14636 }
14637 {
14638 arg7 = (bool)(SWIG_As_bool(obj6));
14639 if (SWIG_arg_fail(7)) SWIG_fail;
14640 }
14641 if (obj7) {
14642 {
14643 arg8 = (wxFontEncoding)(SWIG_As_int(obj7));
14644 if (SWIG_arg_fail(8)) SWIG_fail;
14645 }
14646 }
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxFontEncoding )arg8);
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 Py_INCREF(Py_None); resultobj = Py_None;
14655 {
14656 if (temp4)
14657 delete arg4;
14658 }
14659 return resultobj;
14660 fail:
14661 {
14662 if (temp4)
14663 delete arg4;
14664 }
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14672 int arg2 ;
14673 int arg3 ;
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 PyObject * obj2 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "style",(char *) "characterSet", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
14682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail;
14684 {
14685 arg2 = (int)(SWIG_As_int(obj1));
14686 if (SWIG_arg_fail(2)) SWIG_fail;
14687 }
14688 {
14689 arg3 = (int)(SWIG_As_int(obj2));
14690 if (SWIG_arg_fail(3)) SWIG_fail;
14691 }
14692 {
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 (arg1)->StyleSetCharacterSet(arg2,arg3);
14695
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 Py_INCREF(Py_None); resultobj = Py_None;
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14709 int arg2 ;
14710 wxFontEncoding arg3 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 PyObject * obj2 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "self",(char *) "style",(char *) "encoding", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
14719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail;
14721 {
14722 arg2 = (int)(SWIG_As_int(obj1));
14723 if (SWIG_arg_fail(2)) SWIG_fail;
14724 }
14725 {
14726 arg3 = (wxFontEncoding)(SWIG_As_int(obj2));
14727 if (SWIG_arg_fail(3)) SWIG_fail;
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->StyleSetFontEncoding(arg2,(wxFontEncoding )arg3);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14746 int arg2 ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self",(char *) "cmd", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail;
14756 {
14757 arg2 = (int)(SWIG_As_int(obj1));
14758 if (SWIG_arg_fail(2)) SWIG_fail;
14759 }
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 (arg1)->CmdKeyExecute(arg2);
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 Py_INCREF(Py_None); resultobj = Py_None;
14768 return resultobj;
14769 fail:
14770 return NULL;
14771 }
14772
14773
14774 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14777 int arg2 ;
14778 int arg3 ;
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 PyObject * obj2 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self",(char *) "left",(char *) "right", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail;
14789 {
14790 arg2 = (int)(SWIG_As_int(obj1));
14791 if (SWIG_arg_fail(2)) SWIG_fail;
14792 }
14793 {
14794 arg3 = (int)(SWIG_As_int(obj2));
14795 if (SWIG_arg_fail(3)) SWIG_fail;
14796 }
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 (arg1)->SetMargins(arg2,arg3);
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 Py_INCREF(Py_None); resultobj = Py_None;
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj;
14813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14814 int *arg2 = (int *) 0 ;
14815 int *arg3 = (int *) 0 ;
14816 int temp2 ;
14817 int res2 = 0 ;
14818 int temp3 ;
14819 int res3 = 0 ;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14826 arg3 = &temp3; res3 = SWIG_NEWOBJ;
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
14828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14829 if (SWIG_arg_fail(1)) SWIG_fail;
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->GetSelection(arg2,arg3);
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14839 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14840 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14841 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
14842 return resultobj;
14843 fail:
14844 return NULL;
14845 }
14846
14847
14848 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14851 int arg2 ;
14852 wxPoint result;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "pos", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
14860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail;
14862 {
14863 arg2 = (int)(SWIG_As_int(obj1));
14864 if (SWIG_arg_fail(2)) SWIG_fail;
14865 }
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = (arg1)->PointFromPosition(arg2);
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 {
14874 wxPoint * resultptr;
14875 resultptr = new wxPoint((wxPoint &)(result));
14876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14877 }
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14887 int arg2 ;
14888 PyObject * obj0 = 0 ;
14889 PyObject * obj1 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "line", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) 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 = (int)(SWIG_As_int(obj1));
14899 if (SWIG_arg_fail(2)) SWIG_fail;
14900 }
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 (arg1)->ScrollToLine(arg2);
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 Py_INCREF(Py_None); resultobj = Py_None;
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14918 int arg2 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self",(char *) "column", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
14926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail;
14928 {
14929 arg2 = (int)(SWIG_As_int(obj1));
14930 if (SWIG_arg_fail(2)) SWIG_fail;
14931 }
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 (arg1)->ScrollToColumn(arg2);
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 Py_INCREF(Py_None); resultobj = Py_None;
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14949 int arg2 ;
14950 long arg3 = (long) 0 ;
14951 long arg4 = (long) 0 ;
14952 long result;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 PyObject * obj2 = 0 ;
14956 PyObject * obj3 = 0 ;
14957 char *kwnames[] = {
14958 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail;
14964 {
14965 arg2 = (int)(SWIG_As_int(obj1));
14966 if (SWIG_arg_fail(2)) SWIG_fail;
14967 }
14968 if (obj2) {
14969 {
14970 arg3 = (long)(SWIG_As_long(obj2));
14971 if (SWIG_arg_fail(3)) SWIG_fail;
14972 }
14973 }
14974 if (obj3) {
14975 {
14976 arg4 = (long)(SWIG_As_long(obj3));
14977 if (SWIG_arg_fail(4)) SWIG_fail;
14978 }
14979 }
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 {
14988 resultobj = SWIG_From_long((long)(result));
14989 }
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14999 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
15000 PyObject * obj0 = 0 ;
15001 PyObject * obj1 = 0 ;
15002 char *kwnames[] = {
15003 (char *) "self",(char *) "bar", NULL
15004 };
15005
15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
15007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail;
15009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15010 if (SWIG_arg_fail(2)) SWIG_fail;
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 (arg1)->SetVScrollBar(arg2);
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 Py_INCREF(Py_None); resultobj = Py_None;
15019 return resultobj;
15020 fail:
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15028 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self",(char *) "bar", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15039 if (SWIG_arg_fail(2)) SWIG_fail;
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 (arg1)->SetHScrollBar(arg2);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 Py_INCREF(Py_None); resultobj = Py_None;
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15057 bool result;
15058 PyObject * obj0 = 0 ;
15059 char *kwnames[] = {
15060 (char *) "self", NULL
15061 };
15062
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15065 if (SWIG_arg_fail(1)) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 result = (bool)(arg1)->GetLastKeydownProcessed();
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 {
15074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15075 }
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj;
15084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15085 bool arg2 ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self",(char *) "val", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15094 if (SWIG_arg_fail(1)) SWIG_fail;
15095 {
15096 arg2 = (bool)(SWIG_As_bool(obj1));
15097 if (SWIG_arg_fail(2)) SWIG_fail;
15098 }
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 (arg1)->SetLastKeydownProcessed(arg2);
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 Py_INCREF(Py_None); resultobj = Py_None;
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15116 wxString *arg2 = 0 ;
15117 bool result;
15118 bool temp2 = false ;
15119 PyObject * obj0 = 0 ;
15120 PyObject * obj1 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self",(char *) "filename", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail;
15128 {
15129 arg2 = wxString_in_helper(obj1);
15130 if (arg2 == NULL) SWIG_fail;
15131 temp2 = true;
15132 }
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 {
15141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15142 }
15143 {
15144 if (temp2)
15145 delete arg2;
15146 }
15147 return resultobj;
15148 fail:
15149 {
15150 if (temp2)
15151 delete arg2;
15152 }
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15160 wxString *arg2 = 0 ;
15161 bool result;
15162 bool temp2 = false ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "self",(char *) "filename", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail;
15172 {
15173 arg2 = wxString_in_helper(obj1);
15174 if (arg2 == NULL) SWIG_fail;
15175 temp2 = true;
15176 }
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 {
15185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15186 }
15187 {
15188 if (temp2)
15189 delete arg2;
15190 }
15191 return resultobj;
15192 fail:
15193 {
15194 if (temp2)
15195 delete arg2;
15196 }
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15204 int arg2 ;
15205 int arg3 ;
15206 wxDragResult arg4 ;
15207 wxDragResult result;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15210 PyObject * obj2 = 0 ;
15211 PyObject * obj3 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail;
15219 {
15220 arg2 = (int)(SWIG_As_int(obj1));
15221 if (SWIG_arg_fail(2)) SWIG_fail;
15222 }
15223 {
15224 arg3 = (int)(SWIG_As_int(obj2));
15225 if (SWIG_arg_fail(3)) SWIG_fail;
15226 }
15227 {
15228 arg4 = (wxDragResult)(SWIG_As_int(obj3));
15229 if (SWIG_arg_fail(4)) SWIG_fail;
15230 }
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = SWIG_From_int((result));
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15248 long arg2 ;
15249 long arg3 ;
15250 wxString *arg4 = 0 ;
15251 bool result;
15252 bool temp4 = false ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 PyObject * obj2 = 0 ;
15256 PyObject * obj3 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail;
15264 {
15265 arg2 = (long)(SWIG_As_long(obj1));
15266 if (SWIG_arg_fail(2)) SWIG_fail;
15267 }
15268 {
15269 arg3 = (long)(SWIG_As_long(obj2));
15270 if (SWIG_arg_fail(3)) SWIG_fail;
15271 }
15272 {
15273 arg4 = wxString_in_helper(obj3);
15274 if (arg4 == NULL) SWIG_fail;
15275 temp4 = true;
15276 }
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
15285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15286 }
15287 {
15288 if (temp4)
15289 delete arg4;
15290 }
15291 return resultobj;
15292 fail:
15293 {
15294 if (temp4)
15295 delete arg4;
15296 }
15297 return NULL;
15298 }
15299
15300
15301 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15304 bool arg2 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self",(char *) "useAA", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
15314 {
15315 arg2 = (bool)(SWIG_As_bool(obj1));
15316 if (SWIG_arg_fail(2)) SWIG_fail;
15317 }
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 (arg1)->SetUseAntiAliasing(arg2);
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 Py_INCREF(Py_None); resultobj = Py_None;
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15335 bool result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (bool)(arg1)->GetUseAntiAliasing();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 }
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15363 char *arg2 = (char *) 0 ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self",(char *) "text", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail;
15371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail;
15373 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15374 SWIG_arg_fail(2);SWIG_fail;
15375 }
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->AddTextRaw((char const *)arg2);
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 Py_INCREF(Py_None); resultobj = Py_None;
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15393 int arg2 ;
15394 char *arg3 = (char *) 0 ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 PyObject * obj2 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "pos",(char *) "text", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15404 if (SWIG_arg_fail(1)) SWIG_fail;
15405 {
15406 arg2 = (int)(SWIG_As_int(obj1));
15407 if (SWIG_arg_fail(2)) SWIG_fail;
15408 }
15409 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
15410 SWIG_arg_fail(3);SWIG_fail;
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15429 int *arg2 = (int *) 0 ;
15430 wxCharBuffer result;
15431 int temp2 ;
15432 int res2 = 0 ;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail;
15440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (arg1)->GetCurLineRaw(arg2);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 resultobj = PyString_FromString((char*)(&result)->data());
15451 }
15452 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15453 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15463 int arg2 ;
15464 wxCharBuffer result;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "line", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail;
15472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail;
15474 {
15475 arg2 = (int)(SWIG_As_int(obj1));
15476 if (SWIG_arg_fail(2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (arg1)->GetLineRaw(arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 {
15486 resultobj = PyString_FromString((char*)(&result)->data());
15487 }
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15497 wxCharBuffer result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail;
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (arg1)->GetSelectedTextRaw();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 resultobj = PyString_FromString((char*)(&result)->data());
15515 }
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15525 int arg2 ;
15526 int arg3 ;
15527 wxCharBuffer result;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 PyObject * obj2 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail;
15538 {
15539 arg2 = (int)(SWIG_As_int(obj1));
15540 if (SWIG_arg_fail(2)) SWIG_fail;
15541 }
15542 {
15543 arg3 = (int)(SWIG_As_int(obj2));
15544 if (SWIG_arg_fail(3)) SWIG_fail;
15545 }
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (arg1)->GetTextRangeRaw(arg2,arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 resultobj = PyString_FromString((char*)(&result)->data());
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559 }
15560
15561
15562 static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15565 char *arg2 = (char *) 0 ;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "text", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail;
15573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail;
15575 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15576 SWIG_arg_fail(2);SWIG_fail;
15577 }
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->SetTextRaw((char const *)arg2);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15595 wxCharBuffer result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail;
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (arg1)->GetTextRaw();
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 resultobj = PyString_FromString((char*)(&result)->data());
15613 }
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15623 char *arg2 = (char *) 0 ;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "text", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail;
15631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail;
15633 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15634 SWIG_arg_fail(2);SWIG_fail;
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->AppendTextRaw((char const *)arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15651 PyObject *obj;
15652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15654 Py_INCREF(obj);
15655 return Py_BuildValue((char *)"");
15656 }
15657 static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxEventType arg1 = (wxEventType) 0 ;
15660 int arg2 = (int) 0 ;
15661 wxStyledTextEvent *result;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "commandType",(char *) "id", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15669 if (obj0) {
15670 {
15671 arg1 = (wxEventType)(SWIG_As_int(obj0));
15672 if (SWIG_arg_fail(1)) SWIG_fail;
15673 }
15674 }
15675 if (obj1) {
15676 {
15677 arg2 = (int)(SWIG_As_int(obj1));
15678 if (SWIG_arg_fail(2)) SWIG_fail;
15679 }
15680 }
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
15683 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
15689 return resultobj;
15690 fail:
15691 return NULL;
15692 }
15693
15694
15695 static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15705 if (SWIG_arg_fail(1)) SWIG_fail;
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 delete arg1;
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 Py_INCREF(Py_None); resultobj = Py_None;
15714 return resultobj;
15715 fail:
15716 return NULL;
15717 }
15718
15719
15720 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15723 int arg2 ;
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 char *kwnames[] = {
15727 (char *) "self",(char *) "pos", NULL
15728 };
15729
15730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15732 if (SWIG_arg_fail(1)) SWIG_fail;
15733 {
15734 arg2 = (int)(SWIG_As_int(obj1));
15735 if (SWIG_arg_fail(2)) SWIG_fail;
15736 }
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 (arg1)->SetPosition(arg2);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
15745 return resultobj;
15746 fail:
15747 return NULL;
15748 }
15749
15750
15751 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15754 int arg2 ;
15755 PyObject * obj0 = 0 ;
15756 PyObject * obj1 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self",(char *) "k", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15763 if (SWIG_arg_fail(1)) SWIG_fail;
15764 {
15765 arg2 = (int)(SWIG_As_int(obj1));
15766 if (SWIG_arg_fail(2)) SWIG_fail;
15767 }
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->SetKey(arg2);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 return resultobj;
15777 fail:
15778 return NULL;
15779 }
15780
15781
15782 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15785 int arg2 ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 char *kwnames[] = {
15789 (char *) "self",(char *) "m", NULL
15790 };
15791
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail;
15795 {
15796 arg2 = (int)(SWIG_As_int(obj1));
15797 if (SWIG_arg_fail(2)) SWIG_fail;
15798 }
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->SetModifiers(arg2);
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15816 int arg2 ;
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self",(char *) "t", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail;
15826 {
15827 arg2 = (int)(SWIG_As_int(obj1));
15828 if (SWIG_arg_fail(2)) SWIG_fail;
15829 }
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 (arg1)->SetModificationType(arg2);
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 Py_INCREF(Py_None); resultobj = Py_None;
15838 return resultobj;
15839 fail:
15840 return NULL;
15841 }
15842
15843
15844 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15847 wxString *arg2 = 0 ;
15848 bool temp2 = false ;
15849 PyObject * obj0 = 0 ;
15850 PyObject * obj1 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self",(char *) "t", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail;
15858 {
15859 arg2 = wxString_in_helper(obj1);
15860 if (arg2 == NULL) SWIG_fail;
15861 temp2 = true;
15862 }
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 (arg1)->SetText((wxString const &)*arg2);
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 Py_INCREF(Py_None); resultobj = Py_None;
15871 {
15872 if (temp2)
15873 delete arg2;
15874 }
15875 return resultobj;
15876 fail:
15877 {
15878 if (temp2)
15879 delete arg2;
15880 }
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15888 int arg2 ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self",(char *) "len", NULL
15893 };
15894
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15897 if (SWIG_arg_fail(1)) SWIG_fail;
15898 {
15899 arg2 = (int)(SWIG_As_int(obj1));
15900 if (SWIG_arg_fail(2)) SWIG_fail;
15901 }
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 (arg1)->SetLength(arg2);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 Py_INCREF(Py_None); resultobj = Py_None;
15910 return resultobj;
15911 fail:
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15919 int arg2 ;
15920 PyObject * obj0 = 0 ;
15921 PyObject * obj1 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "num", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail;
15929 {
15930 arg2 = (int)(SWIG_As_int(obj1));
15931 if (SWIG_arg_fail(2)) SWIG_fail;
15932 }
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 (arg1)->SetLinesAdded(arg2);
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 Py_INCREF(Py_None); resultobj = Py_None;
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15950 int arg2 ;
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self",(char *) "val", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail;
15960 {
15961 arg2 = (int)(SWIG_As_int(obj1));
15962 if (SWIG_arg_fail(2)) SWIG_fail;
15963 }
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 (arg1)->SetLine(arg2);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15981 int arg2 ;
15982 PyObject * obj0 = 0 ;
15983 PyObject * obj1 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "val", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15990 if (SWIG_arg_fail(1)) SWIG_fail;
15991 {
15992 arg2 = (int)(SWIG_As_int(obj1));
15993 if (SWIG_arg_fail(2)) SWIG_fail;
15994 }
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 (arg1)->SetFoldLevelNow(arg2);
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16012 int arg2 ;
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self",(char *) "val", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
16020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16021 if (SWIG_arg_fail(1)) SWIG_fail;
16022 {
16023 arg2 = (int)(SWIG_As_int(obj1));
16024 if (SWIG_arg_fail(2)) SWIG_fail;
16025 }
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 (arg1)->SetFoldLevelPrev(arg2);
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 Py_INCREF(Py_None); resultobj = Py_None;
16034 return resultobj;
16035 fail:
16036 return NULL;
16037 }
16038
16039
16040 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16043 int arg2 ;
16044 PyObject * obj0 = 0 ;
16045 PyObject * obj1 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self",(char *) "val", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
16051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail;
16053 {
16054 arg2 = (int)(SWIG_As_int(obj1));
16055 if (SWIG_arg_fail(2)) SWIG_fail;
16056 }
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 (arg1)->SetMargin(arg2);
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 Py_INCREF(Py_None); resultobj = Py_None;
16065 return resultobj;
16066 fail:
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16074 int arg2 ;
16075 PyObject * obj0 = 0 ;
16076 PyObject * obj1 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self",(char *) "val", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
16082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16083 if (SWIG_arg_fail(1)) SWIG_fail;
16084 {
16085 arg2 = (int)(SWIG_As_int(obj1));
16086 if (SWIG_arg_fail(2)) SWIG_fail;
16087 }
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 (arg1)->SetMessage(arg2);
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 Py_INCREF(Py_None); resultobj = Py_None;
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16105 int arg2 ;
16106 PyObject * obj0 = 0 ;
16107 PyObject * obj1 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self",(char *) "val", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
16113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail;
16115 {
16116 arg2 = (int)(SWIG_As_int(obj1));
16117 if (SWIG_arg_fail(2)) SWIG_fail;
16118 }
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 (arg1)->SetWParam(arg2);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 Py_INCREF(Py_None); resultobj = Py_None;
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16136 int arg2 ;
16137 PyObject * obj0 = 0 ;
16138 PyObject * obj1 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self",(char *) "val", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
16144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail;
16146 {
16147 arg2 = (int)(SWIG_As_int(obj1));
16148 if (SWIG_arg_fail(2)) SWIG_fail;
16149 }
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 (arg1)->SetLParam(arg2);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 Py_INCREF(Py_None); resultobj = Py_None;
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16167 int arg2 ;
16168 PyObject * obj0 = 0 ;
16169 PyObject * obj1 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "val", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
16175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16176 if (SWIG_arg_fail(1)) SWIG_fail;
16177 {
16178 arg2 = (int)(SWIG_As_int(obj1));
16179 if (SWIG_arg_fail(2)) SWIG_fail;
16180 }
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 (arg1)->SetListType(arg2);
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 Py_INCREF(Py_None); resultobj = Py_None;
16189 return resultobj;
16190 fail:
16191 return NULL;
16192 }
16193
16194
16195 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16198 int arg2 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "val", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
16208 {
16209 arg2 = (int)(SWIG_As_int(obj1));
16210 if (SWIG_arg_fail(2)) SWIG_fail;
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 (arg1)->SetX(arg2);
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 Py_INCREF(Py_None); resultobj = Py_None;
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16229 int arg2 ;
16230 PyObject * obj0 = 0 ;
16231 PyObject * obj1 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "val", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
16237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail;
16239 {
16240 arg2 = (int)(SWIG_As_int(obj1));
16241 if (SWIG_arg_fail(2)) SWIG_fail;
16242 }
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 (arg1)->SetY(arg2);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 Py_INCREF(Py_None); resultobj = Py_None;
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16260 wxString *arg2 = 0 ;
16261 bool temp2 = false ;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "val", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
16269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail;
16271 {
16272 arg2 = wxString_in_helper(obj1);
16273 if (arg2 == NULL) SWIG_fail;
16274 temp2 = true;
16275 }
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 (arg1)->SetDragText((wxString const &)*arg2);
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 Py_INCREF(Py_None); resultobj = Py_None;
16284 {
16285 if (temp2)
16286 delete arg2;
16287 }
16288 return resultobj;
16289 fail:
16290 {
16291 if (temp2)
16292 delete arg2;
16293 }
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16301 bool arg2 ;
16302 PyObject * obj0 = 0 ;
16303 PyObject * obj1 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "val", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
16309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail;
16311 {
16312 arg2 = (bool)(SWIG_As_bool(obj1));
16313 if (SWIG_arg_fail(2)) SWIG_fail;
16314 }
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->SetDragAllowMove(arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16332 wxDragResult arg2 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self",(char *) "val", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
16340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16341 if (SWIG_arg_fail(1)) SWIG_fail;
16342 {
16343 arg2 = (wxDragResult)(SWIG_As_int(obj1));
16344 if (SWIG_arg_fail(2)) SWIG_fail;
16345 }
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 (arg1)->SetDragResult((wxDragResult )arg2);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16363 int result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
16370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail;
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 resultobj = SWIG_From_int((int)(result));
16381 }
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16391 int result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail;
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 {
16408 resultobj = SWIG_From_int((int)(result));
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16419 int result;
16420 PyObject * obj0 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self", NULL
16423 };
16424
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail;
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 {
16436 resultobj = SWIG_From_int((int)(result));
16437 }
16438 return resultobj;
16439 fail:
16440 return NULL;
16441 }
16442
16443
16444 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj;
16446 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16447 int result;
16448 PyObject * obj0 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 {
16464 resultobj = SWIG_From_int((int)(result));
16465 }
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16475 wxString result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = ((wxStyledTextEvent const *)arg1)->GetText();
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 {
16492 #if wxUSE_UNICODE
16493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16494 #else
16495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16496 #endif
16497 }
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16507 int result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16515 if (SWIG_arg_fail(1)) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 resultobj = SWIG_From_int((int)(result));
16525 }
16526 return resultobj;
16527 fail:
16528 return NULL;
16529 }
16530
16531
16532 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
16533 PyObject *resultobj;
16534 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16535 int result;
16536 PyObject * obj0 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16543 if (SWIG_arg_fail(1)) SWIG_fail;
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 {
16552 resultobj = SWIG_From_int((int)(result));
16553 }
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16563 int result;
16564 PyObject * obj0 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16571 if (SWIG_arg_fail(1)) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 resultobj = SWIG_From_int((int)(result));
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16591 int result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16599 if (SWIG_arg_fail(1)) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = SWIG_From_int((int)(result));
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16619 int result;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 resultobj = SWIG_From_int((int)(result));
16637 }
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16647 int result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 {
16664 resultobj = SWIG_From_int((int)(result));
16665 }
16666 return resultobj;
16667 fail:
16668 return NULL;
16669 }
16670
16671
16672 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16675 int result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 resultobj = SWIG_From_int((int)(result));
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16703 int result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = SWIG_From_int((int)(result));
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16731 int result;
16732 PyObject * obj0 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = SWIG_From_int((int)(result));
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16759 int result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 {
16776 resultobj = SWIG_From_int((int)(result));
16777 }
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16787 int result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 {
16804 resultobj = SWIG_From_int((int)(result));
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16815 int result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail;
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 {
16832 resultobj = SWIG_From_int((int)(result));
16833 }
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16843 wxString result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
16850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (arg1)->GetDragText();
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 {
16860 #if wxUSE_UNICODE
16861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16862 #else
16863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16864 #endif
16865 }
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16875 bool result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
16882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (bool)(arg1)->GetDragAllowMove();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16893 }
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16903 wxDragResult result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
16910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16911 if (SWIG_arg_fail(1)) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxDragResult)(arg1)->GetDragResult();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_From_int((result));
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16929 bool result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
16936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 {
16946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16947 }
16948 return resultobj;
16949 fail:
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16957 bool result;
16958 PyObject * obj0 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
16964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail;
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16975 }
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16985 bool result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
16992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail;
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17003 }
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17013 wxEvent *result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
17020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17021 if (SWIG_arg_fail(1)) SWIG_fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
17037 PyObject *obj;
17038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
17040 Py_INCREF(obj);
17041 return Py_BuildValue((char *)"");
17042 }
17043 static PyMethodDef SwigMethods[] = {
17044 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17045 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17046 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17047 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
17048 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17049 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
17050 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17051 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17052 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17053 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
17054 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17055 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17056 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
17057 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
17058 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17059 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
17060 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
17061 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17062 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
17063 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17064 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17065 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17066 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17067 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17068 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
17069 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
17070 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
17071 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
17072 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17073 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
17074 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
17075 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
17076 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17077 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17078 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17079 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17080 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17081 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17082 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17083 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17084 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17085 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
17086 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17087 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17088 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
17089 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17090 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
17091 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
17092 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
17093 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
17094 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
17095 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17096 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17097 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17098 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17099 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17100 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17101 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17102 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17103 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17104 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17105 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17106 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
17107 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17108 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17109 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
17110 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
17111 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17112 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17113 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
17114 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
17115 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17116 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17117 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17118 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
17119 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
17120 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17121 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
17122 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17123 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17124 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17125 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
17126 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17127 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17128 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17129 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17130 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17131 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17132 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17133 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17134 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17135 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17136 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17137 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17138 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17139 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17140 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17141 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17142 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17143 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
17144 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
17145 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17146 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
17147 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
17148 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
17149 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
17150 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17151 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17152 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
17153 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17154 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17155 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
17156 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17157 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17158 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17159 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17160 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
17161 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17162 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17163 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17164 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17165 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
17166 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
17167 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17168 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17169 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17170 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17171 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17172 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17173 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17174 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17175 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17176 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17177 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17178 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17179 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17180 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17181 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17182 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17183 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17184 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17185 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17186 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17187 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17188 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17189 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17190 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17191 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17192 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17193 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17194 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17195 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17196 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
17197 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
17198 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17199 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17200 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
17201 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17202 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17203 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17204 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17205 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
17206 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17207 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
17208 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
17209 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17210 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17211 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
17212 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
17213 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17214 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17215 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17216 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
17217 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
17218 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
17219 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
17220 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
17221 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
17222 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
17223 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
17224 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17225 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17226 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
17227 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17228 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17229 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17230 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17231 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17232 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17233 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17234 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17235 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17236 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
17237 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17238 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17239 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17240 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
17241 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17242 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
17243 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17244 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17245 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17246 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17247 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17248 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
17249 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17250 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17251 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17252 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
17253 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
17254 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
17255 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
17256 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17257 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17258 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17259 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
17260 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17261 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17262 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17263 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17264 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17265 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17266 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17267 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17268 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17269 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17270 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17271 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17272 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17273 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17274 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17275 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17276 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17277 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17278 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17279 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17280 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17281 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17282 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17283 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17284 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17285 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17286 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17287 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17288 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17289 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
17290 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17291 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17292 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17293 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
17294 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
17295 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
17296 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
17297 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
17298 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17299 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
17300 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17301 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17302 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17303 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
17304 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17305 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17306 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17307 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17308 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17309 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
17310 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17311 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17312 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17313 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
17314 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17315 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17316 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17317 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17318 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17319 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17320 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17321 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17322 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
17323 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
17324 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
17325 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
17326 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
17327 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
17328 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
17329 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17330 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
17331 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
17332 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17333 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17334 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
17335 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17336 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
17337 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
17338 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
17339 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
17340 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
17341 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
17342 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
17343 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17344 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17345 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17346 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17347 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17348 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17349 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17350 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17351 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17352 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17353 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
17354 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
17355 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
17356 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17357 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
17358 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
17359 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17360 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17361 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17362 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17363 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17364 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17365 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17366 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17367 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17368 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17369 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17370 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17371 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17372 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17373 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17374 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17375 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17376 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17377 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17378 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17379 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17380 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17381 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17382 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17383 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17384 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17385 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17386 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17387 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17388 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17389 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17390 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17391 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17392 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17393 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17394 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17395 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17396 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17397 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17398 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17399 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17400 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17401 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17402 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17403 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17404 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17405 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17406 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17407 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17408 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17409 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17410 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17411 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17412 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17413 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17414 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17415 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17416 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17417 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17418 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17419 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17420 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17421 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17422 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17423 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17424 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17425 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17426 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17427 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17428 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17429 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17430 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17431 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17432 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17433 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17434 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17435 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17436 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17437 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17438 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17439 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17440 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17441 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17442 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
17443 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17444 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17445 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17446 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17447 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17448 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17449 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17450 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17451 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17452 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17453 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17454 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17455 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
17456 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
17457 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
17458 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17459 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17460 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17461 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17462 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17463 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17464 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17465 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17466 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17467 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17468 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17469 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17470 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17471 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17472 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17473 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17474 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17475 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17476 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17477 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17478 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17479 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17480 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17481 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17482 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17483 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17484 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17485 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17486 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17487 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17488 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17489 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17490 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17491 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17492 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17493 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17495 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17496 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17497 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17498 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17501 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17502 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17503 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17506 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17507 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17508 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17511 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17513 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17515 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17516 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17522 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17523 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17524 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17525 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17527 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17529 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17530 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17532 { NULL, NULL, 0, NULL }
17533 };
17534
17535
17536 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17537
17538 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17539 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17540 }
17541 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17542 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17543 }
17544 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17545 return (void *)((wxObject *) ((wxSizerItem *) x));
17546 }
17547 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17549 }
17550 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17551 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17552 }
17553 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17554 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17555 }
17556 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17557 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17558 }
17559 static void *_p_wxSizerTo_p_wxObject(void *x) {
17560 return (void *)((wxObject *) ((wxSizer *) x));
17561 }
17562 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17563 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17564 }
17565 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17566 return (void *)((wxObject *) ((wxFileHistory *) x));
17567 }
17568 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17570 }
17571 static void *_p_wxEventTo_p_wxObject(void *x) {
17572 return (void *)((wxObject *) ((wxEvent *) x));
17573 }
17574 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17575 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17576 }
17577 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17578 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17579 }
17580 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17581 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17582 }
17583 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17584 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17585 }
17586 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17587 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17588 }
17589 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17591 }
17592 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17593 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17594 }
17595 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17596 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17597 }
17598 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17599 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17600 }
17601 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17602 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17603 }
17604 static void *_p_wxControlTo_p_wxObject(void *x) {
17605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17606 }
17607 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17608 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17609 }
17610 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17611 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17612 }
17613 static void *_p_wxFSFileTo_p_wxObject(void *x) {
17614 return (void *)((wxObject *) ((wxFSFile *) x));
17615 }
17616 static void *_p_wxClipboardTo_p_wxObject(void *x) {
17617 return (void *)((wxObject *) ((wxClipboard *) x));
17618 }
17619 static void *_p_wxPySizerTo_p_wxObject(void *x) {
17620 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17621 }
17622 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17624 }
17625 static void *_p_wxPyEventTo_p_wxObject(void *x) {
17626 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17627 }
17628 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17630 }
17631 static void *_p_wxShowEventTo_p_wxObject(void *x) {
17632 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17633 }
17634 static void *_p_wxToolTipTo_p_wxObject(void *x) {
17635 return (void *)((wxObject *) ((wxToolTip *) x));
17636 }
17637 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17638 return (void *)((wxObject *) ((wxMenuItem *) x));
17639 }
17640 static void *_p_wxDateEventTo_p_wxObject(void *x) {
17641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17642 }
17643 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17644 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17645 }
17646 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17647 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17648 }
17649 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17650 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17651 }
17652 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17653 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17654 }
17655 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17656 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17657 }
17658 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17659 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17660 }
17661 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17662 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17663 }
17664 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17665 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17666 }
17667 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17668 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17669 }
17670 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17671 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17672 }
17673 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17674 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17675 }
17676 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17677 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17678 }
17679 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17680 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17681 }
17682 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17683 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17684 }
17685 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17687 }
17688 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17690 }
17691 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17692 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17693 }
17694 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17695 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17696 }
17697 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17698 return (void *)((wxObject *) ((wxImageHandler *) x));
17699 }
17700 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17701 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17702 }
17703 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17704 return (void *)((wxObject *) ((wxEvtHandler *) x));
17705 }
17706 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17707 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17708 }
17709 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17710 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17711 }
17712 static void *_p_wxImageTo_p_wxObject(void *x) {
17713 return (void *)((wxObject *) ((wxImage *) x));
17714 }
17715 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17716 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17717 }
17718 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17719 return (void *)((wxObject *) ((wxSystemOptions *) x));
17720 }
17721 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17722 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17723 }
17724 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17726 }
17727 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17728 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17729 }
17730 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17731 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17732 }
17733 static void *_p_wxWindowTo_p_wxObject(void *x) {
17734 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17735 }
17736 static void *_p_wxMenuTo_p_wxObject(void *x) {
17737 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17738 }
17739 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17741 }
17742 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17743 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17744 }
17745 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17746 return (void *)((wxObject *) ((wxFileSystem *) x));
17747 }
17748 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17750 }
17751 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17752 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17753 }
17754 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17755 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17756 }
17757 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17758 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17759 }
17760 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17761 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17762 }
17763 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17764 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17765 }
17766 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17767 return (void *)((wxObject *) ((wxBusyInfo *) x));
17768 }
17769 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17771 }
17772 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17773 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17774 }
17775 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17776 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17777 }
17778 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17779 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17780 }
17781 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17783 }
17784 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17785 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17786 }
17787 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17789 }
17790 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17791 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17792 }
17793 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17794 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17795 }
17796 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17797 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17798 }
17799 static void *_p_wxControlTo_p_wxWindow(void *x) {
17800 return (void *)((wxWindow *) ((wxControl *) x));
17801 }
17802 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17803 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17804 }
17805 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17806 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17807 }
17808 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17809 return (void *)((wxWindow *) ((wxMenuBar *) x));
17810 }
17811 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17812 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17813 }
17814 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17815 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17816 }
17817 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17818 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17819 }
17820 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17821 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
17822 }
17823 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17824 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17825 }
17826 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
17827 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
17828 }
17829 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17830 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17831 }
17832 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17833 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17834 }
17835 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17836 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17837 }
17838 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17839 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17840 }
17841 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17842 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17843 }
17844 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17845 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17846 }
17847 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17848 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17849 }
17850 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17851 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17852 }
17853 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
17854 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
17855 }
17856 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
17857 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17858 }
17859 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17860 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17861 }
17862 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17863 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17864 }
17865 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17866 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17867 }
17868 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17869 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17870 }
17871 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
17872 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
17873 }
17874 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
17875 return (void *)((wxControl *) ((wxControlWithItems *) x));
17876 }
17877 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
17878 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
17879 }
17880 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17882 }
17883 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17884 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17885 }
17886 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17887 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17888 }
17889 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17890 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17891 }
17892 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17893 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17894 }
17895 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17896 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17897 }
17898 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
17899 return (void *)((wxEvent *) ((wxTimerEvent *) x));
17900 }
17901 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17902 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17903 }
17904 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17906 }
17907 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17908 return (void *)((wxEvent *) ((wxPyEvent *) x));
17909 }
17910 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17912 }
17913 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
17914 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
17915 }
17916 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17917 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17918 }
17919 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17921 }
17922 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17923 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17924 }
17925 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17926 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17927 }
17928 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17929 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17930 }
17931 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17932 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17933 }
17934 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17935 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17936 }
17937 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17938 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17939 }
17940 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17941 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17942 }
17943 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17944 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17945 }
17946 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17947 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17948 }
17949 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
17950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
17951 }
17952 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17953 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17954 }
17955 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17956 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17957 }
17958 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17959 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17960 }
17961 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17962 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17963 }
17964 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17965 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17966 }
17967 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17968 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17969 }
17970 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
17971 return (void *)((wxEvent *) ((wxFocusEvent *) x));
17972 }
17973 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
17974 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
17975 }
17976 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
17977 return (void *)((wxEvent *) ((wxProcessEvent *) x));
17978 }
17979 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
17980 return (void *)((wxEvent *) ((wxShowEvent *) x));
17981 }
17982 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
17983 return (void *)((wxEvent *) ((wxCommandEvent *) x));
17984 }
17985 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
17986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
17987 }
17988 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
17989 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17990 }
17991 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
17992 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
17993 }
17994 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
17995 return (void *)((wxEvent *) ((wxKeyEvent *) x));
17996 }
17997 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
17998 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
17999 }
18000 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18001 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18002 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18003 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18004 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18005 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18006 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18007 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18008 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18009 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18010 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18011 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18012 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18013 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18014 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18015 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18016 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18017 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18018 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18019 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18020 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18021 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18022 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18023 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18024 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18025 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18026 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18027 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18028
18029 static swig_type_info *swig_types_initial[] = {
18030 _swigt__p_wxRect,
18031 _swigt__p_wxObject,
18032 _swigt__p_unsigned_char,
18033 _swigt__p_wxColour,
18034 _swigt__p_wxScrollBar,
18035 _swigt__p_wxStyledTextEvent,
18036 _swigt__p_wxWindow,
18037 _swigt__p_wxCommandEvent,
18038 _swigt__p_unsigned_long,
18039 _swigt__p_wxBitmap,
18040 _swigt__p_unsigned_int,
18041 _swigt__unsigned_int,
18042 _swigt__p_form_ops_t,
18043 _swigt__p_wxDuplexMode,
18044 _swigt__p_void,
18045 _swigt__p_char,
18046 _swigt__p_wxPoint,
18047 _swigt__p_wxDC,
18048 _swigt__p_wxEvtHandler,
18049 _swigt__std__ptrdiff_t,
18050 _swigt__ptrdiff_t,
18051 _swigt__p_wxStyledTextCtrl,
18052 _swigt__p_wxFont,
18053 _swigt__p_wxControl,
18054 _swigt__p_wxEvent,
18055 _swigt__p_wxPaperSize,
18056 _swigt__p_int,
18057 _swigt__p_wxMemoryBuffer,
18058 0
18059 };
18060
18061
18062 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18063
18064 static swig_const_info swig_const_table[] = {
18065 {0, 0, 0, 0.0, 0, 0}};
18066
18067 #ifdef __cplusplus
18068 }
18069 #endif
18070
18071
18072 #ifdef __cplusplus
18073 extern "C" {
18074 #endif
18075
18076 /* Python-specific SWIG API */
18077 #define SWIG_newvarlink() SWIG_Python_newvarlink()
18078 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18079 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18080
18081 /* -----------------------------------------------------------------------------
18082 * global variable support code.
18083 * ----------------------------------------------------------------------------- */
18084
18085 typedef struct swig_globalvar {
18086 char *name; /* Name of global variable */
18087 PyObject *(*get_attr)(); /* Return the current value */
18088 int (*set_attr)(PyObject *); /* Set the value */
18089 struct swig_globalvar *next;
18090 } swig_globalvar;
18091
18092 typedef struct swig_varlinkobject {
18093 PyObject_HEAD
18094 swig_globalvar *vars;
18095 } swig_varlinkobject;
18096
18097 static PyObject *
18098 swig_varlink_repr(swig_varlinkobject *v) {
18099 v = v;
18100 return PyString_FromString("<Swig global variables>");
18101 }
18102
18103 static int
18104 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
18105 swig_globalvar *var;
18106 flags = flags;
18107 fprintf(fp,"Swig global variables { ");
18108 for (var = v->vars; var; var=var->next) {
18109 fprintf(fp,"%s", var->name);
18110 if (var->next) fprintf(fp,", ");
18111 }
18112 fprintf(fp," }\n");
18113 return 0;
18114 }
18115
18116 static PyObject *
18117 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18118 swig_globalvar *var = v->vars;
18119 while (var) {
18120 if (strcmp(var->name,n) == 0) {
18121 return (*var->get_attr)();
18122 }
18123 var = var->next;
18124 }
18125 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18126 return NULL;
18127 }
18128
18129 static int
18130 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18131 swig_globalvar *var = v->vars;
18132 while (var) {
18133 if (strcmp(var->name,n) == 0) {
18134 return (*var->set_attr)(p);
18135 }
18136 var = var->next;
18137 }
18138 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18139 return 1;
18140 }
18141
18142 static PyTypeObject varlinktype = {
18143 PyObject_HEAD_INIT(0)
18144 0, /* Number of items in variable part (ob_size) */
18145 (char *)"swigvarlink", /* Type name (tp_name) */
18146 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18147 0, /* Itemsize (tp_itemsize) */
18148 0, /* Deallocator (tp_dealloc) */
18149 (printfunc) swig_varlink_print, /* Print (tp_print) */
18150 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18151 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18152 0, /* tp_compare */
18153 (reprfunc) swig_varlink_repr, /* tp_repr */
18154 0, /* tp_as_number */
18155 0, /* tp_as_sequence */
18156 0, /* tp_as_mapping */
18157 0, /* tp_hash */
18158 0, /* tp_call */
18159 0, /* tp_str */
18160 0, /* tp_getattro */
18161 0, /* tp_setattro */
18162 0, /* tp_as_buffer */
18163 0, /* tp_flags */
18164 0, /* tp_doc */
18165 #if PY_VERSION_HEX >= 0x02000000
18166 0, /* tp_traverse */
18167 0, /* tp_clear */
18168 #endif
18169 #if PY_VERSION_HEX >= 0x02010000
18170 0, /* tp_richcompare */
18171 0, /* tp_weaklistoffset */
18172 #endif
18173 #if PY_VERSION_HEX >= 0x02020000
18174 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
18175 #endif
18176 #if PY_VERSION_HEX >= 0x02030000
18177 0, /* tp_del */
18178 #endif
18179 #ifdef COUNT_ALLOCS
18180 0,0,0,0 /* tp_alloc -> tp_next */
18181 #endif
18182 };
18183
18184 /* Create a variable linking object for use later */
18185 static PyObject *
18186 SWIG_Python_newvarlink(void) {
18187 swig_varlinkobject *result = 0;
18188 result = PyMem_NEW(swig_varlinkobject,1);
18189 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
18190 result->ob_type = &varlinktype;
18191 result->vars = 0;
18192 result->ob_refcnt = 0;
18193 Py_XINCREF((PyObject *) result);
18194 return ((PyObject*) result);
18195 }
18196
18197 static void
18198 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
18199 swig_varlinkobject *v;
18200 swig_globalvar *gv;
18201 v= (swig_varlinkobject *) p;
18202 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18203 gv->name = (char *) malloc(strlen(name)+1);
18204 strcpy(gv->name,name);
18205 gv->get_attr = get_attr;
18206 gv->set_attr = set_attr;
18207 gv->next = v->vars;
18208 v->vars = gv;
18209 }
18210
18211 /* -----------------------------------------------------------------------------
18212 * constants/methods manipulation
18213 * ----------------------------------------------------------------------------- */
18214
18215 /* Install Constants */
18216 static void
18217 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
18218 PyObject *obj = 0;
18219 size_t i;
18220 for (i = 0; constants[i].type; i++) {
18221 switch(constants[i].type) {
18222 case SWIG_PY_INT:
18223 obj = PyInt_FromLong(constants[i].lvalue);
18224 break;
18225 case SWIG_PY_FLOAT:
18226 obj = PyFloat_FromDouble(constants[i].dvalue);
18227 break;
18228 case SWIG_PY_STRING:
18229 if (constants[i].pvalue) {
18230 obj = PyString_FromString((char *) constants[i].pvalue);
18231 } else {
18232 Py_INCREF(Py_None);
18233 obj = Py_None;
18234 }
18235 break;
18236 case SWIG_PY_POINTER:
18237 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
18238 break;
18239 case SWIG_PY_BINARY:
18240 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
18241 break;
18242 default:
18243 obj = 0;
18244 break;
18245 }
18246 if (obj) {
18247 PyDict_SetItemString(d,constants[i].name,obj);
18248 Py_DECREF(obj);
18249 }
18250 }
18251 }
18252
18253 /* -----------------------------------------------------------------------------*/
18254 /* Fix SwigMethods to carry the callback ptrs when needed */
18255 /* -----------------------------------------------------------------------------*/
18256
18257 static void
18258 SWIG_Python_FixMethods(PyMethodDef *methods,
18259 swig_const_info *const_table,
18260 swig_type_info **types,
18261 swig_type_info **types_initial) {
18262 size_t i;
18263 for (i = 0; methods[i].ml_name; ++i) {
18264 char *c = methods[i].ml_doc;
18265 if (c && (c = strstr(c, "swig_ptr: "))) {
18266 int j;
18267 swig_const_info *ci = 0;
18268 char *name = c + 10;
18269 for (j = 0; const_table[j].type; j++) {
18270 if (strncmp(const_table[j].name, name,
18271 strlen(const_table[j].name)) == 0) {
18272 ci = &(const_table[j]);
18273 break;
18274 }
18275 }
18276 if (ci) {
18277 size_t shift = (ci->ptype) - types;
18278 swig_type_info *ty = types_initial[shift];
18279 size_t ldoc = (c - methods[i].ml_doc);
18280 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
18281 char *ndoc = (char*)malloc(ldoc + lptr + 10);
18282 char *buff = ndoc;
18283 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
18284 strncpy(buff, methods[i].ml_doc, ldoc);
18285 buff += ldoc;
18286 strncpy(buff, "swig_ptr: ", 10);
18287 buff += 10;
18288 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
18289 methods[i].ml_doc = ndoc;
18290 }
18291 }
18292 }
18293 }
18294
18295 /* -----------------------------------------------------------------------------*
18296 * Initialize type list
18297 * -----------------------------------------------------------------------------*/
18298
18299 #if PY_MAJOR_VERSION < 2
18300 /* PyModule_AddObject function was introduced in Python 2.0. The following function
18301 is copied out of Python/modsupport.c in python version 2.3.4 */
18302 static int
18303 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
18304 {
18305 PyObject *dict;
18306 if (!PyModule_Check(m)) {
18307 PyErr_SetString(PyExc_TypeError,
18308 "PyModule_AddObject() needs module as first arg");
18309 return -1;
18310 }
18311 if (!o) {
18312 PyErr_SetString(PyExc_TypeError,
18313 "PyModule_AddObject() needs non-NULL value");
18314 return -1;
18315 }
18316
18317 dict = PyModule_GetDict(m);
18318 if (dict == NULL) {
18319 /* Internal error -- modules must have a dict! */
18320 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
18321 PyModule_GetName(m));
18322 return -1;
18323 }
18324 if (PyDict_SetItemString(dict, name, o))
18325 return -1;
18326 Py_DECREF(o);
18327 return 0;
18328 }
18329 #endif
18330
18331 static swig_type_info **
18332 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
18333 static PyMethodDef swig_empty_runtime_method_table[] = {
18334 {
18335 NULL, NULL, 0, NULL
18336 }
18337 };/* Sentinel */
18338
18339 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
18340 swig_empty_runtime_method_table);
18341 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
18342 if (pointer && module) {
18343 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
18344 }
18345 return type_list_handle;
18346 }
18347
18348 static swig_type_info **
18349 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
18350 swig_type_info **type_pointer;
18351
18352 /* first check if module already created */
18353 type_pointer = SWIG_Python_GetTypeListHandle();
18354 if (type_pointer) {
18355 return type_pointer;
18356 } else {
18357 /* create a new module and variable */
18358 return SWIG_Python_SetTypeListHandle(type_list_handle);
18359 }
18360 }
18361
18362 #ifdef __cplusplus
18363 }
18364 #endif
18365
18366 /* -----------------------------------------------------------------------------*
18367 * Partial Init method
18368 * -----------------------------------------------------------------------------*/
18369
18370 #ifdef SWIG_LINK_RUNTIME
18371 #ifdef __cplusplus
18372 extern "C"
18373 #endif
18374 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
18375 #endif
18376
18377 #ifdef __cplusplus
18378 extern "C"
18379 #endif
18380 SWIGEXPORT(void) SWIG_init(void) {
18381 static PyObject *SWIG_globals = 0;
18382 static int typeinit = 0;
18383 PyObject *m, *d;
18384 int i;
18385 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
18386
18387 /* Fix SwigMethods to carry the callback ptrs when needed */
18388 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
18389
18390 m = Py_InitModule((char *) SWIG_name, SwigMethods);
18391 d = PyModule_GetDict(m);
18392
18393 if (!typeinit) {
18394 #ifdef SWIG_LINK_RUNTIME
18395 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
18396 #else
18397 # ifndef SWIG_STATIC_RUNTIME
18398 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
18399 # endif
18400 #endif
18401 for (i = 0; swig_types_initial[i]; i++) {
18402 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
18403 }
18404 typeinit = 1;
18405 }
18406 SWIG_InstallConstants(d,swig_const_table);
18407
18408 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
18409 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
18410 {
18411 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1)));
18412 }
18413 {
18414 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1)));
18415 }
18416 {
18417 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1)));
18418 }
18419 {
18420 PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000)));
18421 }
18422 {
18423 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000)));
18424 }
18425 {
18426 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000)));
18427 }
18428 {
18429 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0)));
18430 }
18431 {
18432 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1)));
18433 }
18434 {
18435 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2)));
18436 }
18437 {
18438 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0)));
18439 }
18440 {
18441 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1)));
18442 }
18443 {
18444 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2)));
18445 }
18446 {
18447 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001)));
18448 }
18449 {
18450 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1)));
18451 }
18452 {
18453 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31)));
18454 }
18455 {
18456 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0)));
18457 }
18458 {
18459 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1)));
18460 }
18461 {
18462 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2)));
18463 }
18464 {
18465 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3)));
18466 }
18467 {
18468 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4)));
18469 }
18470 {
18471 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5)));
18472 }
18473 {
18474 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6)));
18475 }
18476 {
18477 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7)));
18478 }
18479 {
18480 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8)));
18481 }
18482 {
18483 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9)));
18484 }
18485 {
18486 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10)));
18487 }
18488 {
18489 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11)));
18490 }
18491 {
18492 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12)));
18493 }
18494 {
18495 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13)));
18496 }
18497 {
18498 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14)));
18499 }
18500 {
18501 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15)));
18502 }
18503 {
18504 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16)));
18505 }
18506 {
18507 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17)));
18508 }
18509 {
18510 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18)));
18511 }
18512 {
18513 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19)));
18514 }
18515 {
18516 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20)));
18517 }
18518 {
18519 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21)));
18520 }
18521 {
18522 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22)));
18523 }
18524 {
18525 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23)));
18526 }
18527 {
18528 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24)));
18529 }
18530 {
18531 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25)));
18532 }
18533 {
18534 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000)));
18535 }
18536 {
18537 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25)));
18538 }
18539 {
18540 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26)));
18541 }
18542 {
18543 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27)));
18544 }
18545 {
18546 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28)));
18547 }
18548 {
18549 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29)));
18550 }
18551 {
18552 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30)));
18553 }
18554 {
18555 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31)));
18556 }
18557 {
18558 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000)));
18559 }
18560 {
18561 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0)));
18562 }
18563 {
18564 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1)));
18565 }
18566 {
18567 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32)));
18568 }
18569 {
18570 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33)));
18571 }
18572 {
18573 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34)));
18574 }
18575 {
18576 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35)));
18577 }
18578 {
18579 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36)));
18580 }
18581 {
18582 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37)));
18583 }
18584 {
18585 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39)));
18586 }
18587 {
18588 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127)));
18589 }
18590 {
18591 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0)));
18592 }
18593 {
18594 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1)));
18595 }
18596 {
18597 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186)));
18598 }
18599 {
18600 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136)));
18601 }
18602 {
18603 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238)));
18604 }
18605 {
18606 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134)));
18607 }
18608 {
18609 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161)));
18610 }
18611 {
18612 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129)));
18613 }
18614 {
18615 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77)));
18616 }
18617 {
18618 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255)));
18619 }
18620 {
18621 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204)));
18622 }
18623 {
18624 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128)));
18625 }
18626 {
18627 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2)));
18628 }
18629 {
18630 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162)));
18631 }
18632 {
18633 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130)));
18634 }
18635 {
18636 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177)));
18637 }
18638 {
18639 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178)));
18640 }
18641 {
18642 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163)));
18643 }
18644 {
18645 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222)));
18646 }
18647 {
18648 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0)));
18649 }
18650 {
18651 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1)));
18652 }
18653 {
18654 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2)));
18655 }
18656 {
18657 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7)));
18658 }
18659 {
18660 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0)));
18661 }
18662 {
18663 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1)));
18664 }
18665 {
18666 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2)));
18667 }
18668 {
18669 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3)));
18670 }
18671 {
18672 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4)));
18673 }
18674 {
18675 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5)));
18676 }
18677 {
18678 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6)));
18679 }
18680 {
18681 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20)));
18682 }
18683 {
18684 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40)));
18685 }
18686 {
18687 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80)));
18688 }
18689 {
18690 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0)));
18691 }
18692 {
18693 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0)));
18694 }
18695 {
18696 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1)));
18697 }
18698 {
18699 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2)));
18700 }
18701 {
18702 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3)));
18703 }
18704 {
18705 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4)));
18706 }
18707 {
18708 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2)));
18709 }
18710 {
18711 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4)));
18712 }
18713 {
18714 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000)));
18715 }
18716 {
18717 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000)));
18718 }
18719 {
18720 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000)));
18721 }
18722 {
18723 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400)));
18724 }
18725 {
18726 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000)));
18727 }
18728 {
18729 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000)));
18730 }
18731 {
18732 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000)));
18733 }
18734 {
18735 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000)));
18736 }
18737 {
18738 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000)));
18739 }
18740 {
18741 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000)));
18742 }
18743 {
18744 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF)));
18745 }
18746 {
18747 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002)));
18748 }
18749 {
18750 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004)));
18751 }
18752 {
18753 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008)));
18754 }
18755 {
18756 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010)));
18757 }
18758 {
18759 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040)));
18760 }
18761 {
18762 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001)));
18763 }
18764 {
18765 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000)));
18766 }
18767 {
18768 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0)));
18769 }
18770 {
18771 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1)));
18772 }
18773 {
18774 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000)));
18775 }
18776 {
18777 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001)));
18778 }
18779 {
18780 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002)));
18781 }
18782 {
18783 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000)));
18784 }
18785 {
18786 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001)));
18787 }
18788 {
18789 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002)));
18790 }
18791 {
18792 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0)));
18793 }
18794 {
18795 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1)));
18796 }
18797 {
18798 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2)));
18799 }
18800 {
18801 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3)));
18802 }
18803 {
18804 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0)));
18805 }
18806 {
18807 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1)));
18808 }
18809 {
18810 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2)));
18811 }
18812 {
18813 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1)));
18814 }
18815 {
18816 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4)));
18817 }
18818 {
18819 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01)));
18820 }
18821 {
18822 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04)));
18823 }
18824 {
18825 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01)));
18826 }
18827 {
18828 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04)));
18829 }
18830 {
18831 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10)));
18832 }
18833 {
18834 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08)));
18835 }
18836 {
18837 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0)));
18838 }
18839 {
18840 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1)));
18841 }
18842 {
18843 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2)));
18844 }
18845 {
18846 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8)));
18847 }
18848 {
18849 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1)));
18850 }
18851 {
18852 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2)));
18853 }
18854 {
18855 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4)));
18856 }
18857 {
18858 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8)));
18859 }
18860 {
18861 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10)));
18862 }
18863 {
18864 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20)));
18865 }
18866 {
18867 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40)));
18868 }
18869 {
18870 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100)));
18871 }
18872 {
18873 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200)));
18874 }
18875 {
18876 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400)));
18877 }
18878 {
18879 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800)));
18880 }
18881 {
18882 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77)));
18883 }
18884 {
18885 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300)));
18886 }
18887 {
18888 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301)));
18889 }
18890 {
18891 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302)));
18892 }
18893 {
18894 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303)));
18895 }
18896 {
18897 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304)));
18898 }
18899 {
18900 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305)));
18901 }
18902 {
18903 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306)));
18904 }
18905 {
18906 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307)));
18907 }
18908 {
18909 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308)));
18910 }
18911 {
18912 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309)));
18913 }
18914 {
18915 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7)));
18916 }
18917 {
18918 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8)));
18919 }
18920 {
18921 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9)));
18922 }
18923 {
18924 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13)));
18925 }
18926 {
18927 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310)));
18928 }
18929 {
18930 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311)));
18931 }
18932 {
18933 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312)));
18934 }
18935 {
18936 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1)));
18937 }
18938 {
18939 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2)));
18940 }
18941 {
18942 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4)));
18943 }
18944 {
18945 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0)));
18946 }
18947 {
18948 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1)));
18949 }
18950 {
18951 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2)));
18952 }
18953 {
18954 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3)));
18955 }
18956 {
18957 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4)));
18958 }
18959 {
18960 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5)));
18961 }
18962 {
18963 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6)));
18964 }
18965 {
18966 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7)));
18967 }
18968 {
18969 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8)));
18970 }
18971 {
18972 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9)));
18973 }
18974 {
18975 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10)));
18976 }
18977 {
18978 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11)));
18979 }
18980 {
18981 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12)));
18982 }
18983 {
18984 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13)));
18985 }
18986 {
18987 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14)));
18988 }
18989 {
18990 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15)));
18991 }
18992 {
18993 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16)));
18994 }
18995 {
18996 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17)));
18997 }
18998 {
18999 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18)));
19000 }
19001 {
19002 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19)));
19003 }
19004 {
19005 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20)));
19006 }
19007 {
19008 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21)));
19009 }
19010 {
19011 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22)));
19012 }
19013 {
19014 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23)));
19015 }
19016 {
19017 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24)));
19018 }
19019 {
19020 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25)));
19021 }
19022 {
19023 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26)));
19024 }
19025 {
19026 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27)));
19027 }
19028 {
19029 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28)));
19030 }
19031 {
19032 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29)));
19033 }
19034 {
19035 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30)));
19036 }
19037 {
19038 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31)));
19039 }
19040 {
19041 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32)));
19042 }
19043 {
19044 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33)));
19045 }
19046 {
19047 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34)));
19048 }
19049 {
19050 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35)));
19051 }
19052 {
19053 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36)));
19054 }
19055 {
19056 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37)));
19057 }
19058 {
19059 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38)));
19060 }
19061 {
19062 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39)));
19063 }
19064 {
19065 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40)));
19066 }
19067 {
19068 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41)));
19069 }
19070 {
19071 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42)));
19072 }
19073 {
19074 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43)));
19075 }
19076 {
19077 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44)));
19078 }
19079 {
19080 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45)));
19081 }
19082 {
19083 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46)));
19084 }
19085 {
19086 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47)));
19087 }
19088 {
19089 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48)));
19090 }
19091 {
19092 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49)));
19093 }
19094 {
19095 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50)));
19096 }
19097 {
19098 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51)));
19099 }
19100 {
19101 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52)));
19102 }
19103 {
19104 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53)));
19105 }
19106 {
19107 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54)));
19108 }
19109 {
19110 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55)));
19111 }
19112 {
19113 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56)));
19114 }
19115 {
19116 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57)));
19117 }
19118 {
19119 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58)));
19120 }
19121 {
19122 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59)));
19123 }
19124 {
19125 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60)));
19126 }
19127 {
19128 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61)));
19129 }
19130 {
19131 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62)));
19132 }
19133 {
19134 PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63)));
19135 }
19136 {
19137 PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64)));
19138 }
19139 {
19140 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000)));
19141 }
19142 {
19143 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0)));
19144 }
19145 {
19146 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1)));
19147 }
19148 {
19149 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2)));
19150 }
19151 {
19152 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3)));
19153 }
19154 {
19155 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4)));
19156 }
19157 {
19158 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5)));
19159 }
19160 {
19161 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6)));
19162 }
19163 {
19164 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7)));
19165 }
19166 {
19167 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8)));
19168 }
19169 {
19170 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9)));
19171 }
19172 {
19173 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10)));
19174 }
19175 {
19176 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11)));
19177 }
19178 {
19179 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12)));
19180 }
19181 {
19182 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13)));
19183 }
19184 {
19185 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0)));
19186 }
19187 {
19188 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1)));
19189 }
19190 {
19191 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2)));
19192 }
19193 {
19194 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3)));
19195 }
19196 {
19197 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4)));
19198 }
19199 {
19200 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5)));
19201 }
19202 {
19203 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6)));
19204 }
19205 {
19206 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7)));
19207 }
19208 {
19209 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8)));
19210 }
19211 {
19212 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9)));
19213 }
19214 {
19215 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10)));
19216 }
19217 {
19218 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11)));
19219 }
19220 {
19221 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12)));
19222 }
19223 {
19224 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13)));
19225 }
19226 {
19227 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14)));
19228 }
19229 {
19230 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15)));
19231 }
19232 {
19233 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16)));
19234 }
19235 {
19236 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17)));
19237 }
19238 {
19239 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18)));
19240 }
19241 {
19242 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19)));
19243 }
19244 {
19245 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0)));
19246 }
19247 {
19248 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1)));
19249 }
19250 {
19251 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2)));
19252 }
19253 {
19254 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3)));
19255 }
19256 {
19257 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4)));
19258 }
19259 {
19260 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5)));
19261 }
19262 {
19263 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6)));
19264 }
19265 {
19266 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7)));
19267 }
19268 {
19269 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8)));
19270 }
19271 {
19272 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9)));
19273 }
19274 {
19275 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10)));
19276 }
19277 {
19278 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11)));
19279 }
19280 {
19281 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12)));
19282 }
19283 {
19284 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13)));
19285 }
19286 {
19287 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14)));
19288 }
19289 {
19290 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15)));
19291 }
19292 {
19293 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16)));
19294 }
19295 {
19296 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17)));
19297 }
19298 {
19299 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18)));
19300 }
19301 {
19302 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19)));
19303 }
19304 {
19305 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20)));
19306 }
19307 {
19308 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21)));
19309 }
19310 {
19311 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22)));
19312 }
19313 {
19314 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23)));
19315 }
19316 {
19317 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24)));
19318 }
19319 {
19320 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25)));
19321 }
19322 {
19323 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26)));
19324 }
19325 {
19326 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27)));
19327 }
19328 {
19329 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28)));
19330 }
19331 {
19332 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29)));
19333 }
19334 {
19335 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30)));
19336 }
19337 {
19338 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31)));
19339 }
19340 {
19341 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40)));
19342 }
19343 {
19344 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41)));
19345 }
19346 {
19347 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42)));
19348 }
19349 {
19350 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43)));
19351 }
19352 {
19353 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44)));
19354 }
19355 {
19356 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45)));
19357 }
19358 {
19359 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46)));
19360 }
19361 {
19362 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47)));
19363 }
19364 {
19365 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48)));
19366 }
19367 {
19368 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49)));
19369 }
19370 {
19371 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50)));
19372 }
19373 {
19374 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51)));
19375 }
19376 {
19377 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52)));
19378 }
19379 {
19380 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55)));
19381 }
19382 {
19383 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56)));
19384 }
19385 {
19386 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57)));
19387 }
19388 {
19389 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58)));
19390 }
19391 {
19392 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59)));
19393 }
19394 {
19395 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60)));
19396 }
19397 {
19398 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61)));
19399 }
19400 {
19401 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62)));
19402 }
19403 {
19404 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63)));
19405 }
19406 {
19407 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64)));
19408 }
19409 {
19410 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65)));
19411 }
19412 {
19413 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66)));
19414 }
19415 {
19416 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67)));
19417 }
19418 {
19419 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70)));
19420 }
19421 {
19422 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71)));
19423 }
19424 {
19425 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72)));
19426 }
19427 {
19428 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73)));
19429 }
19430 {
19431 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74)));
19432 }
19433 {
19434 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75)));
19435 }
19436 {
19437 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76)));
19438 }
19439 {
19440 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77)));
19441 }
19442 {
19443 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80)));
19444 }
19445 {
19446 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81)));
19447 }
19448 {
19449 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82)));
19450 }
19451 {
19452 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83)));
19453 }
19454 {
19455 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84)));
19456 }
19457 {
19458 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85)));
19459 }
19460 {
19461 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86)));
19462 }
19463 {
19464 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87)));
19465 }
19466 {
19467 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90)));
19468 }
19469 {
19470 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91)));
19471 }
19472 {
19473 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92)));
19474 }
19475 {
19476 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93)));
19477 }
19478 {
19479 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94)));
19480 }
19481 {
19482 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95)));
19483 }
19484 {
19485 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96)));
19486 }
19487 {
19488 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97)));
19489 }
19490 {
19491 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98)));
19492 }
19493 {
19494 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99)));
19495 }
19496 {
19497 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100)));
19498 }
19499 {
19500 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101)));
19501 }
19502 {
19503 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102)));
19504 }
19505 {
19506 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104)));
19507 }
19508 {
19509 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105)));
19510 }
19511 {
19512 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106)));
19513 }
19514 {
19515 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107)));
19516 }
19517 {
19518 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108)));
19519 }
19520 {
19521 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109)));
19522 }
19523 {
19524 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110)));
19525 }
19526 {
19527 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111)));
19528 }
19529 {
19530 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112)));
19531 }
19532 {
19533 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113)));
19534 }
19535 {
19536 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114)));
19537 }
19538 {
19539 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115)));
19540 }
19541 {
19542 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116)));
19543 }
19544 {
19545 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117)));
19546 }
19547 {
19548 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118)));
19549 }
19550 {
19551 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119)));
19552 }
19553 {
19554 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120)));
19555 }
19556 {
19557 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121)));
19558 }
19559 {
19560 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122)));
19561 }
19562 {
19563 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123)));
19564 }
19565 {
19566 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124)));
19567 }
19568 {
19569 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125)));
19570 }
19571 {
19572 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126)));
19573 }
19574 {
19575 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127)));
19576 }
19577 {
19578 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0)));
19579 }
19580 {
19581 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1)));
19582 }
19583 {
19584 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2)));
19585 }
19586 {
19587 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3)));
19588 }
19589 {
19590 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4)));
19591 }
19592 {
19593 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5)));
19594 }
19595 {
19596 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6)));
19597 }
19598 {
19599 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7)));
19600 }
19601 {
19602 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8)));
19603 }
19604 {
19605 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9)));
19606 }
19607 {
19608 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10)));
19609 }
19610 {
19611 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11)));
19612 }
19613 {
19614 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12)));
19615 }
19616 {
19617 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13)));
19618 }
19619 {
19620 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14)));
19621 }
19622 {
19623 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15)));
19624 }
19625 {
19626 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17)));
19627 }
19628 {
19629 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18)));
19630 }
19631 {
19632 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19)));
19633 }
19634 {
19635 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20)));
19636 }
19637 {
19638 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21)));
19639 }
19640 {
19641 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22)));
19642 }
19643 {
19644 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23)));
19645 }
19646 {
19647 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24)));
19648 }
19649 {
19650 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25)));
19651 }
19652 {
19653 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26)));
19654 }
19655 {
19656 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27)));
19657 }
19658 {
19659 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28)));
19660 }
19661 {
19662 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29)));
19663 }
19664 {
19665 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30)));
19666 }
19667 {
19668 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0)));
19669 }
19670 {
19671 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1)));
19672 }
19673 {
19674 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2)));
19675 }
19676 {
19677 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3)));
19678 }
19679 {
19680 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4)));
19681 }
19682 {
19683 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5)));
19684 }
19685 {
19686 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6)));
19687 }
19688 {
19689 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7)));
19690 }
19691 {
19692 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8)));
19693 }
19694 {
19695 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9)));
19696 }
19697 {
19698 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10)));
19699 }
19700 {
19701 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11)));
19702 }
19703 {
19704 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12)));
19705 }
19706 {
19707 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13)));
19708 }
19709 {
19710 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14)));
19711 }
19712 {
19713 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0)));
19714 }
19715 {
19716 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1)));
19717 }
19718 {
19719 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2)));
19720 }
19721 {
19722 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3)));
19723 }
19724 {
19725 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4)));
19726 }
19727 {
19728 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0)));
19729 }
19730 {
19731 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1)));
19732 }
19733 {
19734 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2)));
19735 }
19736 {
19737 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3)));
19738 }
19739 {
19740 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4)));
19741 }
19742 {
19743 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0)));
19744 }
19745 {
19746 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1)));
19747 }
19748 {
19749 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2)));
19750 }
19751 {
19752 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3)));
19753 }
19754 {
19755 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4)));
19756 }
19757 {
19758 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5)));
19759 }
19760 {
19761 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6)));
19762 }
19763 {
19764 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7)));
19765 }
19766 {
19767 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8)));
19768 }
19769 {
19770 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9)));
19771 }
19772 {
19773 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10)));
19774 }
19775 {
19776 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11)));
19777 }
19778 {
19779 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12)));
19780 }
19781 {
19782 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13)));
19783 }
19784 {
19785 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14)));
19786 }
19787 {
19788 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15)));
19789 }
19790 {
19791 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16)));
19792 }
19793 {
19794 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17)));
19795 }
19796 {
19797 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18)));
19798 }
19799 {
19800 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19)));
19801 }
19802 {
19803 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0)));
19804 }
19805 {
19806 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1)));
19807 }
19808 {
19809 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2)));
19810 }
19811 {
19812 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3)));
19813 }
19814 {
19815 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4)));
19816 }
19817 {
19818 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5)));
19819 }
19820 {
19821 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6)));
19822 }
19823 {
19824 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7)));
19825 }
19826 {
19827 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8)));
19828 }
19829 {
19830 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9)));
19831 }
19832 {
19833 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10)));
19834 }
19835 {
19836 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11)));
19837 }
19838 {
19839 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12)));
19840 }
19841 {
19842 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13)));
19843 }
19844 {
19845 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14)));
19846 }
19847 {
19848 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15)));
19849 }
19850 {
19851 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16)));
19852 }
19853 {
19854 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17)));
19855 }
19856 {
19857 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18)));
19858 }
19859 {
19860 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19)));
19861 }
19862 {
19863 PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20)));
19864 }
19865 {
19866 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0)));
19867 }
19868 {
19869 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1)));
19870 }
19871 {
19872 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2)));
19873 }
19874 {
19875 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3)));
19876 }
19877 {
19878 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4)));
19879 }
19880 {
19881 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5)));
19882 }
19883 {
19884 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6)));
19885 }
19886 {
19887 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7)));
19888 }
19889 {
19890 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0)));
19891 }
19892 {
19893 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1)));
19894 }
19895 {
19896 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2)));
19897 }
19898 {
19899 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3)));
19900 }
19901 {
19902 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4)));
19903 }
19904 {
19905 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5)));
19906 }
19907 {
19908 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9)));
19909 }
19910 {
19911 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0)));
19912 }
19913 {
19914 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1)));
19915 }
19916 {
19917 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2)));
19918 }
19919 {
19920 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3)));
19921 }
19922 {
19923 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4)));
19924 }
19925 {
19926 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5)));
19927 }
19928 {
19929 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6)));
19930 }
19931 {
19932 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0)));
19933 }
19934 {
19935 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1)));
19936 }
19937 {
19938 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2)));
19939 }
19940 {
19941 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3)));
19942 }
19943 {
19944 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4)));
19945 }
19946 {
19947 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5)));
19948 }
19949 {
19950 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6)));
19951 }
19952 {
19953 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7)));
19954 }
19955 {
19956 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8)));
19957 }
19958 {
19959 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9)));
19960 }
19961 {
19962 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0)));
19963 }
19964 {
19965 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1)));
19966 }
19967 {
19968 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2)));
19969 }
19970 {
19971 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3)));
19972 }
19973 {
19974 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6)));
19975 }
19976 {
19977 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7)));
19978 }
19979 {
19980 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8)));
19981 }
19982 {
19983 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9)));
19984 }
19985 {
19986 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10)));
19987 }
19988 {
19989 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11)));
19990 }
19991 {
19992 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12)));
19993 }
19994 {
19995 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13)));
19996 }
19997 {
19998 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14)));
19999 }
20000 {
20001 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15)));
20002 }
20003 {
20004 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16)));
20005 }
20006 {
20007 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0)));
20008 }
20009 {
20010 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1)));
20011 }
20012 {
20013 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2)));
20014 }
20015 {
20016 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3)));
20017 }
20018 {
20019 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4)));
20020 }
20021 {
20022 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5)));
20023 }
20024 {
20025 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6)));
20026 }
20027 {
20028 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7)));
20029 }
20030 {
20031 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8)));
20032 }
20033 {
20034 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9)));
20035 }
20036 {
20037 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10)));
20038 }
20039 {
20040 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11)));
20041 }
20042 {
20043 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0)));
20044 }
20045 {
20046 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1)));
20047 }
20048 {
20049 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2)));
20050 }
20051 {
20052 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3)));
20053 }
20054 {
20055 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4)));
20056 }
20057 {
20058 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5)));
20059 }
20060 {
20061 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6)));
20062 }
20063 {
20064 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7)));
20065 }
20066 {
20067 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8)));
20068 }
20069 {
20070 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9)));
20071 }
20072 {
20073 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10)));
20074 }
20075 {
20076 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0)));
20077 }
20078 {
20079 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1)));
20080 }
20081 {
20082 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2)));
20083 }
20084 {
20085 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3)));
20086 }
20087 {
20088 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6)));
20089 }
20090 {
20091 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8)));
20092 }
20093 {
20094 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9)));
20095 }
20096 {
20097 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10)));
20098 }
20099 {
20100 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0)));
20101 }
20102 {
20103 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1)));
20104 }
20105 {
20106 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2)));
20107 }
20108 {
20109 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3)));
20110 }
20111 {
20112 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4)));
20113 }
20114 {
20115 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5)));
20116 }
20117 {
20118 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6)));
20119 }
20120 {
20121 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7)));
20122 }
20123 {
20124 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8)));
20125 }
20126 {
20127 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0)));
20128 }
20129 {
20130 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1)));
20131 }
20132 {
20133 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2)));
20134 }
20135 {
20136 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3)));
20137 }
20138 {
20139 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4)));
20140 }
20141 {
20142 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5)));
20143 }
20144 {
20145 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6)));
20146 }
20147 {
20148 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7)));
20149 }
20150 {
20151 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8)));
20152 }
20153 {
20154 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9)));
20155 }
20156 {
20157 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10)));
20158 }
20159 {
20160 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0)));
20161 }
20162 {
20163 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1)));
20164 }
20165 {
20166 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2)));
20167 }
20168 {
20169 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3)));
20170 }
20171 {
20172 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4)));
20173 }
20174 {
20175 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5)));
20176 }
20177 {
20178 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6)));
20179 }
20180 {
20181 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7)));
20182 }
20183 {
20184 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8)));
20185 }
20186 {
20187 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9)));
20188 }
20189 {
20190 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10)));
20191 }
20192 {
20193 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11)));
20194 }
20195 {
20196 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0)));
20197 }
20198 {
20199 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1)));
20200 }
20201 {
20202 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2)));
20203 }
20204 {
20205 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3)));
20206 }
20207 {
20208 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4)));
20209 }
20210 {
20211 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5)));
20212 }
20213 {
20214 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6)));
20215 }
20216 {
20217 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7)));
20218 }
20219 {
20220 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8)));
20221 }
20222 {
20223 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0)));
20224 }
20225 {
20226 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1)));
20227 }
20228 {
20229 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2)));
20230 }
20231 {
20232 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3)));
20233 }
20234 {
20235 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4)));
20236 }
20237 {
20238 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5)));
20239 }
20240 {
20241 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6)));
20242 }
20243 {
20244 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7)));
20245 }
20246 {
20247 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8)));
20248 }
20249 {
20250 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9)));
20251 }
20252 {
20253 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10)));
20254 }
20255 {
20256 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11)));
20257 }
20258 {
20259 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12)));
20260 }
20261 {
20262 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13)));
20263 }
20264 {
20265 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14)));
20266 }
20267 {
20268 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15)));
20269 }
20270 {
20271 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0)));
20272 }
20273 {
20274 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1)));
20275 }
20276 {
20277 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2)));
20278 }
20279 {
20280 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3)));
20281 }
20282 {
20283 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4)));
20284 }
20285 {
20286 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5)));
20287 }
20288 {
20289 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6)));
20290 }
20291 {
20292 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7)));
20293 }
20294 {
20295 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8)));
20296 }
20297 {
20298 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9)));
20299 }
20300 {
20301 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10)));
20302 }
20303 {
20304 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11)));
20305 }
20306 {
20307 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12)));
20308 }
20309 {
20310 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13)));
20311 }
20312 {
20313 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14)));
20314 }
20315 {
20316 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0)));
20317 }
20318 {
20319 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1)));
20320 }
20321 {
20322 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2)));
20323 }
20324 {
20325 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3)));
20326 }
20327 {
20328 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4)));
20329 }
20330 {
20331 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5)));
20332 }
20333 {
20334 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6)));
20335 }
20336 {
20337 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7)));
20338 }
20339 {
20340 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8)));
20341 }
20342 {
20343 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9)));
20344 }
20345 {
20346 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10)));
20347 }
20348 {
20349 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11)));
20350 }
20351 {
20352 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12)));
20353 }
20354 {
20355 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13)));
20356 }
20357 {
20358 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14)));
20359 }
20360 {
20361 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0)));
20362 }
20363 {
20364 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1)));
20365 }
20366 {
20367 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2)));
20368 }
20369 {
20370 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3)));
20371 }
20372 {
20373 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4)));
20374 }
20375 {
20376 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5)));
20377 }
20378 {
20379 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6)));
20380 }
20381 {
20382 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7)));
20383 }
20384 {
20385 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8)));
20386 }
20387 {
20388 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9)));
20389 }
20390 {
20391 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10)));
20392 }
20393 {
20394 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11)));
20395 }
20396 {
20397 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12)));
20398 }
20399 {
20400 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13)));
20401 }
20402 {
20403 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14)));
20404 }
20405 {
20406 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15)));
20407 }
20408 {
20409 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0)));
20410 }
20411 {
20412 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1)));
20413 }
20414 {
20415 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2)));
20416 }
20417 {
20418 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3)));
20419 }
20420 {
20421 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4)));
20422 }
20423 {
20424 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5)));
20425 }
20426 {
20427 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6)));
20428 }
20429 {
20430 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7)));
20431 }
20432 {
20433 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8)));
20434 }
20435 {
20436 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9)));
20437 }
20438 {
20439 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10)));
20440 }
20441 {
20442 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11)));
20443 }
20444 {
20445 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12)));
20446 }
20447 {
20448 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13)));
20449 }
20450 {
20451 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14)));
20452 }
20453 {
20454 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15)));
20455 }
20456 {
20457 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16)));
20458 }
20459 {
20460 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0)));
20461 }
20462 {
20463 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1)));
20464 }
20465 {
20466 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2)));
20467 }
20468 {
20469 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3)));
20470 }
20471 {
20472 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4)));
20473 }
20474 {
20475 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5)));
20476 }
20477 {
20478 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6)));
20479 }
20480 {
20481 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7)));
20482 }
20483 {
20484 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8)));
20485 }
20486 {
20487 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9)));
20488 }
20489 {
20490 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10)));
20491 }
20492 {
20493 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0)));
20494 }
20495 {
20496 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1)));
20497 }
20498 {
20499 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2)));
20500 }
20501 {
20502 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3)));
20503 }
20504 {
20505 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4)));
20506 }
20507 {
20508 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5)));
20509 }
20510 {
20511 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6)));
20512 }
20513 {
20514 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7)));
20515 }
20516 {
20517 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8)));
20518 }
20519 {
20520 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9)));
20521 }
20522 {
20523 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10)));
20524 }
20525 {
20526 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11)));
20527 }
20528 {
20529 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0)));
20530 }
20531 {
20532 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1)));
20533 }
20534 {
20535 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2)));
20536 }
20537 {
20538 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3)));
20539 }
20540 {
20541 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4)));
20542 }
20543 {
20544 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5)));
20545 }
20546 {
20547 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6)));
20548 }
20549 {
20550 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7)));
20551 }
20552 {
20553 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8)));
20554 }
20555 {
20556 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9)));
20557 }
20558 {
20559 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10)));
20560 }
20561 {
20562 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11)));
20563 }
20564 {
20565 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12)));
20566 }
20567 {
20568 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13)));
20569 }
20570 {
20571 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14)));
20572 }
20573 {
20574 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15)));
20575 }
20576 {
20577 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0)));
20578 }
20579 {
20580 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1)));
20581 }
20582 {
20583 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2)));
20584 }
20585 {
20586 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3)));
20587 }
20588 {
20589 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4)));
20590 }
20591 {
20592 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5)));
20593 }
20594 {
20595 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6)));
20596 }
20597 {
20598 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7)));
20599 }
20600 {
20601 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8)));
20602 }
20603 {
20604 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9)));
20605 }
20606 {
20607 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10)));
20608 }
20609 {
20610 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11)));
20611 }
20612 {
20613 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12)));
20614 }
20615 {
20616 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13)));
20617 }
20618 {
20619 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14)));
20620 }
20621 {
20622 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0)));
20623 }
20624 {
20625 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1)));
20626 }
20627 {
20628 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2)));
20629 }
20630 {
20631 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3)));
20632 }
20633 {
20634 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4)));
20635 }
20636 {
20637 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5)));
20638 }
20639 {
20640 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6)));
20641 }
20642 {
20643 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7)));
20644 }
20645 {
20646 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8)));
20647 }
20648 {
20649 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9)));
20650 }
20651 {
20652 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10)));
20653 }
20654 {
20655 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11)));
20656 }
20657 {
20658 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12)));
20659 }
20660 {
20661 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13)));
20662 }
20663 {
20664 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14)));
20665 }
20666 {
20667 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15)));
20668 }
20669 {
20670 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16)));
20671 }
20672 {
20673 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17)));
20674 }
20675 {
20676 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0)));
20677 }
20678 {
20679 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1)));
20680 }
20681 {
20682 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2)));
20683 }
20684 {
20685 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3)));
20686 }
20687 {
20688 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4)));
20689 }
20690 {
20691 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5)));
20692 }
20693 {
20694 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6)));
20695 }
20696 {
20697 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7)));
20698 }
20699 {
20700 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8)));
20701 }
20702 {
20703 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9)));
20704 }
20705 {
20706 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10)));
20707 }
20708 {
20709 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11)));
20710 }
20711 {
20712 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12)));
20713 }
20714 {
20715 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13)));
20716 }
20717 {
20718 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14)));
20719 }
20720 {
20721 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0)));
20722 }
20723 {
20724 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1)));
20725 }
20726 {
20727 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2)));
20728 }
20729 {
20730 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3)));
20731 }
20732 {
20733 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4)));
20734 }
20735 {
20736 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5)));
20737 }
20738 {
20739 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6)));
20740 }
20741 {
20742 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0)));
20743 }
20744 {
20745 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1)));
20746 }
20747 {
20748 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2)));
20749 }
20750 {
20751 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3)));
20752 }
20753 {
20754 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4)));
20755 }
20756 {
20757 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5)));
20758 }
20759 {
20760 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6)));
20761 }
20762 {
20763 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7)));
20764 }
20765 {
20766 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8)));
20767 }
20768 {
20769 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0)));
20770 }
20771 {
20772 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1)));
20773 }
20774 {
20775 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2)));
20776 }
20777 {
20778 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3)));
20779 }
20780 {
20781 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4)));
20782 }
20783 {
20784 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5)));
20785 }
20786 {
20787 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0)));
20788 }
20789 {
20790 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1)));
20791 }
20792 {
20793 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2)));
20794 }
20795 {
20796 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3)));
20797 }
20798 {
20799 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4)));
20800 }
20801 {
20802 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5)));
20803 }
20804 {
20805 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6)));
20806 }
20807 {
20808 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0)));
20809 }
20810 {
20811 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1)));
20812 }
20813 {
20814 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2)));
20815 }
20816 {
20817 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3)));
20818 }
20819 {
20820 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4)));
20821 }
20822 {
20823 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5)));
20824 }
20825 {
20826 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6)));
20827 }
20828 {
20829 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7)));
20830 }
20831 {
20832 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8)));
20833 }
20834 {
20835 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9)));
20836 }
20837 {
20838 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10)));
20839 }
20840 {
20841 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11)));
20842 }
20843 {
20844 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12)));
20845 }
20846 {
20847 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13)));
20848 }
20849 {
20850 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31)));
20851 }
20852 {
20853 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0)));
20854 }
20855 {
20856 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1)));
20857 }
20858 {
20859 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2)));
20860 }
20861 {
20862 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3)));
20863 }
20864 {
20865 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4)));
20866 }
20867 {
20868 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5)));
20869 }
20870 {
20871 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6)));
20872 }
20873 {
20874 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7)));
20875 }
20876 {
20877 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8)));
20878 }
20879 {
20880 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9)));
20881 }
20882 {
20883 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10)));
20884 }
20885 {
20886 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11)));
20887 }
20888 {
20889 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12)));
20890 }
20891 {
20892 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13)));
20893 }
20894 {
20895 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14)));
20896 }
20897 {
20898 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15)));
20899 }
20900 {
20901 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16)));
20902 }
20903 {
20904 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0)));
20905 }
20906 {
20907 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1)));
20908 }
20909 {
20910 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2)));
20911 }
20912 {
20913 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20914 }
20915 {
20916 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4)));
20917 }
20918 {
20919 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5)));
20920 }
20921 {
20922 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6)));
20923 }
20924 {
20925 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7)));
20926 }
20927 {
20928 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8)));
20929 }
20930 {
20931 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9)));
20932 }
20933 {
20934 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10)));
20935 }
20936 {
20937 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11)));
20938 }
20939 {
20940 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12)));
20941 }
20942 {
20943 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19)));
20944 }
20945 {
20946 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0)));
20947 }
20948 {
20949 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1)));
20950 }
20951 {
20952 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2)));
20953 }
20954 {
20955 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3)));
20956 }
20957 {
20958 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4)));
20959 }
20960 {
20961 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5)));
20962 }
20963 {
20964 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6)));
20965 }
20966 {
20967 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7)));
20968 }
20969 {
20970 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8)));
20971 }
20972 {
20973 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9)));
20974 }
20975 {
20976 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31)));
20977 }
20978 {
20979 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0)));
20980 }
20981 {
20982 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1)));
20983 }
20984 {
20985 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2)));
20986 }
20987 {
20988 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3)));
20989 }
20990 {
20991 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4)));
20992 }
20993 {
20994 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5)));
20995 }
20996 {
20997 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6)));
20998 }
20999 {
21000 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7)));
21001 }
21002 {
21003 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8)));
21004 }
21005 {
21006 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9)));
21007 }
21008 {
21009 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0)));
21010 }
21011 {
21012 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1)));
21013 }
21014 {
21015 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2)));
21016 }
21017 {
21018 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3)));
21019 }
21020 {
21021 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4)));
21022 }
21023 {
21024 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5)));
21025 }
21026 {
21027 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6)));
21028 }
21029 {
21030 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7)));
21031 }
21032 {
21033 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8)));
21034 }
21035 {
21036 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9)));
21037 }
21038 {
21039 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10)));
21040 }
21041 {
21042 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11)));
21043 }
21044 {
21045 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12)));
21046 }
21047 {
21048 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13)));
21049 }
21050 {
21051 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14)));
21052 }
21053 {
21054 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19)));
21055 }
21056 {
21057 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0)));
21058 }
21059 {
21060 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1)));
21061 }
21062 {
21063 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2)));
21064 }
21065 {
21066 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3)));
21067 }
21068 {
21069 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4)));
21070 }
21071 {
21072 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5)));
21073 }
21074 {
21075 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6)));
21076 }
21077 {
21078 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7)));
21079 }
21080 {
21081 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8)));
21082 }
21083 {
21084 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9)));
21085 }
21086 {
21087 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10)));
21088 }
21089 {
21090 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11)));
21091 }
21092 {
21093 PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12)));
21094 }
21095 {
21096 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0)));
21097 }
21098 {
21099 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1)));
21100 }
21101 {
21102 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2)));
21103 }
21104 {
21105 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3)));
21106 }
21107 {
21108 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4)));
21109 }
21110 {
21111 PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5)));
21112 }
21113 {
21114 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6)));
21115 }
21116 {
21117 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7)));
21118 }
21119 {
21120 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8)));
21121 }
21122 {
21123 PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9)));
21124 }
21125 {
21126 PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10)));
21127 }
21128 {
21129 PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11)));
21130 }
21131 {
21132 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12)));
21133 }
21134 {
21135 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0)));
21136 }
21137 {
21138 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1)));
21139 }
21140 {
21141 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2)));
21142 }
21143 {
21144 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3)));
21145 }
21146 {
21147 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4)));
21148 }
21149 {
21150 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5)));
21151 }
21152 {
21153 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6)));
21154 }
21155 {
21156 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7)));
21157 }
21158 {
21159 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8)));
21160 }
21161 {
21162 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9)));
21163 }
21164 {
21165 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10)));
21166 }
21167 {
21168 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11)));
21169 }
21170 {
21171 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12)));
21172 }
21173 {
21174 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13)));
21175 }
21176 {
21177 PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0)));
21178 }
21179 {
21180 PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1)));
21181 }
21182 {
21183 PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2)));
21184 }
21185 {
21186 PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3)));
21187 }
21188 {
21189 PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4)));
21190 }
21191 {
21192 PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5)));
21193 }
21194 {
21195 PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6)));
21196 }
21197 {
21198 PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7)));
21199 }
21200 {
21201 PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8)));
21202 }
21203 {
21204 PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9)));
21205 }
21206 {
21207 PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10)));
21208 }
21209 {
21210 PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0)));
21211 }
21212 {
21213 PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1)));
21214 }
21215 {
21216 PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2)));
21217 }
21218 {
21219 PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3)));
21220 }
21221 {
21222 PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4)));
21223 }
21224 {
21225 PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5)));
21226 }
21227 {
21228 PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6)));
21229 }
21230 {
21231 PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7)));
21232 }
21233 {
21234 PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8)));
21235 }
21236 {
21237 PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9)));
21238 }
21239 {
21240 PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10)));
21241 }
21242 {
21243 PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11)));
21244 }
21245 {
21246 PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12)));
21247 }
21248 {
21249 PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13)));
21250 }
21251 {
21252 PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14)));
21253 }
21254 {
21255 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011)));
21256 }
21257 {
21258 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013)));
21259 }
21260 {
21261 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176)));
21262 }
21263 {
21264 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177)));
21265 }
21266 {
21267 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178)));
21268 }
21269 {
21270 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179)));
21271 }
21272 {
21273 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180)));
21274 }
21275 {
21276 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300)));
21277 }
21278 {
21279 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301)));
21280 }
21281 {
21282 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302)));
21283 }
21284 {
21285 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303)));
21286 }
21287 {
21288 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304)));
21289 }
21290 {
21291 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305)));
21292 }
21293 {
21294 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306)));
21295 }
21296 {
21297 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307)));
21298 }
21299 {
21300 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308)));
21301 }
21302 {
21303 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309)));
21304 }
21305 {
21306 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310)));
21307 }
21308 {
21309 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311)));
21310 }
21311 {
21312 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312)));
21313 }
21314 {
21315 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313)));
21316 }
21317 {
21318 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314)));
21319 }
21320 {
21321 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315)));
21322 }
21323 {
21324 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316)));
21325 }
21326 {
21327 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317)));
21328 }
21329 {
21330 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318)));
21331 }
21332 {
21333 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319)));
21334 }
21335 {
21336 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320)));
21337 }
21338 {
21339 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321)));
21340 }
21341 {
21342 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322)));
21343 }
21344 {
21345 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323)));
21346 }
21347 {
21348 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324)));
21349 }
21350 {
21351 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325)));
21352 }
21353 {
21354 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326)));
21355 }
21356 {
21357 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327)));
21358 }
21359 {
21360 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328)));
21361 }
21362 {
21363 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329)));
21364 }
21365 {
21366 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330)));
21367 }
21368 {
21369 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331)));
21370 }
21371 {
21372 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332)));
21373 }
21374 {
21375 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333)));
21376 }
21377 {
21378 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334)));
21379 }
21380 {
21381 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335)));
21382 }
21383 {
21384 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336)));
21385 }
21386 {
21387 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337)));
21388 }
21389 {
21390 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338)));
21391 }
21392 {
21393 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339)));
21394 }
21395 {
21396 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404)));
21397 }
21398 {
21399 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340)));
21400 }
21401 {
21402 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341)));
21403 }
21404 {
21405 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342)));
21406 }
21407 {
21408 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343)));
21409 }
21410 {
21411 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344)));
21412 }
21413 {
21414 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345)));
21415 }
21416 {
21417 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346)));
21418 }
21419 {
21420 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347)));
21421 }
21422 {
21423 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348)));
21424 }
21425 {
21426 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349)));
21427 }
21428 {
21429 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450)));
21430 }
21431 {
21432 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451)));
21433 }
21434 {
21435 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452)));
21436 }
21437 {
21438 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453)));
21439 }
21440 {
21441 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454)));
21442 }
21443 {
21444 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455)));
21445 }
21446 {
21447 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390)));
21448 }
21449 {
21450 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391)));
21451 }
21452 {
21453 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392)));
21454 }
21455 {
21456 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393)));
21457 }
21458 {
21459 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395)));
21460 }
21461 {
21462 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396)));
21463 }
21464 {
21465 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413)));
21466 }
21467 {
21468 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414)));
21469 }
21470 {
21471 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415)));
21472 }
21473 {
21474 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416)));
21475 }
21476 {
21477 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426)));
21478 }
21479 {
21480 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427)));
21481 }
21482 {
21483 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428)));
21484 }
21485 {
21486 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429)));
21487 }
21488 {
21489 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430)));
21490 }
21491 {
21492 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431)));
21493 }
21494 {
21495 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432)));
21496 }
21497 {
21498 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433)));
21499 }
21500 {
21501 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434)));
21502 }
21503 {
21504 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435)));
21505 }
21506 {
21507 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436)));
21508 }
21509 {
21510 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437)));
21511 }
21512 {
21513 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438)));
21514 }
21515 {
21516 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439)));
21517 }
21518 {
21519 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440)));
21520 }
21521 {
21522 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441)));
21523 }
21524 {
21525 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442)));
21526 }
21527 {
21528 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE)));
21529 }
21530 {
21531 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED)));
21532 }
21533 {
21534 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED)));
21535 }
21536 {
21537 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED)));
21538 }
21539 {
21540 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT)));
21541 }
21542 {
21543 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT)));
21544 }
21545 {
21546 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY)));
21547 }
21548 {
21549 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK)));
21550 }
21551 {
21552 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI)));
21553 }
21554 {
21555 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED)));
21556 }
21557 {
21558 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD)));
21559 }
21560 {
21561 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK)));
21562 }
21563 {
21564 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN)));
21565 }
21566 {
21567 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED)));
21568 }
21569 {
21570 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION)));
21571 }
21572 {
21573 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED)));
21574 }
21575 {
21576 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART)));
21577 }
21578 {
21579 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND)));
21580 }
21581 {
21582 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG)));
21583 }
21584 {
21585 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER)));
21586 }
21587 {
21588 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP)));
21589 }
21590 {
21591 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM)));
21592 }
21593 {
21594 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK)));
21595 }
21596 {
21597 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK)));
21598 }
21599 {
21600 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK)));
21601 }
21602
21603
21604 }
21605