]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/gtk/stc_wrap.cpp
On wxMSW Move an invisible system caret around with the Scintilla
[wxWidgets.git] / wxPython / contrib / stc / gtk / 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 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxRect swig_types[0]
1342 #define SWIGTYPE_p_wxObject swig_types[1]
1343 #define SWIGTYPE_p_unsigned_char swig_types[2]
1344 #define SWIGTYPE_p_wxColour swig_types[3]
1345 #define SWIGTYPE_p_wxScrollBar swig_types[4]
1346 #define SWIGTYPE_p_wxStyledTextEvent swig_types[5]
1347 #define SWIGTYPE_p_wxWindow swig_types[6]
1348 #define SWIGTYPE_p_wxCommandEvent swig_types[7]
1349 #define SWIGTYPE_p_unsigned_long swig_types[8]
1350 #define SWIGTYPE_p_wxBitmap swig_types[9]
1351 #define SWIGTYPE_p_unsigned_int swig_types[10]
1352 #define SWIGTYPE_unsigned_int swig_types[11]
1353 #define SWIGTYPE_p_form_ops_t swig_types[12]
1354 #define SWIGTYPE_p_wxDuplexMode swig_types[13]
1355 #define SWIGTYPE_p_void swig_types[14]
1356 #define SWIGTYPE_p_char swig_types[15]
1357 #define SWIGTYPE_p_wxPoint swig_types[16]
1358 #define SWIGTYPE_p_wxDC swig_types[17]
1359 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[19]
1361 #define SWIGTYPE_ptrdiff_t swig_types[20]
1362 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[21]
1363 #define SWIGTYPE_p_wxFont swig_types[22]
1364 #define SWIGTYPE_p_wxControl swig_types[23]
1365 #define SWIGTYPE_p_wxEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1367 #define SWIGTYPE_p_int swig_types[26]
1368 #define SWIGTYPE_p_wxMemoryBuffer swig_types[27]
1369 static swig_type_info *swig_types[29];
1370
1371 /* -------- TYPES TABLE (END) -------- */
1372
1373
1374 /*-----------------------------------------------
1375 @(target):= _stc.so
1376 ------------------------------------------------*/
1377 #define SWIG_init init_stc
1378
1379 #define SWIG_name "_stc"
1380
1381 #include "wx/wxPython/wxPython.h"
1382 #include "wx/wxPython/pyclasses.h"
1383 #include <wx/stc/stc.h>
1384
1385
1386 static const wxString wxPySTCNameStr(wxSTCNameStr);
1387
1388 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1389 #define SWIG_From_int PyInt_FromLong
1390 /*@@*/
1391
1392
1393 #include <limits.h>
1394
1395
1396 SWIGINTERN int
1397 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1398 const char *errmsg)
1399 {
1400 if (value < min_value) {
1401 if (errmsg) {
1402 PyErr_Format(PyExc_OverflowError,
1403 "value %ld is less than '%s' minimum %ld",
1404 value, errmsg, min_value);
1405 }
1406 return 0;
1407 } else if (value > max_value) {
1408 if (errmsg) {
1409 PyErr_Format(PyExc_OverflowError,
1410 "value %ld is greater than '%s' maximum %ld",
1411 value, errmsg, max_value);
1412 }
1413 return 0;
1414 }
1415 return 1;
1416 }
1417
1418
1419 SWIGINTERN int
1420 SWIG_AsVal_long(PyObject* obj, long* val)
1421 {
1422 if (PyNumber_Check(obj)) {
1423 if (val) *val = PyInt_AsLong(obj);
1424 return 1;
1425 }
1426 else {
1427 SWIG_type_error("number", obj);
1428 }
1429 return 0;
1430 }
1431
1432
1433 #if INT_MAX != LONG_MAX
1434 SWIGINTERN int
1435 SWIG_AsVal_int(PyObject *obj, int *val)
1436 {
1437 const char* errmsg = val ? "int" : (char*)0;
1438 long v;
1439 if (SWIG_AsVal_long(obj, &v)) {
1440 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1441 if (val) *val = (int)(v);
1442 return 1;
1443 } else {
1444 return 0;
1445 }
1446 } else {
1447 PyErr_Clear();
1448 }
1449 if (val) {
1450 SWIG_type_error(errmsg, obj);
1451 }
1452 return 0;
1453 }
1454 #else
1455 SWIGINTERNSHORT int
1456 SWIG_AsVal_int(PyObject *obj, int *val)
1457 {
1458 return SWIG_AsVal_long(obj,(long*)val);
1459 }
1460 #endif
1461
1462
1463 SWIGINTERNSHORT int
1464 SWIG_As_int(PyObject* obj)
1465 {
1466 int v;
1467 if (!SWIG_AsVal_int(obj, &v)) {
1468 /*
1469 this is needed to make valgrind/purify happier.
1470 */
1471 memset((void*)&v, 0, sizeof(int));
1472 }
1473 return v;
1474 }
1475
1476
1477 SWIGINTERNSHORT long
1478 SWIG_As_long(PyObject* obj)
1479 {
1480 long v;
1481 if (!SWIG_AsVal_long(obj, &v)) {
1482 /*
1483 this is needed to make valgrind/purify happier.
1484 */
1485 memset((void*)&v, 0, sizeof(long));
1486 }
1487 return v;
1488 }
1489
1490
1491 SWIGINTERNSHORT int
1492 SWIG_Check_int(PyObject* obj)
1493 {
1494 return SWIG_AsVal_int(obj, (int*)0);
1495 }
1496
1497
1498 SWIGINTERNSHORT int
1499 SWIG_Check_long(PyObject* obj)
1500 {
1501 return SWIG_AsVal_long(obj, (long*)0);
1502 }
1503
1504
1505 SWIGINTERN int
1506 SWIG_AsVal_bool(PyObject *obj, bool *val)
1507 {
1508 if (obj == Py_True) {
1509 if (val) *val = true;
1510 return 1;
1511 }
1512 if (obj == Py_False) {
1513 if (val) *val = false;
1514 return 1;
1515 }
1516 int res = 0;
1517 if (SWIG_AsVal_int(obj, &res)) {
1518 if (val) *val = res ? true : false;
1519 return 1;
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error("bool", obj);
1525 }
1526 return 0;
1527 }
1528
1529
1530 SWIGINTERNSHORT bool
1531 SWIG_As_bool(PyObject* obj)
1532 {
1533 bool v;
1534 if (!SWIG_AsVal_bool(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(bool));
1539 }
1540 return v;
1541 }
1542
1543
1544 SWIGINTERNSHORT int
1545 SWIG_Check_bool(PyObject* obj)
1546 {
1547 return SWIG_AsVal_bool(obj, (bool*)0);
1548 }
1549
1550
1551 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1552 PyObject* o2;
1553 PyObject* o3;
1554
1555 if (!target) {
1556 target = o;
1557 } else if (target == Py_None) {
1558 Py_DECREF(Py_None);
1559 target = o;
1560 } else {
1561 if (!PyTuple_Check(target)) {
1562 o2 = target;
1563 target = PyTuple_New(1);
1564 PyTuple_SetItem(target, 0, o2);
1565 }
1566 o3 = PyTuple_New(1);
1567 PyTuple_SetItem(o3, 0, o);
1568
1569 o2 = target;
1570 target = PySequence_Concat(o2, o3);
1571 Py_DECREF(o2);
1572 Py_DECREF(o3);
1573 }
1574 return target;
1575 }
1576
1577
1578
1579 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1580 SWIGINTERN int
1581 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1582 {
1583 static swig_type_info* pchar_info = 0;
1584 char* vptr = 0;
1585 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1586 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1587 if (cptr) *cptr = vptr;
1588 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1589 return SWIG_OLDOBJ;
1590 } else {
1591 PyErr_Clear();
1592 if (PyString_Check(obj)) {
1593 if (cptr) {
1594 *cptr = PyString_AS_STRING(obj);
1595 if (psize) {
1596 *psize = PyString_GET_SIZE(obj) + 1;
1597 }
1598 }
1599 return SWIG_PYSTR;
1600 }
1601 }
1602 if (cptr) {
1603 SWIG_type_error("char *", obj);
1604 }
1605 return 0;
1606 }
1607
1608
1609 SWIGINTERNSHORT int
1610 SWIG_AsCharPtr(PyObject *obj, char **val)
1611 {
1612 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1613 return 1;
1614 }
1615 if (val) {
1616 PyErr_Clear();
1617 SWIG_type_error("char *", obj);
1618 }
1619 return 0;
1620 }
1621
1622
1623 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1624 #define SWIG_From_long PyInt_FromLong
1625 /*@@*/
1626
1627 #ifdef __cplusplus
1628 extern "C" {
1629 #endif
1630 static int _wrap_STCNameStr_set(PyObject *) {
1631 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1632 return 1;
1633 }
1634
1635
1636 static PyObject *_wrap_STCNameStr_get(void) {
1637 PyObject *pyobj;
1638
1639 {
1640 #if wxUSE_UNICODE
1641 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1642 #else
1643 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1644 #endif
1645 }
1646 return pyobj;
1647 }
1648
1649
1650 static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxWindow *arg1 = (wxWindow *) 0 ;
1653 int arg2 = (int) wxID_ANY ;
1654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1656 wxSize const &arg4_defvalue = wxDefaultSize ;
1657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1658 long arg5 = (long) 0 ;
1659 wxString const &arg6_defvalue = wxPySTCNameStr ;
1660 wxString *arg6 = (wxString *) &arg6_defvalue ;
1661 wxStyledTextCtrl *result;
1662 wxPoint temp3 ;
1663 wxSize temp4 ;
1664 bool temp6 = false ;
1665 PyObject * obj0 = 0 ;
1666 PyObject * obj1 = 0 ;
1667 PyObject * obj2 = 0 ;
1668 PyObject * obj3 = 0 ;
1669 PyObject * obj4 = 0 ;
1670 PyObject * obj5 = 0 ;
1671 char *kwnames[] = {
1672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1677 if (SWIG_arg_fail(1)) SWIG_fail;
1678 if (obj1) {
1679 {
1680 arg2 = (int)(SWIG_As_int(obj1));
1681 if (SWIG_arg_fail(2)) SWIG_fail;
1682 }
1683 }
1684 if (obj2) {
1685 {
1686 arg3 = &temp3;
1687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1688 }
1689 }
1690 if (obj3) {
1691 {
1692 arg4 = &temp4;
1693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1694 }
1695 }
1696 if (obj4) {
1697 {
1698 arg5 = (long)(SWIG_As_long(obj4));
1699 if (SWIG_arg_fail(5)) SWIG_fail;
1700 }
1701 }
1702 if (obj5) {
1703 {
1704 arg6 = wxString_in_helper(obj5);
1705 if (arg6 == NULL) SWIG_fail;
1706 temp6 = true;
1707 }
1708 }
1709 {
1710 if (!wxPyCheckForApp()) SWIG_fail;
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1718 {
1719 if (temp6)
1720 delete arg6;
1721 }
1722 return resultobj;
1723 fail:
1724 {
1725 if (temp6)
1726 delete arg6;
1727 }
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxStyledTextCtrl *result;
1735 char *kwnames[] = {
1736 NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
1740 {
1741 if (!wxPyCheckForApp()) SWIG_fail;
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1758 wxWindow *arg2 = (wxWindow *) 0 ;
1759 int arg3 = (int) wxID_ANY ;
1760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1762 wxSize const &arg5_defvalue = wxDefaultSize ;
1763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1764 long arg6 = (long) 0 ;
1765 wxString const &arg7_defvalue = wxSTCNameStr ;
1766 wxString *arg7 = (wxString *) &arg7_defvalue ;
1767 wxPoint temp4 ;
1768 wxSize temp5 ;
1769 bool temp7 = false ;
1770 PyObject * obj0 = 0 ;
1771 PyObject * obj1 = 0 ;
1772 PyObject * obj2 = 0 ;
1773 PyObject * obj3 = 0 ;
1774 PyObject * obj4 = 0 ;
1775 PyObject * obj5 = 0 ;
1776 PyObject * obj6 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1783 if (SWIG_arg_fail(1)) SWIG_fail;
1784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1785 if (SWIG_arg_fail(2)) SWIG_fail;
1786 if (obj2) {
1787 {
1788 arg3 = (int)(SWIG_As_int(obj2));
1789 if (SWIG_arg_fail(3)) SWIG_fail;
1790 }
1791 }
1792 if (obj3) {
1793 {
1794 arg4 = &temp4;
1795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1796 }
1797 }
1798 if (obj4) {
1799 {
1800 arg5 = &temp5;
1801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1802 }
1803 }
1804 if (obj5) {
1805 {
1806 arg6 = (long)(SWIG_As_long(obj5));
1807 if (SWIG_arg_fail(6)) SWIG_fail;
1808 }
1809 }
1810 if (obj6) {
1811 {
1812 arg7 = wxString_in_helper(obj6);
1813 if (arg7 == NULL) SWIG_fail;
1814 temp7 = true;
1815 }
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 {
1826 if (temp7)
1827 delete arg7;
1828 }
1829 return resultobj;
1830 fail:
1831 {
1832 if (temp7)
1833 delete arg7;
1834 }
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1842 wxString *arg2 = 0 ;
1843 bool temp2 = false ;
1844 PyObject * obj0 = 0 ;
1845 PyObject * obj1 = 0 ;
1846 char *kwnames[] = {
1847 (char *) "self",(char *) "text", NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
1851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1852 if (SWIG_arg_fail(1)) SWIG_fail;
1853 {
1854 arg2 = wxString_in_helper(obj1);
1855 if (arg2 == NULL) SWIG_fail;
1856 temp2 = true;
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->AddText((wxString const &)*arg2);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 {
1867 if (temp2)
1868 delete arg2;
1869 }
1870 return resultobj;
1871 fail:
1872 {
1873 if (temp2)
1874 delete arg2;
1875 }
1876 return NULL;
1877 }
1878
1879
1880 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
1881 PyObject *resultobj;
1882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1883 wxMemoryBuffer *arg2 = 0 ;
1884 bool temp2 = false ;
1885 PyObject * obj0 = 0 ;
1886 PyObject * obj1 = 0 ;
1887 char *kwnames[] = {
1888 (char *) "self",(char *) "data", NULL
1889 };
1890
1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
1892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1893 if (SWIG_arg_fail(1)) SWIG_fail;
1894 {
1895 if (!PyString_Check(obj1)) {
1896 PyErr_SetString(PyExc_TypeError, "String buffer expected");
1897 SWIG_fail;
1898 }
1899 char* str = PyString_AS_STRING(obj1);
1900 int len = PyString_GET_SIZE(obj1);
1901 arg2 = new wxMemoryBuffer(len);
1902 temp2 = true;
1903 memcpy(arg2->GetData(), str, len);
1904 arg2->SetDataLen(len);
1905 }
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 {
1915 if (temp2) delete arg2;
1916 }
1917 return resultobj;
1918 fail:
1919 {
1920 if (temp2) delete arg2;
1921 }
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1929 int arg2 ;
1930 wxString *arg3 = 0 ;
1931 bool temp3 = false ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "pos",(char *) "text", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1941 if (SWIG_arg_fail(1)) SWIG_fail;
1942 {
1943 arg2 = (int)(SWIG_As_int(obj1));
1944 if (SWIG_arg_fail(2)) SWIG_fail;
1945 }
1946 {
1947 arg3 = wxString_in_helper(obj2);
1948 if (arg3 == NULL) SWIG_fail;
1949 temp3 = true;
1950 }
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 (arg1)->InsertText(arg2,(wxString const &)*arg3);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 Py_INCREF(Py_None); resultobj = Py_None;
1959 {
1960 if (temp3)
1961 delete arg3;
1962 }
1963 return resultobj;
1964 fail:
1965 {
1966 if (temp3)
1967 delete arg3;
1968 }
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1976 PyObject * obj0 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "self", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
1982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1983 if (SWIG_arg_fail(1)) SWIG_fail;
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 (arg1)->ClearAll();
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 Py_INCREF(Py_None); resultobj = Py_None;
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2001 PyObject * obj0 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "self", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2008 if (SWIG_arg_fail(1)) SWIG_fail;
2009 {
2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
2011 (arg1)->ClearDocumentStyle();
2012
2013 wxPyEndAllowThreads(__tstate);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 }
2016 Py_INCREF(Py_None); resultobj = Py_None;
2017 return resultobj;
2018 fail:
2019 return NULL;
2020 }
2021
2022
2023 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
2024 PyObject *resultobj;
2025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2026 int result;
2027 PyObject * obj0 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "self", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2034 if (SWIG_arg_fail(1)) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 result = (int)(arg1)->GetLength();
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 {
2043 resultobj = SWIG_From_int((int)(result));
2044 }
2045 return resultobj;
2046 fail:
2047 return NULL;
2048 }
2049
2050
2051 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
2052 PyObject *resultobj;
2053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2054 int arg2 ;
2055 int result;
2056 PyObject * obj0 = 0 ;
2057 PyObject * obj1 = 0 ;
2058 char *kwnames[] = {
2059 (char *) "self",(char *) "pos", NULL
2060 };
2061
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2064 if (SWIG_arg_fail(1)) SWIG_fail;
2065 {
2066 arg2 = (int)(SWIG_As_int(obj1));
2067 if (SWIG_arg_fail(2)) SWIG_fail;
2068 }
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = (int)(arg1)->GetCharAt(arg2);
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 {
2077 resultobj = SWIG_From_int((int)(result));
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2088 int result;
2089 PyObject * obj0 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2096 if (SWIG_arg_fail(1)) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (int)(arg1)->GetCurrentPos();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 {
2105 resultobj = SWIG_From_int((int)(result));
2106 }
2107 return resultobj;
2108 fail:
2109 return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2114 PyObject *resultobj;
2115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2116 int result;
2117 PyObject * obj0 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2124 if (SWIG_arg_fail(1)) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (int)(arg1)->GetAnchor();
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 {
2133 resultobj = SWIG_From_int((int)(result));
2134 }
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2144 int arg2 ;
2145 int result;
2146 PyObject * obj0 = 0 ;
2147 PyObject * obj1 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self",(char *) "pos", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2154 if (SWIG_arg_fail(1)) SWIG_fail;
2155 {
2156 arg2 = (int)(SWIG_As_int(obj1));
2157 if (SWIG_arg_fail(2)) SWIG_fail;
2158 }
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (int)(arg1)->GetStyleAt(arg2);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167 resultobj = SWIG_From_int((int)(result));
2168 }
2169 return resultobj;
2170 fail:
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2178 PyObject * obj0 = 0 ;
2179 char *kwnames[] = {
2180 (char *) "self", NULL
2181 };
2182
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2185 if (SWIG_arg_fail(1)) SWIG_fail;
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 (arg1)->Redo();
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 Py_INCREF(Py_None); resultobj = Py_None;
2194 return resultobj;
2195 fail:
2196 return NULL;
2197 }
2198
2199
2200 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2201 PyObject *resultobj;
2202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2203 bool arg2 ;
2204 PyObject * obj0 = 0 ;
2205 PyObject * obj1 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self",(char *) "collectUndo", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2212 if (SWIG_arg_fail(1)) SWIG_fail;
2213 {
2214 arg2 = (bool)(SWIG_As_bool(obj1));
2215 if (SWIG_arg_fail(2)) SWIG_fail;
2216 }
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 (arg1)->SetUndoCollection(arg2);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2234 PyObject * obj0 = 0 ;
2235 char *kwnames[] = {
2236 (char *) "self", NULL
2237 };
2238
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2241 if (SWIG_arg_fail(1)) SWIG_fail;
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 (arg1)->SelectAll();
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 Py_INCREF(Py_None); resultobj = Py_None;
2250 return resultobj;
2251 fail:
2252 return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
2257 PyObject *resultobj;
2258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2259 PyObject * obj0 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail;
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 (arg1)->SetSavePoint();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 Py_INCREF(Py_None); resultobj = Py_None;
2275 return resultobj;
2276 fail:
2277 return NULL;
2278 }
2279
2280
2281 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2284 int arg2 ;
2285 int arg3 ;
2286 wxMemoryBuffer result;
2287 PyObject * obj0 = 0 ;
2288 PyObject * obj1 = 0 ;
2289 PyObject * obj2 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2296 if (SWIG_arg_fail(1)) SWIG_fail;
2297 {
2298 arg2 = (int)(SWIG_As_int(obj1));
2299 if (SWIG_arg_fail(2)) SWIG_fail;
2300 }
2301 {
2302 arg3 = (int)(SWIG_As_int(obj2));
2303 if (SWIG_arg_fail(3)) SWIG_fail;
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (arg1)->GetStyledText(arg2,arg3);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2314 }
2315 return resultobj;
2316 fail:
2317 return NULL;
2318 }
2319
2320
2321 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2324 bool result;
2325 PyObject * obj0 = 0 ;
2326 char *kwnames[] = {
2327 (char *) "self", NULL
2328 };
2329
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2332 if (SWIG_arg_fail(1)) SWIG_fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 result = (bool)(arg1)->CanRedo();
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 {
2341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2342 }
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2352 int arg2 ;
2353 int result;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "handle", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2362 if (SWIG_arg_fail(1)) SWIG_fail;
2363 {
2364 arg2 = (int)(SWIG_As_int(obj1));
2365 if (SWIG_arg_fail(2)) SWIG_fail;
2366 }
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 result = (int)(arg1)->MarkerLineFromHandle(arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 {
2375 resultobj = SWIG_From_int((int)(result));
2376 }
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2386 int arg2 ;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self",(char *) "handle", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2395 if (SWIG_arg_fail(1)) SWIG_fail;
2396 {
2397 arg2 = (int)(SWIG_As_int(obj1));
2398 if (SWIG_arg_fail(2)) SWIG_fail;
2399 }
2400 {
2401 PyThreadState* __tstate = wxPyBeginAllowThreads();
2402 (arg1)->MarkerDeleteHandle(arg2);
2403
2404 wxPyEndAllowThreads(__tstate);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 }
2407 Py_INCREF(Py_None); resultobj = Py_None;
2408 return resultobj;
2409 fail:
2410 return NULL;
2411 }
2412
2413
2414 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2415 PyObject *resultobj;
2416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2417 bool result;
2418 PyObject * obj0 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2425 if (SWIG_arg_fail(1)) SWIG_fail;
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (bool)(arg1)->GetUndoCollection();
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2435 }
2436 return resultobj;
2437 fail:
2438 return NULL;
2439 }
2440
2441
2442 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2445 int result;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2453 if (SWIG_arg_fail(1)) SWIG_fail;
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 result = (int)(arg1)->GetViewWhiteSpace();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 {
2462 resultobj = SWIG_From_int((int)(result));
2463 }
2464 return resultobj;
2465 fail:
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2473 int arg2 ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self",(char *) "viewWS", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2482 if (SWIG_arg_fail(1)) SWIG_fail;
2483 {
2484 arg2 = (int)(SWIG_As_int(obj1));
2485 if (SWIG_arg_fail(2)) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->SetViewWhiteSpace(arg2);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2504 wxPoint arg2 ;
2505 int result;
2506 PyObject * obj0 = 0 ;
2507 PyObject * obj1 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self",(char *) "pt", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2514 if (SWIG_arg_fail(1)) SWIG_fail;
2515 {
2516 wxPoint * argp;
2517 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2518 if (SWIG_arg_fail(2)) SWIG_fail;
2519 if (argp == NULL) {
2520 SWIG_null_ref("wxPoint");
2521 }
2522 if (SWIG_arg_fail(2)) SWIG_fail;
2523 arg2 = *argp;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 result = (int)(arg1)->PositionFromPoint(arg2);
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 {
2533 resultobj = SWIG_From_int((int)(result));
2534 }
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2544 int arg2 ;
2545 int arg3 ;
2546 int result;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "x",(char *) "y", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2556 if (SWIG_arg_fail(1)) SWIG_fail;
2557 {
2558 arg2 = (int)(SWIG_As_int(obj1));
2559 if (SWIG_arg_fail(2)) SWIG_fail;
2560 }
2561 {
2562 arg3 = (int)(SWIG_As_int(obj2));
2563 if (SWIG_arg_fail(3)) SWIG_fail;
2564 }
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 {
2573 resultobj = SWIG_From_int((int)(result));
2574 }
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2584 int arg2 ;
2585 PyObject * obj0 = 0 ;
2586 PyObject * obj1 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self",(char *) "line", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2593 if (SWIG_arg_fail(1)) SWIG_fail;
2594 {
2595 arg2 = (int)(SWIG_As_int(obj1));
2596 if (SWIG_arg_fail(2)) SWIG_fail;
2597 }
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->GotoLine(arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2615 int arg2 ;
2616 PyObject * obj0 = 0 ;
2617 PyObject * obj1 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "pos", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2624 if (SWIG_arg_fail(1)) SWIG_fail;
2625 {
2626 arg2 = (int)(SWIG_As_int(obj1));
2627 if (SWIG_arg_fail(2)) SWIG_fail;
2628 }
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 (arg1)->GotoPos(arg2);
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 Py_INCREF(Py_None); resultobj = Py_None;
2637 return resultobj;
2638 fail:
2639 return NULL;
2640 }
2641
2642
2643 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2646 int arg2 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "posAnchor", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2655 if (SWIG_arg_fail(1)) SWIG_fail;
2656 {
2657 arg2 = (int)(SWIG_As_int(obj1));
2658 if (SWIG_arg_fail(2)) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->SetAnchor(arg2);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2677 int *arg2 = (int *) 0 ;
2678 wxString result;
2679 int temp2 ;
2680 int res2 = 0 ;
2681 PyObject * obj0 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self", NULL
2684 };
2685
2686 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail;
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = (arg1)->GetCurLine(arg2);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 {
2698 #if wxUSE_UNICODE
2699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2700 #else
2701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2702 #endif
2703 }
2704 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2705 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2706 return resultobj;
2707 fail:
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2715 int result;
2716 PyObject * obj0 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2723 if (SWIG_arg_fail(1)) SWIG_fail;
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 result = (int)(arg1)->GetEndStyled();
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 {
2732 resultobj = SWIG_From_int((int)(result));
2733 }
2734 return resultobj;
2735 fail:
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2743 int arg2 ;
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self",(char *) "eolMode", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2752 if (SWIG_arg_fail(1)) SWIG_fail;
2753 {
2754 arg2 = (int)(SWIG_As_int(obj1));
2755 if (SWIG_arg_fail(2)) SWIG_fail;
2756 }
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->ConvertEOLs(arg2);
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2774 int result;
2775 PyObject * obj0 = 0 ;
2776 char *kwnames[] = {
2777 (char *) "self", NULL
2778 };
2779
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2782 if (SWIG_arg_fail(1)) SWIG_fail;
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 result = (int)(arg1)->GetEOLMode();
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 {
2791 resultobj = SWIG_From_int((int)(result));
2792 }
2793 return resultobj;
2794 fail:
2795 return NULL;
2796 }
2797
2798
2799 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2802 int arg2 ;
2803 PyObject * obj0 = 0 ;
2804 PyObject * obj1 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self",(char *) "eolMode", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail;
2812 {
2813 arg2 = (int)(SWIG_As_int(obj1));
2814 if (SWIG_arg_fail(2)) SWIG_fail;
2815 }
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 (arg1)->SetEOLMode(arg2);
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 Py_INCREF(Py_None); resultobj = Py_None;
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2833 int arg2 ;
2834 int arg3 ;
2835 PyObject * obj0 = 0 ;
2836 PyObject * obj1 = 0 ;
2837 PyObject * obj2 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "pos",(char *) "mask", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2844 if (SWIG_arg_fail(1)) SWIG_fail;
2845 {
2846 arg2 = (int)(SWIG_As_int(obj1));
2847 if (SWIG_arg_fail(2)) SWIG_fail;
2848 }
2849 {
2850 arg3 = (int)(SWIG_As_int(obj2));
2851 if (SWIG_arg_fail(3)) SWIG_fail;
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 (arg1)->StartStyling(arg2,arg3);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 Py_INCREF(Py_None); resultobj = Py_None;
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2870 int arg2 ;
2871 int arg3 ;
2872 PyObject * obj0 = 0 ;
2873 PyObject * obj1 = 0 ;
2874 PyObject * obj2 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self",(char *) "length",(char *) "style", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2881 if (SWIG_arg_fail(1)) SWIG_fail;
2882 {
2883 arg2 = (int)(SWIG_As_int(obj1));
2884 if (SWIG_arg_fail(2)) SWIG_fail;
2885 }
2886 {
2887 arg3 = (int)(SWIG_As_int(obj2));
2888 if (SWIG_arg_fail(3)) SWIG_fail;
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 (arg1)->SetStyling(arg2,arg3);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2907 bool result;
2908 PyObject * obj0 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (bool)(arg1)->GetBufferedDraw();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 {
2924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2925 }
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2935 bool arg2 ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self",(char *) "buffered", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
2943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail;
2945 {
2946 arg2 = (bool)(SWIG_As_bool(obj1));
2947 if (SWIG_arg_fail(2)) SWIG_fail;
2948 }
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->SetBufferedDraw(arg2);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2966 int arg2 ;
2967 PyObject * obj0 = 0 ;
2968 PyObject * obj1 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self",(char *) "tabWidth", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
2974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail;
2976 {
2977 arg2 = (int)(SWIG_As_int(obj1));
2978 if (SWIG_arg_fail(2)) SWIG_fail;
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->SetTabWidth(arg2);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2997 int result;
2998 PyObject * obj0 = 0 ;
2999 char *kwnames[] = {
3000 (char *) "self", NULL
3001 };
3002
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3005 if (SWIG_arg_fail(1)) SWIG_fail;
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 result = (int)(arg1)->GetTabWidth();
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 {
3014 resultobj = SWIG_From_int((int)(result));
3015 }
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3025 int arg2 ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self",(char *) "codePage", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3034 if (SWIG_arg_fail(1)) SWIG_fail;
3035 {
3036 arg2 = (int)(SWIG_As_int(obj1));
3037 if (SWIG_arg_fail(2)) SWIG_fail;
3038 }
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 (arg1)->SetCodePage(arg2);
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 Py_INCREF(Py_None); resultobj = Py_None;
3047 return resultobj;
3048 fail:
3049 return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3056 int arg2 ;
3057 int arg3 ;
3058 wxColour const &arg4_defvalue = wxNullColour ;
3059 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3060 wxColour const &arg5_defvalue = wxNullColour ;
3061 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3062 wxColour temp4 ;
3063 wxColour temp5 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 PyObject * obj2 = 0 ;
3067 PyObject * obj3 = 0 ;
3068 PyObject * obj4 = 0 ;
3069 char *kwnames[] = {
3070 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
3071 };
3072
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3075 if (SWIG_arg_fail(1)) SWIG_fail;
3076 {
3077 arg2 = (int)(SWIG_As_int(obj1));
3078 if (SWIG_arg_fail(2)) SWIG_fail;
3079 }
3080 {
3081 arg3 = (int)(SWIG_As_int(obj2));
3082 if (SWIG_arg_fail(3)) SWIG_fail;
3083 }
3084 if (obj3) {
3085 {
3086 arg4 = &temp4;
3087 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3088 }
3089 }
3090 if (obj4) {
3091 {
3092 arg5 = &temp5;
3093 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3094 }
3095 }
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 Py_INCREF(Py_None); resultobj = Py_None;
3104 return resultobj;
3105 fail:
3106 return NULL;
3107 }
3108
3109
3110 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3113 int arg2 ;
3114 wxColour *arg3 = 0 ;
3115 wxColour temp3 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 PyObject * obj2 = 0 ;
3119 char *kwnames[] = {
3120 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3125 if (SWIG_arg_fail(1)) SWIG_fail;
3126 {
3127 arg2 = (int)(SWIG_As_int(obj1));
3128 if (SWIG_arg_fail(2)) SWIG_fail;
3129 }
3130 {
3131 arg3 = &temp3;
3132 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 return resultobj;
3143 fail:
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3151 int arg2 ;
3152 wxColour *arg3 = 0 ;
3153 wxColour temp3 ;
3154 PyObject * obj0 = 0 ;
3155 PyObject * obj1 = 0 ;
3156 PyObject * obj2 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3163 if (SWIG_arg_fail(1)) SWIG_fail;
3164 {
3165 arg2 = (int)(SWIG_As_int(obj1));
3166 if (SWIG_arg_fail(2)) SWIG_fail;
3167 }
3168 {
3169 arg3 = &temp3;
3170 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3171 }
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 Py_INCREF(Py_None); resultobj = Py_None;
3180 return resultobj;
3181 fail:
3182 return NULL;
3183 }
3184
3185
3186 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3189 int arg2 ;
3190 int arg3 ;
3191 int result;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
3206 {
3207 arg3 = (int)(SWIG_As_int(obj2));
3208 if (SWIG_arg_fail(3)) SWIG_fail;
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 result = (int)(arg1)->MarkerAdd(arg2,arg3);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 {
3218 resultobj = SWIG_From_int((int)(result));
3219 }
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj;
3228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3229 int arg2 ;
3230 int arg3 ;
3231 PyObject * obj0 = 0 ;
3232 PyObject * obj1 = 0 ;
3233 PyObject * obj2 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3240 if (SWIG_arg_fail(1)) SWIG_fail;
3241 {
3242 arg2 = (int)(SWIG_As_int(obj1));
3243 if (SWIG_arg_fail(2)) SWIG_fail;
3244 }
3245 {
3246 arg3 = (int)(SWIG_As_int(obj2));
3247 if (SWIG_arg_fail(3)) SWIG_fail;
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 (arg1)->MarkerDelete(arg2,arg3);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 return resultobj;
3258 fail:
3259 return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj;
3265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3266 int arg2 ;
3267 PyObject * obj0 = 0 ;
3268 PyObject * obj1 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self",(char *) "markerNumber", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
3276 {
3277 arg2 = (int)(SWIG_As_int(obj1));
3278 if (SWIG_arg_fail(2)) SWIG_fail;
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 (arg1)->MarkerDeleteAll(arg2);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3297 int arg2 ;
3298 int result;
3299 PyObject * obj0 = 0 ;
3300 PyObject * obj1 = 0 ;
3301 char *kwnames[] = {
3302 (char *) "self",(char *) "line", NULL
3303 };
3304
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3307 if (SWIG_arg_fail(1)) SWIG_fail;
3308 {
3309 arg2 = (int)(SWIG_As_int(obj1));
3310 if (SWIG_arg_fail(2)) SWIG_fail;
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 result = (int)(arg1)->MarkerGet(arg2);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 {
3320 resultobj = SWIG_From_int((int)(result));
3321 }
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3331 int arg2 ;
3332 int arg3 ;
3333 int result;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail;
3344 {
3345 arg2 = (int)(SWIG_As_int(obj1));
3346 if (SWIG_arg_fail(2)) SWIG_fail;
3347 }
3348 {
3349 arg3 = (int)(SWIG_As_int(obj2));
3350 if (SWIG_arg_fail(3)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (int)(arg1)->MarkerNext(arg2,arg3);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 resultobj = SWIG_From_int((int)(result));
3361 }
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3371 int arg2 ;
3372 int arg3 ;
3373 int result;
3374 PyObject * obj0 = 0 ;
3375 PyObject * obj1 = 0 ;
3376 PyObject * obj2 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3383 if (SWIG_arg_fail(1)) SWIG_fail;
3384 {
3385 arg2 = (int)(SWIG_As_int(obj1));
3386 if (SWIG_arg_fail(2)) SWIG_fail;
3387 }
3388 {
3389 arg3 = (int)(SWIG_As_int(obj2));
3390 if (SWIG_arg_fail(3)) SWIG_fail;
3391 }
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 {
3400 resultobj = SWIG_From_int((int)(result));
3401 }
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3411 int arg2 ;
3412 wxBitmap *arg3 = 0 ;
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj1 = 0 ;
3415 PyObject * obj2 = 0 ;
3416 char *kwnames[] = {
3417 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
3418 };
3419
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3422 if (SWIG_arg_fail(1)) SWIG_fail;
3423 {
3424 arg2 = (int)(SWIG_As_int(obj1));
3425 if (SWIG_arg_fail(2)) SWIG_fail;
3426 }
3427 {
3428 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3429 if (SWIG_arg_fail(3)) SWIG_fail;
3430 if (arg3 == NULL) {
3431 SWIG_null_ref("wxBitmap");
3432 }
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3452 int arg2 ;
3453 int arg3 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 PyObject * obj2 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "margin",(char *) "marginType", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3463 if (SWIG_arg_fail(1)) SWIG_fail;
3464 {
3465 arg2 = (int)(SWIG_As_int(obj1));
3466 if (SWIG_arg_fail(2)) SWIG_fail;
3467 }
3468 {
3469 arg3 = (int)(SWIG_As_int(obj2));
3470 if (SWIG_arg_fail(3)) SWIG_fail;
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 (arg1)->SetMarginType(arg2,arg3);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3489 int arg2 ;
3490 int result;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "margin", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail;
3500 {
3501 arg2 = (int)(SWIG_As_int(obj1));
3502 if (SWIG_arg_fail(2)) SWIG_fail;
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (int)(arg1)->GetMarginType(arg2);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 resultobj = SWIG_From_int((int)(result));
3513 }
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3523 int arg2 ;
3524 int arg3 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 PyObject * obj2 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail;
3535 {
3536 arg2 = (int)(SWIG_As_int(obj1));
3537 if (SWIG_arg_fail(2)) SWIG_fail;
3538 }
3539 {
3540 arg3 = (int)(SWIG_As_int(obj2));
3541 if (SWIG_arg_fail(3)) SWIG_fail;
3542 }
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->SetMarginWidth(arg2,arg3);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3560 int arg2 ;
3561 int result;
3562 PyObject * obj0 = 0 ;
3563 PyObject * obj1 = 0 ;
3564 char *kwnames[] = {
3565 (char *) "self",(char *) "margin", NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail;
3571 {
3572 arg2 = (int)(SWIG_As_int(obj1));
3573 if (SWIG_arg_fail(2)) SWIG_fail;
3574 }
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 result = (int)(arg1)->GetMarginWidth(arg2);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 {
3583 resultobj = SWIG_From_int((int)(result));
3584 }
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3594 int arg2 ;
3595 int arg3 ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 PyObject * obj2 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "margin",(char *) "mask", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail;
3606 {
3607 arg2 = (int)(SWIG_As_int(obj1));
3608 if (SWIG_arg_fail(2)) SWIG_fail;
3609 }
3610 {
3611 arg3 = (int)(SWIG_As_int(obj2));
3612 if (SWIG_arg_fail(3)) SWIG_fail;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->SetMarginMask(arg2,arg3);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3631 int arg2 ;
3632 int result;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self",(char *) "margin", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3641 if (SWIG_arg_fail(1)) SWIG_fail;
3642 {
3643 arg2 = (int)(SWIG_As_int(obj1));
3644 if (SWIG_arg_fail(2)) SWIG_fail;
3645 }
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (int)(arg1)->GetMarginMask(arg2);
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = SWIG_From_int((int)(result));
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3665 int arg2 ;
3666 bool arg3 ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 PyObject * obj2 = 0 ;
3670 char *kwnames[] = {
3671 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
3672 };
3673
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail;
3677 {
3678 arg2 = (int)(SWIG_As_int(obj1));
3679 if (SWIG_arg_fail(2)) SWIG_fail;
3680 }
3681 {
3682 arg3 = (bool)(SWIG_As_bool(obj2));
3683 if (SWIG_arg_fail(3)) SWIG_fail;
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->SetMarginSensitive(arg2,arg3);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3702 int arg2 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 PyObject * obj1 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "margin", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3712 if (SWIG_arg_fail(1)) SWIG_fail;
3713 {
3714 arg2 = (int)(SWIG_As_int(obj1));
3715 if (SWIG_arg_fail(2)) SWIG_fail;
3716 }
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)(arg1)->GetMarginSensitive(arg2);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3736 PyObject * obj0 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3743 if (SWIG_arg_fail(1)) SWIG_fail;
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 (arg1)->StyleClearAll();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 Py_INCREF(Py_None); resultobj = Py_None;
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj;
3760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3761 int arg2 ;
3762 wxColour *arg3 = 0 ;
3763 wxColour temp3 ;
3764 PyObject * obj0 = 0 ;
3765 PyObject * obj1 = 0 ;
3766 PyObject * obj2 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "style",(char *) "fore", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3773 if (SWIG_arg_fail(1)) SWIG_fail;
3774 {
3775 arg2 = (int)(SWIG_As_int(obj1));
3776 if (SWIG_arg_fail(2)) SWIG_fail;
3777 }
3778 {
3779 arg3 = &temp3;
3780 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3781 }
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3799 int arg2 ;
3800 wxColour *arg3 = 0 ;
3801 wxColour temp3 ;
3802 PyObject * obj0 = 0 ;
3803 PyObject * obj1 = 0 ;
3804 PyObject * obj2 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "style",(char *) "back", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail;
3812 {
3813 arg2 = (int)(SWIG_As_int(obj1));
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 }
3816 {
3817 arg3 = &temp3;
3818 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3837 int arg2 ;
3838 bool arg3 ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 PyObject * obj2 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self",(char *) "style",(char *) "bold", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
3847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail;
3849 {
3850 arg2 = (int)(SWIG_As_int(obj1));
3851 if (SWIG_arg_fail(2)) SWIG_fail;
3852 }
3853 {
3854 arg3 = (bool)(SWIG_As_bool(obj2));
3855 if (SWIG_arg_fail(3)) SWIG_fail;
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 (arg1)->StyleSetBold(arg2,arg3);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 Py_INCREF(Py_None); resultobj = Py_None;
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3874 int arg2 ;
3875 bool arg3 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self",(char *) "style",(char *) "italic", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
3884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3885 if (SWIG_arg_fail(1)) SWIG_fail;
3886 {
3887 arg2 = (int)(SWIG_As_int(obj1));
3888 if (SWIG_arg_fail(2)) SWIG_fail;
3889 }
3890 {
3891 arg3 = (bool)(SWIG_As_bool(obj2));
3892 if (SWIG_arg_fail(3)) SWIG_fail;
3893 }
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->StyleSetItalic(arg2,arg3);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3911 int arg2 ;
3912 int arg3 ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 PyObject * obj2 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail;
3923 {
3924 arg2 = (int)(SWIG_As_int(obj1));
3925 if (SWIG_arg_fail(2)) SWIG_fail;
3926 }
3927 {
3928 arg3 = (int)(SWIG_As_int(obj2));
3929 if (SWIG_arg_fail(3)) SWIG_fail;
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 (arg1)->StyleSetSize(arg2,arg3);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 Py_INCREF(Py_None); resultobj = Py_None;
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3948 int arg2 ;
3949 wxString *arg3 = 0 ;
3950 bool temp3 = false ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 PyObject * obj2 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self",(char *) "style",(char *) "fontName", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
3959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3960 if (SWIG_arg_fail(1)) SWIG_fail;
3961 {
3962 arg2 = (int)(SWIG_As_int(obj1));
3963 if (SWIG_arg_fail(2)) SWIG_fail;
3964 }
3965 {
3966 arg3 = wxString_in_helper(obj2);
3967 if (arg3 == NULL) SWIG_fail;
3968 temp3 = true;
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 Py_INCREF(Py_None); resultobj = Py_None;
3978 {
3979 if (temp3)
3980 delete arg3;
3981 }
3982 return resultobj;
3983 fail:
3984 {
3985 if (temp3)
3986 delete arg3;
3987 }
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3995 int arg2 ;
3996 bool arg3 ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 PyObject * obj2 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self",(char *) "style",(char *) "filled", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail;
4007 {
4008 arg2 = (int)(SWIG_As_int(obj1));
4009 if (SWIG_arg_fail(2)) SWIG_fail;
4010 }
4011 {
4012 arg3 = (bool)(SWIG_As_bool(obj2));
4013 if (SWIG_arg_fail(3)) SWIG_fail;
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->StyleSetEOLFilled(arg2,arg3);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4032 PyObject * obj0 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail;
4040 {
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 (arg1)->StyleResetDefault();
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 Py_INCREF(Py_None); resultobj = Py_None;
4048 return resultobj;
4049 fail:
4050 return NULL;
4051 }
4052
4053
4054 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4057 int arg2 ;
4058 bool arg3 ;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 PyObject * obj2 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "style",(char *) "underline", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4068 if (SWIG_arg_fail(1)) SWIG_fail;
4069 {
4070 arg2 = (int)(SWIG_As_int(obj1));
4071 if (SWIG_arg_fail(2)) SWIG_fail;
4072 }
4073 {
4074 arg3 = (bool)(SWIG_As_bool(obj2));
4075 if (SWIG_arg_fail(3)) SWIG_fail;
4076 }
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 (arg1)->StyleSetUnderline(arg2,arg3);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 Py_INCREF(Py_None); resultobj = Py_None;
4085 return resultobj;
4086 fail:
4087 return NULL;
4088 }
4089
4090
4091 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4094 int arg2 ;
4095 int arg3 ;
4096 PyObject * obj0 = 0 ;
4097 PyObject * obj1 = 0 ;
4098 PyObject * obj2 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self",(char *) "style",(char *) "caseForce", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4105 if (SWIG_arg_fail(1)) SWIG_fail;
4106 {
4107 arg2 = (int)(SWIG_As_int(obj1));
4108 if (SWIG_arg_fail(2)) SWIG_fail;
4109 }
4110 {
4111 arg3 = (int)(SWIG_As_int(obj2));
4112 if (SWIG_arg_fail(3)) SWIG_fail;
4113 }
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 (arg1)->StyleSetCase(arg2,arg3);
4117
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4131 int arg2 ;
4132 int arg3 ;
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 PyObject * obj2 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self",(char *) "style",(char *) "characterSet", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
4141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail;
4143 {
4144 arg2 = (int)(SWIG_As_int(obj1));
4145 if (SWIG_arg_fail(2)) SWIG_fail;
4146 }
4147 {
4148 arg3 = (int)(SWIG_As_int(obj2));
4149 if (SWIG_arg_fail(3)) SWIG_fail;
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 (arg1)->StyleSetCharacterSet(arg2,arg3);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 Py_INCREF(Py_None); resultobj = Py_None;
4159 return resultobj;
4160 fail:
4161 return NULL;
4162 }
4163
4164
4165 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
4166 PyObject *resultobj;
4167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4168 int arg2 ;
4169 bool arg3 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "style",(char *) "hotspot", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4179 if (SWIG_arg_fail(1)) SWIG_fail;
4180 {
4181 arg2 = (int)(SWIG_As_int(obj1));
4182 if (SWIG_arg_fail(2)) SWIG_fail;
4183 }
4184 {
4185 arg3 = (bool)(SWIG_As_bool(obj2));
4186 if (SWIG_arg_fail(3)) SWIG_fail;
4187 }
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 (arg1)->StyleSetHotSpot(arg2,arg3);
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 Py_INCREF(Py_None); resultobj = Py_None;
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4205 bool arg2 ;
4206 wxColour *arg3 = 0 ;
4207 wxColour temp3 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 PyObject * obj2 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail;
4218 {
4219 arg2 = (bool)(SWIG_As_bool(obj1));
4220 if (SWIG_arg_fail(2)) SWIG_fail;
4221 }
4222 {
4223 arg3 = &temp3;
4224 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4243 bool arg2 ;
4244 wxColour *arg3 = 0 ;
4245 wxColour temp3 ;
4246 PyObject * obj0 = 0 ;
4247 PyObject * obj1 = 0 ;
4248 PyObject * obj2 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail;
4256 {
4257 arg2 = (bool)(SWIG_As_bool(obj1));
4258 if (SWIG_arg_fail(2)) SWIG_fail;
4259 }
4260 {
4261 arg3 = &temp3;
4262 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4263 }
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 Py_INCREF(Py_None); resultobj = Py_None;
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4281 wxColour *arg2 = 0 ;
4282 wxColour temp2 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "fore", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4291 if (SWIG_arg_fail(1)) SWIG_fail;
4292 {
4293 arg2 = &temp2;
4294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->SetCaretForeground((wxColour const &)*arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4313 int arg2 ;
4314 int arg3 ;
4315 int arg4 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 PyObject * obj2 = 0 ;
4319 PyObject * obj3 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4326 if (SWIG_arg_fail(1)) SWIG_fail;
4327 {
4328 arg2 = (int)(SWIG_As_int(obj1));
4329 if (SWIG_arg_fail(2)) SWIG_fail;
4330 }
4331 {
4332 arg3 = (int)(SWIG_As_int(obj2));
4333 if (SWIG_arg_fail(3)) SWIG_fail;
4334 }
4335 {
4336 arg4 = (int)(SWIG_As_int(obj3));
4337 if (SWIG_arg_fail(4)) SWIG_fail;
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 Py_INCREF(Py_None); resultobj = Py_None;
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4356 int arg2 ;
4357 int arg3 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "key",(char *) "modifiers", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
4370 if (SWIG_arg_fail(2)) SWIG_fail;
4371 }
4372 {
4373 arg3 = (int)(SWIG_As_int(obj2));
4374 if (SWIG_arg_fail(3)) SWIG_fail;
4375 }
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->CmdKeyClear(arg2,arg3);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4400 if (SWIG_arg_fail(1)) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 (arg1)->CmdKeyClearAll();
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 Py_INCREF(Py_None); resultobj = Py_None;
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4418 int arg2 ;
4419 char *arg3 = (char *) 0 ;
4420 PyObject * obj0 = 0 ;
4421 PyObject * obj1 = 0 ;
4422 PyObject * obj2 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail;
4430 {
4431 arg2 = (int)(SWIG_As_int(obj1));
4432 if (SWIG_arg_fail(2)) SWIG_fail;
4433 }
4434 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4435 SWIG_arg_fail(3);SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 (arg1)->SetStyleBytes(arg2,arg3);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 Py_INCREF(Py_None); resultobj = Py_None;
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4454 int arg2 ;
4455 bool arg3 ;
4456 PyObject * obj0 = 0 ;
4457 PyObject * obj1 = 0 ;
4458 PyObject * obj2 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "self",(char *) "style",(char *) "visible", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4465 if (SWIG_arg_fail(1)) SWIG_fail;
4466 {
4467 arg2 = (int)(SWIG_As_int(obj1));
4468 if (SWIG_arg_fail(2)) SWIG_fail;
4469 }
4470 {
4471 arg3 = (bool)(SWIG_As_bool(obj2));
4472 if (SWIG_arg_fail(3)) SWIG_fail;
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->StyleSetVisible(arg2,arg3);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4491 int result;
4492 PyObject * obj0 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (int)(arg1)->GetCaretPeriod();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = SWIG_From_int((int)(result));
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4519 int arg2 ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self",(char *) "periodMilliseconds", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
4529 {
4530 arg2 = (int)(SWIG_As_int(obj1));
4531 if (SWIG_arg_fail(2)) SWIG_fail;
4532 }
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->SetCaretPeriod(arg2);
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 return resultobj;
4542 fail:
4543 return NULL;
4544 }
4545
4546
4547 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4550 wxString *arg2 = 0 ;
4551 bool temp2 = false ;
4552 PyObject * obj0 = 0 ;
4553 PyObject * obj1 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "characters", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail;
4561 {
4562 arg2 = wxString_in_helper(obj1);
4563 if (arg2 == NULL) SWIG_fail;
4564 temp2 = true;
4565 }
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 (arg1)->SetWordChars((wxString const &)*arg2);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 {
4575 if (temp2)
4576 delete arg2;
4577 }
4578 return resultobj;
4579 fail:
4580 {
4581 if (temp2)
4582 delete arg2;
4583 }
4584 return NULL;
4585 }
4586
4587
4588 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->BeginUndoAction();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4616 PyObject * obj0 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->EndUndoAction();
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4641 int arg2 ;
4642 int arg3 ;
4643 PyObject * obj0 = 0 ;
4644 PyObject * obj1 = 0 ;
4645 PyObject * obj2 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self",(char *) "indic",(char *) "style", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
4653 {
4654 arg2 = (int)(SWIG_As_int(obj1));
4655 if (SWIG_arg_fail(2)) SWIG_fail;
4656 }
4657 {
4658 arg3 = (int)(SWIG_As_int(obj2));
4659 if (SWIG_arg_fail(3)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->IndicatorSetStyle(arg2,arg3);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4678 int arg2 ;
4679 int result;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "indic", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4688 if (SWIG_arg_fail(1)) SWIG_fail;
4689 {
4690 arg2 = (int)(SWIG_As_int(obj1));
4691 if (SWIG_arg_fail(2)) SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (int)(arg1)->IndicatorGetStyle(arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 resultobj = SWIG_From_int((int)(result));
4702 }
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4712 int arg2 ;
4713 wxColour *arg3 = 0 ;
4714 wxColour temp3 ;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 PyObject * obj2 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "indic",(char *) "fore", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
4725 {
4726 arg2 = (int)(SWIG_As_int(obj1));
4727 if (SWIG_arg_fail(2)) SWIG_fail;
4728 }
4729 {
4730 arg3 = &temp3;
4731 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4732 }
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 Py_INCREF(Py_None); resultobj = Py_None;
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4750 int arg2 ;
4751 wxColour result;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self",(char *) "indic", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail;
4761 {
4762 arg2 = (int)(SWIG_As_int(obj1));
4763 if (SWIG_arg_fail(2)) SWIG_fail;
4764 }
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (arg1)->IndicatorGetForeground(arg2);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 {
4773 wxColour * resultptr;
4774 resultptr = new wxColour((wxColour &)(result));
4775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4776 }
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4786 bool arg2 ;
4787 wxColour *arg3 = 0 ;
4788 wxColour temp3 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 PyObject * obj2 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail;
4799 {
4800 arg2 = (bool)(SWIG_As_bool(obj1));
4801 if (SWIG_arg_fail(2)) SWIG_fail;
4802 }
4803 {
4804 arg3 = &temp3;
4805 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4806 }
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 Py_INCREF(Py_None); resultobj = Py_None;
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4824 bool arg2 ;
4825 wxColour *arg3 = 0 ;
4826 wxColour temp3 ;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 PyObject * obj2 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail;
4837 {
4838 arg2 = (bool)(SWIG_As_bool(obj1));
4839 if (SWIG_arg_fail(2)) SWIG_fail;
4840 }
4841 {
4842 arg3 = &temp3;
4843 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4844 }
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 Py_INCREF(Py_None); resultobj = Py_None;
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4862 int arg2 ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "bits", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
4870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4871 if (SWIG_arg_fail(1)) SWIG_fail;
4872 {
4873 arg2 = (int)(SWIG_As_int(obj1));
4874 if (SWIG_arg_fail(2)) SWIG_fail;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetStyleBits(arg2);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887 }
4888
4889
4890 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4893 int result;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
4900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4901 if (SWIG_arg_fail(1)) SWIG_fail;
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = (int)(arg1)->GetStyleBits();
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
4910 resultobj = SWIG_From_int((int)(result));
4911 }
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4921 int arg2 ;
4922 int arg3 ;
4923 PyObject * obj0 = 0 ;
4924 PyObject * obj1 = 0 ;
4925 PyObject * obj2 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "line",(char *) "state", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
4931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail;
4933 {
4934 arg2 = (int)(SWIG_As_int(obj1));
4935 if (SWIG_arg_fail(2)) SWIG_fail;
4936 }
4937 {
4938 arg3 = (int)(SWIG_As_int(obj2));
4939 if (SWIG_arg_fail(3)) SWIG_fail;
4940 }
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetLineState(arg2,arg3);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4958 int arg2 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 PyObject * obj1 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self",(char *) "line", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
4967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail;
4969 {
4970 arg2 = (int)(SWIG_As_int(obj1));
4971 if (SWIG_arg_fail(2)) SWIG_fail;
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (int)(arg1)->GetLineState(arg2);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 {
4981 resultobj = SWIG_From_int((int)(result));
4982 }
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4992 int result;
4993 PyObject * obj0 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
4999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (int)(arg1)->GetMaxLineState();
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009 resultobj = SWIG_From_int((int)(result));
5010 }
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5020 bool result;
5021 PyObject * obj0 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (bool)(arg1)->GetCaretLineVisible();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 {
5037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5038 }
5039 return resultobj;
5040 fail:
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5048 bool arg2 ;
5049 PyObject * obj0 = 0 ;
5050 PyObject * obj1 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "show", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail;
5058 {
5059 arg2 = (bool)(SWIG_As_bool(obj1));
5060 if (SWIG_arg_fail(2)) SWIG_fail;
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->SetCaretLineVisible(arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5079 wxColour result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = (arg1)->GetCaretLineBack();
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 wxColour * resultptr;
5097 resultptr = new wxColour((wxColour &)(result));
5098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5109 wxColour *arg2 = 0 ;
5110 wxColour temp2 ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "back", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) 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 = &temp2;
5122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5123 }
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 Py_INCREF(Py_None); resultobj = Py_None;
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5141 int arg2 ;
5142 bool arg3 ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 PyObject * obj2 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self",(char *) "style",(char *) "changeable", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
5151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail;
5153 {
5154 arg2 = (int)(SWIG_As_int(obj1));
5155 if (SWIG_arg_fail(2)) SWIG_fail;
5156 }
5157 {
5158 arg3 = (bool)(SWIG_As_bool(obj2));
5159 if (SWIG_arg_fail(3)) SWIG_fail;
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->StyleSetChangeable(arg2,arg3);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 Py_INCREF(Py_None); resultobj = Py_None;
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5178 int arg2 ;
5179 wxString *arg3 = 0 ;
5180 bool temp3 = false ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 PyObject * obj2 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 {
5192 arg2 = (int)(SWIG_As_int(obj1));
5193 if (SWIG_arg_fail(2)) SWIG_fail;
5194 }
5195 {
5196 arg3 = wxString_in_helper(obj2);
5197 if (arg3 == NULL) SWIG_fail;
5198 temp3 = true;
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 {
5209 if (temp3)
5210 delete arg3;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp3)
5216 delete arg3;
5217 }
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5225 PyObject * obj0 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail;
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 (arg1)->AutoCompCancel();
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 Py_INCREF(Py_None); resultobj = Py_None;
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5250 bool result;
5251 PyObject * obj0 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5258 if (SWIG_arg_fail(1)) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (bool)(arg1)->AutoCompActive();
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5268 }
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5278 int result;
5279 PyObject * obj0 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (int)(arg1)->AutoCompPosStart();
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295 resultobj = SWIG_From_int((int)(result));
5296 }
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5306 PyObject * obj0 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail;
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->AutoCompComplete();
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5331 wxString *arg2 = 0 ;
5332 bool temp2 = false ;
5333 PyObject * obj0 = 0 ;
5334 PyObject * obj1 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self",(char *) "characterSet", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail;
5342 {
5343 arg2 = wxString_in_helper(obj1);
5344 if (arg2 == NULL) SWIG_fail;
5345 temp2 = true;
5346 }
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 (arg1)->AutoCompStops((wxString const &)*arg2);
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 Py_INCREF(Py_None); resultobj = Py_None;
5355 {
5356 if (temp2)
5357 delete arg2;
5358 }
5359 return resultobj;
5360 fail:
5361 {
5362 if (temp2)
5363 delete arg2;
5364 }
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5372 int arg2 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "separatorCharacter", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5381 if (SWIG_arg_fail(1)) SWIG_fail;
5382 {
5383 arg2 = (int)(SWIG_As_int(obj1));
5384 if (SWIG_arg_fail(2)) SWIG_fail;
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->AutoCompSetSeparator(arg2);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5403 int result;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5411 if (SWIG_arg_fail(1)) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (int)(arg1)->AutoCompGetSeparator();
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 {
5420 resultobj = SWIG_From_int((int)(result));
5421 }
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj;
5430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5431 wxString *arg2 = 0 ;
5432 bool temp2 = false ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self",(char *) "text", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5441 if (SWIG_arg_fail(1)) SWIG_fail;
5442 {
5443 arg2 = wxString_in_helper(obj1);
5444 if (arg2 == NULL) SWIG_fail;
5445 temp2 = true;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->AutoCompSelect((wxString const &)*arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 {
5456 if (temp2)
5457 delete arg2;
5458 }
5459 return resultobj;
5460 fail:
5461 {
5462 if (temp2)
5463 delete arg2;
5464 }
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5472 bool arg2 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "cancel", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
5482 {
5483 arg2 = (bool)(SWIG_As_bool(obj1));
5484 if (SWIG_arg_fail(2)) SWIG_fail;
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->AutoCompSetCancelAtStart(arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5503 bool result;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (bool)(arg1)->AutoCompGetCancelAtStart();
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5531 wxString *arg2 = 0 ;
5532 bool temp2 = false ;
5533 PyObject * obj0 = 0 ;
5534 PyObject * obj1 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "characterSet", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail;
5542 {
5543 arg2 = wxString_in_helper(obj1);
5544 if (arg2 == NULL) SWIG_fail;
5545 temp2 = true;
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 {
5556 if (temp2)
5557 delete arg2;
5558 }
5559 return resultobj;
5560 fail:
5561 {
5562 if (temp2)
5563 delete arg2;
5564 }
5565 return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj;
5571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5572 bool arg2 ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 char *kwnames[] = {
5576 (char *) "self",(char *) "chooseSingle", NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail;
5582 {
5583 arg2 = (bool)(SWIG_As_bool(obj1));
5584 if (SWIG_arg_fail(2)) SWIG_fail;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->AutoCompSetChooseSingle(arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5603 bool result;
5604 PyObject * obj0 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (bool)(arg1)->AutoCompGetChooseSingle();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 {
5620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5621 }
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5631 bool arg2 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "ignoreCase", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail;
5641 {
5642 arg2 = (bool)(SWIG_As_bool(obj1));
5643 if (SWIG_arg_fail(2)) SWIG_fail;
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->AutoCompSetIgnoreCase(arg2);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (bool)(arg1)->AutoCompGetIgnoreCase();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5690 int arg2 ;
5691 wxString *arg3 = 0 ;
5692 bool temp3 = false ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "listType",(char *) "itemList", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5702 if (SWIG_arg_fail(1)) SWIG_fail;
5703 {
5704 arg2 = (int)(SWIG_As_int(obj1));
5705 if (SWIG_arg_fail(2)) SWIG_fail;
5706 }
5707 {
5708 arg3 = wxString_in_helper(obj2);
5709 if (arg3 == NULL) SWIG_fail;
5710 temp3 = true;
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 Py_INCREF(Py_None); resultobj = Py_None;
5720 {
5721 if (temp3)
5722 delete arg3;
5723 }
5724 return resultobj;
5725 fail:
5726 {
5727 if (temp3)
5728 delete arg3;
5729 }
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5737 bool arg2 ;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "self",(char *) "autoHide", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5746 if (SWIG_arg_fail(1)) SWIG_fail;
5747 {
5748 arg2 = (bool)(SWIG_As_bool(obj1));
5749 if (SWIG_arg_fail(2)) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->AutoCompSetAutoHide(arg2);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5768 bool result;
5769 PyObject * obj0 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (bool)(arg1)->AutoCompGetAutoHide();
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5786 }
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5796 bool arg2 ;
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self",(char *) "dropRestOfWord", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5805 if (SWIG_arg_fail(1)) SWIG_fail;
5806 {
5807 arg2 = (bool)(SWIG_As_bool(obj1));
5808 if (SWIG_arg_fail(2)) SWIG_fail;
5809 }
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 (arg1)->AutoCompSetDropRestOfWord(arg2);
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 Py_INCREF(Py_None); resultobj = Py_None;
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5827 bool result;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5835 if (SWIG_arg_fail(1)) SWIG_fail;
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5845 }
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5855 int arg2 ;
5856 wxBitmap *arg3 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 PyObject * obj2 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self",(char *) "type",(char *) "bmp", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail;
5867 {
5868 arg2 = (int)(SWIG_As_int(obj1));
5869 if (SWIG_arg_fail(2)) SWIG_fail;
5870 }
5871 {
5872 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5873 if (SWIG_arg_fail(3)) SWIG_fail;
5874 if (arg3 == NULL) {
5875 SWIG_null_ref("wxBitmap");
5876 }
5877 if (SWIG_arg_fail(3)) SWIG_fail;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
5902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->ClearRegisteredImages();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 Py_INCREF(Py_None); resultobj = Py_None;
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5921 int result;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
5928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5929 if (SWIG_arg_fail(1)) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (int)(arg1)->AutoCompGetTypeSeparator();
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 {
5938 resultobj = SWIG_From_int((int)(result));
5939 }
5940 return resultobj;
5941 fail:
5942 return NULL;
5943 }
5944
5945
5946 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5949 int arg2 ;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "separatorCharacter", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
5957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5958 if (SWIG_arg_fail(1)) SWIG_fail;
5959 {
5960 arg2 = (int)(SWIG_As_int(obj1));
5961 if (SWIG_arg_fail(2)) SWIG_fail;
5962 }
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 (arg1)->AutoCompSetTypeSeparator(arg2);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 Py_INCREF(Py_None); resultobj = Py_None;
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5980 int arg2 ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "indentSize", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
5988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5989 if (SWIG_arg_fail(1)) SWIG_fail;
5990 {
5991 arg2 = (int)(SWIG_As_int(obj1));
5992 if (SWIG_arg_fail(2)) SWIG_fail;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetIndent(arg2);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
6018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (int)(arg1)->GetIndent();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 {
6028 resultobj = SWIG_From_int((int)(result));
6029 }
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6039 bool arg2 ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "useTabs", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6048 if (SWIG_arg_fail(1)) SWIG_fail;
6049 {
6050 arg2 = (bool)(SWIG_As_bool(obj1));
6051 if (SWIG_arg_fail(2)) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->SetUseTabs(arg2);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)(arg1)->GetUseTabs();
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6088 }
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6098 int arg2 ;
6099 int arg3 ;
6100 PyObject * obj0 = 0 ;
6101 PyObject * obj1 = 0 ;
6102 PyObject * obj2 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "line",(char *) "indentSize", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail;
6110 {
6111 arg2 = (int)(SWIG_As_int(obj1));
6112 if (SWIG_arg_fail(2)) SWIG_fail;
6113 }
6114 {
6115 arg3 = (int)(SWIG_As_int(obj2));
6116 if (SWIG_arg_fail(3)) SWIG_fail;
6117 }
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->SetLineIndentation(arg2,arg3);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6135 int arg2 ;
6136 int result;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "line", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail;
6146 {
6147 arg2 = (int)(SWIG_As_int(obj1));
6148 if (SWIG_arg_fail(2)) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (int)(arg1)->GetLineIndentation(arg2);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = SWIG_From_int((int)(result));
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj;
6168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6169 int arg2 ;
6170 int result;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "line", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail;
6180 {
6181 arg2 = (int)(SWIG_As_int(obj1));
6182 if (SWIG_arg_fail(2)) SWIG_fail;
6183 }
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (int)(arg1)->GetLineIndentPosition(arg2);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 {
6192 resultobj = SWIG_From_int((int)(result));
6193 }
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6203 int arg2 ;
6204 int result;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self",(char *) "pos", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",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 = (int)(SWIG_As_int(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (int)(arg1)->GetColumn(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 {
6226 resultobj = SWIG_From_int((int)(result));
6227 }
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj;
6236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6237 bool arg2 ;
6238 PyObject * obj0 = 0 ;
6239 PyObject * obj1 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "show", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 {
6248 arg2 = (bool)(SWIG_As_bool(obj1));
6249 if (SWIG_arg_fail(2)) SWIG_fail;
6250 }
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 (arg1)->SetUseHorizontalScrollBar(arg2);
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 Py_INCREF(Py_None); resultobj = Py_None;
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6266 PyObject *resultobj;
6267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6268 bool result;
6269 PyObject * obj0 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6276 if (SWIG_arg_fail(1)) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 result = (bool)(arg1)->GetUseHorizontalScrollBar();
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 {
6285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6286 }
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6296 bool arg2 ;
6297 PyObject * obj0 = 0 ;
6298 PyObject * obj1 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "show", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail;
6306 {
6307 arg2 = (bool)(SWIG_As_bool(obj1));
6308 if (SWIG_arg_fail(2)) SWIG_fail;
6309 }
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 (arg1)->SetIndentationGuides(arg2);
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 Py_INCREF(Py_None); resultobj = Py_None;
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6327 bool result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6335 if (SWIG_arg_fail(1)) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)(arg1)->GetIndentationGuides();
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6355 int arg2 ;
6356 PyObject * obj0 = 0 ;
6357 PyObject * obj1 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self",(char *) "column", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail;
6365 {
6366 arg2 = (int)(SWIG_As_int(obj1));
6367 if (SWIG_arg_fail(2)) SWIG_fail;
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetHighlightGuide(arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6386 int result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (int)(arg1)->GetHighlightGuide();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 {
6403 resultobj = SWIG_From_int((int)(result));
6404 }
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6414 int arg2 ;
6415 int result;
6416 PyObject * obj0 = 0 ;
6417 PyObject * obj1 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "line", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail;
6425 {
6426 arg2 = (int)(SWIG_As_int(obj1));
6427 if (SWIG_arg_fail(2)) SWIG_fail;
6428 }
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (int)(arg1)->GetLineEndPosition(arg2);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 resultobj = SWIG_From_int((int)(result));
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6448 int result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (int)(arg1)->GetCodePage();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 {
6465 resultobj = SWIG_From_int((int)(result));
6466 }
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6476 wxColour result;
6477 PyObject * obj0 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6484 if (SWIG_arg_fail(1)) SWIG_fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 result = (arg1)->GetCaretForeground();
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 {
6493 wxColour * resultptr;
6494 resultptr = new wxColour((wxColour &)(result));
6495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6496 }
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6506 bool result;
6507 PyObject * obj0 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6514 if (SWIG_arg_fail(1)) SWIG_fail;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (bool)(arg1)->GetReadOnly();
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6524 }
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6534 int arg2 ;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self",(char *) "pos", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6543 if (SWIG_arg_fail(1)) SWIG_fail;
6544 {
6545 arg2 = (int)(SWIG_As_int(obj1));
6546 if (SWIG_arg_fail(2)) SWIG_fail;
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetCurrentPos(arg2);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 Py_INCREF(Py_None); resultobj = Py_None;
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6565 int arg2 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "pos", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail;
6575 {
6576 arg2 = (int)(SWIG_As_int(obj1));
6577 if (SWIG_arg_fail(2)) SWIG_fail;
6578 }
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 (arg1)->SetSelectionStart(arg2);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 Py_INCREF(Py_None); resultobj = Py_None;
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6596 int result;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (int)(arg1)->GetSelectionStart();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613 resultobj = SWIG_From_int((int)(result));
6614 }
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6622 PyObject *resultobj;
6623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6624 int arg2 ;
6625 PyObject * obj0 = 0 ;
6626 PyObject * obj1 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self",(char *) "pos", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail;
6634 {
6635 arg2 = (int)(SWIG_As_int(obj1));
6636 if (SWIG_arg_fail(2)) SWIG_fail;
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 (arg1)->SetSelectionEnd(arg2);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 Py_INCREF(Py_None); resultobj = Py_None;
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj;
6654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6655 int result;
6656 PyObject * obj0 = 0 ;
6657 char *kwnames[] = {
6658 (char *) "self", NULL
6659 };
6660
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (int)(arg1)->GetSelectionEnd();
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
6672 resultobj = SWIG_From_int((int)(result));
6673 }
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 int arg2 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self",(char *) "magnification", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail;
6693 {
6694 arg2 = (int)(SWIG_As_int(obj1));
6695 if (SWIG_arg_fail(2)) SWIG_fail;
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 (arg1)->SetPrintMagnification(arg2);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 Py_INCREF(Py_None); resultobj = Py_None;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6714 int result;
6715 PyObject * obj0 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6722 if (SWIG_arg_fail(1)) SWIG_fail;
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (int)(arg1)->GetPrintMagnification();
6726
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 {
6731 resultobj = SWIG_From_int((int)(result));
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6742 int arg2 ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self",(char *) "mode", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6751 if (SWIG_arg_fail(1)) SWIG_fail;
6752 {
6753 arg2 = (int)(SWIG_As_int(obj1));
6754 if (SWIG_arg_fail(2)) SWIG_fail;
6755 }
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->SetPrintColourMode(arg2);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6773 int result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6781 if (SWIG_arg_fail(1)) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)(arg1)->GetPrintColourMode();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 {
6790 resultobj = SWIG_From_int((int)(result));
6791 }
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6801 int arg2 ;
6802 int arg3 ;
6803 wxString *arg4 = 0 ;
6804 int arg5 = (int) 0 ;
6805 int result;
6806 bool temp4 = false ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 PyObject * obj2 = 0 ;
6810 PyObject * obj3 = 0 ;
6811 PyObject * obj4 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail;
6819 {
6820 arg2 = (int)(SWIG_As_int(obj1));
6821 if (SWIG_arg_fail(2)) SWIG_fail;
6822 }
6823 {
6824 arg3 = (int)(SWIG_As_int(obj2));
6825 if (SWIG_arg_fail(3)) SWIG_fail;
6826 }
6827 {
6828 arg4 = wxString_in_helper(obj3);
6829 if (arg4 == NULL) SWIG_fail;
6830 temp4 = true;
6831 }
6832 if (obj4) {
6833 {
6834 arg5 = (int)(SWIG_As_int(obj4));
6835 if (SWIG_arg_fail(5)) SWIG_fail;
6836 }
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 {
6846 resultobj = SWIG_From_int((int)(result));
6847 }
6848 {
6849 if (temp4)
6850 delete arg4;
6851 }
6852 return resultobj;
6853 fail:
6854 {
6855 if (temp4)
6856 delete arg4;
6857 }
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6865 bool arg2 ;
6866 int arg3 ;
6867 int arg4 ;
6868 wxDC *arg5 = (wxDC *) 0 ;
6869 wxDC *arg6 = (wxDC *) 0 ;
6870 wxRect arg7 ;
6871 wxRect arg8 ;
6872 int result;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 PyObject * obj2 = 0 ;
6876 PyObject * obj3 = 0 ;
6877 PyObject * obj4 = 0 ;
6878 PyObject * obj5 = 0 ;
6879 PyObject * obj6 = 0 ;
6880 PyObject * obj7 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 {
6889 arg2 = (bool)(SWIG_As_bool(obj1));
6890 if (SWIG_arg_fail(2)) SWIG_fail;
6891 }
6892 {
6893 arg3 = (int)(SWIG_As_int(obj2));
6894 if (SWIG_arg_fail(3)) SWIG_fail;
6895 }
6896 {
6897 arg4 = (int)(SWIG_As_int(obj3));
6898 if (SWIG_arg_fail(4)) SWIG_fail;
6899 }
6900 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(5)) SWIG_fail;
6902 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6903 if (SWIG_arg_fail(6)) SWIG_fail;
6904 {
6905 wxRect * argp;
6906 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6907 if (SWIG_arg_fail(7)) SWIG_fail;
6908 if (argp == NULL) {
6909 SWIG_null_ref("wxRect");
6910 }
6911 if (SWIG_arg_fail(7)) SWIG_fail;
6912 arg7 = *argp;
6913 }
6914 {
6915 wxRect * argp;
6916 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6917 if (SWIG_arg_fail(8)) SWIG_fail;
6918 if (argp == NULL) {
6919 SWIG_null_ref("wxRect");
6920 }
6921 if (SWIG_arg_fail(8)) SWIG_fail;
6922 arg8 = *argp;
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 {
6932 resultobj = SWIG_From_int((int)(result));
6933 }
6934 return resultobj;
6935 fail:
6936 return NULL;
6937 }
6938
6939
6940 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj;
6942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6943 int result;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
6950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6951 if (SWIG_arg_fail(1)) SWIG_fail;
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (int)(arg1)->GetFirstVisibleLine();
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 {
6960 resultobj = SWIG_From_int((int)(result));
6961 }
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6971 int arg2 ;
6972 wxString result;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "line", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
6980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6981 if (SWIG_arg_fail(1)) SWIG_fail;
6982 {
6983 arg2 = (int)(SWIG_As_int(obj1));
6984 if (SWIG_arg_fail(2)) SWIG_fail;
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetLine(arg2);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 #if wxUSE_UNICODE
6995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6996 #else
6997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6998 #endif
6999 }
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7009 int result;
7010 PyObject * obj0 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (int)(arg1)->GetLineCount();
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 {
7026 resultobj = SWIG_From_int((int)(result));
7027 }
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7037 int arg2 ;
7038 PyObject * obj0 = 0 ;
7039 PyObject * obj1 = 0 ;
7040 char *kwnames[] = {
7041 (char *) "self",(char *) "pixelWidth", NULL
7042 };
7043
7044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7046 if (SWIG_arg_fail(1)) SWIG_fail;
7047 {
7048 arg2 = (int)(SWIG_As_int(obj1));
7049 if (SWIG_arg_fail(2)) SWIG_fail;
7050 }
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 (arg1)->SetMarginLeft(arg2);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7068 int result;
7069 PyObject * obj0 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (int)(arg1)->GetMarginLeft();
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 {
7085 resultobj = SWIG_From_int((int)(result));
7086 }
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7096 int arg2 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "pixelWidth", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 {
7107 arg2 = (int)(SWIG_As_int(obj1));
7108 if (SWIG_arg_fail(2)) SWIG_fail;
7109 }
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 (arg1)->SetMarginRight(arg2);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 Py_INCREF(Py_None); resultobj = Py_None;
7118 return resultobj;
7119 fail:
7120 return NULL;
7121 }
7122
7123
7124 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj;
7126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7127 int result;
7128 PyObject * obj0 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (int)(arg1)->GetMarginRight();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144 resultobj = SWIG_From_int((int)(result));
7145 }
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7155 bool result;
7156 PyObject * obj0 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 result = (bool)(arg1)->GetModify();
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 {
7172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7173 }
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7183 int arg2 ;
7184 int arg3 ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self",(char *) "start",(char *) "end", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail;
7195 {
7196 arg2 = (int)(SWIG_As_int(obj1));
7197 if (SWIG_arg_fail(2)) SWIG_fail;
7198 }
7199 {
7200 arg3 = (int)(SWIG_As_int(obj2));
7201 if (SWIG_arg_fail(3)) SWIG_fail;
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetSelection(arg2,arg3);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7220 wxString result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (arg1)->GetSelectedText();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 {
7237 #if wxUSE_UNICODE
7238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7239 #else
7240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7241 #endif
7242 }
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7252 int arg2 ;
7253 int arg3 ;
7254 wxString result;
7255 PyObject * obj0 = 0 ;
7256 PyObject * obj1 = 0 ;
7257 PyObject * obj2 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7264 if (SWIG_arg_fail(1)) SWIG_fail;
7265 {
7266 arg2 = (int)(SWIG_As_int(obj1));
7267 if (SWIG_arg_fail(2)) SWIG_fail;
7268 }
7269 {
7270 arg3 = (int)(SWIG_As_int(obj2));
7271 if (SWIG_arg_fail(3)) SWIG_fail;
7272 }
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 result = (arg1)->GetTextRange(arg2,arg3);
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 {
7281 #if wxUSE_UNICODE
7282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7283 #else
7284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7285 #endif
7286 }
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7296 bool arg2 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "normal", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail;
7306 {
7307 arg2 = (bool)(SWIG_As_bool(obj1));
7308 if (SWIG_arg_fail(2)) SWIG_fail;
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->HideSelection(arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7327 int arg2 ;
7328 int result;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "pos", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail;
7338 {
7339 arg2 = (int)(SWIG_As_int(obj1));
7340 if (SWIG_arg_fail(2)) SWIG_fail;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (int)(arg1)->LineFromPosition(arg2);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 {
7350 resultobj = SWIG_From_int((int)(result));
7351 }
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7361 int arg2 ;
7362 int result;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "line", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7371 if (SWIG_arg_fail(1)) SWIG_fail;
7372 {
7373 arg2 = (int)(SWIG_As_int(obj1));
7374 if (SWIG_arg_fail(2)) SWIG_fail;
7375 }
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (int)(arg1)->PositionFromLine(arg2);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 {
7384 resultobj = SWIG_From_int((int)(result));
7385 }
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7395 int arg2 ;
7396 int arg3 ;
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
7399 PyObject * obj2 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self",(char *) "columns",(char *) "lines", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
7409 if (SWIG_arg_fail(2)) SWIG_fail;
7410 }
7411 {
7412 arg3 = (int)(SWIG_As_int(obj2));
7413 if (SWIG_arg_fail(3)) SWIG_fail;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 (arg1)->LineScroll(arg2,arg3);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426 }
7427
7428
7429 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail;
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->EnsureCaretVisible();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7457 wxString *arg2 = 0 ;
7458 bool temp2 = false ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self",(char *) "text", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail;
7468 {
7469 arg2 = wxString_in_helper(obj1);
7470 if (arg2 == NULL) SWIG_fail;
7471 temp2 = true;
7472 }
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 (arg1)->ReplaceSelection((wxString const &)*arg2);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 Py_INCREF(Py_None); resultobj = Py_None;
7481 {
7482 if (temp2)
7483 delete arg2;
7484 }
7485 return resultobj;
7486 fail:
7487 {
7488 if (temp2)
7489 delete arg2;
7490 }
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7498 bool arg2 ;
7499 PyObject * obj0 = 0 ;
7500 PyObject * obj1 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "readOnly", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail;
7508 {
7509 arg2 = (bool)(SWIG_As_bool(obj1));
7510 if (SWIG_arg_fail(2)) SWIG_fail;
7511 }
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->SetReadOnly(arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7529 bool result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)(arg1)->CanPaste();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (bool)(arg1)->CanUndo();
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7575 }
7576 return resultobj;
7577 fail:
7578 return NULL;
7579 }
7580
7581
7582 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->EmptyUndoBuffer();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->Undo();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->Cut();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->Copy();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail;
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->Paste();
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail;
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->Clear();
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 return resultobj;
7727 fail:
7728 return NULL;
7729 }
7730
7731
7732 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7733 PyObject *resultobj;
7734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7735 wxString *arg2 = 0 ;
7736 bool temp2 = false ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "text", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail;
7746 {
7747 arg2 = wxString_in_helper(obj1);
7748 if (arg2 == NULL) SWIG_fail;
7749 temp2 = true;
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->SetText((wxString const &)*arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 {
7760 if (temp2)
7761 delete arg2;
7762 }
7763 return resultobj;
7764 fail:
7765 {
7766 if (temp2)
7767 delete arg2;
7768 }
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7776 wxString result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = (arg1)->GetText();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 #if wxUSE_UNICODE
7794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7795 #else
7796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7797 #endif
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7808 int result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7816 if (SWIG_arg_fail(1)) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (int)(arg1)->GetTextLength();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = SWIG_From_int((int)(result));
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7836 bool arg2 ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "overtype", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
7846 {
7847 arg2 = (bool)(SWIG_As_bool(obj1));
7848 if (SWIG_arg_fail(2)) SWIG_fail;
7849 }
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->SetOvertype(arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
7874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)(arg1)->GetOvertype();
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "pixelWidth", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->SetCaretWidth(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7926 int result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
7933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (int)(arg1)->GetCaretWidth();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = SWIG_From_int((int)(result));
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7954 int arg2 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "pos", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
7962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7963 if (SWIG_arg_fail(1)) SWIG_fail;
7964 {
7965 arg2 = (int)(SWIG_As_int(obj1));
7966 if (SWIG_arg_fail(2)) SWIG_fail;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 (arg1)->SetTargetStart(arg2);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7985 int result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
7992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (int)(arg1)->GetTargetStart();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002 resultobj = SWIG_From_int((int)(result));
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8013 int arg2 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "pos", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
8021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 {
8024 arg2 = (int)(SWIG_As_int(obj1));
8025 if (SWIG_arg_fail(2)) SWIG_fail;
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 (arg1)->SetTargetEnd(arg2);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 Py_INCREF(Py_None); resultobj = Py_None;
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8044 int result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (int)(arg1)->GetTargetEnd();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 {
8061 resultobj = SWIG_From_int((int)(result));
8062 }
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8072 wxString *arg2 = 0 ;
8073 int result;
8074 bool temp2 = false ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self",(char *) "text", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail;
8084 {
8085 arg2 = wxString_in_helper(obj1);
8086 if (arg2 == NULL) SWIG_fail;
8087 temp2 = true;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 resultobj = SWIG_From_int((int)(result));
8098 }
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return resultobj;
8104 fail:
8105 {
8106 if (temp2)
8107 delete arg2;
8108 }
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj;
8115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8116 wxString *arg2 = 0 ;
8117 int result;
8118 bool temp2 = false ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self",(char *) "text", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail;
8128 {
8129 arg2 = wxString_in_helper(obj1);
8130 if (arg2 == NULL) SWIG_fail;
8131 temp2 = true;
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141 resultobj = SWIG_From_int((int)(result));
8142 }
8143 {
8144 if (temp2)
8145 delete arg2;
8146 }
8147 return resultobj;
8148 fail:
8149 {
8150 if (temp2)
8151 delete arg2;
8152 }
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8160 wxString *arg2 = 0 ;
8161 int result;
8162 bool temp2 = false ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "text", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8171 if (SWIG_arg_fail(1)) SWIG_fail;
8172 {
8173 arg2 = wxString_in_helper(obj1);
8174 if (arg2 == NULL) SWIG_fail;
8175 temp2 = true;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 {
8185 resultobj = SWIG_From_int((int)(result));
8186 }
8187 {
8188 if (temp2)
8189 delete arg2;
8190 }
8191 return resultobj;
8192 fail:
8193 {
8194 if (temp2)
8195 delete arg2;
8196 }
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8204 int arg2 ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self",(char *) "flags", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail;
8214 {
8215 arg2 = (int)(SWIG_As_int(obj1));
8216 if (SWIG_arg_fail(2)) SWIG_fail;
8217 }
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetSearchFlags(arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8235 int result;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (int)(arg1)->GetSearchFlags();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 {
8252 resultobj = SWIG_From_int((int)(result));
8253 }
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8263 int arg2 ;
8264 wxString *arg3 = 0 ;
8265 bool temp3 = false ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "pos",(char *) "definition", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail;
8276 {
8277 arg2 = (int)(SWIG_As_int(obj1));
8278 if (SWIG_arg_fail(2)) SWIG_fail;
8279 }
8280 {
8281 arg3 = wxString_in_helper(obj2);
8282 if (arg3 == NULL) SWIG_fail;
8283 temp3 = true;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 {
8294 if (temp3)
8295 delete arg3;
8296 }
8297 return resultobj;
8298 fail:
8299 {
8300 if (temp3)
8301 delete arg3;
8302 }
8303 return NULL;
8304 }
8305
8306
8307 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8317 if (SWIG_arg_fail(1)) SWIG_fail;
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->CallTipCancel();
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8335 bool result;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = (bool)(arg1)->CallTipActive();
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8353 }
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8363 int result;
8364 PyObject * obj0 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail;
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (int)(arg1)->CallTipPosAtStart();
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 {
8380 resultobj = SWIG_From_int((int)(result));
8381 }
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8391 int arg2 ;
8392 int arg3 ;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 PyObject * obj2 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self",(char *) "start",(char *) "end", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8402 if (SWIG_arg_fail(1)) SWIG_fail;
8403 {
8404 arg2 = (int)(SWIG_As_int(obj1));
8405 if (SWIG_arg_fail(2)) SWIG_fail;
8406 }
8407 {
8408 arg3 = (int)(SWIG_As_int(obj2));
8409 if (SWIG_arg_fail(3)) SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->CallTipSetHighlight(arg2,arg3);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8428 wxColour *arg2 = 0 ;
8429 wxColour temp2 ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "back", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8438 if (SWIG_arg_fail(1)) SWIG_fail;
8439 {
8440 arg2 = &temp2;
8441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8460 wxColour *arg2 = 0 ;
8461 wxColour temp2 ;
8462 PyObject * obj0 = 0 ;
8463 PyObject * obj1 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "fore", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail;
8471 {
8472 arg2 = &temp2;
8473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 Py_INCREF(Py_None); resultobj = Py_None;
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8492 wxColour *arg2 = 0 ;
8493 wxColour temp2 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "fore", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8502 if (SWIG_arg_fail(1)) SWIG_fail;
8503 {
8504 arg2 = &temp2;
8505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 Py_INCREF(Py_None); resultobj = Py_None;
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8524 int arg2 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "line", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail;
8535 {
8536 arg2 = (int)(SWIG_As_int(obj1));
8537 if (SWIG_arg_fail(2)) SWIG_fail;
8538 }
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (int)(arg1)->VisibleFromDocLine(arg2);
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 {
8547 resultobj = SWIG_From_int((int)(result));
8548 }
8549 return resultobj;
8550 fail:
8551 return NULL;
8552 }
8553
8554
8555 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8558 int arg2 ;
8559 int result;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "lineDisplay", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail;
8569 {
8570 arg2 = (int)(SWIG_As_int(obj1));
8571 if (SWIG_arg_fail(2)) SWIG_fail;
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (int)(arg1)->DocLineFromVisible(arg2);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 {
8581 resultobj = SWIG_From_int((int)(result));
8582 }
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8592 int arg2 ;
8593 int arg3 ;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596 PyObject * obj2 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self",(char *) "line",(char *) "level", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail;
8604 {
8605 arg2 = (int)(SWIG_As_int(obj1));
8606 if (SWIG_arg_fail(2)) SWIG_fail;
8607 }
8608 {
8609 arg3 = (int)(SWIG_As_int(obj2));
8610 if (SWIG_arg_fail(3)) SWIG_fail;
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 (arg1)->SetFoldLevel(arg2,arg3);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 Py_INCREF(Py_None); resultobj = Py_None;
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8629 int arg2 ;
8630 int result;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "line", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail;
8640 {
8641 arg2 = (int)(SWIG_As_int(obj1));
8642 if (SWIG_arg_fail(2)) SWIG_fail;
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (int)(arg1)->GetFoldLevel(arg2);
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 {
8652 resultobj = SWIG_From_int((int)(result));
8653 }
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8663 int arg2 ;
8664 int arg3 ;
8665 int result;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "line",(char *) "level", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8675 if (SWIG_arg_fail(1)) SWIG_fail;
8676 {
8677 arg2 = (int)(SWIG_As_int(obj1));
8678 if (SWIG_arg_fail(2)) SWIG_fail;
8679 }
8680 {
8681 arg3 = (int)(SWIG_As_int(obj2));
8682 if (SWIG_arg_fail(3)) SWIG_fail;
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (int)(arg1)->GetLastChild(arg2,arg3);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 {
8692 resultobj = SWIG_From_int((int)(result));
8693 }
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8703 int arg2 ;
8704 int result;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self",(char *) "line", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail;
8714 {
8715 arg2 = (int)(SWIG_As_int(obj1));
8716 if (SWIG_arg_fail(2)) SWIG_fail;
8717 }
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (int)(arg1)->GetFoldParent(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 {
8726 resultobj = SWIG_From_int((int)(result));
8727 }
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8737 int arg2 ;
8738 int arg3 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail;
8749 {
8750 arg2 = (int)(SWIG_As_int(obj1));
8751 if (SWIG_arg_fail(2)) SWIG_fail;
8752 }
8753 {
8754 arg3 = (int)(SWIG_As_int(obj2));
8755 if (SWIG_arg_fail(3)) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 (arg1)->ShowLines(arg2,arg3);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8774 int arg2 ;
8775 int arg3 ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj1 = 0 ;
8778 PyObject * obj2 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8785 if (SWIG_arg_fail(1)) SWIG_fail;
8786 {
8787 arg2 = (int)(SWIG_As_int(obj1));
8788 if (SWIG_arg_fail(2)) SWIG_fail;
8789 }
8790 {
8791 arg3 = (int)(SWIG_As_int(obj2));
8792 if (SWIG_arg_fail(3)) SWIG_fail;
8793 }
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->HideLines(arg2,arg3);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8811 int arg2 ;
8812 bool result;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self",(char *) "line", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail;
8822 {
8823 arg2 = (int)(SWIG_As_int(obj1));
8824 if (SWIG_arg_fail(2)) SWIG_fail;
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = (bool)(arg1)->GetLineVisible(arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8835 }
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8845 int arg2 ;
8846 bool arg3 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self",(char *) "line",(char *) "expanded", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8856 if (SWIG_arg_fail(1)) SWIG_fail;
8857 {
8858 arg2 = (int)(SWIG_As_int(obj1));
8859 if (SWIG_arg_fail(2)) SWIG_fail;
8860 }
8861 {
8862 arg3 = (bool)(SWIG_As_bool(obj2));
8863 if (SWIG_arg_fail(3)) SWIG_fail;
8864 }
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 (arg1)->SetFoldExpanded(arg2,arg3);
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 Py_INCREF(Py_None); resultobj = Py_None;
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8882 int arg2 ;
8883 bool result;
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_GetFoldExpanded",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 result = (bool)(arg1)->GetFoldExpanded(arg2);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8906 }
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8916 int arg2 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "line", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
8924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail;
8926 {
8927 arg2 = (int)(SWIG_As_int(obj1));
8928 if (SWIG_arg_fail(2)) SWIG_fail;
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->ToggleFold(arg2);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8947 int arg2 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "line", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail;
8957 {
8958 arg2 = (int)(SWIG_As_int(obj1));
8959 if (SWIG_arg_fail(2)) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->EnsureVisible(arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8978 int arg2 ;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "flags", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
8986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail;
8988 {
8989 arg2 = (int)(SWIG_As_int(obj1));
8990 if (SWIG_arg_fail(2)) SWIG_fail;
8991 }
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 (arg1)->SetFoldFlags(arg2);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 Py_INCREF(Py_None); resultobj = Py_None;
9000 return resultobj;
9001 fail:
9002 return NULL;
9003 }
9004
9005
9006 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj;
9008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9009 int arg2 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "line", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
9017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail;
9019 {
9020 arg2 = (int)(SWIG_As_int(obj1));
9021 if (SWIG_arg_fail(2)) SWIG_fail;
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->EnsureVisibleEnforcePolicy(arg2);
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9040 bool arg2 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "tabIndents", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
9051 arg2 = (bool)(SWIG_As_bool(obj1));
9052 if (SWIG_arg_fail(2)) SWIG_fail;
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->SetTabIndents(arg2);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9071 bool result;
9072 PyObject * obj0 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (bool)(arg1)->GetTabIndents();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 {
9088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9089 }
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9099 bool arg2 ;
9100 PyObject * obj0 = 0 ;
9101 PyObject * obj1 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "bsUnIndents", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
9109 {
9110 arg2 = (bool)(SWIG_As_bool(obj1));
9111 if (SWIG_arg_fail(2)) SWIG_fail;
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->SetBackSpaceUnIndents(arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9130 bool result;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9138 if (SWIG_arg_fail(1)) SWIG_fail;
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 result = (bool)(arg1)->GetBackSpaceUnIndents();
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 {
9147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9148 }
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9158 int arg2 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self",(char *) "periodMilliseconds", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail;
9168 {
9169 arg2 = (int)(SWIG_As_int(obj1));
9170 if (SWIG_arg_fail(2)) SWIG_fail;
9171 }
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->SetMouseDwellTime(arg2);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9189 int result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9197 if (SWIG_arg_fail(1)) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (int)(arg1)->GetMouseDwellTime();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 {
9206 resultobj = SWIG_From_int((int)(result));
9207 }
9208 return resultobj;
9209 fail:
9210 return NULL;
9211 }
9212
9213
9214 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj;
9216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9217 int arg2 ;
9218 bool arg3 ;
9219 int result;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 PyObject * obj2 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail;
9230 {
9231 arg2 = (int)(SWIG_As_int(obj1));
9232 if (SWIG_arg_fail(2)) SWIG_fail;
9233 }
9234 {
9235 arg3 = (bool)(SWIG_As_bool(obj2));
9236 if (SWIG_arg_fail(3)) SWIG_fail;
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (int)(arg1)->WordStartPosition(arg2,arg3);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 {
9246 resultobj = SWIG_From_int((int)(result));
9247 }
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9257 int arg2 ;
9258 bool arg3 ;
9259 int result;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 PyObject * obj2 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail;
9270 {
9271 arg2 = (int)(SWIG_As_int(obj1));
9272 if (SWIG_arg_fail(2)) SWIG_fail;
9273 }
9274 {
9275 arg3 = (bool)(SWIG_As_bool(obj2));
9276 if (SWIG_arg_fail(3)) SWIG_fail;
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (int)(arg1)->WordEndPosition(arg2,arg3);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 resultobj = SWIG_From_int((int)(result));
9287 }
9288 return resultobj;
9289 fail:
9290 return NULL;
9291 }
9292
9293
9294 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9295 PyObject *resultobj;
9296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9297 int arg2 ;
9298 PyObject * obj0 = 0 ;
9299 PyObject * obj1 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "mode", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
9307 {
9308 arg2 = (int)(SWIG_As_int(obj1));
9309 if (SWIG_arg_fail(2)) SWIG_fail;
9310 }
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 (arg1)->SetWrapMode(arg2);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 Py_INCREF(Py_None); resultobj = Py_None;
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9328 int result;
9329 PyObject * obj0 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 result = (int)(arg1)->GetWrapMode();
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 {
9345 resultobj = SWIG_From_int((int)(result));
9346 }
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9356 int arg2 ;
9357 PyObject * obj0 = 0 ;
9358 PyObject * obj1 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self",(char *) "wrapVisualFlags", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9365 if (SWIG_arg_fail(1)) SWIG_fail;
9366 {
9367 arg2 = (int)(SWIG_As_int(obj1));
9368 if (SWIG_arg_fail(2)) SWIG_fail;
9369 }
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 (arg1)->SetWrapVisualFlags(arg2);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 Py_INCREF(Py_None); resultobj = Py_None;
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9387 int result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9395 if (SWIG_arg_fail(1)) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (int)(arg1)->GetWrapVisualFlags();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 {
9404 resultobj = SWIG_From_int((int)(result));
9405 }
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9415 int arg2 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
9420 };
9421
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail;
9425 {
9426 arg2 = (int)(SWIG_As_int(obj1));
9427 if (SWIG_arg_fail(2)) SWIG_fail;
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->SetWrapVisualFlagsLocation(arg2);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9446 int result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (int)(arg1)->GetWrapVisualFlagsLocation();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 {
9463 resultobj = SWIG_From_int((int)(result));
9464 }
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9474 int arg2 ;
9475 PyObject * obj0 = 0 ;
9476 PyObject * obj1 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "indent", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail;
9484 {
9485 arg2 = (int)(SWIG_As_int(obj1));
9486 if (SWIG_arg_fail(2)) SWIG_fail;
9487 }
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 (arg1)->SetWrapStartIndent(arg2);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 Py_INCREF(Py_None); resultobj = Py_None;
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9505 int result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (int)(arg1)->GetWrapStartIndent();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 resultobj = SWIG_From_int((int)(result));
9523 }
9524 return resultobj;
9525 fail:
9526 return NULL;
9527 }
9528
9529
9530 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9533 int arg2 ;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "mode", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail;
9543 {
9544 arg2 = (int)(SWIG_As_int(obj1));
9545 if (SWIG_arg_fail(2)) SWIG_fail;
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetLayoutCache(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9564 int result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (int)(arg1)->GetLayoutCache();
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 {
9581 resultobj = SWIG_From_int((int)(result));
9582 }
9583 return resultobj;
9584 fail:
9585 return NULL;
9586 }
9587
9588
9589 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9592 int arg2 ;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "self",(char *) "pixelWidth", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9601 if (SWIG_arg_fail(1)) SWIG_fail;
9602 {
9603 arg2 = (int)(SWIG_As_int(obj1));
9604 if (SWIG_arg_fail(2)) SWIG_fail;
9605 }
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 (arg1)->SetScrollWidth(arg2);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 Py_INCREF(Py_None); resultobj = Py_None;
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9623 int result;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (int)(arg1)->GetScrollWidth();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 {
9640 resultobj = SWIG_From_int((int)(result));
9641 }
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9651 int arg2 ;
9652 wxString *arg3 = 0 ;
9653 int result;
9654 bool temp3 = false ;
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657 PyObject * obj2 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self",(char *) "style",(char *) "text", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
9665 {
9666 arg2 = (int)(SWIG_As_int(obj1));
9667 if (SWIG_arg_fail(2)) SWIG_fail;
9668 }
9669 {
9670 arg3 = wxString_in_helper(obj2);
9671 if (arg3 == NULL) SWIG_fail;
9672 temp3 = true;
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 resultobj = SWIG_From_int((int)(result));
9683 }
9684 {
9685 if (temp3)
9686 delete arg3;
9687 }
9688 return resultobj;
9689 fail:
9690 {
9691 if (temp3)
9692 delete arg3;
9693 }
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9701 bool arg2 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char *kwnames[] = {
9705 (char *) "self",(char *) "endAtLastLine", NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail;
9711 {
9712 arg2 = (bool)(SWIG_As_bool(obj1));
9713 if (SWIG_arg_fail(2)) SWIG_fail;
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 (arg1)->SetEndAtLastLine(arg2);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 Py_INCREF(Py_None); resultobj = Py_None;
9723 return resultobj;
9724 fail:
9725 return NULL;
9726 }
9727
9728
9729 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9732 int result;
9733 PyObject * obj0 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (int)(arg1)->GetEndAtLastLine();
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = SWIG_From_int((int)(result));
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9760 int arg2 ;
9761 int result;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "line", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",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 = (int)(SWIG_As_int(obj1));
9773 if (SWIG_arg_fail(2)) SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)(arg1)->TextHeight(arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783 resultobj = SWIG_From_int((int)(result));
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9794 bool arg2 ;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "show", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
9802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9803 if (SWIG_arg_fail(1)) SWIG_fail;
9804 {
9805 arg2 = (bool)(SWIG_As_bool(obj1));
9806 if (SWIG_arg_fail(2)) SWIG_fail;
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 (arg1)->SetUseVerticalScrollBar(arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 Py_INCREF(Py_None); resultobj = Py_None;
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9825 bool result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail;
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (bool)(arg1)->GetUseVerticalScrollBar();
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj;
9852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9853 int arg2 ;
9854 wxString *arg3 = 0 ;
9855 bool temp3 = false ;
9856 PyObject * obj0 = 0 ;
9857 PyObject * obj1 = 0 ;
9858 PyObject * obj2 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self",(char *) "length",(char *) "text", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
9864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail;
9866 {
9867 arg2 = (int)(SWIG_As_int(obj1));
9868 if (SWIG_arg_fail(2)) SWIG_fail;
9869 }
9870 {
9871 arg3 = wxString_in_helper(obj2);
9872 if (arg3 == NULL) SWIG_fail;
9873 temp3 = true;
9874 }
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->AppendText(arg2,(wxString const &)*arg3);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 {
9884 if (temp3)
9885 delete arg3;
9886 }
9887 return resultobj;
9888 fail:
9889 {
9890 if (temp3)
9891 delete arg3;
9892 }
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9900 bool result;
9901 PyObject * obj0 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "self", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
9907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail;
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)(arg1)->GetTwoPhaseDraw();
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9928 bool arg2 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "twoPhase", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
9936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail;
9938 {
9939 arg2 = (bool)(SWIG_As_bool(obj1));
9940 if (SWIG_arg_fail(2)) SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetTwoPhaseDraw(arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->TargetFromSelection();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
9990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail;
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 (arg1)->LinesJoin();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 Py_INCREF(Py_None); resultobj = Py_None;
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10009 int arg2 ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self",(char *) "pixelWidth", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
10017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail;
10019 {
10020 arg2 = (int)(SWIG_As_int(obj1));
10021 if (SWIG_arg_fail(2)) SWIG_fail;
10022 }
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 (arg1)->LinesSplit(arg2);
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 Py_INCREF(Py_None); resultobj = Py_None;
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10040 bool arg2 ;
10041 wxColour *arg3 = 0 ;
10042 wxColour temp3 ;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 PyObject * obj2 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "useSetting",(char *) "back", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail;
10053 {
10054 arg2 = (bool)(SWIG_As_bool(obj1));
10055 if (SWIG_arg_fail(2)) SWIG_fail;
10056 }
10057 {
10058 arg3 = &temp3;
10059 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 Py_INCREF(Py_None); resultobj = Py_None;
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj;
10077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10078 bool arg2 ;
10079 wxColour *arg3 = 0 ;
10080 wxColour temp3 ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 PyObject * obj2 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10090 if (SWIG_arg_fail(1)) SWIG_fail;
10091 {
10092 arg2 = (bool)(SWIG_As_bool(obj1));
10093 if (SWIG_arg_fail(2)) SWIG_fail;
10094 }
10095 {
10096 arg3 = &temp3;
10097 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 (arg1)->LineDown();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 Py_INCREF(Py_None); resultobj = Py_None;
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 (arg1)->LineDownExtend();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10166 PyObject * obj0 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10173 if (SWIG_arg_fail(1)) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->LineUp();
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10198 if (SWIG_arg_fail(1)) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 (arg1)->LineUpExtend();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->CharLeft();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->CharLeftExtend();
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->CharRight();
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 (arg1)->CharRightExtend();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 Py_INCREF(Py_None); resultobj = Py_None;
10307 return resultobj;
10308 fail:
10309 return NULL;
10310 }
10311
10312
10313 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10314 PyObject *resultobj;
10315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10316 PyObject * obj0 = 0 ;
10317 char *kwnames[] = {
10318 (char *) "self", NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10323 if (SWIG_arg_fail(1)) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->WordLeft();
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10348 if (SWIG_arg_fail(1)) SWIG_fail;
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->WordLeftExtend();
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 (arg1)->WordRight();
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 Py_INCREF(Py_None); resultobj = Py_None;
10382 return resultobj;
10383 fail:
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10391 PyObject * obj0 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10398 if (SWIG_arg_fail(1)) SWIG_fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 (arg1)->WordRightExtend();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 Py_INCREF(Py_None); resultobj = Py_None;
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10416 PyObject * obj0 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10423 if (SWIG_arg_fail(1)) SWIG_fail;
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->Home();
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10441 PyObject * obj0 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 (arg1)->HomeExtend();
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 Py_INCREF(Py_None); resultobj = Py_None;
10457 return resultobj;
10458 fail:
10459 return NULL;
10460 }
10461
10462
10463 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj;
10465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10473 if (SWIG_arg_fail(1)) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 (arg1)->LineEnd();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 Py_INCREF(Py_None); resultobj = Py_None;
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10491 PyObject * obj0 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10498 if (SWIG_arg_fail(1)) SWIG_fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->LineEndExtend();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 Py_INCREF(Py_None); resultobj = Py_None;
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10523 if (SWIG_arg_fail(1)) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 (arg1)->DocumentStart();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10541 PyObject * obj0 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->DocumentStartExtend();
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10566 PyObject * obj0 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail;
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 (arg1)->DocumentEnd();
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 Py_INCREF(Py_None); resultobj = Py_None;
10582 return resultobj;
10583 fail:
10584 return NULL;
10585 }
10586
10587
10588 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj;
10590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->DocumentEndExtend();
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 Py_INCREF(Py_None); resultobj = Py_None;
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->PageUp();
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10648 if (SWIG_arg_fail(1)) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->PageUpExtend();
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 (arg1)->PageDown();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 Py_INCREF(Py_None); resultobj = Py_None;
10682 return resultobj;
10683 fail:
10684 return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 (arg1)->PageDownExtend();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 Py_INCREF(Py_None); resultobj = Py_None;
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail;
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 (arg1)->EditToggleOvertype();
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 Py_INCREF(Py_None); resultobj = Py_None;
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail;
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 (arg1)->Cancel();
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 Py_INCREF(Py_None); resultobj = Py_None;
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 (arg1)->DeleteBack();
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 Py_INCREF(Py_None); resultobj = Py_None;
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 (arg1)->Tab();
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 Py_INCREF(Py_None); resultobj = Py_None;
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 (arg1)->BackTab();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 Py_INCREF(Py_None); resultobj = Py_None;
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail;
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 (arg1)->NewLine();
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 Py_INCREF(Py_None); resultobj = Py_None;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860 }
10861
10862
10863 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
10872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail;
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->FormFeed();
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 Py_INCREF(Py_None); resultobj = Py_None;
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
10897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->VCHome();
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
10922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail;
10924 {
10925 PyThreadState* __tstate = wxPyBeginAllowThreads();
10926 (arg1)->VCHomeExtend();
10927
10928 wxPyEndAllowThreads(__tstate);
10929 if (PyErr_Occurred()) SWIG_fail;
10930 }
10931 Py_INCREF(Py_None); resultobj = Py_None;
10932 return resultobj;
10933 fail:
10934 return NULL;
10935 }
10936
10937
10938 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
10947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->ZoomIn();
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10966 PyObject * obj0 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
10972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail;
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 (arg1)->ZoomOut();
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 Py_INCREF(Py_None); resultobj = Py_None;
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
10997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail;
10999 {
11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
11001 (arg1)->DelWordLeft();
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 Py_INCREF(Py_None); resultobj = Py_None;
11007 return resultobj;
11008 fail:
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 (arg1)->DelWordRight();
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->LineCut();
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 (arg1)->LineDelete();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11091 PyObject * obj0 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 (arg1)->LineTranspose();
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->LineDuplicate();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11141 PyObject * obj0 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail;
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 (arg1)->LowerCase();
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 Py_INCREF(Py_None); resultobj = Py_None;
11157 return resultobj;
11158 fail:
11159 return NULL;
11160 }
11161
11162
11163 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11166 PyObject * obj0 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail;
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 (arg1)->UpperCase();
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->LineScrollDown();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 (arg1)->LineScrollUp();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 Py_INCREF(Py_None); resultobj = Py_None;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11241 PyObject * obj0 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 (arg1)->DeleteBackNotLine();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 Py_INCREF(Py_None); resultobj = Py_None;
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11266 PyObject * obj0 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11273 if (SWIG_arg_fail(1)) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->HomeDisplay();
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 Py_INCREF(Py_None); resultobj = Py_None;
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11291 PyObject * obj0 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail;
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->HomeDisplayExtend();
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 Py_INCREF(Py_None); resultobj = Py_None;
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj;
11315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11316 PyObject * obj0 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->LineEndDisplay();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11341 PyObject * obj0 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail;
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->LineEndDisplayExtend();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->HomeWrap();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 (arg1)->HomeWrapExtend();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 Py_INCREF(Py_None); resultobj = Py_None;
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11416 PyObject * obj0 = 0 ;
11417 char *kwnames[] = {
11418 (char *) "self", NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail;
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 (arg1)->LineEndWrap();
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 Py_INCREF(Py_None); resultobj = Py_None;
11432 return resultobj;
11433 fail:
11434 return NULL;
11435 }
11436
11437
11438 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11441 PyObject * obj0 = 0 ;
11442 char *kwnames[] = {
11443 (char *) "self", NULL
11444 };
11445
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail;
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 (arg1)->LineEndWrapExtend();
11452
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 Py_INCREF(Py_None); resultobj = Py_None;
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11464 PyObject *resultobj;
11465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11466 PyObject * obj0 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11473 if (SWIG_arg_fail(1)) SWIG_fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->VCHomeWrap();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11491 PyObject * obj0 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(1)) SWIG_fail;
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->VCHomeWrapExtend();
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11516 PyObject * obj0 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail;
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 (arg1)->LineCopy();
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 Py_INCREF(Py_None); resultobj = Py_None;
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11541 PyObject * obj0 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 (arg1)->MoveCaretInsideView();
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 Py_INCREF(Py_None); resultobj = Py_None;
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj;
11565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11566 int arg2 ;
11567 int result;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "line", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11576 if (SWIG_arg_fail(1)) SWIG_fail;
11577 {
11578 arg2 = (int)(SWIG_As_int(obj1));
11579 if (SWIG_arg_fail(2)) SWIG_fail;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)(arg1)->LineLength(arg2);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 {
11589 resultobj = SWIG_From_int((int)(result));
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11600 int arg2 ;
11601 int arg3 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 PyObject * obj2 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail;
11612 {
11613 arg2 = (int)(SWIG_As_int(obj1));
11614 if (SWIG_arg_fail(2)) SWIG_fail;
11615 }
11616 {
11617 arg3 = (int)(SWIG_As_int(obj2));
11618 if (SWIG_arg_fail(3)) SWIG_fail;
11619 }
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 (arg1)->BraceHighlight(arg2,arg3);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 Py_INCREF(Py_None); resultobj = Py_None;
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11637 int arg2 ;
11638 PyObject * obj0 = 0 ;
11639 PyObject * obj1 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self",(char *) "pos", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail;
11647 {
11648 arg2 = (int)(SWIG_As_int(obj1));
11649 if (SWIG_arg_fail(2)) SWIG_fail;
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->BraceBadLight(arg2);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11668 int arg2 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self",(char *) "pos", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11678 if (SWIG_arg_fail(1)) SWIG_fail;
11679 {
11680 arg2 = (int)(SWIG_As_int(obj1));
11681 if (SWIG_arg_fail(2)) SWIG_fail;
11682 }
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 result = (int)(arg1)->BraceMatch(arg2);
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 {
11691 resultobj = SWIG_From_int((int)(result));
11692 }
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11702 bool result;
11703 PyObject * obj0 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail;
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (bool)(arg1)->GetViewEOL();
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) SWIG_fail;
11717 }
11718 {
11719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11720 }
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11730 bool arg2 ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "self",(char *) "visible", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail;
11740 {
11741 arg2 = (bool)(SWIG_As_bool(obj1));
11742 if (SWIG_arg_fail(2)) SWIG_fail;
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetViewEOL(arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11761 void *result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail;
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 result = (void *)(arg1)->GetDocPointer();
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11787 void *arg2 = (void *) 0 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self",(char *) "docPointer", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 {
11798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
11799 SWIG_arg_fail(2);SWIG_fail;
11800 }
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetDocPointer(arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11819 int arg2 ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self",(char *) "mask", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11828 if (SWIG_arg_fail(1)) SWIG_fail;
11829 {
11830 arg2 = (int)(SWIG_As_int(obj1));
11831 if (SWIG_arg_fail(2)) SWIG_fail;
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 (arg1)->SetModEventMask(arg2);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 Py_INCREF(Py_None); resultobj = Py_None;
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11850 int result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (int)(arg1)->GetEdgeColumn();
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = SWIG_From_int((int)(result));
11868 }
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11878 int arg2 ;
11879 PyObject * obj0 = 0 ;
11880 PyObject * obj1 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "column", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
11886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail;
11888 {
11889 arg2 = (int)(SWIG_As_int(obj1));
11890 if (SWIG_arg_fail(2)) SWIG_fail;
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetEdgeColumn(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11909 int result;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
11916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11917 if (SWIG_arg_fail(1)) SWIG_fail;
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (int)(arg1)->GetEdgeMode();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 {
11926 resultobj = SWIG_From_int((int)(result));
11927 }
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11937 int arg2 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self",(char *) "mode", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
11945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail;
11947 {
11948 arg2 = (int)(SWIG_As_int(obj1));
11949 if (SWIG_arg_fail(2)) SWIG_fail;
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 (arg1)->SetEdgeMode(arg2);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11968 wxColour result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
11975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (arg1)->GetEdgeColour();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 {
11985 wxColour * resultptr;
11986 resultptr = new wxColour((wxColour &)(result));
11987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11988 }
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11998 wxColour *arg2 = 0 ;
11999 wxColour temp2 ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "edgeColour", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
12007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail;
12009 {
12010 arg2 = &temp2;
12011 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->SetEdgeColour((wxColour const &)*arg2);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 Py_INCREF(Py_None); resultobj = Py_None;
12021 return resultobj;
12022 fail:
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
12036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12037 if (SWIG_arg_fail(1)) SWIG_fail;
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->SearchAnchor();
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 Py_INCREF(Py_None); resultobj = Py_None;
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12055 int arg2 ;
12056 wxString *arg3 = 0 ;
12057 int result;
12058 bool temp3 = false ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 PyObject * obj2 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self",(char *) "flags",(char *) "text", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail;
12069 {
12070 arg2 = (int)(SWIG_As_int(obj1));
12071 if (SWIG_arg_fail(2)) SWIG_fail;
12072 }
12073 {
12074 arg3 = wxString_in_helper(obj2);
12075 if (arg3 == NULL) SWIG_fail;
12076 temp3 = true;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 {
12086 resultobj = SWIG_From_int((int)(result));
12087 }
12088 {
12089 if (temp3)
12090 delete arg3;
12091 }
12092 return resultobj;
12093 fail:
12094 {
12095 if (temp3)
12096 delete arg3;
12097 }
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 int arg2 ;
12106 wxString *arg3 = 0 ;
12107 int result;
12108 bool temp3 = false ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "flags",(char *) "text", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail;
12119 {
12120 arg2 = (int)(SWIG_As_int(obj1));
12121 if (SWIG_arg_fail(2)) SWIG_fail;
12122 }
12123 {
12124 arg3 = wxString_in_helper(obj2);
12125 if (arg3 == NULL) SWIG_fail;
12126 temp3 = true;
12127 }
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 {
12136 resultobj = SWIG_From_int((int)(result));
12137 }
12138 {
12139 if (temp3)
12140 delete arg3;
12141 }
12142 return resultobj;
12143 fail:
12144 {
12145 if (temp3)
12146 delete arg3;
12147 }
12148 return NULL;
12149 }
12150
12151
12152 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12155 int result;
12156 PyObject * obj0 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 result = (int)(arg1)->LinesOnScreen();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 {
12172 resultobj = SWIG_From_int((int)(result));
12173 }
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12183 bool arg2 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "allowPopUp", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail;
12193 {
12194 arg2 = (bool)(SWIG_As_bool(obj1));
12195 if (SWIG_arg_fail(2)) SWIG_fail;
12196 }
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 (arg1)->UsePopUp(arg2);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 Py_INCREF(Py_None); resultobj = Py_None;
12205 return resultobj;
12206 fail:
12207 return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
12212 PyObject *resultobj;
12213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12214 bool result;
12215 PyObject * obj0 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12222 if (SWIG_arg_fail(1)) SWIG_fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (bool)(arg1)->SelectionIsRectangle();
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12232 }
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12242 int arg2 ;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self",(char *) "zoom", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12251 if (SWIG_arg_fail(1)) SWIG_fail;
12252 {
12253 arg2 = (int)(SWIG_As_int(obj1));
12254 if (SWIG_arg_fail(2)) SWIG_fail;
12255 }
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 (arg1)->SetZoom(arg2);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 Py_INCREF(Py_None); resultobj = Py_None;
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj;
12272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12273 int result;
12274 PyObject * obj0 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail;
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 result = (int)(arg1)->GetZoom();
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 {
12290 resultobj = SWIG_From_int((int)(result));
12291 }
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12301 void *result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (void *)(arg1)->CreateDocument();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12327 void *arg2 = (void *) 0 ;
12328 PyObject * obj0 = 0 ;
12329 PyObject * obj1 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self",(char *) "docPointer", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail;
12337 {
12338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12339 SWIG_arg_fail(2);SWIG_fail;
12340 }
12341 }
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 (arg1)->AddRefDocument(arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 Py_INCREF(Py_None); resultobj = Py_None;
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12359 void *arg2 = (void *) 0 ;
12360 PyObject * obj0 = 0 ;
12361 PyObject * obj1 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self",(char *) "docPointer", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
12367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12368 if (SWIG_arg_fail(1)) SWIG_fail;
12369 {
12370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12371 SWIG_arg_fail(2);SWIG_fail;
12372 }
12373 }
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 (arg1)->ReleaseDocument(arg2);
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 Py_INCREF(Py_None); resultobj = Py_None;
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12391 int result;
12392 PyObject * obj0 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "self", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail;
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (int)(arg1)->GetModEventMask();
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 {
12408 resultobj = SWIG_From_int((int)(result));
12409 }
12410 return resultobj;
12411 fail:
12412 return NULL;
12413 }
12414
12415
12416 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12419 bool arg2 ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self",(char *) "focus", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail;
12429 {
12430 arg2 = (bool)(SWIG_As_bool(obj1));
12431 if (SWIG_arg_fail(2)) SWIG_fail;
12432 }
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 (arg1)->SetSTCFocus(arg2);
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 Py_INCREF(Py_None); resultobj = Py_None;
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12450 bool result;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12458 if (SWIG_arg_fail(1)) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (bool)(arg1)->GetSTCFocus();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 {
12467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12468 }
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12478 int arg2 ;
12479 PyObject * obj0 = 0 ;
12480 PyObject * obj1 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self",(char *) "statusCode", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail;
12488 {
12489 arg2 = (int)(SWIG_As_int(obj1));
12490 if (SWIG_arg_fail(2)) SWIG_fail;
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 (arg1)->SetStatus(arg2);
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 Py_INCREF(Py_None); resultobj = Py_None;
12500 return resultobj;
12501 fail:
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12509 int result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail;
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 result = (int)(arg1)->GetStatus();
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 {
12526 resultobj = SWIG_From_int((int)(result));
12527 }
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj;
12536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12537 bool arg2 ;
12538 PyObject * obj0 = 0 ;
12539 PyObject * obj1 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "captures", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12546 if (SWIG_arg_fail(1)) SWIG_fail;
12547 {
12548 arg2 = (bool)(SWIG_As_bool(obj1));
12549 if (SWIG_arg_fail(2)) SWIG_fail;
12550 }
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 (arg1)->SetMouseDownCaptures(arg2);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 Py_INCREF(Py_None); resultobj = Py_None;
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12568 bool result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12576 if (SWIG_arg_fail(1)) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (bool)(arg1)->GetMouseDownCaptures();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 {
12585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12586 }
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12596 int arg2 ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "cursorType", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail;
12606 {
12607 arg2 = (int)(SWIG_As_int(obj1));
12608 if (SWIG_arg_fail(2)) SWIG_fail;
12609 }
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 (arg1)->SetSTCCursor(arg2);
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 Py_INCREF(Py_None); resultobj = Py_None;
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12627 int result;
12628 PyObject * obj0 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (int)(arg1)->GetSTCCursor();
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 {
12644 resultobj = SWIG_From_int((int)(result));
12645 }
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12655 int arg2 ;
12656 PyObject * obj0 = 0 ;
12657 PyObject * obj1 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self",(char *) "symbol", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail;
12665 {
12666 arg2 = (int)(SWIG_As_int(obj1));
12667 if (SWIG_arg_fail(2)) SWIG_fail;
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 (arg1)->SetControlCharSymbol(arg2);
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 Py_INCREF(Py_None); resultobj = Py_None;
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12686 int result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (int)(arg1)->GetControlCharSymbol();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 {
12703 resultobj = SWIG_From_int((int)(result));
12704 }
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail;
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->WordPartLeft();
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->WordPartLeftExtend();
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12771 if (SWIG_arg_fail(1)) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 (arg1)->WordPartRight();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 Py_INCREF(Py_None); resultobj = Py_None;
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12796 if (SWIG_arg_fail(1)) SWIG_fail;
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 (arg1)->WordPartRightExtend();
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 Py_INCREF(Py_None); resultobj = Py_None;
12805 return resultobj;
12806 fail:
12807 return NULL;
12808 }
12809
12810
12811 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12814 int arg2 ;
12815 int arg3 ;
12816 PyObject * obj0 = 0 ;
12817 PyObject * obj1 = 0 ;
12818 PyObject * obj2 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail;
12826 {
12827 arg2 = (int)(SWIG_As_int(obj1));
12828 if (SWIG_arg_fail(2)) SWIG_fail;
12829 }
12830 {
12831 arg3 = (int)(SWIG_As_int(obj2));
12832 if (SWIG_arg_fail(3)) SWIG_fail;
12833 }
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 (arg1)->SetVisiblePolicy(arg2,arg3);
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 Py_INCREF(Py_None); resultobj = Py_None;
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->DelLineLeft();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
12882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->DelLineRight();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12901 int arg2 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "newOffset", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
12909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12910 if (SWIG_arg_fail(1)) SWIG_fail;
12911 {
12912 arg2 = (int)(SWIG_As_int(obj1));
12913 if (SWIG_arg_fail(2)) SWIG_fail;
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetXOffset(arg2);
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 Py_INCREF(Py_None); resultobj = Py_None;
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12932 int result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
12939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (int)(arg1)->GetXOffset();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 {
12949 resultobj = SWIG_From_int((int)(result));
12950 }
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 (arg1)->ChooseCaretX();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 Py_INCREF(Py_None); resultobj = Py_None;
12976 return resultobj;
12977 fail:
12978 return NULL;
12979 }
12980
12981
12982 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj;
12984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12985 int arg2 ;
12986 int arg3 ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 PyObject * obj2 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(1)) SWIG_fail;
12997 {
12998 arg2 = (int)(SWIG_As_int(obj1));
12999 if (SWIG_arg_fail(2)) SWIG_fail;
13000 }
13001 {
13002 arg3 = (int)(SWIG_As_int(obj2));
13003 if (SWIG_arg_fail(3)) SWIG_fail;
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 (arg1)->SetXCaretPolicy(arg2,arg3);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 Py_INCREF(Py_None); resultobj = Py_None;
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13022 int arg2 ;
13023 int arg3 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail;
13034 {
13035 arg2 = (int)(SWIG_As_int(obj1));
13036 if (SWIG_arg_fail(2)) SWIG_fail;
13037 }
13038 {
13039 arg3 = (int)(SWIG_As_int(obj2));
13040 if (SWIG_arg_fail(3)) SWIG_fail;
13041 }
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 (arg1)->SetYCaretPolicy(arg2,arg3);
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 Py_INCREF(Py_None); resultobj = Py_None;
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13059 int arg2 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "mode", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail;
13069 {
13070 arg2 = (int)(SWIG_As_int(obj1));
13071 if (SWIG_arg_fail(2)) SWIG_fail;
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetPrintWrapMode(arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13090 int result;
13091 PyObject * obj0 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail;
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (int)(arg1)->GetPrintWrapMode();
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 {
13107 resultobj = SWIG_From_int((int)(result));
13108 }
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13118 bool arg2 ;
13119 wxColour *arg3 = 0 ;
13120 wxColour temp3 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 PyObject * obj2 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 {
13132 arg2 = (bool)(SWIG_As_bool(obj1));
13133 if (SWIG_arg_fail(2)) SWIG_fail;
13134 }
13135 {
13136 arg3 = &temp3;
13137 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13138 }
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 Py_INCREF(Py_None); resultobj = Py_None;
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj;
13155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13156 bool arg2 ;
13157 wxColour *arg3 = 0 ;
13158 wxColour temp3 ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 PyObject * obj2 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "useSetting",(char *) "back", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail;
13169 {
13170 arg2 = (bool)(SWIG_As_bool(obj1));
13171 if (SWIG_arg_fail(2)) SWIG_fail;
13172 }
13173 {
13174 arg3 = &temp3;
13175 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 Py_INCREF(Py_None); resultobj = Py_None;
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13194 bool arg2 ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "underline", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail;
13204 {
13205 arg2 = (bool)(SWIG_As_bool(obj1));
13206 if (SWIG_arg_fail(2)) SWIG_fail;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->SetHotspotActiveUnderline(arg2);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13225 bool arg2 ;
13226 PyObject * obj0 = 0 ;
13227 PyObject * obj1 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "singleLine", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
13235 {
13236 arg2 = (bool)(SWIG_As_bool(obj1));
13237 if (SWIG_arg_fail(2)) SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 (arg1)->SetHotspotSingleLine(arg2);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail;
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 (arg1)->ParaDown();
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 Py_INCREF(Py_None); resultobj = Py_None;
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13288 if (SWIG_arg_fail(1)) SWIG_fail;
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->ParaDownExtend();
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300 }
13301
13302
13303 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13313 if (SWIG_arg_fail(1)) SWIG_fail;
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->ParaUp();
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13331 PyObject * obj0 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->ParaUpExtend();
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13356 int arg2 ;
13357 int result;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "pos", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
13367 {
13368 arg2 = (int)(SWIG_As_int(obj1));
13369 if (SWIG_arg_fail(2)) SWIG_fail;
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (int)(arg1)->PositionBefore(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 {
13379 resultobj = SWIG_From_int((int)(result));
13380 }
13381 return resultobj;
13382 fail:
13383 return NULL;
13384 }
13385
13386
13387 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13390 int arg2 ;
13391 int result;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self",(char *) "pos", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
13401 {
13402 arg2 = (int)(SWIG_As_int(obj1));
13403 if (SWIG_arg_fail(2)) SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (int)(arg1)->PositionAfter(arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 {
13413 resultobj = SWIG_From_int((int)(result));
13414 }
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13424 int arg2 ;
13425 int arg3 ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "start",(char *) "end", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail;
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
13440 {
13441 arg3 = (int)(SWIG_As_int(obj2));
13442 if (SWIG_arg_fail(3)) SWIG_fail;
13443 }
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->CopyRange(arg2,arg3);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13461 int arg2 ;
13462 wxString *arg3 = 0 ;
13463 bool temp3 = false ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 PyObject * obj2 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self",(char *) "length",(char *) "text", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13473 if (SWIG_arg_fail(1)) SWIG_fail;
13474 {
13475 arg2 = (int)(SWIG_As_int(obj1));
13476 if (SWIG_arg_fail(2)) SWIG_fail;
13477 }
13478 {
13479 arg3 = wxString_in_helper(obj2);
13480 if (arg3 == NULL) SWIG_fail;
13481 temp3 = true;
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->CopyText(arg2,(wxString const &)*arg3);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 {
13492 if (temp3)
13493 delete arg3;
13494 }
13495 return resultobj;
13496 fail:
13497 {
13498 if (temp3)
13499 delete arg3;
13500 }
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13508 int arg2 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self",(char *) "mode", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13517 if (SWIG_arg_fail(1)) SWIG_fail;
13518 {
13519 arg2 = (int)(SWIG_As_int(obj1));
13520 if (SWIG_arg_fail(2)) SWIG_fail;
13521 }
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 (arg1)->SetSelectionMode(arg2);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 Py_INCREF(Py_None); resultobj = Py_None;
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13539 int result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (int)(arg1)->GetSelectionMode();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 resultobj = SWIG_From_int((int)(result));
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13567 int arg2 ;
13568 int result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "self",(char *) "line", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13577 if (SWIG_arg_fail(1)) SWIG_fail;
13578 {
13579 arg2 = (int)(SWIG_As_int(obj1));
13580 if (SWIG_arg_fail(2)) SWIG_fail;
13581 }
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (int)(arg1)->GetLineSelStartPosition(arg2);
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 resultobj = SWIG_From_int((int)(result));
13591 }
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13601 int arg2 ;
13602 int result;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "line", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
13610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail;
13612 {
13613 arg2 = (int)(SWIG_As_int(obj1));
13614 if (SWIG_arg_fail(2)) SWIG_fail;
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 result = (int)(arg1)->GetLineSelEndPosition(arg2);
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624 resultobj = SWIG_From_int((int)(result));
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13635 PyObject * obj0 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 (arg1)->LineDownRectExtend();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 Py_INCREF(Py_None); resultobj = Py_None;
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13660 PyObject * obj0 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13667 if (SWIG_arg_fail(1)) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 (arg1)->LineUpRectExtend();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 Py_INCREF(Py_None); resultobj = Py_None;
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 (arg1)->CharLeftRectExtend();
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13710 PyObject * obj0 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13717 if (SWIG_arg_fail(1)) SWIG_fail;
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 (arg1)->CharRightRectExtend();
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 Py_INCREF(Py_None); resultobj = Py_None;
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13735 PyObject * obj0 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->HomeRectExtend();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13767 if (SWIG_arg_fail(1)) SWIG_fail;
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->VCHomeRectExtend();
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 Py_INCREF(Py_None); resultobj = Py_None;
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13785 PyObject * obj0 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail;
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 (arg1)->LineEndRectExtend();
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 Py_INCREF(Py_None); resultobj = Py_None;
13801 return resultobj;
13802 fail:
13803 return NULL;
13804 }
13805
13806
13807 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13817 if (SWIG_arg_fail(1)) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 (arg1)->PageUpRectExtend();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 Py_INCREF(Py_None); resultobj = Py_None;
13826 return resultobj;
13827 fail:
13828 return NULL;
13829 }
13830
13831
13832 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13835 PyObject * obj0 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13842 if (SWIG_arg_fail(1)) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 (arg1)->PageDownRectExtend();
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 Py_INCREF(Py_None); resultobj = Py_None;
13851 return resultobj;
13852 fail:
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
13866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->StutteredPageUp();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 Py_INCREF(Py_None); resultobj = Py_None;
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13885 PyObject * obj0 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
13891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->StutteredPageUpExtend();
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
13916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->StutteredPageDown();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
13941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 (arg1)->StutteredPageDownExtend();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 Py_INCREF(Py_None); resultobj = Py_None;
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
13966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 (arg1)->WordLeftEnd();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 Py_INCREF(Py_None); resultobj = Py_None;
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13985 PyObject * obj0 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
13991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 (arg1)->WordLeftEndExtend();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 Py_INCREF(Py_None); resultobj = Py_None;
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14010 PyObject * obj0 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
14016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14017 if (SWIG_arg_fail(1)) SWIG_fail;
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 (arg1)->WordRightEnd();
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 Py_INCREF(Py_None); resultobj = Py_None;
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->WordRightEndExtend();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14060 wxString *arg2 = 0 ;
14061 bool temp2 = false ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self",(char *) "characters", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail;
14071 {
14072 arg2 = wxString_in_helper(obj1);
14073 if (arg2 == NULL) SWIG_fail;
14074 temp2 = true;
14075 }
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 Py_INCREF(Py_None); resultobj = Py_None;
14084 {
14085 if (temp2)
14086 delete arg2;
14087 }
14088 return resultobj;
14089 fail:
14090 {
14091 if (temp2)
14092 delete arg2;
14093 }
14094 return NULL;
14095 }
14096
14097
14098 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetCharsDefault();
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14126 int result;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (int)(arg1)->AutoCompGetCurrent();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 resultobj = SWIG_From_int((int)(result));
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14154 int arg2 ;
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj1 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self",(char *) "bytes", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail;
14164 {
14165 arg2 = (int)(SWIG_As_int(obj1));
14166 if (SWIG_arg_fail(2)) SWIG_fail;
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->Allocate(arg2);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14192 if (SWIG_arg_fail(1)) SWIG_fail;
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 (arg1)->StartRecord();
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204 }
14205
14206
14207 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj;
14209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14210 PyObject * obj0 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14217 if (SWIG_arg_fail(1)) SWIG_fail;
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->StopRecord();
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229 }
14230
14231
14232 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14235 int arg2 ;
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self",(char *) "lexer", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
14243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail;
14245 {
14246 arg2 = (int)(SWIG_As_int(obj1));
14247 if (SWIG_arg_fail(2)) SWIG_fail;
14248 }
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 (arg1)->SetLexer(arg2);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 Py_INCREF(Py_None); resultobj = Py_None;
14257 return resultobj;
14258 fail:
14259 return NULL;
14260 }
14261
14262
14263 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14266 int result;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14274 if (SWIG_arg_fail(1)) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 result = (int)(arg1)->GetLexer();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 {
14283 resultobj = SWIG_From_int((int)(result));
14284 }
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14294 int arg2 ;
14295 int arg3 ;
14296 PyObject * obj0 = 0 ;
14297 PyObject * obj1 = 0 ;
14298 PyObject * obj2 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self",(char *) "start",(char *) "end", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail;
14306 {
14307 arg2 = (int)(SWIG_As_int(obj1));
14308 if (SWIG_arg_fail(2)) SWIG_fail;
14309 }
14310 {
14311 arg3 = (int)(SWIG_As_int(obj2));
14312 if (SWIG_arg_fail(3)) SWIG_fail;
14313 }
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 (arg1)->Colourise(arg2,arg3);
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 Py_INCREF(Py_None); resultobj = Py_None;
14322 return resultobj;
14323 fail:
14324 return NULL;
14325 }
14326
14327
14328 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
14329 PyObject *resultobj;
14330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14331 wxString *arg2 = 0 ;
14332 wxString *arg3 = 0 ;
14333 bool temp2 = false ;
14334 bool temp3 = false ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 PyObject * obj2 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self",(char *) "key",(char *) "value", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
14343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14344 if (SWIG_arg_fail(1)) SWIG_fail;
14345 {
14346 arg2 = wxString_in_helper(obj1);
14347 if (arg2 == NULL) SWIG_fail;
14348 temp2 = true;
14349 }
14350 {
14351 arg3 = wxString_in_helper(obj2);
14352 if (arg3 == NULL) SWIG_fail;
14353 temp3 = true;
14354 }
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 Py_INCREF(Py_None); resultobj = Py_None;
14363 {
14364 if (temp2)
14365 delete arg2;
14366 }
14367 {
14368 if (temp3)
14369 delete arg3;
14370 }
14371 return resultobj;
14372 fail:
14373 {
14374 if (temp2)
14375 delete arg2;
14376 }
14377 {
14378 if (temp3)
14379 delete arg3;
14380 }
14381 return NULL;
14382 }
14383
14384
14385 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14388 int arg2 ;
14389 wxString *arg3 = 0 ;
14390 bool temp3 = false ;
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 PyObject * obj2 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail;
14401 {
14402 arg2 = (int)(SWIG_As_int(obj1));
14403 if (SWIG_arg_fail(2)) SWIG_fail;
14404 }
14405 {
14406 arg3 = wxString_in_helper(obj2);
14407 if (arg3 == NULL) SWIG_fail;
14408 temp3 = true;
14409 }
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 Py_INCREF(Py_None); resultobj = Py_None;
14418 {
14419 if (temp3)
14420 delete arg3;
14421 }
14422 return resultobj;
14423 fail:
14424 {
14425 if (temp3)
14426 delete arg3;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14435 wxString *arg2 = 0 ;
14436 bool temp2 = false ;
14437 PyObject * obj0 = 0 ;
14438 PyObject * obj1 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self",(char *) "language", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14445 if (SWIG_arg_fail(1)) SWIG_fail;
14446 {
14447 arg2 = wxString_in_helper(obj1);
14448 if (arg2 == NULL) SWIG_fail;
14449 temp2 = true;
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 (arg1)->SetLexerLanguage((wxString const &)*arg2);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 Py_INCREF(Py_None); resultobj = Py_None;
14459 {
14460 if (temp2)
14461 delete arg2;
14462 }
14463 return resultobj;
14464 fail:
14465 {
14466 if (temp2)
14467 delete arg2;
14468 }
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14476 int result;
14477 PyObject * obj0 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14484 if (SWIG_arg_fail(1)) SWIG_fail;
14485 {
14486 PyThreadState* __tstate = wxPyBeginAllowThreads();
14487 result = (int)(arg1)->GetCurrentLine();
14488
14489 wxPyEndAllowThreads(__tstate);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 {
14493 resultobj = SWIG_From_int((int)(result));
14494 }
14495 return resultobj;
14496 fail:
14497 return NULL;
14498 }
14499
14500
14501 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14504 int arg2 ;
14505 wxString *arg3 = 0 ;
14506 bool temp3 = false ;
14507 PyObject * obj0 = 0 ;
14508 PyObject * obj1 = 0 ;
14509 PyObject * obj2 = 0 ;
14510 char *kwnames[] = {
14511 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
14512 };
14513
14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14516 if (SWIG_arg_fail(1)) SWIG_fail;
14517 {
14518 arg2 = (int)(SWIG_As_int(obj1));
14519 if (SWIG_arg_fail(2)) SWIG_fail;
14520 }
14521 {
14522 arg3 = wxString_in_helper(obj2);
14523 if (arg3 == NULL) SWIG_fail;
14524 temp3 = true;
14525 }
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 {
14535 if (temp3)
14536 delete arg3;
14537 }
14538 return resultobj;
14539 fail:
14540 {
14541 if (temp3)
14542 delete arg3;
14543 }
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14551 int arg2 ;
14552 wxFont *arg3 = 0 ;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self",(char *) "styleNum",(char *) "font", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail;
14563 {
14564 arg2 = (int)(SWIG_As_int(obj1));
14565 if (SWIG_arg_fail(2)) SWIG_fail;
14566 }
14567 {
14568 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14569 if (SWIG_arg_fail(3)) SWIG_fail;
14570 if (arg3 == NULL) {
14571 SWIG_null_ref("wxFont");
14572 }
14573 if (SWIG_arg_fail(3)) SWIG_fail;
14574 }
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 (arg1)->StyleSetFont(arg2,*arg3);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 Py_INCREF(Py_None); resultobj = Py_None;
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14592 int arg2 ;
14593 int arg3 ;
14594 wxString *arg4 = 0 ;
14595 bool arg5 ;
14596 bool arg6 ;
14597 bool arg7 ;
14598 bool temp4 = false ;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 PyObject * obj2 = 0 ;
14602 PyObject * obj3 = 0 ;
14603 PyObject * obj4 = 0 ;
14604 PyObject * obj5 = 0 ;
14605 PyObject * obj6 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail;
14613 {
14614 arg2 = (int)(SWIG_As_int(obj1));
14615 if (SWIG_arg_fail(2)) SWIG_fail;
14616 }
14617 {
14618 arg3 = (int)(SWIG_As_int(obj2));
14619 if (SWIG_arg_fail(3)) SWIG_fail;
14620 }
14621 {
14622 arg4 = wxString_in_helper(obj3);
14623 if (arg4 == NULL) SWIG_fail;
14624 temp4 = true;
14625 }
14626 {
14627 arg5 = (bool)(SWIG_As_bool(obj4));
14628 if (SWIG_arg_fail(5)) SWIG_fail;
14629 }
14630 {
14631 arg6 = (bool)(SWIG_As_bool(obj5));
14632 if (SWIG_arg_fail(6)) SWIG_fail;
14633 }
14634 {
14635 arg7 = (bool)(SWIG_As_bool(obj6));
14636 if (SWIG_arg_fail(7)) SWIG_fail;
14637 }
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 Py_INCREF(Py_None); resultobj = Py_None;
14646 {
14647 if (temp4)
14648 delete arg4;
14649 }
14650 return resultobj;
14651 fail:
14652 {
14653 if (temp4)
14654 delete arg4;
14655 }
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14663 int arg2 ;
14664 PyObject * obj0 = 0 ;
14665 PyObject * obj1 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self",(char *) "cmd", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14672 if (SWIG_arg_fail(1)) SWIG_fail;
14673 {
14674 arg2 = (int)(SWIG_As_int(obj1));
14675 if (SWIG_arg_fail(2)) SWIG_fail;
14676 }
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 (arg1)->CmdKeyExecute(arg2);
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 Py_INCREF(Py_None); resultobj = Py_None;
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14694 int arg2 ;
14695 int arg3 ;
14696 PyObject * obj0 = 0 ;
14697 PyObject * obj1 = 0 ;
14698 PyObject * obj2 = 0 ;
14699 char *kwnames[] = {
14700 (char *) "self",(char *) "left",(char *) "right", NULL
14701 };
14702
14703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14705 if (SWIG_arg_fail(1)) SWIG_fail;
14706 {
14707 arg2 = (int)(SWIG_As_int(obj1));
14708 if (SWIG_arg_fail(2)) SWIG_fail;
14709 }
14710 {
14711 arg3 = (int)(SWIG_As_int(obj2));
14712 if (SWIG_arg_fail(3)) SWIG_fail;
14713 }
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 (arg1)->SetMargins(arg2,arg3);
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14731 int *arg2 = (int *) 0 ;
14732 int *arg3 = (int *) 0 ;
14733 int temp2 ;
14734 int res2 = 0 ;
14735 int temp3 ;
14736 int res3 = 0 ;
14737 PyObject * obj0 = 0 ;
14738 char *kwnames[] = {
14739 (char *) "self", NULL
14740 };
14741
14742 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14743 arg3 = &temp3; res3 = SWIG_NEWOBJ;
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
14745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14746 if (SWIG_arg_fail(1)) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->GetSelection(arg2,arg3);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 Py_INCREF(Py_None); resultobj = Py_None;
14755 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14756 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14757 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14758 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14768 int arg2 ;
14769 wxPoint result;
14770 PyObject * obj0 = 0 ;
14771 PyObject * obj1 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self",(char *) "pos", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
14777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14778 if (SWIG_arg_fail(1)) SWIG_fail;
14779 {
14780 arg2 = (int)(SWIG_As_int(obj1));
14781 if (SWIG_arg_fail(2)) SWIG_fail;
14782 }
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 result = (arg1)->PointFromPosition(arg2);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 {
14791 wxPoint * resultptr;
14792 resultptr = new wxPoint((wxPoint &)(result));
14793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14794 }
14795 return resultobj;
14796 fail:
14797 return NULL;
14798 }
14799
14800
14801 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
14802 PyObject *resultobj;
14803 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14804 int arg2 ;
14805 PyObject * obj0 = 0 ;
14806 PyObject * obj1 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self",(char *) "line", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
14812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14813 if (SWIG_arg_fail(1)) SWIG_fail;
14814 {
14815 arg2 = (int)(SWIG_As_int(obj1));
14816 if (SWIG_arg_fail(2)) SWIG_fail;
14817 }
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 (arg1)->ScrollToLine(arg2);
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 Py_INCREF(Py_None); resultobj = Py_None;
14826 return resultobj;
14827 fail:
14828 return NULL;
14829 }
14830
14831
14832 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14833 PyObject *resultobj;
14834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14835 int arg2 ;
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self",(char *) "column", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
14843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14844 if (SWIG_arg_fail(1)) SWIG_fail;
14845 {
14846 arg2 = (int)(SWIG_As_int(obj1));
14847 if (SWIG_arg_fail(2)) SWIG_fail;
14848 }
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 (arg1)->ScrollToColumn(arg2);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14866 int arg2 ;
14867 long arg3 = (long) 0 ;
14868 long arg4 = (long) 0 ;
14869 long result;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 PyObject * obj2 = 0 ;
14873 PyObject * obj3 = 0 ;
14874 char *kwnames[] = {
14875 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail;
14881 {
14882 arg2 = (int)(SWIG_As_int(obj1));
14883 if (SWIG_arg_fail(2)) SWIG_fail;
14884 }
14885 if (obj2) {
14886 {
14887 arg3 = (long)(SWIG_As_long(obj2));
14888 if (SWIG_arg_fail(3)) SWIG_fail;
14889 }
14890 }
14891 if (obj3) {
14892 {
14893 arg4 = (long)(SWIG_As_long(obj3));
14894 if (SWIG_arg_fail(4)) SWIG_fail;
14895 }
14896 }
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
14900
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 resultobj = SWIG_From_long((long)(result));
14906 }
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14916 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
14917 PyObject * obj0 = 0 ;
14918 PyObject * obj1 = 0 ;
14919 char *kwnames[] = {
14920 (char *) "self",(char *) "bar", NULL
14921 };
14922
14923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
14924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14925 if (SWIG_arg_fail(1)) SWIG_fail;
14926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(2)) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 (arg1)->SetVScrollBar(arg2);
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 Py_INCREF(Py_None); resultobj = Py_None;
14936 return resultobj;
14937 fail:
14938 return NULL;
14939 }
14940
14941
14942 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14945 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
14946 PyObject * obj0 = 0 ;
14947 PyObject * obj1 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "self",(char *) "bar", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
14953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14954 if (SWIG_arg_fail(1)) SWIG_fail;
14955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
14956 if (SWIG_arg_fail(2)) SWIG_fail;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->SetHScrollBar(arg2);
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 Py_INCREF(Py_None); resultobj = Py_None;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14974 bool result;
14975 PyObject * obj0 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "self", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
14981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail;
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (bool)(arg1)->GetLastKeydownProcessed();
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 {
14991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14992 }
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj;
15001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15002 bool arg2 ;
15003 PyObject * obj0 = 0 ;
15004 PyObject * obj1 = 0 ;
15005 char *kwnames[] = {
15006 (char *) "self",(char *) "val", NULL
15007 };
15008
15009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15011 if (SWIG_arg_fail(1)) SWIG_fail;
15012 {
15013 arg2 = (bool)(SWIG_As_bool(obj1));
15014 if (SWIG_arg_fail(2)) SWIG_fail;
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 (arg1)->SetLastKeydownProcessed(arg2);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 Py_INCREF(Py_None); resultobj = Py_None;
15024 return resultobj;
15025 fail:
15026 return NULL;
15027 }
15028
15029
15030 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15033 wxString *arg2 = 0 ;
15034 bool result;
15035 bool temp2 = false ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "filename", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
15045 {
15046 arg2 = wxString_in_helper(obj1);
15047 if (arg2 == NULL) SWIG_fail;
15048 temp2 = true;
15049 }
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 {
15058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15059 }
15060 {
15061 if (temp2)
15062 delete arg2;
15063 }
15064 return resultobj;
15065 fail:
15066 {
15067 if (temp2)
15068 delete arg2;
15069 }
15070 return NULL;
15071 }
15072
15073
15074 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj;
15076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15077 wxString *arg2 = 0 ;
15078 bool result;
15079 bool temp2 = false ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self",(char *) "filename", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail;
15089 {
15090 arg2 = wxString_in_helper(obj1);
15091 if (arg2 == NULL) SWIG_fail;
15092 temp2 = true;
15093 }
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
15097
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 {
15102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15103 }
15104 {
15105 if (temp2)
15106 delete arg2;
15107 }
15108 return resultobj;
15109 fail:
15110 {
15111 if (temp2)
15112 delete arg2;
15113 }
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15121 int arg2 ;
15122 int arg3 ;
15123 wxDragResult arg4 ;
15124 wxDragResult result;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 PyObject * obj2 = 0 ;
15128 PyObject * obj3 = 0 ;
15129 char *kwnames[] = {
15130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15135 if (SWIG_arg_fail(1)) SWIG_fail;
15136 {
15137 arg2 = (int)(SWIG_As_int(obj1));
15138 if (SWIG_arg_fail(2)) SWIG_fail;
15139 }
15140 {
15141 arg3 = (int)(SWIG_As_int(obj2));
15142 if (SWIG_arg_fail(3)) SWIG_fail;
15143 }
15144 {
15145 arg4 = (wxDragResult)(SWIG_As_int(obj3));
15146 if (SWIG_arg_fail(4)) SWIG_fail;
15147 }
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 resultobj = SWIG_From_int((result));
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15165 long arg2 ;
15166 long arg3 ;
15167 wxString *arg4 = 0 ;
15168 bool result;
15169 bool temp4 = false ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 PyObject * obj2 = 0 ;
15173 PyObject * obj3 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail;
15181 {
15182 arg2 = (long)(SWIG_As_long(obj1));
15183 if (SWIG_arg_fail(2)) SWIG_fail;
15184 }
15185 {
15186 arg3 = (long)(SWIG_As_long(obj2));
15187 if (SWIG_arg_fail(3)) SWIG_fail;
15188 }
15189 {
15190 arg4 = wxString_in_helper(obj3);
15191 if (arg4 == NULL) SWIG_fail;
15192 temp4 = true;
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 {
15202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15203 }
15204 {
15205 if (temp4)
15206 delete arg4;
15207 }
15208 return resultobj;
15209 fail:
15210 {
15211 if (temp4)
15212 delete arg4;
15213 }
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15221 bool arg2 ;
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self",(char *) "useAA", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15230 if (SWIG_arg_fail(1)) SWIG_fail;
15231 {
15232 arg2 = (bool)(SWIG_As_bool(obj1));
15233 if (SWIG_arg_fail(2)) SWIG_fail;
15234 }
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 (arg1)->SetUseAntiAliasing(arg2);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 Py_INCREF(Py_None); resultobj = Py_None;
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15252 bool result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15260 if (SWIG_arg_fail(1)) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (bool)(arg1)->GetUseAntiAliasing();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 {
15269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15270 }
15271 return resultobj;
15272 fail:
15273 return NULL;
15274 }
15275
15276
15277 static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15278 PyObject *obj;
15279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15280 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15281 Py_INCREF(obj);
15282 return Py_BuildValue((char *)"");
15283 }
15284 static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxEventType arg1 = (wxEventType) 0 ;
15287 int arg2 = (int) 0 ;
15288 wxStyledTextEvent *result;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "commandType",(char *) "id", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15296 if (obj0) {
15297 {
15298 arg1 = (wxEventType)(SWIG_As_int(obj0));
15299 if (SWIG_arg_fail(1)) SWIG_fail;
15300 }
15301 }
15302 if (obj1) {
15303 {
15304 arg2 = (int)(SWIG_As_int(obj1));
15305 if (SWIG_arg_fail(2)) SWIG_fail;
15306 }
15307 }
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15325 PyObject * obj0 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 delete arg1;
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 Py_INCREF(Py_None); resultobj = Py_None;
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15350 int arg2 ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "pos", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15359 if (SWIG_arg_fail(1)) SWIG_fail;
15360 {
15361 arg2 = (int)(SWIG_As_int(obj1));
15362 if (SWIG_arg_fail(2)) SWIG_fail;
15363 }
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->SetPosition(arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15381 int arg2 ;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self",(char *) "k", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15390 if (SWIG_arg_fail(1)) SWIG_fail;
15391 {
15392 arg2 = (int)(SWIG_As_int(obj1));
15393 if (SWIG_arg_fail(2)) SWIG_fail;
15394 }
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->SetKey(arg2);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 Py_INCREF(Py_None); resultobj = Py_None;
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15412 int arg2 ;
15413 PyObject * obj0 = 0 ;
15414 PyObject * obj1 = 0 ;
15415 char *kwnames[] = {
15416 (char *) "self",(char *) "m", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15421 if (SWIG_arg_fail(1)) SWIG_fail;
15422 {
15423 arg2 = (int)(SWIG_As_int(obj1));
15424 if (SWIG_arg_fail(2)) SWIG_fail;
15425 }
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 (arg1)->SetModifiers(arg2);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 Py_INCREF(Py_None); resultobj = Py_None;
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15443 int arg2 ;
15444 PyObject * obj0 = 0 ;
15445 PyObject * obj1 = 0 ;
15446 char *kwnames[] = {
15447 (char *) "self",(char *) "t", NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail;
15453 {
15454 arg2 = (int)(SWIG_As_int(obj1));
15455 if (SWIG_arg_fail(2)) SWIG_fail;
15456 }
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 (arg1)->SetModificationType(arg2);
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 Py_INCREF(Py_None); resultobj = Py_None;
15465 return resultobj;
15466 fail:
15467 return NULL;
15468 }
15469
15470
15471 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
15472 PyObject *resultobj;
15473 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15474 wxString *arg2 = 0 ;
15475 bool temp2 = false ;
15476 PyObject * obj0 = 0 ;
15477 PyObject * obj1 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self",(char *) "t", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15484 if (SWIG_arg_fail(1)) SWIG_fail;
15485 {
15486 arg2 = wxString_in_helper(obj1);
15487 if (arg2 == NULL) SWIG_fail;
15488 temp2 = true;
15489 }
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 (arg1)->SetText((wxString const &)*arg2);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 Py_INCREF(Py_None); resultobj = Py_None;
15498 {
15499 if (temp2)
15500 delete arg2;
15501 }
15502 return resultobj;
15503 fail:
15504 {
15505 if (temp2)
15506 delete arg2;
15507 }
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj;
15514 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15515 int arg2 ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self",(char *) "len", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail;
15525 {
15526 arg2 = (int)(SWIG_As_int(obj1));
15527 if (SWIG_arg_fail(2)) SWIG_fail;
15528 }
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 (arg1)->SetLength(arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 Py_INCREF(Py_None); resultobj = Py_None;
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15546 int arg2 ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "num", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15555 if (SWIG_arg_fail(1)) SWIG_fail;
15556 {
15557 arg2 = (int)(SWIG_As_int(obj1));
15558 if (SWIG_arg_fail(2)) SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetLinesAdded(arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15577 int arg2 ;
15578 PyObject * obj0 = 0 ;
15579 PyObject * obj1 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "val", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail;
15587 {
15588 arg2 = (int)(SWIG_As_int(obj1));
15589 if (SWIG_arg_fail(2)) SWIG_fail;
15590 }
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->SetLine(arg2);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15608 int arg2 ;
15609 PyObject * obj0 = 0 ;
15610 PyObject * obj1 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "val", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail;
15618 {
15619 arg2 = (int)(SWIG_As_int(obj1));
15620 if (SWIG_arg_fail(2)) SWIG_fail;
15621 }
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 (arg1)->SetFoldLevelNow(arg2);
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 Py_INCREF(Py_None); resultobj = Py_None;
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15639 int arg2 ;
15640 PyObject * obj0 = 0 ;
15641 PyObject * obj1 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self",(char *) "val", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
15647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail;
15649 {
15650 arg2 = (int)(SWIG_As_int(obj1));
15651 if (SWIG_arg_fail(2)) SWIG_fail;
15652 }
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 (arg1)->SetFoldLevelPrev(arg2);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 Py_INCREF(Py_None); resultobj = Py_None;
15661 return resultobj;
15662 fail:
15663 return NULL;
15664 }
15665
15666
15667 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
15668 PyObject *resultobj;
15669 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15670 int arg2 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self",(char *) "val", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail;
15680 {
15681 arg2 = (int)(SWIG_As_int(obj1));
15682 if (SWIG_arg_fail(2)) SWIG_fail;
15683 }
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 (arg1)->SetMargin(arg2);
15687
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 Py_INCREF(Py_None); resultobj = Py_None;
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15701 int arg2 ;
15702 PyObject * obj0 = 0 ;
15703 PyObject * obj1 = 0 ;
15704 char *kwnames[] = {
15705 (char *) "self",(char *) "val", NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15710 if (SWIG_arg_fail(1)) SWIG_fail;
15711 {
15712 arg2 = (int)(SWIG_As_int(obj1));
15713 if (SWIG_arg_fail(2)) SWIG_fail;
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 (arg1)->SetMessage(arg2);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 Py_INCREF(Py_None); resultobj = Py_None;
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15732 int arg2 ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 char *kwnames[] = {
15736 (char *) "self",(char *) "val", NULL
15737 };
15738
15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
15740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15741 if (SWIG_arg_fail(1)) SWIG_fail;
15742 {
15743 arg2 = (int)(SWIG_As_int(obj1));
15744 if (SWIG_arg_fail(2)) SWIG_fail;
15745 }
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->SetWParam(arg2);
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 Py_INCREF(Py_None); resultobj = Py_None;
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15763 int arg2 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "val", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
15771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail;
15773 {
15774 arg2 = (int)(SWIG_As_int(obj1));
15775 if (SWIG_arg_fail(2)) SWIG_fail;
15776 }
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->SetLParam(arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15794 int arg2 ;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "val", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
15802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15803 if (SWIG_arg_fail(1)) SWIG_fail;
15804 {
15805 arg2 = (int)(SWIG_As_int(obj1));
15806 if (SWIG_arg_fail(2)) SWIG_fail;
15807 }
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 (arg1)->SetListType(arg2);
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 Py_INCREF(Py_None); resultobj = Py_None;
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15825 int arg2 ;
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self",(char *) "val", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
15833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15834 if (SWIG_arg_fail(1)) SWIG_fail;
15835 {
15836 arg2 = (int)(SWIG_As_int(obj1));
15837 if (SWIG_arg_fail(2)) SWIG_fail;
15838 }
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 (arg1)->SetX(arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 Py_INCREF(Py_None); resultobj = Py_None;
15847 return resultobj;
15848 fail:
15849 return NULL;
15850 }
15851
15852
15853 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
15854 PyObject *resultobj;
15855 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15856 int arg2 ;
15857 PyObject * obj0 = 0 ;
15858 PyObject * obj1 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self",(char *) "val", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
15864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15865 if (SWIG_arg_fail(1)) SWIG_fail;
15866 {
15867 arg2 = (int)(SWIG_As_int(obj1));
15868 if (SWIG_arg_fail(2)) SWIG_fail;
15869 }
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 (arg1)->SetY(arg2);
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 Py_INCREF(Py_None); resultobj = Py_None;
15878 return resultobj;
15879 fail:
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15887 wxString *arg2 = 0 ;
15888 bool temp2 = false ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self",(char *) "val", NULL
15893 };
15894
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",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 = wxString_in_helper(obj1);
15900 if (arg2 == NULL) SWIG_fail;
15901 temp2 = true;
15902 }
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetDragText((wxString const &)*arg2);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 {
15912 if (temp2)
15913 delete arg2;
15914 }
15915 return resultobj;
15916 fail:
15917 {
15918 if (temp2)
15919 delete arg2;
15920 }
15921 return NULL;
15922 }
15923
15924
15925 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
15926 PyObject *resultobj;
15927 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15928 bool arg2 ;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self",(char *) "val", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
15936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail;
15938 {
15939 arg2 = (bool)(SWIG_As_bool(obj1));
15940 if (SWIG_arg_fail(2)) SWIG_fail;
15941 }
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 (arg1)->SetDragAllowMove(arg2);
15945
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 Py_INCREF(Py_None); resultobj = Py_None;
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15959 wxDragResult arg2 ;
15960 PyObject * obj0 = 0 ;
15961 PyObject * obj1 = 0 ;
15962 char *kwnames[] = {
15963 (char *) "self",(char *) "val", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
15967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15968 if (SWIG_arg_fail(1)) SWIG_fail;
15969 {
15970 arg2 = (wxDragResult)(SWIG_As_int(obj1));
15971 if (SWIG_arg_fail(2)) SWIG_fail;
15972 }
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 (arg1)->SetDragResult((wxDragResult )arg2);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 Py_INCREF(Py_None); resultobj = Py_None;
15981 return resultobj;
15982 fail:
15983 return NULL;
15984 }
15985
15986
15987 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15990 int result;
15991 PyObject * obj0 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
15997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15998 if (SWIG_arg_fail(1)) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 {
16007 resultobj = SWIG_From_int((int)(result));
16008 }
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16018 int result;
16019 PyObject * obj0 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16026 if (SWIG_arg_fail(1)) SWIG_fail;
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 {
16035 resultobj = SWIG_From_int((int)(result));
16036 }
16037 return resultobj;
16038 fail:
16039 return NULL;
16040 }
16041
16042
16043 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj;
16045 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16046 int result;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 {
16063 resultobj = SWIG_From_int((int)(result));
16064 }
16065 return resultobj;
16066 fail:
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16074 int result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 {
16091 resultobj = SWIG_From_int((int)(result));
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16102 wxString result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = ((wxStyledTextEvent const *)arg1)->GetText();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 {
16119 #if wxUSE_UNICODE
16120 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16121 #else
16122 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16123 #endif
16124 }
16125 return resultobj;
16126 fail:
16127 return NULL;
16128 }
16129
16130
16131 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16134 int result;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 resultobj = SWIG_From_int((int)(result));
16152 }
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16162 int result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16170 if (SWIG_arg_fail(1)) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 {
16179 resultobj = SWIG_From_int((int)(result));
16180 }
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16190 int result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16198 if (SWIG_arg_fail(1)) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 resultobj = SWIG_From_int((int)(result));
16208 }
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16218 int result;
16219 PyObject * obj0 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self", NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16226 if (SWIG_arg_fail(1)) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 resultobj = SWIG_From_int((int)(result));
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16246 int result;
16247 PyObject * obj0 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 resultobj = SWIG_From_int((int)(result));
16264 }
16265 return resultobj;
16266 fail:
16267 return NULL;
16268 }
16269
16270
16271 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16274 int result;
16275 PyObject * obj0 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 {
16291 resultobj = SWIG_From_int((int)(result));
16292 }
16293 return resultobj;
16294 fail:
16295 return NULL;
16296 }
16297
16298
16299 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16302 int result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 {
16319 resultobj = SWIG_From_int((int)(result));
16320 }
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16330 int result;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16338 if (SWIG_arg_fail(1)) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 {
16347 resultobj = SWIG_From_int((int)(result));
16348 }
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16358 int result;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16366 if (SWIG_arg_fail(1)) SWIG_fail;
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 {
16375 resultobj = SWIG_From_int((int)(result));
16376 }
16377 return resultobj;
16378 fail:
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16386 int result;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail;
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
16397 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 {
16403 resultobj = SWIG_From_int((int)(result));
16404 }
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16414 int result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16422 if (SWIG_arg_fail(1)) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 {
16431 resultobj = SWIG_From_int((int)(result));
16432 }
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16442 int result;
16443 PyObject * obj0 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail;
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 {
16459 resultobj = SWIG_From_int((int)(result));
16460 }
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16470 wxString result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
16477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16478 if (SWIG_arg_fail(1)) SWIG_fail;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (arg1)->GetDragText();
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 {
16487 #if wxUSE_UNICODE
16488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16489 #else
16490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16491 #endif
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16502 bool result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
16509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (bool)(arg1)->GetDragAllowMove();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 {
16519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16530 wxDragResult result;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
16537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16538 if (SWIG_arg_fail(1)) SWIG_fail;
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (wxDragResult)(arg1)->GetDragResult();
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 resultobj = SWIG_From_int((result));
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16556 bool result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
16563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 {
16573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16574 }
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16584 bool result;
16585 PyObject * obj0 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
16591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16592 if (SWIG_arg_fail(1)) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16602 }
16603 return resultobj;
16604 fail:
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16612 bool result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
16619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail;
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16630 }
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16640 wxEvent *result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
16647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail;
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
16652
16653 wxPyEndAllowThreads(__tstate);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 }
16656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
16664 PyObject *obj;
16665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16666 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
16667 Py_INCREF(obj);
16668 return Py_BuildValue((char *)"");
16669 }
16670 static PyMethodDef SwigMethods[] = {
16671 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
16672 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
16673 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
16674 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
16675 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
16676 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
16677 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16678 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16679 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
16680 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
16681 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
16682 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
16683 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
16684 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
16685 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
16686 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
16687 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
16688 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
16689 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
16690 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
16691 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
16692 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
16693 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
16694 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
16695 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
16696 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
16697 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
16698 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
16699 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
16700 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
16701 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
16702 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
16703 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
16704 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
16705 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
16706 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
16707 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16708 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16709 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16710 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16711 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
16712 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
16713 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16714 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16715 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
16716 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
16717 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
16718 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
16719 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
16720 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
16721 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
16722 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
16723 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
16724 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16725 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16726 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
16727 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
16728 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
16729 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
16730 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16731 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16732 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16733 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
16734 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
16735 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
16736 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
16737 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
16738 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
16739 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
16740 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
16741 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
16742 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
16743 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16744 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16745 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16746 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
16747 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
16748 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16749 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
16750 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16751 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
16752 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
16753 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
16754 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
16755 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
16756 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16757 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16758 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16759 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16760 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16761 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16762 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
16763 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
16764 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16765 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16766 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16767 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16768 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16769 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
16770 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
16771 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
16772 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
16773 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
16774 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
16775 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
16776 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
16777 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
16778 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16779 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16780 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
16781 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16782 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16783 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
16784 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
16785 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
16786 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
16787 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
16788 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
16789 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
16790 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
16791 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
16792 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
16793 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
16794 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
16795 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16796 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16797 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16798 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16799 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
16800 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
16801 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
16802 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
16803 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16804 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
16805 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16806 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16807 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
16808 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
16809 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
16810 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
16811 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16812 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
16813 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16814 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
16815 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
16816 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
16817 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
16818 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16819 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16820 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
16821 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
16822 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
16823 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
16824 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
16825 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
16826 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
16827 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
16828 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
16829 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16830 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16831 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
16832 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
16833 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
16834 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16835 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
16836 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
16837 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16838 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16839 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
16840 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
16841 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16842 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16843 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
16844 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
16845 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
16846 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
16847 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
16848 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
16849 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
16850 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
16851 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
16852 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
16853 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
16854 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
16855 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16856 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16857 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16858 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16859 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
16860 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
16861 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16862 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16863 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
16864 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
16865 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
16866 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16867 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16868 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
16869 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
16870 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
16871 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16872 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
16873 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16874 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16875 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
16876 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
16877 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16878 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
16879 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
16880 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
16881 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
16882 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
16883 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
16884 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16885 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
16886 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
16887 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
16888 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16889 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16890 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
16891 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16892 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16893 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16894 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16895 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
16896 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
16897 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16898 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16899 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
16900 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
16901 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16902 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16903 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
16904 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
16905 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16906 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16907 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
16908 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
16909 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16910 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16911 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16912 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
16913 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
16914 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
16915 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16916 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16917 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
16918 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16919 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16920 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16921 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
16922 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
16923 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
16924 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
16925 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
16926 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16927 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
16928 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16929 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16930 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16931 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
16932 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16933 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16934 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16935 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
16936 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16937 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
16938 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16939 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16940 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16941 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
16942 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16943 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16944 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16945 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
16946 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16947 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
16948 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16949 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16950 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
16951 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
16952 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
16953 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
16954 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
16955 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
16956 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
16957 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16958 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
16959 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
16960 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16961 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
16962 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
16963 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
16964 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
16965 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
16966 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
16967 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
16968 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
16969 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
16970 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
16971 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
16972 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16973 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
16974 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16975 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
16976 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16977 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
16978 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16979 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
16980 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16981 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
16982 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
16983 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
16984 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
16985 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
16986 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
16987 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
16988 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
16989 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
16990 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
16991 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
16992 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
16993 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
16994 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
16995 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
16996 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
16997 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
16998 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
16999 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17000 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17001 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17002 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17003 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17004 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17005 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17006 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17007 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17008 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17009 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17010 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17011 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17012 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17013 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17014 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17015 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17016 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17017 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17018 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17019 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17020 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17021 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17022 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17023 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17024 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17025 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17026 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17027 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17028 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17029 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17030 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17031 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17032 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17033 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17034 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17035 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17036 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17037 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17038 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17039 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17040 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17041 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17042 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17043 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17044 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17045 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17046 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17047 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17048 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17049 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17050 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17051 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17052 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17053 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17054 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17055 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17056 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17057 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17058 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17059 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17060 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17061 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17062 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17063 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17064 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17065 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17066 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17067 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17068 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17069 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17070 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
17071 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17072 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17073 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17074 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17075 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17076 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17077 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17078 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17079 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17080 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17081 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17082 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
17083 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17084 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17085 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17086 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17087 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17088 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17089 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17090 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17091 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17092 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17093 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17094 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17095 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17096 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17097 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17098 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17099 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17100 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17101 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17102 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17103 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17104 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17105 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17106 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17107 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17108 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17109 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17110 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17111 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17112 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17113 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17114 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17115 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17116 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17117 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17118 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17119 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17120 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17121 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17122 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17123 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17124 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17125 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17126 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17127 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17128 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17129 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17130 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17131 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17132 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17133 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17134 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17135 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17136 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17137 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17138 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17139 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17140 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17141 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17142 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17143 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17144 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17145 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17146 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17147 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17148 { NULL, NULL, 0, NULL }
17149 };
17150
17151
17152 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17153
17154 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17155 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17156 }
17157 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17158 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17159 }
17160 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17161 return (void *)((wxObject *) ((wxSizerItem *) x));
17162 }
17163 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17165 }
17166 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17167 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17168 }
17169 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17170 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17171 }
17172 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17173 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17174 }
17175 static void *_p_wxSizerTo_p_wxObject(void *x) {
17176 return (void *)((wxObject *) ((wxSizer *) x));
17177 }
17178 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17179 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17180 }
17181 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17182 return (void *)((wxObject *) ((wxFileHistory *) x));
17183 }
17184 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17186 }
17187 static void *_p_wxEventTo_p_wxObject(void *x) {
17188 return (void *)((wxObject *) ((wxEvent *) x));
17189 }
17190 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17191 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17192 }
17193 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17194 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17195 }
17196 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17197 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17198 }
17199 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17200 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17201 }
17202 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17203 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17204 }
17205 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17207 }
17208 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17209 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17210 }
17211 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17212 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17213 }
17214 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17215 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17216 }
17217 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17218 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17219 }
17220 static void *_p_wxControlTo_p_wxObject(void *x) {
17221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17222 }
17223 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17224 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17225 }
17226 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17227 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17228 }
17229 static void *_p_wxFSFileTo_p_wxObject(void *x) {
17230 return (void *)((wxObject *) ((wxFSFile *) x));
17231 }
17232 static void *_p_wxClipboardTo_p_wxObject(void *x) {
17233 return (void *)((wxObject *) ((wxClipboard *) x));
17234 }
17235 static void *_p_wxPySizerTo_p_wxObject(void *x) {
17236 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17237 }
17238 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17240 }
17241 static void *_p_wxPyEventTo_p_wxObject(void *x) {
17242 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17243 }
17244 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17246 }
17247 static void *_p_wxShowEventTo_p_wxObject(void *x) {
17248 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17249 }
17250 static void *_p_wxToolTipTo_p_wxObject(void *x) {
17251 return (void *)((wxObject *) ((wxToolTip *) x));
17252 }
17253 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17254 return (void *)((wxObject *) ((wxMenuItem *) x));
17255 }
17256 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17257 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17258 }
17259 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17260 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17261 }
17262 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17263 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17264 }
17265 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17266 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17267 }
17268 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17269 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17270 }
17271 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17272 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17273 }
17274 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17275 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17276 }
17277 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17278 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17279 }
17280 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17281 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17282 }
17283 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17284 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17285 }
17286 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17287 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17288 }
17289 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17290 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17291 }
17292 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17293 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17294 }
17295 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17296 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17297 }
17298 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17299 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17300 }
17301 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17302 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17303 }
17304 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17305 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17306 }
17307 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17308 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17309 }
17310 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17311 return (void *)((wxObject *) ((wxImageHandler *) x));
17312 }
17313 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17314 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17315 }
17316 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17317 return (void *)((wxObject *) ((wxEvtHandler *) x));
17318 }
17319 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17320 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17321 }
17322 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17323 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17324 }
17325 static void *_p_wxImageTo_p_wxObject(void *x) {
17326 return (void *)((wxObject *) ((wxImage *) x));
17327 }
17328 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17329 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17330 }
17331 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17332 return (void *)((wxObject *) ((wxSystemOptions *) x));
17333 }
17334 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17335 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17336 }
17337 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17339 }
17340 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17341 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17342 }
17343 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17344 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17345 }
17346 static void *_p_wxWindowTo_p_wxObject(void *x) {
17347 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17348 }
17349 static void *_p_wxMenuTo_p_wxObject(void *x) {
17350 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17351 }
17352 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17354 }
17355 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17356 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17357 }
17358 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17359 return (void *)((wxObject *) ((wxFileSystem *) x));
17360 }
17361 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17363 }
17364 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17365 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17366 }
17367 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17368 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17369 }
17370 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17371 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17372 }
17373 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17374 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17375 }
17376 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17377 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17378 }
17379 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17380 return (void *)((wxObject *) ((wxBusyInfo *) x));
17381 }
17382 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17384 }
17385 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17386 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17387 }
17388 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17389 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17390 }
17391 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17392 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17393 }
17394 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17396 }
17397 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17398 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17399 }
17400 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17402 }
17403 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17404 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17405 }
17406 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17407 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17408 }
17409 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17410 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17411 }
17412 static void *_p_wxControlTo_p_wxWindow(void *x) {
17413 return (void *)((wxWindow *) ((wxControl *) x));
17414 }
17415 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17416 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17417 }
17418 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17419 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17420 }
17421 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17422 return (void *)((wxWindow *) ((wxMenuBar *) x));
17423 }
17424 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17425 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17426 }
17427 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17428 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17429 }
17430 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17431 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17432 }
17433 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17434 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17435 }
17436 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
17437 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
17438 }
17439 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17440 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17441 }
17442 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17443 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17444 }
17445 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17446 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17447 }
17448 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17449 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17450 }
17451 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17453 }
17454 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17455 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17456 }
17457 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17459 }
17460 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17461 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17462 }
17463 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
17464 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
17465 }
17466 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
17467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17468 }
17469 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17470 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17471 }
17472 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17473 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17474 }
17475 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17476 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17477 }
17478 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17479 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17480 }
17481 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
17482 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
17483 }
17484 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
17485 return (void *)((wxControl *) ((wxControlWithItems *) x));
17486 }
17487 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
17488 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
17489 }
17490 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17491 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17492 }
17493 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17494 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17495 }
17496 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17497 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17498 }
17499 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17500 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17501 }
17502 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17503 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17504 }
17505 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17506 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17507 }
17508 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
17509 return (void *)((wxEvent *) ((wxTimerEvent *) x));
17510 }
17511 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17512 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17513 }
17514 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17515 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17516 }
17517 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17518 return (void *)((wxEvent *) ((wxPyEvent *) x));
17519 }
17520 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17522 }
17523 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
17524 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
17525 }
17526 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17527 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17528 }
17529 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17530 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17531 }
17532 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17533 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17534 }
17535 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17536 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17537 }
17538 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17539 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17540 }
17541 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17542 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17543 }
17544 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17545 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17546 }
17547 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17548 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17549 }
17550 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17551 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17552 }
17553 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17554 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17555 }
17556 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
17557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
17558 }
17559 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17561 }
17562 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17563 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17564 }
17565 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17566 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17567 }
17568 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17569 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17570 }
17571 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17572 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17573 }
17574 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17575 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17576 }
17577 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
17578 return (void *)((wxEvent *) ((wxFocusEvent *) x));
17579 }
17580 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
17581 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
17582 }
17583 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
17584 return (void *)((wxEvent *) ((wxProcessEvent *) x));
17585 }
17586 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
17587 return (void *)((wxEvent *) ((wxShowEvent *) x));
17588 }
17589 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
17590 return (void *)((wxEvent *) ((wxCommandEvent *) x));
17591 }
17592 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
17593 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
17594 }
17595 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
17596 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17597 }
17598 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
17599 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
17600 }
17601 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
17602 return (void *)((wxEvent *) ((wxKeyEvent *) x));
17603 }
17604 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
17605 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
17606 }
17607 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}};
17608 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_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_wxCURHandler", _p_wxCURHandlerTo_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_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}};
17609 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}};
17610 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}};
17611 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}};
17612 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}};
17613 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}};
17614 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_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}};
17615 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}};
17616 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}};
17617 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}};
17618 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}};
17619 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}};
17620 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}};
17621 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}};
17622 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}};
17623 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}};
17624 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}};
17625 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}};
17626 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}};
17627 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}};
17628 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}};
17629 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}};
17630 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}};
17631 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_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}};
17632 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}};
17633 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}};
17634 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}};
17635
17636 static swig_type_info *swig_types_initial[] = {
17637 _swigt__p_wxRect,
17638 _swigt__p_wxObject,
17639 _swigt__p_unsigned_char,
17640 _swigt__p_wxColour,
17641 _swigt__p_wxScrollBar,
17642 _swigt__p_wxStyledTextEvent,
17643 _swigt__p_wxWindow,
17644 _swigt__p_wxCommandEvent,
17645 _swigt__p_unsigned_long,
17646 _swigt__p_wxBitmap,
17647 _swigt__p_unsigned_int,
17648 _swigt__unsigned_int,
17649 _swigt__p_form_ops_t,
17650 _swigt__p_wxDuplexMode,
17651 _swigt__p_void,
17652 _swigt__p_char,
17653 _swigt__p_wxPoint,
17654 _swigt__p_wxDC,
17655 _swigt__p_wxEvtHandler,
17656 _swigt__std__ptrdiff_t,
17657 _swigt__ptrdiff_t,
17658 _swigt__p_wxStyledTextCtrl,
17659 _swigt__p_wxFont,
17660 _swigt__p_wxControl,
17661 _swigt__p_wxEvent,
17662 _swigt__p_wxPaperSize,
17663 _swigt__p_int,
17664 _swigt__p_wxMemoryBuffer,
17665 0
17666 };
17667
17668
17669 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17670
17671 static swig_const_info swig_const_table[] = {
17672 {0, 0, 0, 0.0, 0, 0}};
17673
17674 #ifdef __cplusplus
17675 }
17676 #endif
17677
17678
17679 #ifdef __cplusplus
17680 extern "C" {
17681 #endif
17682
17683 /* Python-specific SWIG API */
17684 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17685 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17686 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17687
17688 /* -----------------------------------------------------------------------------
17689 * global variable support code.
17690 * ----------------------------------------------------------------------------- */
17691
17692 typedef struct swig_globalvar {
17693 char *name; /* Name of global variable */
17694 PyObject *(*get_attr)(); /* Return the current value */
17695 int (*set_attr)(PyObject *); /* Set the value */
17696 struct swig_globalvar *next;
17697 } swig_globalvar;
17698
17699 typedef struct swig_varlinkobject {
17700 PyObject_HEAD
17701 swig_globalvar *vars;
17702 } swig_varlinkobject;
17703
17704 static PyObject *
17705 swig_varlink_repr(swig_varlinkobject *v) {
17706 v = v;
17707 return PyString_FromString("<Swig global variables>");
17708 }
17709
17710 static int
17711 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17712 swig_globalvar *var;
17713 flags = flags;
17714 fprintf(fp,"Swig global variables { ");
17715 for (var = v->vars; var; var=var->next) {
17716 fprintf(fp,"%s", var->name);
17717 if (var->next) fprintf(fp,", ");
17718 }
17719 fprintf(fp," }\n");
17720 return 0;
17721 }
17722
17723 static PyObject *
17724 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17725 swig_globalvar *var = v->vars;
17726 while (var) {
17727 if (strcmp(var->name,n) == 0) {
17728 return (*var->get_attr)();
17729 }
17730 var = var->next;
17731 }
17732 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17733 return NULL;
17734 }
17735
17736 static int
17737 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17738 swig_globalvar *var = v->vars;
17739 while (var) {
17740 if (strcmp(var->name,n) == 0) {
17741 return (*var->set_attr)(p);
17742 }
17743 var = var->next;
17744 }
17745 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17746 return 1;
17747 }
17748
17749 static PyTypeObject varlinktype = {
17750 PyObject_HEAD_INIT(0)
17751 0, /* Number of items in variable part (ob_size) */
17752 (char *)"swigvarlink", /* Type name (tp_name) */
17753 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17754 0, /* Itemsize (tp_itemsize) */
17755 0, /* Deallocator (tp_dealloc) */
17756 (printfunc) swig_varlink_print, /* Print (tp_print) */
17757 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17758 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17759 0, /* tp_compare */
17760 (reprfunc) swig_varlink_repr, /* tp_repr */
17761 0, /* tp_as_number */
17762 0, /* tp_as_sequence */
17763 0, /* tp_as_mapping */
17764 0, /* tp_hash */
17765 0, /* tp_call */
17766 0, /* tp_str */
17767 0, /* tp_getattro */
17768 0, /* tp_setattro */
17769 0, /* tp_as_buffer */
17770 0, /* tp_flags */
17771 0, /* tp_doc */
17772 #if PY_VERSION_HEX >= 0x02000000
17773 0, /* tp_traverse */
17774 0, /* tp_clear */
17775 #endif
17776 #if PY_VERSION_HEX >= 0x02010000
17777 0, /* tp_richcompare */
17778 0, /* tp_weaklistoffset */
17779 #endif
17780 #if PY_VERSION_HEX >= 0x02020000
17781 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17782 #endif
17783 #if PY_VERSION_HEX >= 0x02030000
17784 0, /* tp_del */
17785 #endif
17786 #ifdef COUNT_ALLOCS
17787 0,0,0,0 /* tp_alloc -> tp_next */
17788 #endif
17789 };
17790
17791 /* Create a variable linking object for use later */
17792 static PyObject *
17793 SWIG_Python_newvarlink(void) {
17794 swig_varlinkobject *result = 0;
17795 result = PyMem_NEW(swig_varlinkobject,1);
17796 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
17797 result->ob_type = &varlinktype;
17798 result->vars = 0;
17799 result->ob_refcnt = 0;
17800 Py_XINCREF((PyObject *) result);
17801 return ((PyObject*) result);
17802 }
17803
17804 static void
17805 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17806 swig_varlinkobject *v;
17807 swig_globalvar *gv;
17808 v= (swig_varlinkobject *) p;
17809 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17810 gv->name = (char *) malloc(strlen(name)+1);
17811 strcpy(gv->name,name);
17812 gv->get_attr = get_attr;
17813 gv->set_attr = set_attr;
17814 gv->next = v->vars;
17815 v->vars = gv;
17816 }
17817
17818 /* -----------------------------------------------------------------------------
17819 * constants/methods manipulation
17820 * ----------------------------------------------------------------------------- */
17821
17822 /* Install Constants */
17823 static void
17824 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17825 PyObject *obj = 0;
17826 size_t i;
17827 for (i = 0; constants[i].type; i++) {
17828 switch(constants[i].type) {
17829 case SWIG_PY_INT:
17830 obj = PyInt_FromLong(constants[i].lvalue);
17831 break;
17832 case SWIG_PY_FLOAT:
17833 obj = PyFloat_FromDouble(constants[i].dvalue);
17834 break;
17835 case SWIG_PY_STRING:
17836 if (constants[i].pvalue) {
17837 obj = PyString_FromString((char *) constants[i].pvalue);
17838 } else {
17839 Py_INCREF(Py_None);
17840 obj = Py_None;
17841 }
17842 break;
17843 case SWIG_PY_POINTER:
17844 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17845 break;
17846 case SWIG_PY_BINARY:
17847 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17848 break;
17849 default:
17850 obj = 0;
17851 break;
17852 }
17853 if (obj) {
17854 PyDict_SetItemString(d,constants[i].name,obj);
17855 Py_DECREF(obj);
17856 }
17857 }
17858 }
17859
17860 /* -----------------------------------------------------------------------------*/
17861 /* Fix SwigMethods to carry the callback ptrs when needed */
17862 /* -----------------------------------------------------------------------------*/
17863
17864 static void
17865 SWIG_Python_FixMethods(PyMethodDef *methods,
17866 swig_const_info *const_table,
17867 swig_type_info **types,
17868 swig_type_info **types_initial) {
17869 size_t i;
17870 for (i = 0; methods[i].ml_name; ++i) {
17871 char *c = methods[i].ml_doc;
17872 if (c && (c = strstr(c, "swig_ptr: "))) {
17873 int j;
17874 swig_const_info *ci = 0;
17875 char *name = c + 10;
17876 for (j = 0; const_table[j].type; j++) {
17877 if (strncmp(const_table[j].name, name,
17878 strlen(const_table[j].name)) == 0) {
17879 ci = &(const_table[j]);
17880 break;
17881 }
17882 }
17883 if (ci) {
17884 size_t shift = (ci->ptype) - types;
17885 swig_type_info *ty = types_initial[shift];
17886 size_t ldoc = (c - methods[i].ml_doc);
17887 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17888 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17889 char *buff = ndoc;
17890 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
17891 strncpy(buff, methods[i].ml_doc, ldoc);
17892 buff += ldoc;
17893 strncpy(buff, "swig_ptr: ", 10);
17894 buff += 10;
17895 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17896 methods[i].ml_doc = ndoc;
17897 }
17898 }
17899 }
17900 }
17901
17902 /* -----------------------------------------------------------------------------*
17903 * Initialize type list
17904 * -----------------------------------------------------------------------------*/
17905
17906 #if PY_MAJOR_VERSION < 2
17907 /* PyModule_AddObject function was introduced in Python 2.0. The following function
17908 is copied out of Python/modsupport.c in python version 2.3.4 */
17909 static int
17910 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
17911 {
17912 PyObject *dict;
17913 if (!PyModule_Check(m)) {
17914 PyErr_SetString(PyExc_TypeError,
17915 "PyModule_AddObject() needs module as first arg");
17916 return -1;
17917 }
17918 if (!o) {
17919 PyErr_SetString(PyExc_TypeError,
17920 "PyModule_AddObject() needs non-NULL value");
17921 return -1;
17922 }
17923
17924 dict = PyModule_GetDict(m);
17925 if (dict == NULL) {
17926 /* Internal error -- modules must have a dict! */
17927 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
17928 PyModule_GetName(m));
17929 return -1;
17930 }
17931 if (PyDict_SetItemString(dict, name, o))
17932 return -1;
17933 Py_DECREF(o);
17934 return 0;
17935 }
17936 #endif
17937
17938 static swig_type_info **
17939 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
17940 static PyMethodDef swig_empty_runtime_method_table[] = {
17941 {
17942 NULL, NULL, 0, NULL
17943 }
17944 };/* Sentinel */
17945
17946 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
17947 swig_empty_runtime_method_table);
17948 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
17949 if (pointer && module) {
17950 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
17951 }
17952 return type_list_handle;
17953 }
17954
17955 static swig_type_info **
17956 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
17957 swig_type_info **type_pointer;
17958
17959 /* first check if module already created */
17960 type_pointer = SWIG_Python_GetTypeListHandle();
17961 if (type_pointer) {
17962 return type_pointer;
17963 } else {
17964 /* create a new module and variable */
17965 return SWIG_Python_SetTypeListHandle(type_list_handle);
17966 }
17967 }
17968
17969 #ifdef __cplusplus
17970 }
17971 #endif
17972
17973 /* -----------------------------------------------------------------------------*
17974 * Partial Init method
17975 * -----------------------------------------------------------------------------*/
17976
17977 #ifdef SWIG_LINK_RUNTIME
17978 #ifdef __cplusplus
17979 extern "C"
17980 #endif
17981 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
17982 #endif
17983
17984 #ifdef __cplusplus
17985 extern "C"
17986 #endif
17987 SWIGEXPORT(void) SWIG_init(void) {
17988 static PyObject *SWIG_globals = 0;
17989 static int typeinit = 0;
17990 PyObject *m, *d;
17991 int i;
17992 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17993
17994 /* Fix SwigMethods to carry the callback ptrs when needed */
17995 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
17996
17997 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17998 d = PyModule_GetDict(m);
17999
18000 if (!typeinit) {
18001 #ifdef SWIG_LINK_RUNTIME
18002 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
18003 #else
18004 # ifndef SWIG_STATIC_RUNTIME
18005 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
18006 # endif
18007 #endif
18008 for (i = 0; swig_types_initial[i]; i++) {
18009 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
18010 }
18011 typeinit = 1;
18012 }
18013 SWIG_InstallConstants(d,swig_const_table);
18014
18015 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
18016 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
18017 {
18018 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1)));
18019 }
18020 {
18021 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1)));
18022 }
18023 {
18024 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1)));
18025 }
18026 {
18027 PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000)));
18028 }
18029 {
18030 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000)));
18031 }
18032 {
18033 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000)));
18034 }
18035 {
18036 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0)));
18037 }
18038 {
18039 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1)));
18040 }
18041 {
18042 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2)));
18043 }
18044 {
18045 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0)));
18046 }
18047 {
18048 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1)));
18049 }
18050 {
18051 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2)));
18052 }
18053 {
18054 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001)));
18055 }
18056 {
18057 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1)));
18058 }
18059 {
18060 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31)));
18061 }
18062 {
18063 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0)));
18064 }
18065 {
18066 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1)));
18067 }
18068 {
18069 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2)));
18070 }
18071 {
18072 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3)));
18073 }
18074 {
18075 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4)));
18076 }
18077 {
18078 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5)));
18079 }
18080 {
18081 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6)));
18082 }
18083 {
18084 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7)));
18085 }
18086 {
18087 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8)));
18088 }
18089 {
18090 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9)));
18091 }
18092 {
18093 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10)));
18094 }
18095 {
18096 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11)));
18097 }
18098 {
18099 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12)));
18100 }
18101 {
18102 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13)));
18103 }
18104 {
18105 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14)));
18106 }
18107 {
18108 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15)));
18109 }
18110 {
18111 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16)));
18112 }
18113 {
18114 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17)));
18115 }
18116 {
18117 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18)));
18118 }
18119 {
18120 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19)));
18121 }
18122 {
18123 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20)));
18124 }
18125 {
18126 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21)));
18127 }
18128 {
18129 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22)));
18130 }
18131 {
18132 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23)));
18133 }
18134 {
18135 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24)));
18136 }
18137 {
18138 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25)));
18139 }
18140 {
18141 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000)));
18142 }
18143 {
18144 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25)));
18145 }
18146 {
18147 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26)));
18148 }
18149 {
18150 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27)));
18151 }
18152 {
18153 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28)));
18154 }
18155 {
18156 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29)));
18157 }
18158 {
18159 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30)));
18160 }
18161 {
18162 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31)));
18163 }
18164 {
18165 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000)));
18166 }
18167 {
18168 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0)));
18169 }
18170 {
18171 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1)));
18172 }
18173 {
18174 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32)));
18175 }
18176 {
18177 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33)));
18178 }
18179 {
18180 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34)));
18181 }
18182 {
18183 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35)));
18184 }
18185 {
18186 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36)));
18187 }
18188 {
18189 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37)));
18190 }
18191 {
18192 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39)));
18193 }
18194 {
18195 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127)));
18196 }
18197 {
18198 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0)));
18199 }
18200 {
18201 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1)));
18202 }
18203 {
18204 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186)));
18205 }
18206 {
18207 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136)));
18208 }
18209 {
18210 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238)));
18211 }
18212 {
18213 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134)));
18214 }
18215 {
18216 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161)));
18217 }
18218 {
18219 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129)));
18220 }
18221 {
18222 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77)));
18223 }
18224 {
18225 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255)));
18226 }
18227 {
18228 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204)));
18229 }
18230 {
18231 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128)));
18232 }
18233 {
18234 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2)));
18235 }
18236 {
18237 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162)));
18238 }
18239 {
18240 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130)));
18241 }
18242 {
18243 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177)));
18244 }
18245 {
18246 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178)));
18247 }
18248 {
18249 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163)));
18250 }
18251 {
18252 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222)));
18253 }
18254 {
18255 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0)));
18256 }
18257 {
18258 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1)));
18259 }
18260 {
18261 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2)));
18262 }
18263 {
18264 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7)));
18265 }
18266 {
18267 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0)));
18268 }
18269 {
18270 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1)));
18271 }
18272 {
18273 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2)));
18274 }
18275 {
18276 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3)));
18277 }
18278 {
18279 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4)));
18280 }
18281 {
18282 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5)));
18283 }
18284 {
18285 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6)));
18286 }
18287 {
18288 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20)));
18289 }
18290 {
18291 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40)));
18292 }
18293 {
18294 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80)));
18295 }
18296 {
18297 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0)));
18298 }
18299 {
18300 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0)));
18301 }
18302 {
18303 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1)));
18304 }
18305 {
18306 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2)));
18307 }
18308 {
18309 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3)));
18310 }
18311 {
18312 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4)));
18313 }
18314 {
18315 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2)));
18316 }
18317 {
18318 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4)));
18319 }
18320 {
18321 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000)));
18322 }
18323 {
18324 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000)));
18325 }
18326 {
18327 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000)));
18328 }
18329 {
18330 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400)));
18331 }
18332 {
18333 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000)));
18334 }
18335 {
18336 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000)));
18337 }
18338 {
18339 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000)));
18340 }
18341 {
18342 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000)));
18343 }
18344 {
18345 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000)));
18346 }
18347 {
18348 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000)));
18349 }
18350 {
18351 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF)));
18352 }
18353 {
18354 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002)));
18355 }
18356 {
18357 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004)));
18358 }
18359 {
18360 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008)));
18361 }
18362 {
18363 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010)));
18364 }
18365 {
18366 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040)));
18367 }
18368 {
18369 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001)));
18370 }
18371 {
18372 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000)));
18373 }
18374 {
18375 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0)));
18376 }
18377 {
18378 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1)));
18379 }
18380 {
18381 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000)));
18382 }
18383 {
18384 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001)));
18385 }
18386 {
18387 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002)));
18388 }
18389 {
18390 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000)));
18391 }
18392 {
18393 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001)));
18394 }
18395 {
18396 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002)));
18397 }
18398 {
18399 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0)));
18400 }
18401 {
18402 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1)));
18403 }
18404 {
18405 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2)));
18406 }
18407 {
18408 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3)));
18409 }
18410 {
18411 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0)));
18412 }
18413 {
18414 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1)));
18415 }
18416 {
18417 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2)));
18418 }
18419 {
18420 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1)));
18421 }
18422 {
18423 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4)));
18424 }
18425 {
18426 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01)));
18427 }
18428 {
18429 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04)));
18430 }
18431 {
18432 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01)));
18433 }
18434 {
18435 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04)));
18436 }
18437 {
18438 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10)));
18439 }
18440 {
18441 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08)));
18442 }
18443 {
18444 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0)));
18445 }
18446 {
18447 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1)));
18448 }
18449 {
18450 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2)));
18451 }
18452 {
18453 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8)));
18454 }
18455 {
18456 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1)));
18457 }
18458 {
18459 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2)));
18460 }
18461 {
18462 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4)));
18463 }
18464 {
18465 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8)));
18466 }
18467 {
18468 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10)));
18469 }
18470 {
18471 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20)));
18472 }
18473 {
18474 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40)));
18475 }
18476 {
18477 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100)));
18478 }
18479 {
18480 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200)));
18481 }
18482 {
18483 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400)));
18484 }
18485 {
18486 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800)));
18487 }
18488 {
18489 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77)));
18490 }
18491 {
18492 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300)));
18493 }
18494 {
18495 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301)));
18496 }
18497 {
18498 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302)));
18499 }
18500 {
18501 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303)));
18502 }
18503 {
18504 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304)));
18505 }
18506 {
18507 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305)));
18508 }
18509 {
18510 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306)));
18511 }
18512 {
18513 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307)));
18514 }
18515 {
18516 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308)));
18517 }
18518 {
18519 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309)));
18520 }
18521 {
18522 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7)));
18523 }
18524 {
18525 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8)));
18526 }
18527 {
18528 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9)));
18529 }
18530 {
18531 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13)));
18532 }
18533 {
18534 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310)));
18535 }
18536 {
18537 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311)));
18538 }
18539 {
18540 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312)));
18541 }
18542 {
18543 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1)));
18544 }
18545 {
18546 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2)));
18547 }
18548 {
18549 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4)));
18550 }
18551 {
18552 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0)));
18553 }
18554 {
18555 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1)));
18556 }
18557 {
18558 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2)));
18559 }
18560 {
18561 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3)));
18562 }
18563 {
18564 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4)));
18565 }
18566 {
18567 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5)));
18568 }
18569 {
18570 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6)));
18571 }
18572 {
18573 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7)));
18574 }
18575 {
18576 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8)));
18577 }
18578 {
18579 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9)));
18580 }
18581 {
18582 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10)));
18583 }
18584 {
18585 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11)));
18586 }
18587 {
18588 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12)));
18589 }
18590 {
18591 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13)));
18592 }
18593 {
18594 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14)));
18595 }
18596 {
18597 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15)));
18598 }
18599 {
18600 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16)));
18601 }
18602 {
18603 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17)));
18604 }
18605 {
18606 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18)));
18607 }
18608 {
18609 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19)));
18610 }
18611 {
18612 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20)));
18613 }
18614 {
18615 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21)));
18616 }
18617 {
18618 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22)));
18619 }
18620 {
18621 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23)));
18622 }
18623 {
18624 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24)));
18625 }
18626 {
18627 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25)));
18628 }
18629 {
18630 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26)));
18631 }
18632 {
18633 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27)));
18634 }
18635 {
18636 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28)));
18637 }
18638 {
18639 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29)));
18640 }
18641 {
18642 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30)));
18643 }
18644 {
18645 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31)));
18646 }
18647 {
18648 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32)));
18649 }
18650 {
18651 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33)));
18652 }
18653 {
18654 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34)));
18655 }
18656 {
18657 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35)));
18658 }
18659 {
18660 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36)));
18661 }
18662 {
18663 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37)));
18664 }
18665 {
18666 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38)));
18667 }
18668 {
18669 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39)));
18670 }
18671 {
18672 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40)));
18673 }
18674 {
18675 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41)));
18676 }
18677 {
18678 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42)));
18679 }
18680 {
18681 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43)));
18682 }
18683 {
18684 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44)));
18685 }
18686 {
18687 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45)));
18688 }
18689 {
18690 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46)));
18691 }
18692 {
18693 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47)));
18694 }
18695 {
18696 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48)));
18697 }
18698 {
18699 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49)));
18700 }
18701 {
18702 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50)));
18703 }
18704 {
18705 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51)));
18706 }
18707 {
18708 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52)));
18709 }
18710 {
18711 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53)));
18712 }
18713 {
18714 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54)));
18715 }
18716 {
18717 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55)));
18718 }
18719 {
18720 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56)));
18721 }
18722 {
18723 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57)));
18724 }
18725 {
18726 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58)));
18727 }
18728 {
18729 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59)));
18730 }
18731 {
18732 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60)));
18733 }
18734 {
18735 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61)));
18736 }
18737 {
18738 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62)));
18739 }
18740 {
18741 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000)));
18742 }
18743 {
18744 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0)));
18745 }
18746 {
18747 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1)));
18748 }
18749 {
18750 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2)));
18751 }
18752 {
18753 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3)));
18754 }
18755 {
18756 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4)));
18757 }
18758 {
18759 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5)));
18760 }
18761 {
18762 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6)));
18763 }
18764 {
18765 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7)));
18766 }
18767 {
18768 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8)));
18769 }
18770 {
18771 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9)));
18772 }
18773 {
18774 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10)));
18775 }
18776 {
18777 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11)));
18778 }
18779 {
18780 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12)));
18781 }
18782 {
18783 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13)));
18784 }
18785 {
18786 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0)));
18787 }
18788 {
18789 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1)));
18790 }
18791 {
18792 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2)));
18793 }
18794 {
18795 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3)));
18796 }
18797 {
18798 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4)));
18799 }
18800 {
18801 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5)));
18802 }
18803 {
18804 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6)));
18805 }
18806 {
18807 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7)));
18808 }
18809 {
18810 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8)));
18811 }
18812 {
18813 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9)));
18814 }
18815 {
18816 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10)));
18817 }
18818 {
18819 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11)));
18820 }
18821 {
18822 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12)));
18823 }
18824 {
18825 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13)));
18826 }
18827 {
18828 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14)));
18829 }
18830 {
18831 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15)));
18832 }
18833 {
18834 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16)));
18835 }
18836 {
18837 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17)));
18838 }
18839 {
18840 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18)));
18841 }
18842 {
18843 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19)));
18844 }
18845 {
18846 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0)));
18847 }
18848 {
18849 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1)));
18850 }
18851 {
18852 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2)));
18853 }
18854 {
18855 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3)));
18856 }
18857 {
18858 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4)));
18859 }
18860 {
18861 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5)));
18862 }
18863 {
18864 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6)));
18865 }
18866 {
18867 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7)));
18868 }
18869 {
18870 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8)));
18871 }
18872 {
18873 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9)));
18874 }
18875 {
18876 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10)));
18877 }
18878 {
18879 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11)));
18880 }
18881 {
18882 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12)));
18883 }
18884 {
18885 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13)));
18886 }
18887 {
18888 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14)));
18889 }
18890 {
18891 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15)));
18892 }
18893 {
18894 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16)));
18895 }
18896 {
18897 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17)));
18898 }
18899 {
18900 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18)));
18901 }
18902 {
18903 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19)));
18904 }
18905 {
18906 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20)));
18907 }
18908 {
18909 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21)));
18910 }
18911 {
18912 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22)));
18913 }
18914 {
18915 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23)));
18916 }
18917 {
18918 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24)));
18919 }
18920 {
18921 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25)));
18922 }
18923 {
18924 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26)));
18925 }
18926 {
18927 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27)));
18928 }
18929 {
18930 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28)));
18931 }
18932 {
18933 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29)));
18934 }
18935 {
18936 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30)));
18937 }
18938 {
18939 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31)));
18940 }
18941 {
18942 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40)));
18943 }
18944 {
18945 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41)));
18946 }
18947 {
18948 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42)));
18949 }
18950 {
18951 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43)));
18952 }
18953 {
18954 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44)));
18955 }
18956 {
18957 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45)));
18958 }
18959 {
18960 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46)));
18961 }
18962 {
18963 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47)));
18964 }
18965 {
18966 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48)));
18967 }
18968 {
18969 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49)));
18970 }
18971 {
18972 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50)));
18973 }
18974 {
18975 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51)));
18976 }
18977 {
18978 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52)));
18979 }
18980 {
18981 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55)));
18982 }
18983 {
18984 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56)));
18985 }
18986 {
18987 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57)));
18988 }
18989 {
18990 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58)));
18991 }
18992 {
18993 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59)));
18994 }
18995 {
18996 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60)));
18997 }
18998 {
18999 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61)));
19000 }
19001 {
19002 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62)));
19003 }
19004 {
19005 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63)));
19006 }
19007 {
19008 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64)));
19009 }
19010 {
19011 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65)));
19012 }
19013 {
19014 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66)));
19015 }
19016 {
19017 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67)));
19018 }
19019 {
19020 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70)));
19021 }
19022 {
19023 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71)));
19024 }
19025 {
19026 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72)));
19027 }
19028 {
19029 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73)));
19030 }
19031 {
19032 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74)));
19033 }
19034 {
19035 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75)));
19036 }
19037 {
19038 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76)));
19039 }
19040 {
19041 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77)));
19042 }
19043 {
19044 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80)));
19045 }
19046 {
19047 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81)));
19048 }
19049 {
19050 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82)));
19051 }
19052 {
19053 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83)));
19054 }
19055 {
19056 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84)));
19057 }
19058 {
19059 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85)));
19060 }
19061 {
19062 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86)));
19063 }
19064 {
19065 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87)));
19066 }
19067 {
19068 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90)));
19069 }
19070 {
19071 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91)));
19072 }
19073 {
19074 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92)));
19075 }
19076 {
19077 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93)));
19078 }
19079 {
19080 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94)));
19081 }
19082 {
19083 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95)));
19084 }
19085 {
19086 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96)));
19087 }
19088 {
19089 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97)));
19090 }
19091 {
19092 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98)));
19093 }
19094 {
19095 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99)));
19096 }
19097 {
19098 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100)));
19099 }
19100 {
19101 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101)));
19102 }
19103 {
19104 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102)));
19105 }
19106 {
19107 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104)));
19108 }
19109 {
19110 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105)));
19111 }
19112 {
19113 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106)));
19114 }
19115 {
19116 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107)));
19117 }
19118 {
19119 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108)));
19120 }
19121 {
19122 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109)));
19123 }
19124 {
19125 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110)));
19126 }
19127 {
19128 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111)));
19129 }
19130 {
19131 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112)));
19132 }
19133 {
19134 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113)));
19135 }
19136 {
19137 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114)));
19138 }
19139 {
19140 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115)));
19141 }
19142 {
19143 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116)));
19144 }
19145 {
19146 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117)));
19147 }
19148 {
19149 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118)));
19150 }
19151 {
19152 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119)));
19153 }
19154 {
19155 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120)));
19156 }
19157 {
19158 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121)));
19159 }
19160 {
19161 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122)));
19162 }
19163 {
19164 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123)));
19165 }
19166 {
19167 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124)));
19168 }
19169 {
19170 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125)));
19171 }
19172 {
19173 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126)));
19174 }
19175 {
19176 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127)));
19177 }
19178 {
19179 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0)));
19180 }
19181 {
19182 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1)));
19183 }
19184 {
19185 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2)));
19186 }
19187 {
19188 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3)));
19189 }
19190 {
19191 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4)));
19192 }
19193 {
19194 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5)));
19195 }
19196 {
19197 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6)));
19198 }
19199 {
19200 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7)));
19201 }
19202 {
19203 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8)));
19204 }
19205 {
19206 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9)));
19207 }
19208 {
19209 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10)));
19210 }
19211 {
19212 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11)));
19213 }
19214 {
19215 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12)));
19216 }
19217 {
19218 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13)));
19219 }
19220 {
19221 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14)));
19222 }
19223 {
19224 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15)));
19225 }
19226 {
19227 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17)));
19228 }
19229 {
19230 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18)));
19231 }
19232 {
19233 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19)));
19234 }
19235 {
19236 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20)));
19237 }
19238 {
19239 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21)));
19240 }
19241 {
19242 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22)));
19243 }
19244 {
19245 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23)));
19246 }
19247 {
19248 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24)));
19249 }
19250 {
19251 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25)));
19252 }
19253 {
19254 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26)));
19255 }
19256 {
19257 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27)));
19258 }
19259 {
19260 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28)));
19261 }
19262 {
19263 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29)));
19264 }
19265 {
19266 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30)));
19267 }
19268 {
19269 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0)));
19270 }
19271 {
19272 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1)));
19273 }
19274 {
19275 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2)));
19276 }
19277 {
19278 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3)));
19279 }
19280 {
19281 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4)));
19282 }
19283 {
19284 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5)));
19285 }
19286 {
19287 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6)));
19288 }
19289 {
19290 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7)));
19291 }
19292 {
19293 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8)));
19294 }
19295 {
19296 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9)));
19297 }
19298 {
19299 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10)));
19300 }
19301 {
19302 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11)));
19303 }
19304 {
19305 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12)));
19306 }
19307 {
19308 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13)));
19309 }
19310 {
19311 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14)));
19312 }
19313 {
19314 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0)));
19315 }
19316 {
19317 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1)));
19318 }
19319 {
19320 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2)));
19321 }
19322 {
19323 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3)));
19324 }
19325 {
19326 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4)));
19327 }
19328 {
19329 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0)));
19330 }
19331 {
19332 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1)));
19333 }
19334 {
19335 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2)));
19336 }
19337 {
19338 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3)));
19339 }
19340 {
19341 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4)));
19342 }
19343 {
19344 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0)));
19345 }
19346 {
19347 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1)));
19348 }
19349 {
19350 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2)));
19351 }
19352 {
19353 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3)));
19354 }
19355 {
19356 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4)));
19357 }
19358 {
19359 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5)));
19360 }
19361 {
19362 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6)));
19363 }
19364 {
19365 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7)));
19366 }
19367 {
19368 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8)));
19369 }
19370 {
19371 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9)));
19372 }
19373 {
19374 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10)));
19375 }
19376 {
19377 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11)));
19378 }
19379 {
19380 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12)));
19381 }
19382 {
19383 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13)));
19384 }
19385 {
19386 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14)));
19387 }
19388 {
19389 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15)));
19390 }
19391 {
19392 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16)));
19393 }
19394 {
19395 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17)));
19396 }
19397 {
19398 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18)));
19399 }
19400 {
19401 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19)));
19402 }
19403 {
19404 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0)));
19405 }
19406 {
19407 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1)));
19408 }
19409 {
19410 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2)));
19411 }
19412 {
19413 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3)));
19414 }
19415 {
19416 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4)));
19417 }
19418 {
19419 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5)));
19420 }
19421 {
19422 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6)));
19423 }
19424 {
19425 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7)));
19426 }
19427 {
19428 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8)));
19429 }
19430 {
19431 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9)));
19432 }
19433 {
19434 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10)));
19435 }
19436 {
19437 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11)));
19438 }
19439 {
19440 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12)));
19441 }
19442 {
19443 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13)));
19444 }
19445 {
19446 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14)));
19447 }
19448 {
19449 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15)));
19450 }
19451 {
19452 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16)));
19453 }
19454 {
19455 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17)));
19456 }
19457 {
19458 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18)));
19459 }
19460 {
19461 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19)));
19462 }
19463 {
19464 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0)));
19465 }
19466 {
19467 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1)));
19468 }
19469 {
19470 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2)));
19471 }
19472 {
19473 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3)));
19474 }
19475 {
19476 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4)));
19477 }
19478 {
19479 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5)));
19480 }
19481 {
19482 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6)));
19483 }
19484 {
19485 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7)));
19486 }
19487 {
19488 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0)));
19489 }
19490 {
19491 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1)));
19492 }
19493 {
19494 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2)));
19495 }
19496 {
19497 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3)));
19498 }
19499 {
19500 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4)));
19501 }
19502 {
19503 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5)));
19504 }
19505 {
19506 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9)));
19507 }
19508 {
19509 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0)));
19510 }
19511 {
19512 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1)));
19513 }
19514 {
19515 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2)));
19516 }
19517 {
19518 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3)));
19519 }
19520 {
19521 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4)));
19522 }
19523 {
19524 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5)));
19525 }
19526 {
19527 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6)));
19528 }
19529 {
19530 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0)));
19531 }
19532 {
19533 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1)));
19534 }
19535 {
19536 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2)));
19537 }
19538 {
19539 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3)));
19540 }
19541 {
19542 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4)));
19543 }
19544 {
19545 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5)));
19546 }
19547 {
19548 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6)));
19549 }
19550 {
19551 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7)));
19552 }
19553 {
19554 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8)));
19555 }
19556 {
19557 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9)));
19558 }
19559 {
19560 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0)));
19561 }
19562 {
19563 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1)));
19564 }
19565 {
19566 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2)));
19567 }
19568 {
19569 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3)));
19570 }
19571 {
19572 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6)));
19573 }
19574 {
19575 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7)));
19576 }
19577 {
19578 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8)));
19579 }
19580 {
19581 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9)));
19582 }
19583 {
19584 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10)));
19585 }
19586 {
19587 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11)));
19588 }
19589 {
19590 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12)));
19591 }
19592 {
19593 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13)));
19594 }
19595 {
19596 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14)));
19597 }
19598 {
19599 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15)));
19600 }
19601 {
19602 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16)));
19603 }
19604 {
19605 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0)));
19606 }
19607 {
19608 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1)));
19609 }
19610 {
19611 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2)));
19612 }
19613 {
19614 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3)));
19615 }
19616 {
19617 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4)));
19618 }
19619 {
19620 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5)));
19621 }
19622 {
19623 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6)));
19624 }
19625 {
19626 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7)));
19627 }
19628 {
19629 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8)));
19630 }
19631 {
19632 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9)));
19633 }
19634 {
19635 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10)));
19636 }
19637 {
19638 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11)));
19639 }
19640 {
19641 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0)));
19642 }
19643 {
19644 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1)));
19645 }
19646 {
19647 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2)));
19648 }
19649 {
19650 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3)));
19651 }
19652 {
19653 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4)));
19654 }
19655 {
19656 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5)));
19657 }
19658 {
19659 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6)));
19660 }
19661 {
19662 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7)));
19663 }
19664 {
19665 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8)));
19666 }
19667 {
19668 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9)));
19669 }
19670 {
19671 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10)));
19672 }
19673 {
19674 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0)));
19675 }
19676 {
19677 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1)));
19678 }
19679 {
19680 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2)));
19681 }
19682 {
19683 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3)));
19684 }
19685 {
19686 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6)));
19687 }
19688 {
19689 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8)));
19690 }
19691 {
19692 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9)));
19693 }
19694 {
19695 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10)));
19696 }
19697 {
19698 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0)));
19699 }
19700 {
19701 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1)));
19702 }
19703 {
19704 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2)));
19705 }
19706 {
19707 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3)));
19708 }
19709 {
19710 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4)));
19711 }
19712 {
19713 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5)));
19714 }
19715 {
19716 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6)));
19717 }
19718 {
19719 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7)));
19720 }
19721 {
19722 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8)));
19723 }
19724 {
19725 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0)));
19726 }
19727 {
19728 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1)));
19729 }
19730 {
19731 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2)));
19732 }
19733 {
19734 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3)));
19735 }
19736 {
19737 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4)));
19738 }
19739 {
19740 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5)));
19741 }
19742 {
19743 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6)));
19744 }
19745 {
19746 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7)));
19747 }
19748 {
19749 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8)));
19750 }
19751 {
19752 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9)));
19753 }
19754 {
19755 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10)));
19756 }
19757 {
19758 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0)));
19759 }
19760 {
19761 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1)));
19762 }
19763 {
19764 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2)));
19765 }
19766 {
19767 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3)));
19768 }
19769 {
19770 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4)));
19771 }
19772 {
19773 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5)));
19774 }
19775 {
19776 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6)));
19777 }
19778 {
19779 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7)));
19780 }
19781 {
19782 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8)));
19783 }
19784 {
19785 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9)));
19786 }
19787 {
19788 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10)));
19789 }
19790 {
19791 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11)));
19792 }
19793 {
19794 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0)));
19795 }
19796 {
19797 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1)));
19798 }
19799 {
19800 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2)));
19801 }
19802 {
19803 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3)));
19804 }
19805 {
19806 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4)));
19807 }
19808 {
19809 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5)));
19810 }
19811 {
19812 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6)));
19813 }
19814 {
19815 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7)));
19816 }
19817 {
19818 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8)));
19819 }
19820 {
19821 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0)));
19822 }
19823 {
19824 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1)));
19825 }
19826 {
19827 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2)));
19828 }
19829 {
19830 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3)));
19831 }
19832 {
19833 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4)));
19834 }
19835 {
19836 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5)));
19837 }
19838 {
19839 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6)));
19840 }
19841 {
19842 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7)));
19843 }
19844 {
19845 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8)));
19846 }
19847 {
19848 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9)));
19849 }
19850 {
19851 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10)));
19852 }
19853 {
19854 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11)));
19855 }
19856 {
19857 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12)));
19858 }
19859 {
19860 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13)));
19861 }
19862 {
19863 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14)));
19864 }
19865 {
19866 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15)));
19867 }
19868 {
19869 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0)));
19870 }
19871 {
19872 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1)));
19873 }
19874 {
19875 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2)));
19876 }
19877 {
19878 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3)));
19879 }
19880 {
19881 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4)));
19882 }
19883 {
19884 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5)));
19885 }
19886 {
19887 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6)));
19888 }
19889 {
19890 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7)));
19891 }
19892 {
19893 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8)));
19894 }
19895 {
19896 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9)));
19897 }
19898 {
19899 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10)));
19900 }
19901 {
19902 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11)));
19903 }
19904 {
19905 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12)));
19906 }
19907 {
19908 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13)));
19909 }
19910 {
19911 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14)));
19912 }
19913 {
19914 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0)));
19915 }
19916 {
19917 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1)));
19918 }
19919 {
19920 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2)));
19921 }
19922 {
19923 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3)));
19924 }
19925 {
19926 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4)));
19927 }
19928 {
19929 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5)));
19930 }
19931 {
19932 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6)));
19933 }
19934 {
19935 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7)));
19936 }
19937 {
19938 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8)));
19939 }
19940 {
19941 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9)));
19942 }
19943 {
19944 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10)));
19945 }
19946 {
19947 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11)));
19948 }
19949 {
19950 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12)));
19951 }
19952 {
19953 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13)));
19954 }
19955 {
19956 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14)));
19957 }
19958 {
19959 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0)));
19960 }
19961 {
19962 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1)));
19963 }
19964 {
19965 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2)));
19966 }
19967 {
19968 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3)));
19969 }
19970 {
19971 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4)));
19972 }
19973 {
19974 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5)));
19975 }
19976 {
19977 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6)));
19978 }
19979 {
19980 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7)));
19981 }
19982 {
19983 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8)));
19984 }
19985 {
19986 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9)));
19987 }
19988 {
19989 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10)));
19990 }
19991 {
19992 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11)));
19993 }
19994 {
19995 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12)));
19996 }
19997 {
19998 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13)));
19999 }
20000 {
20001 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14)));
20002 }
20003 {
20004 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0)));
20005 }
20006 {
20007 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1)));
20008 }
20009 {
20010 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2)));
20011 }
20012 {
20013 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3)));
20014 }
20015 {
20016 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4)));
20017 }
20018 {
20019 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5)));
20020 }
20021 {
20022 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6)));
20023 }
20024 {
20025 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7)));
20026 }
20027 {
20028 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8)));
20029 }
20030 {
20031 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9)));
20032 }
20033 {
20034 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10)));
20035 }
20036 {
20037 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11)));
20038 }
20039 {
20040 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12)));
20041 }
20042 {
20043 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13)));
20044 }
20045 {
20046 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14)));
20047 }
20048 {
20049 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15)));
20050 }
20051 {
20052 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16)));
20053 }
20054 {
20055 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0)));
20056 }
20057 {
20058 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1)));
20059 }
20060 {
20061 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2)));
20062 }
20063 {
20064 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3)));
20065 }
20066 {
20067 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4)));
20068 }
20069 {
20070 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5)));
20071 }
20072 {
20073 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6)));
20074 }
20075 {
20076 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7)));
20077 }
20078 {
20079 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8)));
20080 }
20081 {
20082 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9)));
20083 }
20084 {
20085 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10)));
20086 }
20087 {
20088 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0)));
20089 }
20090 {
20091 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1)));
20092 }
20093 {
20094 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2)));
20095 }
20096 {
20097 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3)));
20098 }
20099 {
20100 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4)));
20101 }
20102 {
20103 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5)));
20104 }
20105 {
20106 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6)));
20107 }
20108 {
20109 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7)));
20110 }
20111 {
20112 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8)));
20113 }
20114 {
20115 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9)));
20116 }
20117 {
20118 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10)));
20119 }
20120 {
20121 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11)));
20122 }
20123 {
20124 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0)));
20125 }
20126 {
20127 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1)));
20128 }
20129 {
20130 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2)));
20131 }
20132 {
20133 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3)));
20134 }
20135 {
20136 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4)));
20137 }
20138 {
20139 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5)));
20140 }
20141 {
20142 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6)));
20143 }
20144 {
20145 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7)));
20146 }
20147 {
20148 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8)));
20149 }
20150 {
20151 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9)));
20152 }
20153 {
20154 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10)));
20155 }
20156 {
20157 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11)));
20158 }
20159 {
20160 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12)));
20161 }
20162 {
20163 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13)));
20164 }
20165 {
20166 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14)));
20167 }
20168 {
20169 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15)));
20170 }
20171 {
20172 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0)));
20173 }
20174 {
20175 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1)));
20176 }
20177 {
20178 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2)));
20179 }
20180 {
20181 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3)));
20182 }
20183 {
20184 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4)));
20185 }
20186 {
20187 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5)));
20188 }
20189 {
20190 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6)));
20191 }
20192 {
20193 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7)));
20194 }
20195 {
20196 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8)));
20197 }
20198 {
20199 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9)));
20200 }
20201 {
20202 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10)));
20203 }
20204 {
20205 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11)));
20206 }
20207 {
20208 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12)));
20209 }
20210 {
20211 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13)));
20212 }
20213 {
20214 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14)));
20215 }
20216 {
20217 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0)));
20218 }
20219 {
20220 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1)));
20221 }
20222 {
20223 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2)));
20224 }
20225 {
20226 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3)));
20227 }
20228 {
20229 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4)));
20230 }
20231 {
20232 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5)));
20233 }
20234 {
20235 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6)));
20236 }
20237 {
20238 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7)));
20239 }
20240 {
20241 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8)));
20242 }
20243 {
20244 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9)));
20245 }
20246 {
20247 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10)));
20248 }
20249 {
20250 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11)));
20251 }
20252 {
20253 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12)));
20254 }
20255 {
20256 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13)));
20257 }
20258 {
20259 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14)));
20260 }
20261 {
20262 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15)));
20263 }
20264 {
20265 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16)));
20266 }
20267 {
20268 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17)));
20269 }
20270 {
20271 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0)));
20272 }
20273 {
20274 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1)));
20275 }
20276 {
20277 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2)));
20278 }
20279 {
20280 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3)));
20281 }
20282 {
20283 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4)));
20284 }
20285 {
20286 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5)));
20287 }
20288 {
20289 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6)));
20290 }
20291 {
20292 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7)));
20293 }
20294 {
20295 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8)));
20296 }
20297 {
20298 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9)));
20299 }
20300 {
20301 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10)));
20302 }
20303 {
20304 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11)));
20305 }
20306 {
20307 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12)));
20308 }
20309 {
20310 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13)));
20311 }
20312 {
20313 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14)));
20314 }
20315 {
20316 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0)));
20317 }
20318 {
20319 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1)));
20320 }
20321 {
20322 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2)));
20323 }
20324 {
20325 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3)));
20326 }
20327 {
20328 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4)));
20329 }
20330 {
20331 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5)));
20332 }
20333 {
20334 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6)));
20335 }
20336 {
20337 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0)));
20338 }
20339 {
20340 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1)));
20341 }
20342 {
20343 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2)));
20344 }
20345 {
20346 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3)));
20347 }
20348 {
20349 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4)));
20350 }
20351 {
20352 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5)));
20353 }
20354 {
20355 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6)));
20356 }
20357 {
20358 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7)));
20359 }
20360 {
20361 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8)));
20362 }
20363 {
20364 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0)));
20365 }
20366 {
20367 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1)));
20368 }
20369 {
20370 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2)));
20371 }
20372 {
20373 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3)));
20374 }
20375 {
20376 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4)));
20377 }
20378 {
20379 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5)));
20380 }
20381 {
20382 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0)));
20383 }
20384 {
20385 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1)));
20386 }
20387 {
20388 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2)));
20389 }
20390 {
20391 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3)));
20392 }
20393 {
20394 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4)));
20395 }
20396 {
20397 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5)));
20398 }
20399 {
20400 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6)));
20401 }
20402 {
20403 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0)));
20404 }
20405 {
20406 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1)));
20407 }
20408 {
20409 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2)));
20410 }
20411 {
20412 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3)));
20413 }
20414 {
20415 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4)));
20416 }
20417 {
20418 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5)));
20419 }
20420 {
20421 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6)));
20422 }
20423 {
20424 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7)));
20425 }
20426 {
20427 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8)));
20428 }
20429 {
20430 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9)));
20431 }
20432 {
20433 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10)));
20434 }
20435 {
20436 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11)));
20437 }
20438 {
20439 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12)));
20440 }
20441 {
20442 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13)));
20443 }
20444 {
20445 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31)));
20446 }
20447 {
20448 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0)));
20449 }
20450 {
20451 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1)));
20452 }
20453 {
20454 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2)));
20455 }
20456 {
20457 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3)));
20458 }
20459 {
20460 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4)));
20461 }
20462 {
20463 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5)));
20464 }
20465 {
20466 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6)));
20467 }
20468 {
20469 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7)));
20470 }
20471 {
20472 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8)));
20473 }
20474 {
20475 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9)));
20476 }
20477 {
20478 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10)));
20479 }
20480 {
20481 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11)));
20482 }
20483 {
20484 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12)));
20485 }
20486 {
20487 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13)));
20488 }
20489 {
20490 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14)));
20491 }
20492 {
20493 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15)));
20494 }
20495 {
20496 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16)));
20497 }
20498 {
20499 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0)));
20500 }
20501 {
20502 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1)));
20503 }
20504 {
20505 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2)));
20506 }
20507 {
20508 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20509 }
20510 {
20511 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4)));
20512 }
20513 {
20514 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5)));
20515 }
20516 {
20517 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6)));
20518 }
20519 {
20520 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7)));
20521 }
20522 {
20523 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8)));
20524 }
20525 {
20526 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9)));
20527 }
20528 {
20529 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10)));
20530 }
20531 {
20532 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11)));
20533 }
20534 {
20535 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12)));
20536 }
20537 {
20538 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19)));
20539 }
20540 {
20541 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0)));
20542 }
20543 {
20544 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1)));
20545 }
20546 {
20547 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2)));
20548 }
20549 {
20550 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3)));
20551 }
20552 {
20553 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4)));
20554 }
20555 {
20556 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5)));
20557 }
20558 {
20559 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6)));
20560 }
20561 {
20562 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7)));
20563 }
20564 {
20565 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8)));
20566 }
20567 {
20568 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9)));
20569 }
20570 {
20571 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31)));
20572 }
20573 {
20574 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0)));
20575 }
20576 {
20577 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1)));
20578 }
20579 {
20580 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2)));
20581 }
20582 {
20583 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3)));
20584 }
20585 {
20586 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4)));
20587 }
20588 {
20589 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5)));
20590 }
20591 {
20592 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6)));
20593 }
20594 {
20595 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7)));
20596 }
20597 {
20598 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8)));
20599 }
20600 {
20601 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9)));
20602 }
20603 {
20604 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0)));
20605 }
20606 {
20607 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1)));
20608 }
20609 {
20610 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2)));
20611 }
20612 {
20613 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20614 }
20615 {
20616 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4)));
20617 }
20618 {
20619 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5)));
20620 }
20621 {
20622 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6)));
20623 }
20624 {
20625 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7)));
20626 }
20627 {
20628 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8)));
20629 }
20630 {
20631 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9)));
20632 }
20633 {
20634 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10)));
20635 }
20636 {
20637 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11)));
20638 }
20639 {
20640 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12)));
20641 }
20642 {
20643 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13)));
20644 }
20645 {
20646 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14)));
20647 }
20648 {
20649 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19)));
20650 }
20651 {
20652 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0)));
20653 }
20654 {
20655 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1)));
20656 }
20657 {
20658 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2)));
20659 }
20660 {
20661 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3)));
20662 }
20663 {
20664 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4)));
20665 }
20666 {
20667 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5)));
20668 }
20669 {
20670 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6)));
20671 }
20672 {
20673 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7)));
20674 }
20675 {
20676 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8)));
20677 }
20678 {
20679 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9)));
20680 }
20681 {
20682 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10)));
20683 }
20684 {
20685 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11)));
20686 }
20687 {
20688 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0)));
20689 }
20690 {
20691 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1)));
20692 }
20693 {
20694 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2)));
20695 }
20696 {
20697 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3)));
20698 }
20699 {
20700 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4)));
20701 }
20702 {
20703 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(5)));
20704 }
20705 {
20706 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(6)));
20707 }
20708 {
20709 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7)));
20710 }
20711 {
20712 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(8)));
20713 }
20714 {
20715 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0)));
20716 }
20717 {
20718 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1)));
20719 }
20720 {
20721 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2)));
20722 }
20723 {
20724 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3)));
20725 }
20726 {
20727 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4)));
20728 }
20729 {
20730 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5)));
20731 }
20732 {
20733 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6)));
20734 }
20735 {
20736 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7)));
20737 }
20738 {
20739 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8)));
20740 }
20741 {
20742 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9)));
20743 }
20744 {
20745 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10)));
20746 }
20747 {
20748 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11)));
20749 }
20750 {
20751 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12)));
20752 }
20753 {
20754 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13)));
20755 }
20756 {
20757 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011)));
20758 }
20759 {
20760 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013)));
20761 }
20762 {
20763 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176)));
20764 }
20765 {
20766 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177)));
20767 }
20768 {
20769 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178)));
20770 }
20771 {
20772 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179)));
20773 }
20774 {
20775 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180)));
20776 }
20777 {
20778 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300)));
20779 }
20780 {
20781 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301)));
20782 }
20783 {
20784 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302)));
20785 }
20786 {
20787 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303)));
20788 }
20789 {
20790 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304)));
20791 }
20792 {
20793 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305)));
20794 }
20795 {
20796 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306)));
20797 }
20798 {
20799 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307)));
20800 }
20801 {
20802 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308)));
20803 }
20804 {
20805 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309)));
20806 }
20807 {
20808 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310)));
20809 }
20810 {
20811 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311)));
20812 }
20813 {
20814 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312)));
20815 }
20816 {
20817 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313)));
20818 }
20819 {
20820 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314)));
20821 }
20822 {
20823 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315)));
20824 }
20825 {
20826 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316)));
20827 }
20828 {
20829 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317)));
20830 }
20831 {
20832 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318)));
20833 }
20834 {
20835 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319)));
20836 }
20837 {
20838 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320)));
20839 }
20840 {
20841 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321)));
20842 }
20843 {
20844 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322)));
20845 }
20846 {
20847 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323)));
20848 }
20849 {
20850 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324)));
20851 }
20852 {
20853 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325)));
20854 }
20855 {
20856 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326)));
20857 }
20858 {
20859 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327)));
20860 }
20861 {
20862 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328)));
20863 }
20864 {
20865 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329)));
20866 }
20867 {
20868 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330)));
20869 }
20870 {
20871 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331)));
20872 }
20873 {
20874 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332)));
20875 }
20876 {
20877 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333)));
20878 }
20879 {
20880 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334)));
20881 }
20882 {
20883 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335)));
20884 }
20885 {
20886 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336)));
20887 }
20888 {
20889 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337)));
20890 }
20891 {
20892 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338)));
20893 }
20894 {
20895 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339)));
20896 }
20897 {
20898 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404)));
20899 }
20900 {
20901 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340)));
20902 }
20903 {
20904 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341)));
20905 }
20906 {
20907 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342)));
20908 }
20909 {
20910 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343)));
20911 }
20912 {
20913 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344)));
20914 }
20915 {
20916 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345)));
20917 }
20918 {
20919 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346)));
20920 }
20921 {
20922 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347)));
20923 }
20924 {
20925 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348)));
20926 }
20927 {
20928 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349)));
20929 }
20930 {
20931 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450)));
20932 }
20933 {
20934 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451)));
20935 }
20936 {
20937 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452)));
20938 }
20939 {
20940 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453)));
20941 }
20942 {
20943 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454)));
20944 }
20945 {
20946 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455)));
20947 }
20948 {
20949 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390)));
20950 }
20951 {
20952 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391)));
20953 }
20954 {
20955 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392)));
20956 }
20957 {
20958 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393)));
20959 }
20960 {
20961 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395)));
20962 }
20963 {
20964 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396)));
20965 }
20966 {
20967 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413)));
20968 }
20969 {
20970 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414)));
20971 }
20972 {
20973 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415)));
20974 }
20975 {
20976 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416)));
20977 }
20978 {
20979 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426)));
20980 }
20981 {
20982 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427)));
20983 }
20984 {
20985 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428)));
20986 }
20987 {
20988 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429)));
20989 }
20990 {
20991 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430)));
20992 }
20993 {
20994 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431)));
20995 }
20996 {
20997 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432)));
20998 }
20999 {
21000 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433)));
21001 }
21002 {
21003 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434)));
21004 }
21005 {
21006 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435)));
21007 }
21008 {
21009 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436)));
21010 }
21011 {
21012 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437)));
21013 }
21014 {
21015 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438)));
21016 }
21017 {
21018 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439)));
21019 }
21020 {
21021 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440)));
21022 }
21023 {
21024 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441)));
21025 }
21026 {
21027 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442)));
21028 }
21029 {
21030 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE)));
21031 }
21032 {
21033 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED)));
21034 }
21035 {
21036 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED)));
21037 }
21038 {
21039 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED)));
21040 }
21041 {
21042 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT)));
21043 }
21044 {
21045 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT)));
21046 }
21047 {
21048 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY)));
21049 }
21050 {
21051 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK)));
21052 }
21053 {
21054 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI)));
21055 }
21056 {
21057 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED)));
21058 }
21059 {
21060 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD)));
21061 }
21062 {
21063 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK)));
21064 }
21065 {
21066 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN)));
21067 }
21068 {
21069 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED)));
21070 }
21071 {
21072 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION)));
21073 }
21074 {
21075 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED)));
21076 }
21077 {
21078 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART)));
21079 }
21080 {
21081 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND)));
21082 }
21083 {
21084 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG)));
21085 }
21086 {
21087 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER)));
21088 }
21089 {
21090 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP)));
21091 }
21092 {
21093 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM)));
21094 }
21095 {
21096 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK)));
21097 }
21098 {
21099 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK)));
21100 }
21101 {
21102 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK)));
21103 }
21104
21105
21106 }
21107