]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/gtk/stc_wrap.cpp
reSWIGged
[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.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_void swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBusyInfo swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxClipboard swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
2489 #define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDuplexMode swig_types[28]
2491 #define SWIGTYPE_p_wxEraseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxEvent swig_types[30]
2493 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
2494 #define SWIGTYPE_p_wxFSFile swig_types[32]
2495 #define SWIGTYPE_p_wxFileHistory swig_types[33]
2496 #define SWIGTYPE_p_wxFileSystem swig_types[34]
2497 #define SWIGTYPE_p_wxFlexGridSizer swig_types[35]
2498 #define SWIGTYPE_p_wxFocusEvent swig_types[36]
2499 #define SWIGTYPE_p_wxFont swig_types[37]
2500 #define SWIGTYPE_p_wxGBSizerItem swig_types[38]
2501 #define SWIGTYPE_p_wxGIFHandler swig_types[39]
2502 #define SWIGTYPE_p_wxGridBagSizer swig_types[40]
2503 #define SWIGTYPE_p_wxGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxICOHandler swig_types[42]
2505 #define SWIGTYPE_p_wxIconizeEvent swig_types[43]
2506 #define SWIGTYPE_p_wxIdleEvent swig_types[44]
2507 #define SWIGTYPE_p_wxImage swig_types[45]
2508 #define SWIGTYPE_p_wxImageHandler swig_types[46]
2509 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47]
2510 #define SWIGTYPE_p_wxInitDialogEvent swig_types[48]
2511 #define SWIGTYPE_p_wxJPEGHandler swig_types[49]
2512 #define SWIGTYPE_p_wxJoystickEvent swig_types[50]
2513 #define SWIGTYPE_p_wxKeyEvent swig_types[51]
2514 #define SWIGTYPE_p_wxLayoutConstraints swig_types[52]
2515 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxMemoryBuffer swig_types[54]
2517 #define SWIGTYPE_p_wxMenu swig_types[55]
2518 #define SWIGTYPE_p_wxMenuBar swig_types[56]
2519 #define SWIGTYPE_p_wxMenuEvent swig_types[57]
2520 #define SWIGTYPE_p_wxMenuItem swig_types[58]
2521 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[59]
2522 #define SWIGTYPE_p_wxMouseEvent swig_types[60]
2523 #define SWIGTYPE_p_wxMoveEvent swig_types[61]
2524 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[62]
2525 #define SWIGTYPE_p_wxNcPaintEvent swig_types[63]
2526 #define SWIGTYPE_p_wxNotifyEvent swig_types[64]
2527 #define SWIGTYPE_p_wxObject swig_types[65]
2528 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
2529 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
2530 #define SWIGTYPE_p_wxPNMHandler swig_types[68]
2531 #define SWIGTYPE_p_wxPaintEvent swig_types[69]
2532 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[70]
2533 #define SWIGTYPE_p_wxPaperSize swig_types[71]
2534 #define SWIGTYPE_p_wxPoint swig_types[72]
2535 #define SWIGTYPE_p_wxProcessEvent swig_types[73]
2536 #define SWIGTYPE_p_wxPyApp swig_types[74]
2537 #define SWIGTYPE_p_wxPyCommandEvent swig_types[75]
2538 #define SWIGTYPE_p_wxPyEvent swig_types[76]
2539 #define SWIGTYPE_p_wxPyImageHandler swig_types[77]
2540 #define SWIGTYPE_p_wxPyProcess swig_types[78]
2541 #define SWIGTYPE_p_wxPySizer swig_types[79]
2542 #define SWIGTYPE_p_wxPyTimer swig_types[80]
2543 #define SWIGTYPE_p_wxPyValidator swig_types[81]
2544 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[82]
2545 #define SWIGTYPE_p_wxRect swig_types[83]
2546 #define SWIGTYPE_p_wxScrollBar swig_types[84]
2547 #define SWIGTYPE_p_wxScrollEvent swig_types[85]
2548 #define SWIGTYPE_p_wxScrollWinEvent swig_types[86]
2549 #define SWIGTYPE_p_wxSetCursorEvent swig_types[87]
2550 #define SWIGTYPE_p_wxShowEvent swig_types[88]
2551 #define SWIGTYPE_p_wxSizeEvent swig_types[89]
2552 #define SWIGTYPE_p_wxSizer swig_types[90]
2553 #define SWIGTYPE_p_wxSizerItem swig_types[91]
2554 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[92]
2555 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[93]
2556 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[94]
2557 #define SWIGTYPE_p_wxStyledTextEvent swig_types[95]
2558 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[96]
2559 #define SWIGTYPE_p_wxSystemOptions swig_types[97]
2560 #define SWIGTYPE_p_wxTIFFHandler swig_types[98]
2561 #define SWIGTYPE_p_wxTimerEvent swig_types[99]
2562 #define SWIGTYPE_p_wxToolTip swig_types[100]
2563 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[101]
2564 #define SWIGTYPE_p_wxValidator swig_types[102]
2565 #define SWIGTYPE_p_wxWindow swig_types[103]
2566 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[104]
2567 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[105]
2568 #define SWIGTYPE_p_wxXPMHandler swig_types[106]
2569 static swig_type_info *swig_types[108];
2570 static swig_module_info swig_module = {swig_types, 107, 0, 0, 0, 0};
2571 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2572 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2573
2574 /* -------- TYPES TABLE (END) -------- */
2575
2576 #if (PY_VERSION_HEX <= 0x02000000)
2577 # if !defined(SWIG_PYTHON_CLASSIC)
2578 # error "This python version requires to use swig with the '-classic' option"
2579 # endif
2580 #endif
2581 #if (PY_VERSION_HEX <= 0x02020000)
2582 # error "This python version requires to use swig with the '-nomodern' option"
2583 #endif
2584 #if (PY_VERSION_HEX <= 0x02020000)
2585 # error "This python version requires to use swig with the '-nomodernargs' option"
2586 #endif
2587 #ifndef METH_O
2588 # error "This python version requires to use swig with the '-nofastunpack' option"
2589 #endif
2590
2591 /*-----------------------------------------------
2592 @(target):= _stc.so
2593 ------------------------------------------------*/
2594 #define SWIG_init init_stc
2595
2596 #define SWIG_name "_stc"
2597
2598 #define SWIGVERSION 0x010329
2599
2600
2601 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2602 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2603
2604
2605 #include <stdexcept>
2606
2607
2608 namespace swig {
2609 class PyObject_ptr {
2610 protected:
2611 PyObject *_obj;
2612
2613 public:
2614 PyObject_ptr() :_obj(0)
2615 {
2616 }
2617
2618 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2619 {
2620 Py_XINCREF(_obj);
2621 }
2622
2623 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2624 {
2625 if (initial_ref) Py_XINCREF(_obj);
2626 }
2627
2628 PyObject_ptr & operator=(const PyObject_ptr& item)
2629 {
2630 Py_XINCREF(item._obj);
2631 Py_XDECREF(_obj);
2632 _obj = item._obj;
2633 return *this;
2634 }
2635
2636 ~PyObject_ptr()
2637 {
2638 Py_XDECREF(_obj);
2639 }
2640
2641 operator PyObject *() const
2642 {
2643 return _obj;
2644 }
2645
2646 PyObject *operator->() const
2647 {
2648 return _obj;
2649 }
2650 };
2651 }
2652
2653
2654 namespace swig {
2655 struct PyObject_var : PyObject_ptr {
2656 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2657
2658 PyObject_var & operator = (PyObject* obj)
2659 {
2660 Py_XDECREF(_obj);
2661 _obj = obj;
2662 return *this;
2663 }
2664 };
2665 }
2666
2667
2668 #include "wx/wxPython/wxPython.h"
2669 #include "wx/wxPython/pyclasses.h"
2670 #include <wx/stc/stc.h>
2671
2672
2673 static const wxString wxPySTCNameStr(wxSTCNameStr);
2674
2675 #define SWIG_From_long PyInt_FromLong
2676
2677
2678 SWIGINTERNINLINE PyObject *
2679 SWIG_From_int (int value)
2680 {
2681 return SWIG_From_long (value);
2682 }
2683
2684
2685 #include <limits.h>
2686 #ifndef LLONG_MIN
2687 # define LLONG_MIN LONG_LONG_MIN
2688 #endif
2689 #ifndef LLONG_MAX
2690 # define LLONG_MAX LONG_LONG_MAX
2691 #endif
2692 #ifndef ULLONG_MAX
2693 # define ULLONG_MAX ULONG_LONG_MAX
2694 #endif
2695
2696
2697 SWIGINTERN int
2698 SWIG_AsVal_long (PyObject* obj, long* val)
2699 {
2700 if (PyNumber_Check(obj)) {
2701 if (val) *val = PyInt_AsLong(obj);
2702 return SWIG_OK;
2703 }
2704 return SWIG_TypeError;
2705 }
2706
2707
2708 SWIGINTERN int
2709 SWIG_AsVal_int (PyObject * obj, int *val)
2710 {
2711 long v;
2712 int res = SWIG_AsVal_long (obj, &v);
2713 if (SWIG_IsOK(res)) {
2714 if ((v < INT_MIN || v > INT_MAX)) {
2715 return SWIG_OverflowError;
2716 } else {
2717 if (val) *val = static_cast< int >(v);
2718 }
2719 }
2720 return res;
2721 }
2722
2723
2724 SWIGINTERN int
2725 SWIG_AsVal_bool (PyObject *obj, bool *val)
2726 {
2727 if (obj == Py_True) {
2728 if (val) *val = true;
2729 return SWIG_OK;
2730 } else if (obj == Py_False) {
2731 if (val) *val = false;
2732 return SWIG_OK;
2733 } else {
2734 long v = 0;
2735 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2736 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2737 return res;
2738 }
2739 }
2740
2741
2742 SWIGINTERN swig_type_info*
2743 SWIG_pchar_descriptor()
2744 {
2745 static int init = 0;
2746 static swig_type_info* info = 0;
2747 if (!init) {
2748 info = SWIG_TypeQuery("_p_char");
2749 init = 1;
2750 }
2751 return info;
2752 }
2753
2754
2755 SWIGINTERN int
2756 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2757 {
2758 if (PyString_Check(obj)) {
2759 char *cstr; int len;
2760 PyString_AsStringAndSize(obj, &cstr, &len);
2761 if (cptr) {
2762 if (alloc) {
2763 /*
2764 In python the user should not be able to modify the inner
2765 string representation. To warranty that, if you define
2766 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2767 buffer is always returned.
2768
2769 The default behavior is just to return the pointer value,
2770 so, be careful.
2771 */
2772 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2773 if (*alloc != SWIG_OLDOBJ)
2774 #else
2775 if (*alloc == SWIG_NEWOBJ)
2776 #endif
2777 {
2778 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2779 *alloc = SWIG_NEWOBJ;
2780 }
2781 else {
2782 *cptr = cstr;
2783 *alloc = SWIG_OLDOBJ;
2784 }
2785 } else {
2786 *cptr = PyString_AsString(obj);
2787 }
2788 }
2789 if (psize) *psize = len + 1;
2790 return SWIG_OK;
2791 } else {
2792 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2793 if (pchar_descriptor) {
2794 void* vptr = 0;
2795 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2796 if (cptr) *cptr = (char *) vptr;
2797 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2798 if (alloc) *alloc = SWIG_OLDOBJ;
2799 return SWIG_OK;
2800 }
2801 }
2802 }
2803 return SWIG_TypeError;
2804 }
2805
2806
2807
2808
2809 #ifdef __cplusplus
2810 extern "C" {
2811 #endif
2812 SWIGINTERN int STCNameStr_set(PyObject *) {
2813 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2814 return 1;
2815 }
2816
2817
2818 SWIGINTERN PyObject *STCNameStr_get(void) {
2819 PyObject *pyobj = 0;
2820
2821 {
2822 #if wxUSE_UNICODE
2823 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2824 #else
2825 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2826 #endif
2827 }
2828 return pyobj;
2829 }
2830
2831
2832 SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj = 0;
2834 wxWindow *arg1 = (wxWindow *) 0 ;
2835 int arg2 = (int) wxID_ANY ;
2836 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2837 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2838 wxSize const &arg4_defvalue = wxDefaultSize ;
2839 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2840 long arg5 = (long) 0 ;
2841 wxString const &arg6_defvalue = wxPySTCNameStr ;
2842 wxString *arg6 = (wxString *) &arg6_defvalue ;
2843 wxStyledTextCtrl *result = 0 ;
2844 void *argp1 = 0 ;
2845 int res1 = 0 ;
2846 int val2 ;
2847 int ecode2 = 0 ;
2848 wxPoint temp3 ;
2849 wxSize temp4 ;
2850 long val5 ;
2851 int ecode5 = 0 ;
2852 bool temp6 = false ;
2853 PyObject * obj0 = 0 ;
2854 PyObject * obj1 = 0 ;
2855 PyObject * obj2 = 0 ;
2856 PyObject * obj3 = 0 ;
2857 PyObject * obj4 = 0 ;
2858 PyObject * obj5 = 0 ;
2859 char * kwnames[] = {
2860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2861 };
2862
2863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2865 if (!SWIG_IsOK(res1)) {
2866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2867 }
2868 arg1 = reinterpret_cast< wxWindow * >(argp1);
2869 if (obj1) {
2870 ecode2 = SWIG_AsVal_int(obj1, &val2);
2871 if (!SWIG_IsOK(ecode2)) {
2872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2873 }
2874 arg2 = static_cast< int >(val2);
2875 }
2876 if (obj2) {
2877 {
2878 arg3 = &temp3;
2879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2880 }
2881 }
2882 if (obj3) {
2883 {
2884 arg4 = &temp4;
2885 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2886 }
2887 }
2888 if (obj4) {
2889 ecode5 = SWIG_AsVal_long(obj4, &val5);
2890 if (!SWIG_IsOK(ecode5)) {
2891 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2892 }
2893 arg5 = static_cast< long >(val5);
2894 }
2895 if (obj5) {
2896 {
2897 arg6 = wxString_in_helper(obj5);
2898 if (arg6 == NULL) SWIG_fail;
2899 temp6 = true;
2900 }
2901 }
2902 {
2903 if (!wxPyCheckForApp()) SWIG_fail;
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
2905 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2910 {
2911 if (temp6)
2912 delete arg6;
2913 }
2914 return resultobj;
2915 fail:
2916 {
2917 if (temp6)
2918 delete arg6;
2919 }
2920 return NULL;
2921 }
2922
2923
2924 SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2925 PyObject *resultobj = 0;
2926 wxStyledTextCtrl *result = 0 ;
2927
2928 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2929 {
2930 if (!wxPyCheckForApp()) SWIG_fail;
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2937 return resultobj;
2938 fail:
2939 return NULL;
2940 }
2941
2942
2943 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj = 0;
2945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2946 wxWindow *arg2 = (wxWindow *) 0 ;
2947 int arg3 = (int) wxID_ANY ;
2948 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2949 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2950 wxSize const &arg5_defvalue = wxDefaultSize ;
2951 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2952 long arg6 = (long) 0 ;
2953 wxString const &arg7_defvalue = wxSTCNameStr ;
2954 wxString *arg7 = (wxString *) &arg7_defvalue ;
2955 bool result;
2956 void *argp1 = 0 ;
2957 int res1 = 0 ;
2958 void *argp2 = 0 ;
2959 int res2 = 0 ;
2960 int val3 ;
2961 int ecode3 = 0 ;
2962 wxPoint temp4 ;
2963 wxSize temp5 ;
2964 long val6 ;
2965 int ecode6 = 0 ;
2966 bool temp7 = false ;
2967 PyObject * obj0 = 0 ;
2968 PyObject * obj1 = 0 ;
2969 PyObject * obj2 = 0 ;
2970 PyObject * obj3 = 0 ;
2971 PyObject * obj4 = 0 ;
2972 PyObject * obj5 = 0 ;
2973 PyObject * obj6 = 0 ;
2974 char * kwnames[] = {
2975 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2976 };
2977
2978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2980 if (!SWIG_IsOK(res1)) {
2981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2982 }
2983 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2985 if (!SWIG_IsOK(res2)) {
2986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2987 }
2988 arg2 = reinterpret_cast< wxWindow * >(argp2);
2989 if (obj2) {
2990 ecode3 = SWIG_AsVal_int(obj2, &val3);
2991 if (!SWIG_IsOK(ecode3)) {
2992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
2993 }
2994 arg3 = static_cast< int >(val3);
2995 }
2996 if (obj3) {
2997 {
2998 arg4 = &temp4;
2999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3000 }
3001 }
3002 if (obj4) {
3003 {
3004 arg5 = &temp5;
3005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3006 }
3007 }
3008 if (obj5) {
3009 ecode6 = SWIG_AsVal_long(obj5, &val6);
3010 if (!SWIG_IsOK(ecode6)) {
3011 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3012 }
3013 arg6 = static_cast< long >(val6);
3014 }
3015 if (obj6) {
3016 {
3017 arg7 = wxString_in_helper(obj6);
3018 if (arg7 == NULL) SWIG_fail;
3019 temp7 = true;
3020 }
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 {
3029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3030 }
3031 {
3032 if (temp7)
3033 delete arg7;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp7)
3039 delete arg7;
3040 }
3041 return NULL;
3042 }
3043
3044
3045 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj = 0;
3047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3048 wxString *arg2 = 0 ;
3049 void *argp1 = 0 ;
3050 int res1 = 0 ;
3051 bool temp2 = false ;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054 char * kwnames[] = {
3055 (char *) "self",(char *) "text", NULL
3056 };
3057
3058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3060 if (!SWIG_IsOK(res1)) {
3061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3062 }
3063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3064 {
3065 arg2 = wxString_in_helper(obj1);
3066 if (arg2 == NULL) SWIG_fail;
3067 temp2 = true;
3068 }
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 (arg1)->AddText((wxString const &)*arg2);
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 resultobj = SWIG_Py_Void();
3076 {
3077 if (temp2)
3078 delete arg2;
3079 }
3080 return resultobj;
3081 fail:
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 return NULL;
3087 }
3088
3089
3090 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj = 0;
3092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3093 wxMemoryBuffer *arg2 = 0 ;
3094 void *argp1 = 0 ;
3095 int res1 = 0 ;
3096 bool temp2 = false ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 char * kwnames[] = {
3100 (char *) "self",(char *) "data", NULL
3101 };
3102
3103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3105 if (!SWIG_IsOK(res1)) {
3106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3107 }
3108 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3109 {
3110 if (!PyString_Check(obj1)) {
3111 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3112 SWIG_fail;
3113 }
3114 char* str = PyString_AS_STRING(obj1);
3115 int len = PyString_GET_SIZE(obj1);
3116 arg2 = new wxMemoryBuffer(len);
3117 temp2 = true;
3118 memcpy(arg2->GetData(), str, len);
3119 arg2->SetDataLen(len);
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 resultobj = SWIG_Py_Void();
3128 {
3129 if (temp2) delete arg2;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp2) delete arg2;
3135 }
3136 return NULL;
3137 }
3138
3139
3140 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3141 PyObject *resultobj = 0;
3142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3143 int arg2 ;
3144 wxString *arg3 = 0 ;
3145 void *argp1 = 0 ;
3146 int res1 = 0 ;
3147 int val2 ;
3148 int ecode2 = 0 ;
3149 bool temp3 = false ;
3150 PyObject * obj0 = 0 ;
3151 PyObject * obj1 = 0 ;
3152 PyObject * obj2 = 0 ;
3153 char * kwnames[] = {
3154 (char *) "self",(char *) "pos",(char *) "text", NULL
3155 };
3156
3157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3159 if (!SWIG_IsOK(res1)) {
3160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3161 }
3162 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3163 ecode2 = SWIG_AsVal_int(obj1, &val2);
3164 if (!SWIG_IsOK(ecode2)) {
3165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3166 }
3167 arg2 = static_cast< int >(val2);
3168 {
3169 arg3 = wxString_in_helper(obj2);
3170 if (arg3 == NULL) SWIG_fail;
3171 temp3 = true;
3172 }
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 resultobj = SWIG_Py_Void();
3180 {
3181 if (temp3)
3182 delete arg3;
3183 }
3184 return resultobj;
3185 fail:
3186 {
3187 if (temp3)
3188 delete arg3;
3189 }
3190 return NULL;
3191 }
3192
3193
3194 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3195 PyObject *resultobj = 0;
3196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3197 void *argp1 = 0 ;
3198 int res1 = 0 ;
3199 PyObject *swig_obj[1] ;
3200
3201 if (!args) SWIG_fail;
3202 swig_obj[0] = args;
3203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3204 if (!SWIG_IsOK(res1)) {
3205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3206 }
3207 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 (arg1)->ClearAll();
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 resultobj = SWIG_Py_Void();
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3222 PyObject *resultobj = 0;
3223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3224 void *argp1 = 0 ;
3225 int res1 = 0 ;
3226 PyObject *swig_obj[1] ;
3227
3228 if (!args) SWIG_fail;
3229 swig_obj[0] = args;
3230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3231 if (!SWIG_IsOK(res1)) {
3232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3233 }
3234 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->ClearDocumentStyle();
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 resultobj = SWIG_Py_Void();
3242 return resultobj;
3243 fail:
3244 return NULL;
3245 }
3246
3247
3248 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3249 PyObject *resultobj = 0;
3250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3251 int result;
3252 void *argp1 = 0 ;
3253 int res1 = 0 ;
3254 PyObject *swig_obj[1] ;
3255
3256 if (!args) SWIG_fail;
3257 swig_obj[0] = args;
3258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3259 if (!SWIG_IsOK(res1)) {
3260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3261 }
3262 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = (int)(arg1)->GetLength();
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 resultobj = SWIG_From_int(static_cast< int >(result));
3270 return resultobj;
3271 fail:
3272 return NULL;
3273 }
3274
3275
3276 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj = 0;
3278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3279 int arg2 ;
3280 int result;
3281 void *argp1 = 0 ;
3282 int res1 = 0 ;
3283 int val2 ;
3284 int ecode2 = 0 ;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287 char * kwnames[] = {
3288 (char *) "self",(char *) "pos", NULL
3289 };
3290
3291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3293 if (!SWIG_IsOK(res1)) {
3294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3295 }
3296 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3297 ecode2 = SWIG_AsVal_int(obj1, &val2);
3298 if (!SWIG_IsOK(ecode2)) {
3299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3300 }
3301 arg2 = static_cast< int >(val2);
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 result = (int)(arg1)->GetCharAt(arg2);
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 resultobj = SWIG_From_int(static_cast< int >(result));
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3316 PyObject *resultobj = 0;
3317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3318 int result;
3319 void *argp1 = 0 ;
3320 int res1 = 0 ;
3321 PyObject *swig_obj[1] ;
3322
3323 if (!args) SWIG_fail;
3324 swig_obj[0] = args;
3325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3326 if (!SWIG_IsOK(res1)) {
3327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3328 }
3329 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 result = (int)(arg1)->GetCurrentPos();
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 resultobj = SWIG_From_int(static_cast< int >(result));
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3344 PyObject *resultobj = 0;
3345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3346 int result;
3347 void *argp1 = 0 ;
3348 int res1 = 0 ;
3349 PyObject *swig_obj[1] ;
3350
3351 if (!args) SWIG_fail;
3352 swig_obj[0] = args;
3353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3354 if (!SWIG_IsOK(res1)) {
3355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3356 }
3357 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (int)(arg1)->GetAnchor();
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 resultobj = SWIG_From_int(static_cast< int >(result));
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj = 0;
3373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3374 int arg2 ;
3375 int result;
3376 void *argp1 = 0 ;
3377 int res1 = 0 ;
3378 int val2 ;
3379 int ecode2 = 0 ;
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
3382 char * kwnames[] = {
3383 (char *) "self",(char *) "pos", NULL
3384 };
3385
3386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3388 if (!SWIG_IsOK(res1)) {
3389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3390 }
3391 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3392 ecode2 = SWIG_AsVal_int(obj1, &val2);
3393 if (!SWIG_IsOK(ecode2)) {
3394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3395 }
3396 arg2 = static_cast< int >(val2);
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = (int)(arg1)->GetStyleAt(arg2);
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 resultobj = SWIG_From_int(static_cast< int >(result));
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3411 PyObject *resultobj = 0;
3412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3413 void *argp1 = 0 ;
3414 int res1 = 0 ;
3415 PyObject *swig_obj[1] ;
3416
3417 if (!args) SWIG_fail;
3418 swig_obj[0] = args;
3419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3420 if (!SWIG_IsOK(res1)) {
3421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3422 }
3423 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 (arg1)->Redo();
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 resultobj = SWIG_Py_Void();
3431 return resultobj;
3432 fail:
3433 return NULL;
3434 }
3435
3436
3437 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj = 0;
3439 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3440 bool arg2 ;
3441 void *argp1 = 0 ;
3442 int res1 = 0 ;
3443 bool val2 ;
3444 int ecode2 = 0 ;
3445 PyObject * obj0 = 0 ;
3446 PyObject * obj1 = 0 ;
3447 char * kwnames[] = {
3448 (char *) "self",(char *) "collectUndo", NULL
3449 };
3450
3451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3453 if (!SWIG_IsOK(res1)) {
3454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3455 }
3456 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3457 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3458 if (!SWIG_IsOK(ecode2)) {
3459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3460 }
3461 arg2 = static_cast< bool >(val2);
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetUndoCollection(arg2);
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 resultobj = SWIG_Py_Void();
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3476 PyObject *resultobj = 0;
3477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3478 void *argp1 = 0 ;
3479 int res1 = 0 ;
3480 PyObject *swig_obj[1] ;
3481
3482 if (!args) SWIG_fail;
3483 swig_obj[0] = args;
3484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3485 if (!SWIG_IsOK(res1)) {
3486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3487 }
3488 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 (arg1)->SelectAll();
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 resultobj = SWIG_Py_Void();
3496 return resultobj;
3497 fail:
3498 return NULL;
3499 }
3500
3501
3502 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3503 PyObject *resultobj = 0;
3504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3505 void *argp1 = 0 ;
3506 int res1 = 0 ;
3507 PyObject *swig_obj[1] ;
3508
3509 if (!args) SWIG_fail;
3510 swig_obj[0] = args;
3511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3512 if (!SWIG_IsOK(res1)) {
3513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3514 }
3515 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 (arg1)->SetSavePoint();
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 resultobj = SWIG_Py_Void();
3523 return resultobj;
3524 fail:
3525 return NULL;
3526 }
3527
3528
3529 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj = 0;
3531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3532 int arg2 ;
3533 int arg3 ;
3534 wxMemoryBuffer result;
3535 void *argp1 = 0 ;
3536 int res1 = 0 ;
3537 int val2 ;
3538 int ecode2 = 0 ;
3539 int val3 ;
3540 int ecode3 = 0 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 PyObject * obj2 = 0 ;
3544 char * kwnames[] = {
3545 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3546 };
3547
3548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3550 if (!SWIG_IsOK(res1)) {
3551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3552 }
3553 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3554 ecode2 = SWIG_AsVal_int(obj1, &val2);
3555 if (!SWIG_IsOK(ecode2)) {
3556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3557 }
3558 arg2 = static_cast< int >(val2);
3559 ecode3 = SWIG_AsVal_int(obj2, &val3);
3560 if (!SWIG_IsOK(ecode3)) {
3561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3562 }
3563 arg3 = static_cast< int >(val3);
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (arg1)->GetStyledText(arg2,arg3);
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 {
3571 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3572 }
3573 return resultobj;
3574 fail:
3575 return NULL;
3576 }
3577
3578
3579 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3580 PyObject *resultobj = 0;
3581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3582 bool result;
3583 void *argp1 = 0 ;
3584 int res1 = 0 ;
3585 PyObject *swig_obj[1] ;
3586
3587 if (!args) SWIG_fail;
3588 swig_obj[0] = args;
3589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3590 if (!SWIG_IsOK(res1)) {
3591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3592 }
3593 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = (bool)(arg1)->CanRedo();
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 {
3601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3602 }
3603 return resultobj;
3604 fail:
3605 return NULL;
3606 }
3607
3608
3609 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3610 PyObject *resultobj = 0;
3611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3612 int arg2 ;
3613 int result;
3614 void *argp1 = 0 ;
3615 int res1 = 0 ;
3616 int val2 ;
3617 int ecode2 = 0 ;
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 char * kwnames[] = {
3621 (char *) "self",(char *) "handle", NULL
3622 };
3623
3624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3626 if (!SWIG_IsOK(res1)) {
3627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3628 }
3629 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3630 ecode2 = SWIG_AsVal_int(obj1, &val2);
3631 if (!SWIG_IsOK(ecode2)) {
3632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3633 }
3634 arg2 = static_cast< int >(val2);
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 resultobj = SWIG_From_int(static_cast< int >(result));
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj = 0;
3650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3651 int arg2 ;
3652 void *argp1 = 0 ;
3653 int res1 = 0 ;
3654 int val2 ;
3655 int ecode2 = 0 ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658 char * kwnames[] = {
3659 (char *) "self",(char *) "handle", NULL
3660 };
3661
3662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3664 if (!SWIG_IsOK(res1)) {
3665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3666 }
3667 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3668 ecode2 = SWIG_AsVal_int(obj1, &val2);
3669 if (!SWIG_IsOK(ecode2)) {
3670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3671 }
3672 arg2 = static_cast< int >(val2);
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->MarkerDeleteHandle(arg2);
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 resultobj = SWIG_Py_Void();
3680 return resultobj;
3681 fail:
3682 return NULL;
3683 }
3684
3685
3686 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3687 PyObject *resultobj = 0;
3688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3689 bool result;
3690 void *argp1 = 0 ;
3691 int res1 = 0 ;
3692 PyObject *swig_obj[1] ;
3693
3694 if (!args) SWIG_fail;
3695 swig_obj[0] = args;
3696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3697 if (!SWIG_IsOK(res1)) {
3698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3699 }
3700 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (bool)(arg1)->GetUndoCollection();
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3717 PyObject *resultobj = 0;
3718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3719 int result;
3720 void *argp1 = 0 ;
3721 int res1 = 0 ;
3722 PyObject *swig_obj[1] ;
3723
3724 if (!args) SWIG_fail;
3725 swig_obj[0] = args;
3726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3727 if (!SWIG_IsOK(res1)) {
3728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3729 }
3730 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = (int)(arg1)->GetViewWhiteSpace();
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 resultobj = SWIG_From_int(static_cast< int >(result));
3738 return resultobj;
3739 fail:
3740 return NULL;
3741 }
3742
3743
3744 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj = 0;
3746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3747 int arg2 ;
3748 void *argp1 = 0 ;
3749 int res1 = 0 ;
3750 int val2 ;
3751 int ecode2 = 0 ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 char * kwnames[] = {
3755 (char *) "self",(char *) "viewWS", NULL
3756 };
3757
3758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3760 if (!SWIG_IsOK(res1)) {
3761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3762 }
3763 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3764 ecode2 = SWIG_AsVal_int(obj1, &val2);
3765 if (!SWIG_IsOK(ecode2)) {
3766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3767 }
3768 arg2 = static_cast< int >(val2);
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 (arg1)->SetViewWhiteSpace(arg2);
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 resultobj = SWIG_Py_Void();
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj = 0;
3784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3785 wxPoint arg2 ;
3786 int result;
3787 void *argp1 = 0 ;
3788 int res1 = 0 ;
3789 void *argp2 ;
3790 int res2 = 0 ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793 char * kwnames[] = {
3794 (char *) "self",(char *) "pt", NULL
3795 };
3796
3797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3799 if (!SWIG_IsOK(res1)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3801 }
3802 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3803 {
3804 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3805 if (!SWIG_IsOK(res2)) {
3806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3807 }
3808 if (!argp2) {
3809 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3810 } else {
3811 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3812 arg2 = *temp;
3813 if (SWIG_IsNewObj(res2)) delete temp;
3814 }
3815 }
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (int)(arg1)->PositionFromPoint(arg2);
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = SWIG_From_int(static_cast< int >(result));
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj = 0;
3831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3832 int arg2 ;
3833 int arg3 ;
3834 int result;
3835 void *argp1 = 0 ;
3836 int res1 = 0 ;
3837 int val2 ;
3838 int ecode2 = 0 ;
3839 int val3 ;
3840 int ecode3 = 0 ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3843 PyObject * obj2 = 0 ;
3844 char * kwnames[] = {
3845 (char *) "self",(char *) "x",(char *) "y", NULL
3846 };
3847
3848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3850 if (!SWIG_IsOK(res1)) {
3851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3852 }
3853 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3854 ecode2 = SWIG_AsVal_int(obj1, &val2);
3855 if (!SWIG_IsOK(ecode2)) {
3856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3857 }
3858 arg2 = static_cast< int >(val2);
3859 ecode3 = SWIG_AsVal_int(obj2, &val3);
3860 if (!SWIG_IsOK(ecode3)) {
3861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3862 }
3863 arg3 = static_cast< int >(val3);
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 resultobj = SWIG_From_int(static_cast< int >(result));
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj = 0;
3879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3880 int arg2 ;
3881 void *argp1 = 0 ;
3882 int res1 = 0 ;
3883 int val2 ;
3884 int ecode2 = 0 ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 char * kwnames[] = {
3888 (char *) "self",(char *) "line", NULL
3889 };
3890
3891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3893 if (!SWIG_IsOK(res1)) {
3894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3895 }
3896 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3897 ecode2 = SWIG_AsVal_int(obj1, &val2);
3898 if (!SWIG_IsOK(ecode2)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3900 }
3901 arg2 = static_cast< int >(val2);
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->GotoLine(arg2);
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_Py_Void();
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj = 0;
3917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3918 int arg2 ;
3919 void *argp1 = 0 ;
3920 int res1 = 0 ;
3921 int val2 ;
3922 int ecode2 = 0 ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925 char * kwnames[] = {
3926 (char *) "self",(char *) "pos", NULL
3927 };
3928
3929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3931 if (!SWIG_IsOK(res1)) {
3932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3933 }
3934 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3935 ecode2 = SWIG_AsVal_int(obj1, &val2);
3936 if (!SWIG_IsOK(ecode2)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3938 }
3939 arg2 = static_cast< int >(val2);
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 (arg1)->GotoPos(arg2);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 resultobj = SWIG_Py_Void();
3947 return resultobj;
3948 fail:
3949 return NULL;
3950 }
3951
3952
3953 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3954 PyObject *resultobj = 0;
3955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3956 int arg2 ;
3957 void *argp1 = 0 ;
3958 int res1 = 0 ;
3959 int val2 ;
3960 int ecode2 = 0 ;
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963 char * kwnames[] = {
3964 (char *) "self",(char *) "posAnchor", NULL
3965 };
3966
3967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3969 if (!SWIG_IsOK(res1)) {
3970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3971 }
3972 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3973 ecode2 = SWIG_AsVal_int(obj1, &val2);
3974 if (!SWIG_IsOK(ecode2)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3976 }
3977 arg2 = static_cast< int >(val2);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetAnchor(arg2);
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3992 PyObject *resultobj = 0;
3993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3994 int *arg2 = (int *) 0 ;
3995 wxString result;
3996 void *argp1 = 0 ;
3997 int res1 = 0 ;
3998 int temp2 ;
3999 int res2 = SWIG_TMPOBJ ;
4000 PyObject *swig_obj[1] ;
4001
4002 arg2 = &temp2;
4003 if (!args) SWIG_fail;
4004 swig_obj[0] = args;
4005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4006 if (!SWIG_IsOK(res1)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4008 }
4009 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (arg1)->GetCurLine(arg2);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 {
4017 #if wxUSE_UNICODE
4018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4019 #else
4020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4021 #endif
4022 }
4023 if (SWIG_IsTmpObj(res2)) {
4024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4025 } else {
4026 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4028 }
4029 return resultobj;
4030 fail:
4031 return NULL;
4032 }
4033
4034
4035 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4036 PyObject *resultobj = 0;
4037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4038 int result;
4039 void *argp1 = 0 ;
4040 int res1 = 0 ;
4041 PyObject *swig_obj[1] ;
4042
4043 if (!args) SWIG_fail;
4044 swig_obj[0] = args;
4045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4046 if (!SWIG_IsOK(res1)) {
4047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4048 }
4049 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 result = (int)(arg1)->GetEndStyled();
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 resultobj = SWIG_From_int(static_cast< int >(result));
4057 return resultobj;
4058 fail:
4059 return NULL;
4060 }
4061
4062
4063 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj = 0;
4065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4066 int arg2 ;
4067 void *argp1 = 0 ;
4068 int res1 = 0 ;
4069 int val2 ;
4070 int ecode2 = 0 ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 char * kwnames[] = {
4074 (char *) "self",(char *) "eolMode", NULL
4075 };
4076
4077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4079 if (!SWIG_IsOK(res1)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4081 }
4082 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4083 ecode2 = SWIG_AsVal_int(obj1, &val2);
4084 if (!SWIG_IsOK(ecode2)) {
4085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4086 }
4087 arg2 = static_cast< int >(val2);
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 (arg1)->ConvertEOLs(arg2);
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_Py_Void();
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102 PyObject *resultobj = 0;
4103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4104 int result;
4105 void *argp1 = 0 ;
4106 int res1 = 0 ;
4107 PyObject *swig_obj[1] ;
4108
4109 if (!args) SWIG_fail;
4110 swig_obj[0] = args;
4111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4112 if (!SWIG_IsOK(res1)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4114 }
4115 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (int)(arg1)->GetEOLMode();
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 resultobj = SWIG_From_int(static_cast< int >(result));
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj = 0;
4131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4132 int arg2 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 int val2 ;
4136 int ecode2 = 0 ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 char * kwnames[] = {
4140 (char *) "self",(char *) "eolMode", NULL
4141 };
4142
4143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4145 if (!SWIG_IsOK(res1)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4147 }
4148 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4149 ecode2 = SWIG_AsVal_int(obj1, &val2);
4150 if (!SWIG_IsOK(ecode2)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4152 }
4153 arg2 = static_cast< int >(val2);
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
4156 (arg1)->SetEOLMode(arg2);
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 resultobj = SWIG_Py_Void();
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj = 0;
4169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4170 int arg2 ;
4171 int arg3 ;
4172 void *argp1 = 0 ;
4173 int res1 = 0 ;
4174 int val2 ;
4175 int ecode2 = 0 ;
4176 int val3 ;
4177 int ecode3 = 0 ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 char * kwnames[] = {
4182 (char *) "self",(char *) "pos",(char *) "mask", NULL
4183 };
4184
4185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4187 if (!SWIG_IsOK(res1)) {
4188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4189 }
4190 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4191 ecode2 = SWIG_AsVal_int(obj1, &val2);
4192 if (!SWIG_IsOK(ecode2)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4194 }
4195 arg2 = static_cast< int >(val2);
4196 ecode3 = SWIG_AsVal_int(obj2, &val3);
4197 if (!SWIG_IsOK(ecode3)) {
4198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4199 }
4200 arg3 = static_cast< int >(val3);
4201 {
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 (arg1)->StartStyling(arg2,arg3);
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 resultobj = SWIG_Py_Void();
4208 return resultobj;
4209 fail:
4210 return NULL;
4211 }
4212
4213
4214 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj = 0;
4216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4217 int arg2 ;
4218 int arg3 ;
4219 void *argp1 = 0 ;
4220 int res1 = 0 ;
4221 int val2 ;
4222 int ecode2 = 0 ;
4223 int val3 ;
4224 int ecode3 = 0 ;
4225 PyObject * obj0 = 0 ;
4226 PyObject * obj1 = 0 ;
4227 PyObject * obj2 = 0 ;
4228 char * kwnames[] = {
4229 (char *) "self",(char *) "length",(char *) "style", NULL
4230 };
4231
4232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4234 if (!SWIG_IsOK(res1)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4236 }
4237 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4238 ecode2 = SWIG_AsVal_int(obj1, &val2);
4239 if (!SWIG_IsOK(ecode2)) {
4240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4241 }
4242 arg2 = static_cast< int >(val2);
4243 ecode3 = SWIG_AsVal_int(obj2, &val3);
4244 if (!SWIG_IsOK(ecode3)) {
4245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4246 }
4247 arg3 = static_cast< int >(val3);
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 (arg1)->SetStyling(arg2,arg3);
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 resultobj = SWIG_Py_Void();
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4262 PyObject *resultobj = 0;
4263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4264 bool result;
4265 void *argp1 = 0 ;
4266 int res1 = 0 ;
4267 PyObject *swig_obj[1] ;
4268
4269 if (!args) SWIG_fail;
4270 swig_obj[0] = args;
4271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4272 if (!SWIG_IsOK(res1)) {
4273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4274 }
4275 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (bool)(arg1)->GetBufferedDraw();
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 {
4283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4284 }
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj = 0;
4293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4294 bool arg2 ;
4295 void *argp1 = 0 ;
4296 int res1 = 0 ;
4297 bool val2 ;
4298 int ecode2 = 0 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char * kwnames[] = {
4302 (char *) "self",(char *) "buffered", NULL
4303 };
4304
4305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4307 if (!SWIG_IsOK(res1)) {
4308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4309 }
4310 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4311 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4312 if (!SWIG_IsOK(ecode2)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4314 }
4315 arg2 = static_cast< bool >(val2);
4316 {
4317 PyThreadState* __tstate = wxPyBeginAllowThreads();
4318 (arg1)->SetBufferedDraw(arg2);
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 resultobj = SWIG_Py_Void();
4323 return resultobj;
4324 fail:
4325 return NULL;
4326 }
4327
4328
4329 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4330 PyObject *resultobj = 0;
4331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4332 int arg2 ;
4333 void *argp1 = 0 ;
4334 int res1 = 0 ;
4335 int val2 ;
4336 int ecode2 = 0 ;
4337 PyObject * obj0 = 0 ;
4338 PyObject * obj1 = 0 ;
4339 char * kwnames[] = {
4340 (char *) "self",(char *) "tabWidth", NULL
4341 };
4342
4343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4345 if (!SWIG_IsOK(res1)) {
4346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4347 }
4348 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4349 ecode2 = SWIG_AsVal_int(obj1, &val2);
4350 if (!SWIG_IsOK(ecode2)) {
4351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4352 }
4353 arg2 = static_cast< int >(val2);
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 (arg1)->SetTabWidth(arg2);
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 resultobj = SWIG_Py_Void();
4361 return resultobj;
4362 fail:
4363 return NULL;
4364 }
4365
4366
4367 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4368 PyObject *resultobj = 0;
4369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4370 int result;
4371 void *argp1 = 0 ;
4372 int res1 = 0 ;
4373 PyObject *swig_obj[1] ;
4374
4375 if (!args) SWIG_fail;
4376 swig_obj[0] = args;
4377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4378 if (!SWIG_IsOK(res1)) {
4379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4380 }
4381 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4382 {
4383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4384 result = (int)(arg1)->GetTabWidth();
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 resultobj = SWIG_From_int(static_cast< int >(result));
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj = 0;
4397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4398 int arg2 ;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 int val2 ;
4402 int ecode2 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 char * kwnames[] = {
4406 (char *) "self",(char *) "codePage", NULL
4407 };
4408
4409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4411 if (!SWIG_IsOK(res1)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4413 }
4414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4415 ecode2 = SWIG_AsVal_int(obj1, &val2);
4416 if (!SWIG_IsOK(ecode2)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4418 }
4419 arg2 = static_cast< int >(val2);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetCodePage(arg2);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 wxColour const &arg4_defvalue = wxNullColour ;
4439 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4440 wxColour const &arg5_defvalue = wxNullColour ;
4441 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4442 void *argp1 = 0 ;
4443 int res1 = 0 ;
4444 int val2 ;
4445 int ecode2 = 0 ;
4446 int val3 ;
4447 int ecode3 = 0 ;
4448 wxColour temp4 ;
4449 wxColour temp5 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 PyObject * obj2 = 0 ;
4453 PyObject * obj3 = 0 ;
4454 PyObject * obj4 = 0 ;
4455 char * kwnames[] = {
4456 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4457 };
4458
4459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4461 if (!SWIG_IsOK(res1)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4463 }
4464 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4465 ecode2 = SWIG_AsVal_int(obj1, &val2);
4466 if (!SWIG_IsOK(ecode2)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4468 }
4469 arg2 = static_cast< int >(val2);
4470 ecode3 = SWIG_AsVal_int(obj2, &val3);
4471 if (!SWIG_IsOK(ecode3)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4473 }
4474 arg3 = static_cast< int >(val3);
4475 if (obj3) {
4476 {
4477 arg4 = &temp4;
4478 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
4479 }
4480 }
4481 if (obj4) {
4482 {
4483 arg5 = &temp5;
4484 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
4485 }
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 resultobj = SWIG_Py_Void();
4494 return resultobj;
4495 fail:
4496 return NULL;
4497 }
4498
4499
4500 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj = 0;
4502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4503 int arg2 ;
4504 wxColour *arg3 = 0 ;
4505 void *argp1 = 0 ;
4506 int res1 = 0 ;
4507 int val2 ;
4508 int ecode2 = 0 ;
4509 wxColour temp3 ;
4510 PyObject * obj0 = 0 ;
4511 PyObject * obj1 = 0 ;
4512 PyObject * obj2 = 0 ;
4513 char * kwnames[] = {
4514 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4515 };
4516
4517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4519 if (!SWIG_IsOK(res1)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4521 }
4522 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4523 ecode2 = SWIG_AsVal_int(obj1, &val2);
4524 if (!SWIG_IsOK(ecode2)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4526 }
4527 arg2 = static_cast< int >(val2);
4528 {
4529 arg3 = &temp3;
4530 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4531 }
4532 {
4533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4534 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 resultobj = SWIG_Py_Void();
4539 return resultobj;
4540 fail:
4541 return NULL;
4542 }
4543
4544
4545 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4546 PyObject *resultobj = 0;
4547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4548 int arg2 ;
4549 wxColour *arg3 = 0 ;
4550 void *argp1 = 0 ;
4551 int res1 = 0 ;
4552 int val2 ;
4553 int ecode2 = 0 ;
4554 wxColour temp3 ;
4555 PyObject * obj0 = 0 ;
4556 PyObject * obj1 = 0 ;
4557 PyObject * obj2 = 0 ;
4558 char * kwnames[] = {
4559 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4560 };
4561
4562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4564 if (!SWIG_IsOK(res1)) {
4565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4566 }
4567 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4568 ecode2 = SWIG_AsVal_int(obj1, &val2);
4569 if (!SWIG_IsOK(ecode2)) {
4570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4571 }
4572 arg2 = static_cast< int >(val2);
4573 {
4574 arg3 = &temp3;
4575 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 resultobj = SWIG_Py_Void();
4584 return resultobj;
4585 fail:
4586 return NULL;
4587 }
4588
4589
4590 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj = 0;
4592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4593 int arg2 ;
4594 int arg3 ;
4595 int result;
4596 void *argp1 = 0 ;
4597 int res1 = 0 ;
4598 int val2 ;
4599 int ecode2 = 0 ;
4600 int val3 ;
4601 int ecode3 = 0 ;
4602 PyObject * obj0 = 0 ;
4603 PyObject * obj1 = 0 ;
4604 PyObject * obj2 = 0 ;
4605 char * kwnames[] = {
4606 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4607 };
4608
4609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4611 if (!SWIG_IsOK(res1)) {
4612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4613 }
4614 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4615 ecode2 = SWIG_AsVal_int(obj1, &val2);
4616 if (!SWIG_IsOK(ecode2)) {
4617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4618 }
4619 arg2 = static_cast< int >(val2);
4620 ecode3 = SWIG_AsVal_int(obj2, &val3);
4621 if (!SWIG_IsOK(ecode3)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4623 }
4624 arg3 = static_cast< int >(val3);
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 resultobj = SWIG_From_int(static_cast< int >(result));
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj = 0;
4640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4641 int arg2 ;
4642 int arg3 ;
4643 void *argp1 = 0 ;
4644 int res1 = 0 ;
4645 int val2 ;
4646 int ecode2 = 0 ;
4647 int val3 ;
4648 int ecode3 = 0 ;
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 PyObject * obj2 = 0 ;
4652 char * kwnames[] = {
4653 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4654 };
4655
4656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4658 if (!SWIG_IsOK(res1)) {
4659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4660 }
4661 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4662 ecode2 = SWIG_AsVal_int(obj1, &val2);
4663 if (!SWIG_IsOK(ecode2)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4665 }
4666 arg2 = static_cast< int >(val2);
4667 ecode3 = SWIG_AsVal_int(obj2, &val3);
4668 if (!SWIG_IsOK(ecode3)) {
4669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4670 }
4671 arg3 = static_cast< int >(val3);
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 (arg1)->MarkerDelete(arg2,arg3);
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = SWIG_Py_Void();
4679 return resultobj;
4680 fail:
4681 return NULL;
4682 }
4683
4684
4685 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj = 0;
4687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4688 int arg2 ;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 int val2 ;
4692 int ecode2 = 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 char * kwnames[] = {
4696 (char *) "self",(char *) "markerNumber", NULL
4697 };
4698
4699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4703 }
4704 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4705 ecode2 = SWIG_AsVal_int(obj1, &val2);
4706 if (!SWIG_IsOK(ecode2)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4708 }
4709 arg2 = static_cast< int >(val2);
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 (arg1)->MarkerDeleteAll(arg2);
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_Py_Void();
4717 return resultobj;
4718 fail:
4719 return NULL;
4720 }
4721
4722
4723 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj = 0;
4725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4726 int arg2 ;
4727 int result;
4728 void *argp1 = 0 ;
4729 int res1 = 0 ;
4730 int val2 ;
4731 int ecode2 = 0 ;
4732 PyObject * obj0 = 0 ;
4733 PyObject * obj1 = 0 ;
4734 char * kwnames[] = {
4735 (char *) "self",(char *) "line", NULL
4736 };
4737
4738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4742 }
4743 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4744 ecode2 = SWIG_AsVal_int(obj1, &val2);
4745 if (!SWIG_IsOK(ecode2)) {
4746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4747 }
4748 arg2 = static_cast< int >(val2);
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 result = (int)(arg1)->MarkerGet(arg2);
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = SWIG_From_int(static_cast< int >(result));
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj = 0;
4764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4765 int arg2 ;
4766 int arg3 ;
4767 int result;
4768 void *argp1 = 0 ;
4769 int res1 = 0 ;
4770 int val2 ;
4771 int ecode2 = 0 ;
4772 int val3 ;
4773 int ecode3 = 0 ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
4777 char * kwnames[] = {
4778 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4779 };
4780
4781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4783 if (!SWIG_IsOK(res1)) {
4784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4785 }
4786 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4787 ecode2 = SWIG_AsVal_int(obj1, &val2);
4788 if (!SWIG_IsOK(ecode2)) {
4789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4790 }
4791 arg2 = static_cast< int >(val2);
4792 ecode3 = SWIG_AsVal_int(obj2, &val3);
4793 if (!SWIG_IsOK(ecode3)) {
4794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4795 }
4796 arg3 = static_cast< int >(val3);
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (int)(arg1)->MarkerNext(arg2,arg3);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_From_int(static_cast< int >(result));
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4811 PyObject *resultobj = 0;
4812 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int result;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 int val2 ;
4819 int ecode2 = 0 ;
4820 int val3 ;
4821 int ecode3 = 0 ;
4822 PyObject * obj0 = 0 ;
4823 PyObject * obj1 = 0 ;
4824 PyObject * obj2 = 0 ;
4825 char * kwnames[] = {
4826 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4827 };
4828
4829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4831 if (!SWIG_IsOK(res1)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4833 }
4834 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4835 ecode2 = SWIG_AsVal_int(obj1, &val2);
4836 if (!SWIG_IsOK(ecode2)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4838 }
4839 arg2 = static_cast< int >(val2);
4840 ecode3 = SWIG_AsVal_int(obj2, &val3);
4841 if (!SWIG_IsOK(ecode3)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4843 }
4844 arg3 = static_cast< int >(val3);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 resultobj = SWIG_From_int(static_cast< int >(result));
4852 return resultobj;
4853 fail:
4854 return NULL;
4855 }
4856
4857
4858 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj = 0;
4860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4861 int arg2 ;
4862 wxBitmap *arg3 = 0 ;
4863 void *argp1 = 0 ;
4864 int res1 = 0 ;
4865 int val2 ;
4866 int ecode2 = 0 ;
4867 void *argp3 = 0 ;
4868 int res3 = 0 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 PyObject * obj2 = 0 ;
4872 char * kwnames[] = {
4873 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4874 };
4875
4876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4878 if (!SWIG_IsOK(res1)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4880 }
4881 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4882 ecode2 = SWIG_AsVal_int(obj1, &val2);
4883 if (!SWIG_IsOK(ecode2)) {
4884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4885 }
4886 arg2 = static_cast< int >(val2);
4887 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4888 if (!SWIG_IsOK(res3)) {
4889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4890 }
4891 if (!argp3) {
4892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4893 }
4894 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = SWIG_Py_Void();
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj = 0;
4910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4911 int arg2 ;
4912 int arg3 ;
4913 void *argp1 = 0 ;
4914 int res1 = 0 ;
4915 int val2 ;
4916 int ecode2 = 0 ;
4917 int val3 ;
4918 int ecode3 = 0 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 PyObject * obj2 = 0 ;
4922 char * kwnames[] = {
4923 (char *) "self",(char *) "line",(char *) "set", NULL
4924 };
4925
4926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4928 if (!SWIG_IsOK(res1)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4930 }
4931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4932 ecode2 = SWIG_AsVal_int(obj1, &val2);
4933 if (!SWIG_IsOK(ecode2)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4935 }
4936 arg2 = static_cast< int >(val2);
4937 ecode3 = SWIG_AsVal_int(obj2, &val3);
4938 if (!SWIG_IsOK(ecode3)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4940 }
4941 arg3 = static_cast< int >(val3);
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->MarkerAddSet(arg2,arg3);
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = SWIG_Py_Void();
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj = 0;
4957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4958 int arg2 ;
4959 int arg3 ;
4960 void *argp1 = 0 ;
4961 int res1 = 0 ;
4962 int val2 ;
4963 int ecode2 = 0 ;
4964 int val3 ;
4965 int ecode3 = 0 ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 PyObject * obj2 = 0 ;
4969 char * kwnames[] = {
4970 (char *) "self",(char *) "margin",(char *) "marginType", NULL
4971 };
4972
4973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4975 if (!SWIG_IsOK(res1)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4977 }
4978 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4979 ecode2 = SWIG_AsVal_int(obj1, &val2);
4980 if (!SWIG_IsOK(ecode2)) {
4981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
4982 }
4983 arg2 = static_cast< int >(val2);
4984 ecode3 = SWIG_AsVal_int(obj2, &val3);
4985 if (!SWIG_IsOK(ecode3)) {
4986 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
4987 }
4988 arg3 = static_cast< int >(val3);
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 (arg1)->SetMarginType(arg2,arg3);
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 resultobj = SWIG_Py_Void();
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj = 0;
5004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5005 int arg2 ;
5006 int result;
5007 void *argp1 = 0 ;
5008 int res1 = 0 ;
5009 int val2 ;
5010 int ecode2 = 0 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char * kwnames[] = {
5014 (char *) "self",(char *) "margin", NULL
5015 };
5016
5017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5019 if (!SWIG_IsOK(res1)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5021 }
5022 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5023 ecode2 = SWIG_AsVal_int(obj1, &val2);
5024 if (!SWIG_IsOK(ecode2)) {
5025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5026 }
5027 arg2 = static_cast< int >(val2);
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (int)(arg1)->GetMarginType(arg2);
5031 wxPyEndAllowThreads(__tstate);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 }
5034 resultobj = SWIG_From_int(static_cast< int >(result));
5035 return resultobj;
5036 fail:
5037 return NULL;
5038 }
5039
5040
5041 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5042 PyObject *resultobj = 0;
5043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5044 int arg2 ;
5045 int arg3 ;
5046 void *argp1 = 0 ;
5047 int res1 = 0 ;
5048 int val2 ;
5049 int ecode2 = 0 ;
5050 int val3 ;
5051 int ecode3 = 0 ;
5052 PyObject * obj0 = 0 ;
5053 PyObject * obj1 = 0 ;
5054 PyObject * obj2 = 0 ;
5055 char * kwnames[] = {
5056 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5057 };
5058
5059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5061 if (!SWIG_IsOK(res1)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5063 }
5064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5065 ecode2 = SWIG_AsVal_int(obj1, &val2);
5066 if (!SWIG_IsOK(ecode2)) {
5067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5068 }
5069 arg2 = static_cast< int >(val2);
5070 ecode3 = SWIG_AsVal_int(obj2, &val3);
5071 if (!SWIG_IsOK(ecode3)) {
5072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5073 }
5074 arg3 = static_cast< int >(val3);
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->SetMarginWidth(arg2,arg3);
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 resultobj = SWIG_Py_Void();
5082 return resultobj;
5083 fail:
5084 return NULL;
5085 }
5086
5087
5088 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj = 0;
5090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5091 int arg2 ;
5092 int result;
5093 void *argp1 = 0 ;
5094 int res1 = 0 ;
5095 int val2 ;
5096 int ecode2 = 0 ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 char * kwnames[] = {
5100 (char *) "self",(char *) "margin", NULL
5101 };
5102
5103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5105 if (!SWIG_IsOK(res1)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5107 }
5108 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5109 ecode2 = SWIG_AsVal_int(obj1, &val2);
5110 if (!SWIG_IsOK(ecode2)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5112 }
5113 arg2 = static_cast< int >(val2);
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (int)(arg1)->GetMarginWidth(arg2);
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 resultobj = SWIG_From_int(static_cast< int >(result));
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj = 0;
5129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5130 int arg2 ;
5131 int arg3 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 int val2 ;
5135 int ecode2 = 0 ;
5136 int val3 ;
5137 int ecode3 = 0 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 PyObject * obj2 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "margin",(char *) "mask", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5149 }
5150 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5151 ecode2 = SWIG_AsVal_int(obj1, &val2);
5152 if (!SWIG_IsOK(ecode2)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5154 }
5155 arg2 = static_cast< int >(val2);
5156 ecode3 = SWIG_AsVal_int(obj2, &val3);
5157 if (!SWIG_IsOK(ecode3)) {
5158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5159 }
5160 arg3 = static_cast< int >(val3);
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->SetMarginMask(arg2,arg3);
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_Py_Void();
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj = 0;
5176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5177 int arg2 ;
5178 int result;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 int val2 ;
5182 int ecode2 = 0 ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 char * kwnames[] = {
5186 (char *) "self",(char *) "margin", NULL
5187 };
5188
5189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5191 if (!SWIG_IsOK(res1)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5193 }
5194 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5195 ecode2 = SWIG_AsVal_int(obj1, &val2);
5196 if (!SWIG_IsOK(ecode2)) {
5197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5198 }
5199 arg2 = static_cast< int >(val2);
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (int)(arg1)->GetMarginMask(arg2);
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_From_int(static_cast< int >(result));
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj = 0;
5215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5216 int arg2 ;
5217 bool arg3 ;
5218 void *argp1 = 0 ;
5219 int res1 = 0 ;
5220 int val2 ;
5221 int ecode2 = 0 ;
5222 bool val3 ;
5223 int ecode3 = 0 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 PyObject * obj2 = 0 ;
5227 char * kwnames[] = {
5228 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5229 };
5230
5231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5233 if (!SWIG_IsOK(res1)) {
5234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5235 }
5236 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5237 ecode2 = SWIG_AsVal_int(obj1, &val2);
5238 if (!SWIG_IsOK(ecode2)) {
5239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5240 }
5241 arg2 = static_cast< int >(val2);
5242 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5243 if (!SWIG_IsOK(ecode3)) {
5244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5245 }
5246 arg3 = static_cast< bool >(val3);
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetMarginSensitive(arg2,arg3);
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 resultobj = SWIG_Py_Void();
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj = 0;
5262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5263 int arg2 ;
5264 bool result;
5265 void *argp1 = 0 ;
5266 int res1 = 0 ;
5267 int val2 ;
5268 int ecode2 = 0 ;
5269 PyObject * obj0 = 0 ;
5270 PyObject * obj1 = 0 ;
5271 char * kwnames[] = {
5272 (char *) "self",(char *) "margin", NULL
5273 };
5274
5275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5277 if (!SWIG_IsOK(res1)) {
5278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5279 }
5280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5281 ecode2 = SWIG_AsVal_int(obj1, &val2);
5282 if (!SWIG_IsOK(ecode2)) {
5283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5284 }
5285 arg2 = static_cast< int >(val2);
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (bool)(arg1)->GetMarginSensitive(arg2);
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 {
5293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5294 }
5295 return resultobj;
5296 fail:
5297 return NULL;
5298 }
5299
5300
5301 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5302 PyObject *resultobj = 0;
5303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5304 void *argp1 = 0 ;
5305 int res1 = 0 ;
5306 PyObject *swig_obj[1] ;
5307
5308 if (!args) SWIG_fail;
5309 swig_obj[0] = args;
5310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5311 if (!SWIG_IsOK(res1)) {
5312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5313 }
5314 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->StyleClearAll();
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 resultobj = SWIG_Py_Void();
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj = 0;
5330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5331 int arg2 ;
5332 wxColour *arg3 = 0 ;
5333 void *argp1 = 0 ;
5334 int res1 = 0 ;
5335 int val2 ;
5336 int ecode2 = 0 ;
5337 wxColour temp3 ;
5338 PyObject * obj0 = 0 ;
5339 PyObject * obj1 = 0 ;
5340 PyObject * obj2 = 0 ;
5341 char * kwnames[] = {
5342 (char *) "self",(char *) "style",(char *) "fore", NULL
5343 };
5344
5345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5347 if (!SWIG_IsOK(res1)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5349 }
5350 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5351 ecode2 = SWIG_AsVal_int(obj1, &val2);
5352 if (!SWIG_IsOK(ecode2)) {
5353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5354 }
5355 arg2 = static_cast< int >(val2);
5356 {
5357 arg3 = &temp3;
5358 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 resultobj = SWIG_Py_Void();
5367 return resultobj;
5368 fail:
5369 return NULL;
5370 }
5371
5372
5373 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj = 0;
5375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5376 int arg2 ;
5377 wxColour *arg3 = 0 ;
5378 void *argp1 = 0 ;
5379 int res1 = 0 ;
5380 int val2 ;
5381 int ecode2 = 0 ;
5382 wxColour temp3 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 PyObject * obj2 = 0 ;
5386 char * kwnames[] = {
5387 (char *) "self",(char *) "style",(char *) "back", NULL
5388 };
5389
5390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5392 if (!SWIG_IsOK(res1)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5394 }
5395 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5396 ecode2 = SWIG_AsVal_int(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5399 }
5400 arg2 = static_cast< int >(val2);
5401 {
5402 arg3 = &temp3;
5403 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5404 }
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_Py_Void();
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = 0;
5420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5421 int arg2 ;
5422 bool arg3 ;
5423 void *argp1 = 0 ;
5424 int res1 = 0 ;
5425 int val2 ;
5426 int ecode2 = 0 ;
5427 bool val3 ;
5428 int ecode3 = 0 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 PyObject * obj2 = 0 ;
5432 char * kwnames[] = {
5433 (char *) "self",(char *) "style",(char *) "bold", NULL
5434 };
5435
5436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5438 if (!SWIG_IsOK(res1)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5440 }
5441 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5442 ecode2 = SWIG_AsVal_int(obj1, &val2);
5443 if (!SWIG_IsOK(ecode2)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5445 }
5446 arg2 = static_cast< int >(val2);
5447 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5448 if (!SWIG_IsOK(ecode3)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5450 }
5451 arg3 = static_cast< bool >(val3);
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->StyleSetBold(arg2,arg3);
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = SWIG_Py_Void();
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj = 0;
5467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5468 int arg2 ;
5469 bool arg3 ;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 int val2 ;
5473 int ecode2 = 0 ;
5474 bool val3 ;
5475 int ecode3 = 0 ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 PyObject * obj2 = 0 ;
5479 char * kwnames[] = {
5480 (char *) "self",(char *) "style",(char *) "italic", NULL
5481 };
5482
5483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5485 if (!SWIG_IsOK(res1)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5487 }
5488 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5489 ecode2 = SWIG_AsVal_int(obj1, &val2);
5490 if (!SWIG_IsOK(ecode2)) {
5491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5492 }
5493 arg2 = static_cast< int >(val2);
5494 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5495 if (!SWIG_IsOK(ecode3)) {
5496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5497 }
5498 arg3 = static_cast< bool >(val3);
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->StyleSetItalic(arg2,arg3);
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 resultobj = SWIG_Py_Void();
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = 0;
5514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5515 int arg2 ;
5516 int arg3 ;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 int val2 ;
5520 int ecode2 = 0 ;
5521 int val3 ;
5522 int ecode3 = 0 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 PyObject * obj2 = 0 ;
5526 char * kwnames[] = {
5527 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5528 };
5529
5530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5532 if (!SWIG_IsOK(res1)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5534 }
5535 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5536 ecode2 = SWIG_AsVal_int(obj1, &val2);
5537 if (!SWIG_IsOK(ecode2)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5539 }
5540 arg2 = static_cast< int >(val2);
5541 ecode3 = SWIG_AsVal_int(obj2, &val3);
5542 if (!SWIG_IsOK(ecode3)) {
5543 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5544 }
5545 arg3 = static_cast< int >(val3);
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->StyleSetSize(arg2,arg3);
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = SWIG_Py_Void();
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj = 0;
5561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5562 int arg2 ;
5563 wxString *arg3 = 0 ;
5564 void *argp1 = 0 ;
5565 int res1 = 0 ;
5566 int val2 ;
5567 int ecode2 = 0 ;
5568 bool temp3 = false ;
5569 PyObject * obj0 = 0 ;
5570 PyObject * obj1 = 0 ;
5571 PyObject * obj2 = 0 ;
5572 char * kwnames[] = {
5573 (char *) "self",(char *) "style",(char *) "fontName", NULL
5574 };
5575
5576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5578 if (!SWIG_IsOK(res1)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5580 }
5581 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5582 ecode2 = SWIG_AsVal_int(obj1, &val2);
5583 if (!SWIG_IsOK(ecode2)) {
5584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5585 }
5586 arg2 = static_cast< int >(val2);
5587 {
5588 arg3 = wxString_in_helper(obj2);
5589 if (arg3 == NULL) SWIG_fail;
5590 temp3 = true;
5591 }
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 resultobj = SWIG_Py_Void();
5599 {
5600 if (temp3)
5601 delete arg3;
5602 }
5603 return resultobj;
5604 fail:
5605 {
5606 if (temp3)
5607 delete arg3;
5608 }
5609 return NULL;
5610 }
5611
5612
5613 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj = 0;
5615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5616 int arg2 ;
5617 bool arg3 ;
5618 void *argp1 = 0 ;
5619 int res1 = 0 ;
5620 int val2 ;
5621 int ecode2 = 0 ;
5622 bool val3 ;
5623 int ecode3 = 0 ;
5624 PyObject * obj0 = 0 ;
5625 PyObject * obj1 = 0 ;
5626 PyObject * obj2 = 0 ;
5627 char * kwnames[] = {
5628 (char *) "self",(char *) "style",(char *) "filled", NULL
5629 };
5630
5631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5633 if (!SWIG_IsOK(res1)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5635 }
5636 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5637 ecode2 = SWIG_AsVal_int(obj1, &val2);
5638 if (!SWIG_IsOK(ecode2)) {
5639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5640 }
5641 arg2 = static_cast< int >(val2);
5642 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5643 if (!SWIG_IsOK(ecode3)) {
5644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5645 }
5646 arg3 = static_cast< bool >(val3);
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 (arg1)->StyleSetEOLFilled(arg2,arg3);
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_Py_Void();
5654 return resultobj;
5655 fail:
5656 return NULL;
5657 }
5658
5659
5660 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5661 PyObject *resultobj = 0;
5662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5663 void *argp1 = 0 ;
5664 int res1 = 0 ;
5665 PyObject *swig_obj[1] ;
5666
5667 if (!args) SWIG_fail;
5668 swig_obj[0] = args;
5669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5670 if (!SWIG_IsOK(res1)) {
5671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5672 }
5673 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 (arg1)->StyleResetDefault();
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 resultobj = SWIG_Py_Void();
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj = 0;
5689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5690 int arg2 ;
5691 bool arg3 ;
5692 void *argp1 = 0 ;
5693 int res1 = 0 ;
5694 int val2 ;
5695 int ecode2 = 0 ;
5696 bool val3 ;
5697 int ecode3 = 0 ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 char * kwnames[] = {
5702 (char *) "self",(char *) "style",(char *) "underline", NULL
5703 };
5704
5705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5707 if (!SWIG_IsOK(res1)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5709 }
5710 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5711 ecode2 = SWIG_AsVal_int(obj1, &val2);
5712 if (!SWIG_IsOK(ecode2)) {
5713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5714 }
5715 arg2 = static_cast< int >(val2);
5716 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5717 if (!SWIG_IsOK(ecode3)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5719 }
5720 arg3 = static_cast< bool >(val3);
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 (arg1)->StyleSetUnderline(arg2,arg3);
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 resultobj = SWIG_Py_Void();
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj = 0;
5736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5737 int arg2 ;
5738 int arg3 ;
5739 void *argp1 = 0 ;
5740 int res1 = 0 ;
5741 int val2 ;
5742 int ecode2 = 0 ;
5743 int val3 ;
5744 int ecode3 = 0 ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 PyObject * obj2 = 0 ;
5748 char * kwnames[] = {
5749 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5750 };
5751
5752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5754 if (!SWIG_IsOK(res1)) {
5755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5756 }
5757 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5758 ecode2 = SWIG_AsVal_int(obj1, &val2);
5759 if (!SWIG_IsOK(ecode2)) {
5760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5761 }
5762 arg2 = static_cast< int >(val2);
5763 ecode3 = SWIG_AsVal_int(obj2, &val3);
5764 if (!SWIG_IsOK(ecode3)) {
5765 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5766 }
5767 arg3 = static_cast< int >(val3);
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 (arg1)->StyleSetCase(arg2,arg3);
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 resultobj = SWIG_Py_Void();
5775 return resultobj;
5776 fail:
5777 return NULL;
5778 }
5779
5780
5781 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj = 0;
5783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5784 int arg2 ;
5785 bool arg3 ;
5786 void *argp1 = 0 ;
5787 int res1 = 0 ;
5788 int val2 ;
5789 int ecode2 = 0 ;
5790 bool val3 ;
5791 int ecode3 = 0 ;
5792 PyObject * obj0 = 0 ;
5793 PyObject * obj1 = 0 ;
5794 PyObject * obj2 = 0 ;
5795 char * kwnames[] = {
5796 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5797 };
5798
5799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5801 if (!SWIG_IsOK(res1)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5803 }
5804 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5805 ecode2 = SWIG_AsVal_int(obj1, &val2);
5806 if (!SWIG_IsOK(ecode2)) {
5807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5808 }
5809 arg2 = static_cast< int >(val2);
5810 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5811 if (!SWIG_IsOK(ecode3)) {
5812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5813 }
5814 arg3 = static_cast< bool >(val3);
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 (arg1)->StyleSetHotSpot(arg2,arg3);
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = SWIG_Py_Void();
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj = 0;
5830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5831 bool arg2 ;
5832 wxColour *arg3 = 0 ;
5833 void *argp1 = 0 ;
5834 int res1 = 0 ;
5835 bool val2 ;
5836 int ecode2 = 0 ;
5837 wxColour temp3 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 PyObject * obj2 = 0 ;
5841 char * kwnames[] = {
5842 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5843 };
5844
5845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5847 if (!SWIG_IsOK(res1)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5849 }
5850 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5851 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5852 if (!SWIG_IsOK(ecode2)) {
5853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5854 }
5855 arg2 = static_cast< bool >(val2);
5856 {
5857 arg3 = &temp3;
5858 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5859 }
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 resultobj = SWIG_Py_Void();
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj = 0;
5875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5876 bool arg2 ;
5877 wxColour *arg3 = 0 ;
5878 void *argp1 = 0 ;
5879 int res1 = 0 ;
5880 bool val2 ;
5881 int ecode2 = 0 ;
5882 wxColour temp3 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 PyObject * obj2 = 0 ;
5886 char * kwnames[] = {
5887 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5888 };
5889
5890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5892 if (!SWIG_IsOK(res1)) {
5893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5894 }
5895 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5896 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5897 if (!SWIG_IsOK(ecode2)) {
5898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5899 }
5900 arg2 = static_cast< bool >(val2);
5901 {
5902 arg3 = &temp3;
5903 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = SWIG_Py_Void();
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj = 0;
5920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5921 wxColour *arg2 = 0 ;
5922 void *argp1 = 0 ;
5923 int res1 = 0 ;
5924 wxColour temp2 ;
5925 PyObject * obj0 = 0 ;
5926 PyObject * obj1 = 0 ;
5927 char * kwnames[] = {
5928 (char *) "self",(char *) "fore", NULL
5929 };
5930
5931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
5932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5933 if (!SWIG_IsOK(res1)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5935 }
5936 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5937 {
5938 arg2 = &temp2;
5939 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5940 }
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->SetCaretForeground((wxColour const &)*arg2);
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj = 0;
5956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5957 int arg2 ;
5958 int arg3 ;
5959 int arg4 ;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 int val2 ;
5963 int ecode2 = 0 ;
5964 int val3 ;
5965 int ecode3 = 0 ;
5966 int val4 ;
5967 int ecode4 = 0 ;
5968 PyObject * obj0 = 0 ;
5969 PyObject * obj1 = 0 ;
5970 PyObject * obj2 = 0 ;
5971 PyObject * obj3 = 0 ;
5972 char * kwnames[] = {
5973 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
5974 };
5975
5976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
5977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5978 if (!SWIG_IsOK(res1)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5980 }
5981 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5982 ecode2 = SWIG_AsVal_int(obj1, &val2);
5983 if (!SWIG_IsOK(ecode2)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
5985 }
5986 arg2 = static_cast< int >(val2);
5987 ecode3 = SWIG_AsVal_int(obj2, &val3);
5988 if (!SWIG_IsOK(ecode3)) {
5989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
5990 }
5991 arg3 = static_cast< int >(val3);
5992 ecode4 = SWIG_AsVal_int(obj3, &val4);
5993 if (!SWIG_IsOK(ecode4)) {
5994 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
5995 }
5996 arg4 = static_cast< int >(val4);
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_Py_Void();
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj = 0;
6012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6013 int arg2 ;
6014 int arg3 ;
6015 void *argp1 = 0 ;
6016 int res1 = 0 ;
6017 int val2 ;
6018 int ecode2 = 0 ;
6019 int val3 ;
6020 int ecode3 = 0 ;
6021 PyObject * obj0 = 0 ;
6022 PyObject * obj1 = 0 ;
6023 PyObject * obj2 = 0 ;
6024 char * kwnames[] = {
6025 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6026 };
6027
6028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6032 }
6033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6034 ecode2 = SWIG_AsVal_int(obj1, &val2);
6035 if (!SWIG_IsOK(ecode2)) {
6036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6037 }
6038 arg2 = static_cast< int >(val2);
6039 ecode3 = SWIG_AsVal_int(obj2, &val3);
6040 if (!SWIG_IsOK(ecode3)) {
6041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6042 }
6043 arg3 = static_cast< int >(val3);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->CmdKeyClear(arg2,arg3);
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 resultobj = SWIG_Py_Void();
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6058 PyObject *resultobj = 0;
6059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6060 void *argp1 = 0 ;
6061 int res1 = 0 ;
6062 PyObject *swig_obj[1] ;
6063
6064 if (!args) SWIG_fail;
6065 swig_obj[0] = args;
6066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6067 if (!SWIG_IsOK(res1)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6069 }
6070 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 (arg1)->CmdKeyClearAll();
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 resultobj = SWIG_Py_Void();
6078 return resultobj;
6079 fail:
6080 return NULL;
6081 }
6082
6083
6084 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj = 0;
6086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6087 int arg2 ;
6088 char *arg3 = (char *) 0 ;
6089 void *argp1 = 0 ;
6090 int res1 = 0 ;
6091 int val2 ;
6092 int ecode2 = 0 ;
6093 int res3 ;
6094 char *buf3 = 0 ;
6095 int alloc3 = 0 ;
6096 PyObject * obj0 = 0 ;
6097 PyObject * obj1 = 0 ;
6098 PyObject * obj2 = 0 ;
6099 char * kwnames[] = {
6100 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6101 };
6102
6103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6107 }
6108 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6109 ecode2 = SWIG_AsVal_int(obj1, &val2);
6110 if (!SWIG_IsOK(ecode2)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6112 }
6113 arg2 = static_cast< int >(val2);
6114 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6115 if (!SWIG_IsOK(res3)) {
6116 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6117 }
6118 arg3 = buf3;
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 (arg1)->SetStyleBytes(arg2,arg3);
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = SWIG_Py_Void();
6126 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6127 return resultobj;
6128 fail:
6129 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6130 return NULL;
6131 }
6132
6133
6134 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj = 0;
6136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6137 int arg2 ;
6138 bool arg3 ;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 int val2 ;
6142 int ecode2 = 0 ;
6143 bool val3 ;
6144 int ecode3 = 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 char * kwnames[] = {
6149 (char *) "self",(char *) "style",(char *) "visible", NULL
6150 };
6151
6152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6154 if (!SWIG_IsOK(res1)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6156 }
6157 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6158 ecode2 = SWIG_AsVal_int(obj1, &val2);
6159 if (!SWIG_IsOK(ecode2)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6161 }
6162 arg2 = static_cast< int >(val2);
6163 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6164 if (!SWIG_IsOK(ecode3)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6166 }
6167 arg3 = static_cast< bool >(val3);
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 (arg1)->StyleSetVisible(arg2,arg3);
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 resultobj = SWIG_Py_Void();
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6182 PyObject *resultobj = 0;
6183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6184 int result;
6185 void *argp1 = 0 ;
6186 int res1 = 0 ;
6187 PyObject *swig_obj[1] ;
6188
6189 if (!args) SWIG_fail;
6190 swig_obj[0] = args;
6191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6192 if (!SWIG_IsOK(res1)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6194 }
6195 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (int)(arg1)->GetCaretPeriod();
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_From_int(static_cast< int >(result));
6203 return resultobj;
6204 fail:
6205 return NULL;
6206 }
6207
6208
6209 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = 0;
6211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6212 int arg2 ;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 int val2 ;
6216 int ecode2 = 0 ;
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj1 = 0 ;
6219 char * kwnames[] = {
6220 (char *) "self",(char *) "periodMilliseconds", NULL
6221 };
6222
6223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
6224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6225 if (!SWIG_IsOK(res1)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6227 }
6228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6229 ecode2 = SWIG_AsVal_int(obj1, &val2);
6230 if (!SWIG_IsOK(ecode2)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6232 }
6233 arg2 = static_cast< int >(val2);
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 (arg1)->SetCaretPeriod(arg2);
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 resultobj = SWIG_Py_Void();
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj = 0;
6249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6250 wxString *arg2 = 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 bool temp2 = false ;
6254 PyObject * obj0 = 0 ;
6255 PyObject * obj1 = 0 ;
6256 char * kwnames[] = {
6257 (char *) "self",(char *) "characters", NULL
6258 };
6259
6260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6262 if (!SWIG_IsOK(res1)) {
6263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6264 }
6265 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6266 {
6267 arg2 = wxString_in_helper(obj1);
6268 if (arg2 == NULL) SWIG_fail;
6269 temp2 = true;
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 (arg1)->SetWordChars((wxString const &)*arg2);
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 resultobj = SWIG_Py_Void();
6278 {
6279 if (temp2)
6280 delete arg2;
6281 }
6282 return resultobj;
6283 fail:
6284 {
6285 if (temp2)
6286 delete arg2;
6287 }
6288 return NULL;
6289 }
6290
6291
6292 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6293 PyObject *resultobj = 0;
6294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6295 void *argp1 = 0 ;
6296 int res1 = 0 ;
6297 PyObject *swig_obj[1] ;
6298
6299 if (!args) SWIG_fail;
6300 swig_obj[0] = args;
6301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6302 if (!SWIG_IsOK(res1)) {
6303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6304 }
6305 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->BeginUndoAction();
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_Py_Void();
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6320 PyObject *resultobj = 0;
6321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6322 void *argp1 = 0 ;
6323 int res1 = 0 ;
6324 PyObject *swig_obj[1] ;
6325
6326 if (!args) SWIG_fail;
6327 swig_obj[0] = args;
6328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6329 if (!SWIG_IsOK(res1)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6331 }
6332 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 (arg1)->EndUndoAction();
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 resultobj = SWIG_Py_Void();
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj = 0;
6348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6349 int arg2 ;
6350 int arg3 ;
6351 void *argp1 = 0 ;
6352 int res1 = 0 ;
6353 int val2 ;
6354 int ecode2 = 0 ;
6355 int val3 ;
6356 int ecode3 = 0 ;
6357 PyObject * obj0 = 0 ;
6358 PyObject * obj1 = 0 ;
6359 PyObject * obj2 = 0 ;
6360 char * kwnames[] = {
6361 (char *) "self",(char *) "indic",(char *) "style", NULL
6362 };
6363
6364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6366 if (!SWIG_IsOK(res1)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6368 }
6369 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6370 ecode2 = SWIG_AsVal_int(obj1, &val2);
6371 if (!SWIG_IsOK(ecode2)) {
6372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6373 }
6374 arg2 = static_cast< int >(val2);
6375 ecode3 = SWIG_AsVal_int(obj2, &val3);
6376 if (!SWIG_IsOK(ecode3)) {
6377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6378 }
6379 arg3 = static_cast< int >(val3);
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->IndicatorSetStyle(arg2,arg3);
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 resultobj = SWIG_Py_Void();
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj = 0;
6395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6396 int arg2 ;
6397 int result;
6398 void *argp1 = 0 ;
6399 int res1 = 0 ;
6400 int val2 ;
6401 int ecode2 = 0 ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 char * kwnames[] = {
6405 (char *) "self",(char *) "indic", NULL
6406 };
6407
6408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6412 }
6413 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6414 ecode2 = SWIG_AsVal_int(obj1, &val2);
6415 if (!SWIG_IsOK(ecode2)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6417 }
6418 arg2 = static_cast< int >(val2);
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (int)(arg1)->IndicatorGetStyle(arg2);
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_From_int(static_cast< int >(result));
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj = 0;
6434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6435 int arg2 ;
6436 wxColour *arg3 = 0 ;
6437 void *argp1 = 0 ;
6438 int res1 = 0 ;
6439 int val2 ;
6440 int ecode2 = 0 ;
6441 wxColour temp3 ;
6442 PyObject * obj0 = 0 ;
6443 PyObject * obj1 = 0 ;
6444 PyObject * obj2 = 0 ;
6445 char * kwnames[] = {
6446 (char *) "self",(char *) "indic",(char *) "fore", NULL
6447 };
6448
6449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6451 if (!SWIG_IsOK(res1)) {
6452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6453 }
6454 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6455 ecode2 = SWIG_AsVal_int(obj1, &val2);
6456 if (!SWIG_IsOK(ecode2)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6458 }
6459 arg2 = static_cast< int >(val2);
6460 {
6461 arg3 = &temp3;
6462 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = SWIG_Py_Void();
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj = 0;
6479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6480 int arg2 ;
6481 wxColour result;
6482 void *argp1 = 0 ;
6483 int res1 = 0 ;
6484 int val2 ;
6485 int ecode2 = 0 ;
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 char * kwnames[] = {
6489 (char *) "self",(char *) "indic", NULL
6490 };
6491
6492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6496 }
6497 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6498 ecode2 = SWIG_AsVal_int(obj1, &val2);
6499 if (!SWIG_IsOK(ecode2)) {
6500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6501 }
6502 arg2 = static_cast< int >(val2);
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (arg1)->IndicatorGetForeground(arg2);
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj = 0;
6518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6519 bool arg2 ;
6520 wxColour *arg3 = 0 ;
6521 void *argp1 = 0 ;
6522 int res1 = 0 ;
6523 bool val2 ;
6524 int ecode2 = 0 ;
6525 wxColour temp3 ;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 PyObject * obj2 = 0 ;
6529 char * kwnames[] = {
6530 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6531 };
6532
6533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6535 if (!SWIG_IsOK(res1)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6537 }
6538 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6539 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6540 if (!SWIG_IsOK(ecode2)) {
6541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6542 }
6543 arg2 = static_cast< bool >(val2);
6544 {
6545 arg3 = &temp3;
6546 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_Py_Void();
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj = 0;
6563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6564 bool arg2 ;
6565 wxColour *arg3 = 0 ;
6566 void *argp1 = 0 ;
6567 int res1 = 0 ;
6568 bool val2 ;
6569 int ecode2 = 0 ;
6570 wxColour temp3 ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 char * kwnames[] = {
6575 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6576 };
6577
6578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6580 if (!SWIG_IsOK(res1)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6582 }
6583 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6584 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6585 if (!SWIG_IsOK(ecode2)) {
6586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6587 }
6588 arg2 = static_cast< bool >(val2);
6589 {
6590 arg3 = &temp3;
6591 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6592 }
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 resultobj = SWIG_Py_Void();
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj = 0;
6608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6609 int arg2 ;
6610 void *argp1 = 0 ;
6611 int res1 = 0 ;
6612 int val2 ;
6613 int ecode2 = 0 ;
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj1 = 0 ;
6616 char * kwnames[] = {
6617 (char *) "self",(char *) "bits", NULL
6618 };
6619
6620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6622 if (!SWIG_IsOK(res1)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6624 }
6625 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6626 ecode2 = SWIG_AsVal_int(obj1, &val2);
6627 if (!SWIG_IsOK(ecode2)) {
6628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6629 }
6630 arg2 = static_cast< int >(val2);
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 (arg1)->SetStyleBits(arg2);
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 resultobj = SWIG_Py_Void();
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6647 int result;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6657 }
6658 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (int)(arg1)->GetStyleBits();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = SWIG_From_int(static_cast< int >(result));
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj = 0;
6674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6675 int arg2 ;
6676 int arg3 ;
6677 void *argp1 = 0 ;
6678 int res1 = 0 ;
6679 int val2 ;
6680 int ecode2 = 0 ;
6681 int val3 ;
6682 int ecode3 = 0 ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685 PyObject * obj2 = 0 ;
6686 char * kwnames[] = {
6687 (char *) "self",(char *) "line",(char *) "state", NULL
6688 };
6689
6690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6694 }
6695 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6696 ecode2 = SWIG_AsVal_int(obj1, &val2);
6697 if (!SWIG_IsOK(ecode2)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6699 }
6700 arg2 = static_cast< int >(val2);
6701 ecode3 = SWIG_AsVal_int(obj2, &val3);
6702 if (!SWIG_IsOK(ecode3)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6704 }
6705 arg3 = static_cast< int >(val3);
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 (arg1)->SetLineState(arg2,arg3);
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = SWIG_Py_Void();
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj = 0;
6721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6722 int arg2 ;
6723 int result;
6724 void *argp1 = 0 ;
6725 int res1 = 0 ;
6726 int val2 ;
6727 int ecode2 = 0 ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 char * kwnames[] = {
6731 (char *) "self",(char *) "line", NULL
6732 };
6733
6734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6736 if (!SWIG_IsOK(res1)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6738 }
6739 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6740 ecode2 = SWIG_AsVal_int(obj1, &val2);
6741 if (!SWIG_IsOK(ecode2)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6743 }
6744 arg2 = static_cast< int >(val2);
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (int)(arg1)->GetLineState(arg2);
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 resultobj = SWIG_From_int(static_cast< int >(result));
6752 return resultobj;
6753 fail:
6754 return NULL;
6755 }
6756
6757
6758 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6759 PyObject *resultobj = 0;
6760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6761 int result;
6762 void *argp1 = 0 ;
6763 int res1 = 0 ;
6764 PyObject *swig_obj[1] ;
6765
6766 if (!args) SWIG_fail;
6767 swig_obj[0] = args;
6768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6769 if (!SWIG_IsOK(res1)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6771 }
6772 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (int)(arg1)->GetMaxLineState();
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 resultobj = SWIG_From_int(static_cast< int >(result));
6780 return resultobj;
6781 fail:
6782 return NULL;
6783 }
6784
6785
6786 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6787 PyObject *resultobj = 0;
6788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6789 bool result;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 PyObject *swig_obj[1] ;
6793
6794 if (!args) SWIG_fail;
6795 swig_obj[0] = args;
6796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6799 }
6800 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (bool)(arg1)->GetCaretLineVisible();
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 {
6808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6809 }
6810 return resultobj;
6811 fail:
6812 return NULL;
6813 }
6814
6815
6816 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj = 0;
6818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6819 bool arg2 ;
6820 void *argp1 = 0 ;
6821 int res1 = 0 ;
6822 bool val2 ;
6823 int ecode2 = 0 ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char * kwnames[] = {
6827 (char *) "self",(char *) "show", NULL
6828 };
6829
6830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6832 if (!SWIG_IsOK(res1)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6834 }
6835 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6836 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6837 if (!SWIG_IsOK(ecode2)) {
6838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6839 }
6840 arg2 = static_cast< bool >(val2);
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 (arg1)->SetCaretLineVisible(arg2);
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_Py_Void();
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6855 PyObject *resultobj = 0;
6856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6857 wxColour result;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject *swig_obj[1] ;
6861
6862 if (!args) SWIG_fail;
6863 swig_obj[0] = args;
6864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6865 if (!SWIG_IsOK(res1)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6867 }
6868 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (arg1)->GetCaretLineBack();
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6876 return resultobj;
6877 fail:
6878 return NULL;
6879 }
6880
6881
6882 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = 0;
6884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6885 wxColour *arg2 = 0 ;
6886 void *argp1 = 0 ;
6887 int res1 = 0 ;
6888 wxColour temp2 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char * kwnames[] = {
6892 (char *) "self",(char *) "back", NULL
6893 };
6894
6895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) SWIG_fail;
6896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6899 }
6900 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6901 {
6902 arg2 = &temp2;
6903 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = SWIG_Py_Void();
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj = 0;
6920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6921 int arg2 ;
6922 bool arg3 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 int val2 ;
6926 int ecode2 = 0 ;
6927 bool val3 ;
6928 int ecode3 = 0 ;
6929 PyObject * obj0 = 0 ;
6930 PyObject * obj1 = 0 ;
6931 PyObject * obj2 = 0 ;
6932 char * kwnames[] = {
6933 (char *) "self",(char *) "style",(char *) "changeable", NULL
6934 };
6935
6936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6938 if (!SWIG_IsOK(res1)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6940 }
6941 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6942 ecode2 = SWIG_AsVal_int(obj1, &val2);
6943 if (!SWIG_IsOK(ecode2)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
6945 }
6946 arg2 = static_cast< int >(val2);
6947 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6948 if (!SWIG_IsOK(ecode3)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
6950 }
6951 arg3 = static_cast< bool >(val3);
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 (arg1)->StyleSetChangeable(arg2,arg3);
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 resultobj = SWIG_Py_Void();
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj = 0;
6967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6968 int arg2 ;
6969 wxString *arg3 = 0 ;
6970 void *argp1 = 0 ;
6971 int res1 = 0 ;
6972 int val2 ;
6973 int ecode2 = 0 ;
6974 bool temp3 = false ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj1 = 0 ;
6977 PyObject * obj2 = 0 ;
6978 char * kwnames[] = {
6979 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
6980 };
6981
6982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6984 if (!SWIG_IsOK(res1)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6986 }
6987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6988 ecode2 = SWIG_AsVal_int(obj1, &val2);
6989 if (!SWIG_IsOK(ecode2)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
6991 }
6992 arg2 = static_cast< int >(val2);
6993 {
6994 arg3 = wxString_in_helper(obj2);
6995 if (arg3 == NULL) SWIG_fail;
6996 temp3 = true;
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_Py_Void();
7005 {
7006 if (temp3)
7007 delete arg3;
7008 }
7009 return resultobj;
7010 fail:
7011 {
7012 if (temp3)
7013 delete arg3;
7014 }
7015 return NULL;
7016 }
7017
7018
7019 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7020 PyObject *resultobj = 0;
7021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 PyObject *swig_obj[1] ;
7025
7026 if (!args) SWIG_fail;
7027 swig_obj[0] = args;
7028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7031 }
7032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->AutoCompCancel();
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_Py_Void();
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7047 PyObject *resultobj = 0;
7048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7049 bool result;
7050 void *argp1 = 0 ;
7051 int res1 = 0 ;
7052 PyObject *swig_obj[1] ;
7053
7054 if (!args) SWIG_fail;
7055 swig_obj[0] = args;
7056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7059 }
7060 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (bool)(arg1)->AutoCompActive();
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 {
7068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7069 }
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7077 PyObject *resultobj = 0;
7078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7079 int result;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 PyObject *swig_obj[1] ;
7083
7084 if (!args) SWIG_fail;
7085 swig_obj[0] = args;
7086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7087 if (!SWIG_IsOK(res1)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7089 }
7090 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 result = (int)(arg1)->AutoCompPosStart();
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 resultobj = SWIG_From_int(static_cast< int >(result));
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7105 PyObject *resultobj = 0;
7106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7107 void *argp1 = 0 ;
7108 int res1 = 0 ;
7109 PyObject *swig_obj[1] ;
7110
7111 if (!args) SWIG_fail;
7112 swig_obj[0] = args;
7113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7114 if (!SWIG_IsOK(res1)) {
7115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7116 }
7117 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->AutoCompComplete();
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 resultobj = SWIG_Py_Void();
7125 return resultobj;
7126 fail:
7127 return NULL;
7128 }
7129
7130
7131 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj = 0;
7133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7134 wxString *arg2 = 0 ;
7135 void *argp1 = 0 ;
7136 int res1 = 0 ;
7137 bool temp2 = false ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "characterSet", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7148 }
7149 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7150 {
7151 arg2 = wxString_in_helper(obj1);
7152 if (arg2 == NULL) SWIG_fail;
7153 temp2 = true;
7154 }
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->AutoCompStops((wxString const &)*arg2);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 {
7163 if (temp2)
7164 delete arg2;
7165 }
7166 return resultobj;
7167 fail:
7168 {
7169 if (temp2)
7170 delete arg2;
7171 }
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj = 0;
7178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7179 int arg2 ;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 int val2 ;
7183 int ecode2 = 0 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char * kwnames[] = {
7187 (char *) "self",(char *) "separatorCharacter", NULL
7188 };
7189
7190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7192 if (!SWIG_IsOK(res1)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7194 }
7195 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7196 ecode2 = SWIG_AsVal_int(obj1, &val2);
7197 if (!SWIG_IsOK(ecode2)) {
7198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7199 }
7200 arg2 = static_cast< int >(val2);
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 (arg1)->AutoCompSetSeparator(arg2);
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 resultobj = SWIG_Py_Void();
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7215 PyObject *resultobj = 0;
7216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7217 int result;
7218 void *argp1 = 0 ;
7219 int res1 = 0 ;
7220 PyObject *swig_obj[1] ;
7221
7222 if (!args) SWIG_fail;
7223 swig_obj[0] = args;
7224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7225 if (!SWIG_IsOK(res1)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7227 }
7228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (int)(arg1)->AutoCompGetSeparator();
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = SWIG_From_int(static_cast< int >(result));
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj = 0;
7244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7245 wxString *arg2 = 0 ;
7246 void *argp1 = 0 ;
7247 int res1 = 0 ;
7248 bool temp2 = false ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char * kwnames[] = {
7252 (char *) "self",(char *) "text", NULL
7253 };
7254
7255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7257 if (!SWIG_IsOK(res1)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7259 }
7260 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7261 {
7262 arg2 = wxString_in_helper(obj1);
7263 if (arg2 == NULL) SWIG_fail;
7264 temp2 = true;
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 (arg1)->AutoCompSelect((wxString const &)*arg2);
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = SWIG_Py_Void();
7273 {
7274 if (temp2)
7275 delete arg2;
7276 }
7277 return resultobj;
7278 fail:
7279 {
7280 if (temp2)
7281 delete arg2;
7282 }
7283 return NULL;
7284 }
7285
7286
7287 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj = 0;
7289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7290 bool arg2 ;
7291 void *argp1 = 0 ;
7292 int res1 = 0 ;
7293 bool val2 ;
7294 int ecode2 = 0 ;
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 char * kwnames[] = {
7298 (char *) "self",(char *) "cancel", NULL
7299 };
7300
7301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7303 if (!SWIG_IsOK(res1)) {
7304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7305 }
7306 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7307 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7308 if (!SWIG_IsOK(ecode2)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7310 }
7311 arg2 = static_cast< bool >(val2);
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 (arg1)->AutoCompSetCancelAtStart(arg2);
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 resultobj = SWIG_Py_Void();
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7326 PyObject *resultobj = 0;
7327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7328 bool result;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 PyObject *swig_obj[1] ;
7332
7333 if (!args) SWIG_fail;
7334 swig_obj[0] = args;
7335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7336 if (!SWIG_IsOK(res1)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7338 }
7339 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 {
7347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7348 }
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj = 0;
7357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7358 wxString *arg2 = 0 ;
7359 void *argp1 = 0 ;
7360 int res1 = 0 ;
7361 bool temp2 = false ;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 char * kwnames[] = {
7365 (char *) "self",(char *) "characterSet", NULL
7366 };
7367
7368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7370 if (!SWIG_IsOK(res1)) {
7371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7372 }
7373 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7374 {
7375 arg2 = wxString_in_helper(obj1);
7376 if (arg2 == NULL) SWIG_fail;
7377 temp2 = true;
7378 }
7379 {
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 resultobj = SWIG_Py_Void();
7386 {
7387 if (temp2)
7388 delete arg2;
7389 }
7390 return resultobj;
7391 fail:
7392 {
7393 if (temp2)
7394 delete arg2;
7395 }
7396 return NULL;
7397 }
7398
7399
7400 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj = 0;
7402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7403 bool arg2 ;
7404 void *argp1 = 0 ;
7405 int res1 = 0 ;
7406 bool val2 ;
7407 int ecode2 = 0 ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 char * kwnames[] = {
7411 (char *) "self",(char *) "chooseSingle", NULL
7412 };
7413
7414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7416 if (!SWIG_IsOK(res1)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7418 }
7419 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7420 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7421 if (!SWIG_IsOK(ecode2)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7423 }
7424 arg2 = static_cast< bool >(val2);
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->AutoCompSetChooseSingle(arg2);
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_Py_Void();
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7439 PyObject *resultobj = 0;
7440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7441 bool result;
7442 void *argp1 = 0 ;
7443 int res1 = 0 ;
7444 PyObject *swig_obj[1] ;
7445
7446 if (!args) SWIG_fail;
7447 swig_obj[0] = args;
7448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7449 if (!SWIG_IsOK(res1)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7451 }
7452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (bool)(arg1)->AutoCompGetChooseSingle();
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 {
7460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7461 }
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj = 0;
7470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7471 bool arg2 ;
7472 void *argp1 = 0 ;
7473 int res1 = 0 ;
7474 bool val2 ;
7475 int ecode2 = 0 ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 char * kwnames[] = {
7479 (char *) "self",(char *) "ignoreCase", NULL
7480 };
7481
7482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7484 if (!SWIG_IsOK(res1)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7486 }
7487 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7488 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7489 if (!SWIG_IsOK(ecode2)) {
7490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7491 }
7492 arg2 = static_cast< bool >(val2);
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 (arg1)->AutoCompSetIgnoreCase(arg2);
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 resultobj = SWIG_Py_Void();
7500 return resultobj;
7501 fail:
7502 return NULL;
7503 }
7504
7505
7506 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7507 PyObject *resultobj = 0;
7508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7509 bool result;
7510 void *argp1 = 0 ;
7511 int res1 = 0 ;
7512 PyObject *swig_obj[1] ;
7513
7514 if (!args) SWIG_fail;
7515 swig_obj[0] = args;
7516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7517 if (!SWIG_IsOK(res1)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7519 }
7520 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 {
7528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7529 }
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj = 0;
7538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7539 int arg2 ;
7540 wxString *arg3 = 0 ;
7541 void *argp1 = 0 ;
7542 int res1 = 0 ;
7543 int val2 ;
7544 int ecode2 = 0 ;
7545 bool temp3 = false ;
7546 PyObject * obj0 = 0 ;
7547 PyObject * obj1 = 0 ;
7548 PyObject * obj2 = 0 ;
7549 char * kwnames[] = {
7550 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7551 };
7552
7553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7555 if (!SWIG_IsOK(res1)) {
7556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7557 }
7558 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7559 ecode2 = SWIG_AsVal_int(obj1, &val2);
7560 if (!SWIG_IsOK(ecode2)) {
7561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7562 }
7563 arg2 = static_cast< int >(val2);
7564 {
7565 arg3 = wxString_in_helper(obj2);
7566 if (arg3 == NULL) SWIG_fail;
7567 temp3 = true;
7568 }
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 resultobj = SWIG_Py_Void();
7576 {
7577 if (temp3)
7578 delete arg3;
7579 }
7580 return resultobj;
7581 fail:
7582 {
7583 if (temp3)
7584 delete arg3;
7585 }
7586 return NULL;
7587 }
7588
7589
7590 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj = 0;
7592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7593 bool arg2 ;
7594 void *argp1 = 0 ;
7595 int res1 = 0 ;
7596 bool val2 ;
7597 int ecode2 = 0 ;
7598 PyObject * obj0 = 0 ;
7599 PyObject * obj1 = 0 ;
7600 char * kwnames[] = {
7601 (char *) "self",(char *) "autoHide", NULL
7602 };
7603
7604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7606 if (!SWIG_IsOK(res1)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7608 }
7609 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7610 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7611 if (!SWIG_IsOK(ecode2)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7613 }
7614 arg2 = static_cast< bool >(val2);
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->AutoCompSetAutoHide(arg2);
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 resultobj = SWIG_Py_Void();
7622 return resultobj;
7623 fail:
7624 return NULL;
7625 }
7626
7627
7628 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7629 PyObject *resultobj = 0;
7630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7631 bool result;
7632 void *argp1 = 0 ;
7633 int res1 = 0 ;
7634 PyObject *swig_obj[1] ;
7635
7636 if (!args) SWIG_fail;
7637 swig_obj[0] = args;
7638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7639 if (!SWIG_IsOK(res1)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7641 }
7642 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = (bool)(arg1)->AutoCompGetAutoHide();
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 {
7650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7651 }
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj = 0;
7660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7661 bool arg2 ;
7662 void *argp1 = 0 ;
7663 int res1 = 0 ;
7664 bool val2 ;
7665 int ecode2 = 0 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 char * kwnames[] = {
7669 (char *) "self",(char *) "dropRestOfWord", NULL
7670 };
7671
7672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7674 if (!SWIG_IsOK(res1)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7676 }
7677 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7678 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7679 if (!SWIG_IsOK(ecode2)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7681 }
7682 arg2 = static_cast< bool >(val2);
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 (arg1)->AutoCompSetDropRestOfWord(arg2);
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_Py_Void();
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7697 PyObject *resultobj = 0;
7698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7699 bool result;
7700 void *argp1 = 0 ;
7701 int res1 = 0 ;
7702 PyObject *swig_obj[1] ;
7703
7704 if (!args) SWIG_fail;
7705 swig_obj[0] = args;
7706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7707 if (!SWIG_IsOK(res1)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7709 }
7710 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 {
7718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7719 }
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj = 0;
7728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7729 int arg2 ;
7730 wxBitmap *arg3 = 0 ;
7731 void *argp1 = 0 ;
7732 int res1 = 0 ;
7733 int val2 ;
7734 int ecode2 = 0 ;
7735 void *argp3 = 0 ;
7736 int res3 = 0 ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 PyObject * obj2 = 0 ;
7740 char * kwnames[] = {
7741 (char *) "self",(char *) "type",(char *) "bmp", NULL
7742 };
7743
7744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7746 if (!SWIG_IsOK(res1)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7748 }
7749 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7750 ecode2 = SWIG_AsVal_int(obj1, &val2);
7751 if (!SWIG_IsOK(ecode2)) {
7752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7753 }
7754 arg2 = static_cast< int >(val2);
7755 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7756 if (!SWIG_IsOK(res3)) {
7757 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7758 }
7759 if (!argp3) {
7760 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7761 }
7762 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 resultobj = SWIG_Py_Void();
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7777 PyObject *resultobj = 0;
7778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7779 void *argp1 = 0 ;
7780 int res1 = 0 ;
7781 PyObject *swig_obj[1] ;
7782
7783 if (!args) SWIG_fail;
7784 swig_obj[0] = args;
7785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7786 if (!SWIG_IsOK(res1)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7788 }
7789 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 (arg1)->ClearRegisteredImages();
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 resultobj = SWIG_Py_Void();
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7804 PyObject *resultobj = 0;
7805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7806 int result;
7807 void *argp1 = 0 ;
7808 int res1 = 0 ;
7809 PyObject *swig_obj[1] ;
7810
7811 if (!args) SWIG_fail;
7812 swig_obj[0] = args;
7813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7814 if (!SWIG_IsOK(res1)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7816 }
7817 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (int)(arg1)->AutoCompGetTypeSeparator();
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 resultobj = SWIG_From_int(static_cast< int >(result));
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj = 0;
7833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7834 int arg2 ;
7835 void *argp1 = 0 ;
7836 int res1 = 0 ;
7837 int val2 ;
7838 int ecode2 = 0 ;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 char * kwnames[] = {
7842 (char *) "self",(char *) "separatorCharacter", NULL
7843 };
7844
7845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7847 if (!SWIG_IsOK(res1)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7849 }
7850 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7851 ecode2 = SWIG_AsVal_int(obj1, &val2);
7852 if (!SWIG_IsOK(ecode2)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7854 }
7855 arg2 = static_cast< int >(val2);
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 (arg1)->AutoCompSetTypeSeparator(arg2);
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_Py_Void();
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj = 0;
7871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7872 int arg2 ;
7873 void *argp1 = 0 ;
7874 int res1 = 0 ;
7875 int val2 ;
7876 int ecode2 = 0 ;
7877 PyObject * obj0 = 0 ;
7878 PyObject * obj1 = 0 ;
7879 char * kwnames[] = {
7880 (char *) "self",(char *) "characterCount", NULL
7881 };
7882
7883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7885 if (!SWIG_IsOK(res1)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7887 }
7888 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7889 ecode2 = SWIG_AsVal_int(obj1, &val2);
7890 if (!SWIG_IsOK(ecode2)) {
7891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
7892 }
7893 arg2 = static_cast< int >(val2);
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->AutoCompSetMaxWidth(arg2);
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 resultobj = SWIG_Py_Void();
7901 return resultobj;
7902 fail:
7903 return NULL;
7904 }
7905
7906
7907 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7908 PyObject *resultobj = 0;
7909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7910 int result;
7911 void *argp1 = 0 ;
7912 int res1 = 0 ;
7913 PyObject *swig_obj[1] ;
7914
7915 if (!args) SWIG_fail;
7916 swig_obj[0] = args;
7917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7918 if (!SWIG_IsOK(res1)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7920 }
7921 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (int)(arg1)->AutoCompGetMaxWidth();
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 resultobj = SWIG_From_int(static_cast< int >(result));
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj = 0;
7937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7938 int arg2 ;
7939 void *argp1 = 0 ;
7940 int res1 = 0 ;
7941 int val2 ;
7942 int ecode2 = 0 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char * kwnames[] = {
7946 (char *) "self",(char *) "rowCount", NULL
7947 };
7948
7949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
7950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7951 if (!SWIG_IsOK(res1)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7953 }
7954 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7955 ecode2 = SWIG_AsVal_int(obj1, &val2);
7956 if (!SWIG_IsOK(ecode2)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
7958 }
7959 arg2 = static_cast< int >(val2);
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 (arg1)->AutoCompSetMaxHeight(arg2);
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 resultobj = SWIG_Py_Void();
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7974 PyObject *resultobj = 0;
7975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7976 int result;
7977 void *argp1 = 0 ;
7978 int res1 = 0 ;
7979 PyObject *swig_obj[1] ;
7980
7981 if (!args) SWIG_fail;
7982 swig_obj[0] = args;
7983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7984 if (!SWIG_IsOK(res1)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7986 }
7987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (int)(arg1)->AutoCompGetMaxHeight();
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_From_int(static_cast< int >(result));
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj = 0;
8003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8004 int arg2 ;
8005 void *argp1 = 0 ;
8006 int res1 = 0 ;
8007 int val2 ;
8008 int ecode2 = 0 ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 char * kwnames[] = {
8012 (char *) "self",(char *) "indentSize", NULL
8013 };
8014
8015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8017 if (!SWIG_IsOK(res1)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8019 }
8020 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8021 ecode2 = SWIG_AsVal_int(obj1, &val2);
8022 if (!SWIG_IsOK(ecode2)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8024 }
8025 arg2 = static_cast< int >(val2);
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->SetIndent(arg2);
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = SWIG_Py_Void();
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8040 PyObject *resultobj = 0;
8041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8042 int result;
8043 void *argp1 = 0 ;
8044 int res1 = 0 ;
8045 PyObject *swig_obj[1] ;
8046
8047 if (!args) SWIG_fail;
8048 swig_obj[0] = args;
8049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8050 if (!SWIG_IsOK(res1)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8052 }
8053 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (int)(arg1)->GetIndent();
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 resultobj = SWIG_From_int(static_cast< int >(result));
8061 return resultobj;
8062 fail:
8063 return NULL;
8064 }
8065
8066
8067 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj = 0;
8069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8070 bool arg2 ;
8071 void *argp1 = 0 ;
8072 int res1 = 0 ;
8073 bool val2 ;
8074 int ecode2 = 0 ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 char * kwnames[] = {
8078 (char *) "self",(char *) "useTabs", NULL
8079 };
8080
8081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8083 if (!SWIG_IsOK(res1)) {
8084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8085 }
8086 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8088 if (!SWIG_IsOK(ecode2)) {
8089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8090 }
8091 arg2 = static_cast< bool >(val2);
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 (arg1)->SetUseTabs(arg2);
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_Py_Void();
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8106 PyObject *resultobj = 0;
8107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8108 bool result;
8109 void *argp1 = 0 ;
8110 int res1 = 0 ;
8111 PyObject *swig_obj[1] ;
8112
8113 if (!args) SWIG_fail;
8114 swig_obj[0] = args;
8115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8116 if (!SWIG_IsOK(res1)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8118 }
8119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (bool)(arg1)->GetUseTabs();
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8128 }
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj = 0;
8137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8138 int arg2 ;
8139 int arg3 ;
8140 void *argp1 = 0 ;
8141 int res1 = 0 ;
8142 int val2 ;
8143 int ecode2 = 0 ;
8144 int val3 ;
8145 int ecode3 = 0 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char * kwnames[] = {
8150 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8151 };
8152
8153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8155 if (!SWIG_IsOK(res1)) {
8156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8157 }
8158 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8159 ecode2 = SWIG_AsVal_int(obj1, &val2);
8160 if (!SWIG_IsOK(ecode2)) {
8161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8162 }
8163 arg2 = static_cast< int >(val2);
8164 ecode3 = SWIG_AsVal_int(obj2, &val3);
8165 if (!SWIG_IsOK(ecode3)) {
8166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8167 }
8168 arg3 = static_cast< int >(val3);
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->SetLineIndentation(arg2,arg3);
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 resultobj = SWIG_Py_Void();
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj = 0;
8184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8185 int arg2 ;
8186 int result;
8187 void *argp1 = 0 ;
8188 int res1 = 0 ;
8189 int val2 ;
8190 int ecode2 = 0 ;
8191 PyObject * obj0 = 0 ;
8192 PyObject * obj1 = 0 ;
8193 char * kwnames[] = {
8194 (char *) "self",(char *) "line", NULL
8195 };
8196
8197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8199 if (!SWIG_IsOK(res1)) {
8200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8201 }
8202 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8203 ecode2 = SWIG_AsVal_int(obj1, &val2);
8204 if (!SWIG_IsOK(ecode2)) {
8205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8206 }
8207 arg2 = static_cast< int >(val2);
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 result = (int)(arg1)->GetLineIndentation(arg2);
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 resultobj = SWIG_From_int(static_cast< int >(result));
8215 return resultobj;
8216 fail:
8217 return NULL;
8218 }
8219
8220
8221 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj = 0;
8223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8224 int arg2 ;
8225 int result;
8226 void *argp1 = 0 ;
8227 int res1 = 0 ;
8228 int val2 ;
8229 int ecode2 = 0 ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 char * kwnames[] = {
8233 (char *) "self",(char *) "line", NULL
8234 };
8235
8236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8238 if (!SWIG_IsOK(res1)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8240 }
8241 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8242 ecode2 = SWIG_AsVal_int(obj1, &val2);
8243 if (!SWIG_IsOK(ecode2)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8245 }
8246 arg2 = static_cast< int >(val2);
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (int)(arg1)->GetLineIndentPosition(arg2);
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 resultobj = SWIG_From_int(static_cast< int >(result));
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj = 0;
8262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8263 int arg2 ;
8264 int result;
8265 void *argp1 = 0 ;
8266 int res1 = 0 ;
8267 int val2 ;
8268 int ecode2 = 0 ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 char * kwnames[] = {
8272 (char *) "self",(char *) "pos", NULL
8273 };
8274
8275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8277 if (!SWIG_IsOK(res1)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8279 }
8280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8281 ecode2 = SWIG_AsVal_int(obj1, &val2);
8282 if (!SWIG_IsOK(ecode2)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8284 }
8285 arg2 = static_cast< int >(val2);
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 result = (int)(arg1)->GetColumn(arg2);
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 resultobj = SWIG_From_int(static_cast< int >(result));
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj = 0;
8301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8302 bool arg2 ;
8303 void *argp1 = 0 ;
8304 int res1 = 0 ;
8305 bool val2 ;
8306 int ecode2 = 0 ;
8307 PyObject * obj0 = 0 ;
8308 PyObject * obj1 = 0 ;
8309 char * kwnames[] = {
8310 (char *) "self",(char *) "show", NULL
8311 };
8312
8313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8315 if (!SWIG_IsOK(res1)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8317 }
8318 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8319 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8320 if (!SWIG_IsOK(ecode2)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8322 }
8323 arg2 = static_cast< bool >(val2);
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 (arg1)->SetUseHorizontalScrollBar(arg2);
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = SWIG_Py_Void();
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8338 PyObject *resultobj = 0;
8339 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8340 bool result;
8341 void *argp1 = 0 ;
8342 int res1 = 0 ;
8343 PyObject *swig_obj[1] ;
8344
8345 if (!args) SWIG_fail;
8346 swig_obj[0] = args;
8347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8348 if (!SWIG_IsOK(res1)) {
8349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8350 }
8351 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8360 }
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj = 0;
8369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8370 bool arg2 ;
8371 void *argp1 = 0 ;
8372 int res1 = 0 ;
8373 bool val2 ;
8374 int ecode2 = 0 ;
8375 PyObject * obj0 = 0 ;
8376 PyObject * obj1 = 0 ;
8377 char * kwnames[] = {
8378 (char *) "self",(char *) "show", NULL
8379 };
8380
8381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8383 if (!SWIG_IsOK(res1)) {
8384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8385 }
8386 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8387 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8388 if (!SWIG_IsOK(ecode2)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8390 }
8391 arg2 = static_cast< bool >(val2);
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 (arg1)->SetIndentationGuides(arg2);
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_Py_Void();
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8406 PyObject *resultobj = 0;
8407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8408 bool result;
8409 void *argp1 = 0 ;
8410 int res1 = 0 ;
8411 PyObject *swig_obj[1] ;
8412
8413 if (!args) SWIG_fail;
8414 swig_obj[0] = args;
8415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8416 if (!SWIG_IsOK(res1)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8418 }
8419 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (bool)(arg1)->GetIndentationGuides();
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 {
8427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8428 }
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj = 0;
8437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8438 int arg2 ;
8439 void *argp1 = 0 ;
8440 int res1 = 0 ;
8441 int val2 ;
8442 int ecode2 = 0 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 char * kwnames[] = {
8446 (char *) "self",(char *) "column", NULL
8447 };
8448
8449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8451 if (!SWIG_IsOK(res1)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8453 }
8454 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8455 ecode2 = SWIG_AsVal_int(obj1, &val2);
8456 if (!SWIG_IsOK(ecode2)) {
8457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8458 }
8459 arg2 = static_cast< int >(val2);
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 (arg1)->SetHighlightGuide(arg2);
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 resultobj = SWIG_Py_Void();
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8474 PyObject *resultobj = 0;
8475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8476 int result;
8477 void *argp1 = 0 ;
8478 int res1 = 0 ;
8479 PyObject *swig_obj[1] ;
8480
8481 if (!args) SWIG_fail;
8482 swig_obj[0] = args;
8483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8484 if (!SWIG_IsOK(res1)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8486 }
8487 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (int)(arg1)->GetHighlightGuide();
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_From_int(static_cast< int >(result));
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj = 0;
8503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8504 int arg2 ;
8505 int result;
8506 void *argp1 = 0 ;
8507 int res1 = 0 ;
8508 int val2 ;
8509 int ecode2 = 0 ;
8510 PyObject * obj0 = 0 ;
8511 PyObject * obj1 = 0 ;
8512 char * kwnames[] = {
8513 (char *) "self",(char *) "line", NULL
8514 };
8515
8516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8518 if (!SWIG_IsOK(res1)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8520 }
8521 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8522 ecode2 = SWIG_AsVal_int(obj1, &val2);
8523 if (!SWIG_IsOK(ecode2)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8525 }
8526 arg2 = static_cast< int >(val2);
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (int)(arg1)->GetLineEndPosition(arg2);
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 resultobj = SWIG_From_int(static_cast< int >(result));
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8541 PyObject *resultobj = 0;
8542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8543 int result;
8544 void *argp1 = 0 ;
8545 int res1 = 0 ;
8546 PyObject *swig_obj[1] ;
8547
8548 if (!args) SWIG_fail;
8549 swig_obj[0] = args;
8550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8551 if (!SWIG_IsOK(res1)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8553 }
8554 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (int)(arg1)->GetCodePage();
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 resultobj = SWIG_From_int(static_cast< int >(result));
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8569 PyObject *resultobj = 0;
8570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8571 wxColour result;
8572 void *argp1 = 0 ;
8573 int res1 = 0 ;
8574 PyObject *swig_obj[1] ;
8575
8576 if (!args) SWIG_fail;
8577 swig_obj[0] = args;
8578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8579 if (!SWIG_IsOK(res1)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8581 }
8582 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 result = (arg1)->GetCaretForeground();
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8590 return resultobj;
8591 fail:
8592 return NULL;
8593 }
8594
8595
8596 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8597 PyObject *resultobj = 0;
8598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8599 bool result;
8600 void *argp1 = 0 ;
8601 int res1 = 0 ;
8602 PyObject *swig_obj[1] ;
8603
8604 if (!args) SWIG_fail;
8605 swig_obj[0] = args;
8606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8607 if (!SWIG_IsOK(res1)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8609 }
8610 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (bool)(arg1)->GetReadOnly();
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 {
8618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8619 }
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj = 0;
8628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8629 int arg2 ;
8630 void *argp1 = 0 ;
8631 int res1 = 0 ;
8632 int val2 ;
8633 int ecode2 = 0 ;
8634 PyObject * obj0 = 0 ;
8635 PyObject * obj1 = 0 ;
8636 char * kwnames[] = {
8637 (char *) "self",(char *) "pos", NULL
8638 };
8639
8640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8642 if (!SWIG_IsOK(res1)) {
8643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8644 }
8645 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8646 ecode2 = SWIG_AsVal_int(obj1, &val2);
8647 if (!SWIG_IsOK(ecode2)) {
8648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8649 }
8650 arg2 = static_cast< int >(val2);
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 (arg1)->SetCurrentPos(arg2);
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 resultobj = SWIG_Py_Void();
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj = 0;
8666 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8667 int arg2 ;
8668 void *argp1 = 0 ;
8669 int res1 = 0 ;
8670 int val2 ;
8671 int ecode2 = 0 ;
8672 PyObject * obj0 = 0 ;
8673 PyObject * obj1 = 0 ;
8674 char * kwnames[] = {
8675 (char *) "self",(char *) "pos", NULL
8676 };
8677
8678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8680 if (!SWIG_IsOK(res1)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8682 }
8683 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8684 ecode2 = SWIG_AsVal_int(obj1, &val2);
8685 if (!SWIG_IsOK(ecode2)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8687 }
8688 arg2 = static_cast< int >(val2);
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetSelectionStart(arg2);
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_Py_Void();
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8703 PyObject *resultobj = 0;
8704 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8705 int result;
8706 void *argp1 = 0 ;
8707 int res1 = 0 ;
8708 PyObject *swig_obj[1] ;
8709
8710 if (!args) SWIG_fail;
8711 swig_obj[0] = args;
8712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8713 if (!SWIG_IsOK(res1)) {
8714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8715 }
8716 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (int)(arg1)->GetSelectionStart();
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = SWIG_From_int(static_cast< int >(result));
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj = 0;
8732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8733 int arg2 ;
8734 void *argp1 = 0 ;
8735 int res1 = 0 ;
8736 int val2 ;
8737 int ecode2 = 0 ;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 char * kwnames[] = {
8741 (char *) "self",(char *) "pos", NULL
8742 };
8743
8744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8746 if (!SWIG_IsOK(res1)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8748 }
8749 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8750 ecode2 = SWIG_AsVal_int(obj1, &val2);
8751 if (!SWIG_IsOK(ecode2)) {
8752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8753 }
8754 arg2 = static_cast< int >(val2);
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 (arg1)->SetSelectionEnd(arg2);
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = SWIG_Py_Void();
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8769 PyObject *resultobj = 0;
8770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8771 int result;
8772 void *argp1 = 0 ;
8773 int res1 = 0 ;
8774 PyObject *swig_obj[1] ;
8775
8776 if (!args) SWIG_fail;
8777 swig_obj[0] = args;
8778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8779 if (!SWIG_IsOK(res1)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8781 }
8782 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 result = (int)(arg1)->GetSelectionEnd();
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 resultobj = SWIG_From_int(static_cast< int >(result));
8790 return resultobj;
8791 fail:
8792 return NULL;
8793 }
8794
8795
8796 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj = 0;
8798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8799 int arg2 ;
8800 void *argp1 = 0 ;
8801 int res1 = 0 ;
8802 int val2 ;
8803 int ecode2 = 0 ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 char * kwnames[] = {
8807 (char *) "self",(char *) "magnification", NULL
8808 };
8809
8810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8812 if (!SWIG_IsOK(res1)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8814 }
8815 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8816 ecode2 = SWIG_AsVal_int(obj1, &val2);
8817 if (!SWIG_IsOK(ecode2)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8819 }
8820 arg2 = static_cast< int >(val2);
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 (arg1)->SetPrintMagnification(arg2);
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 resultobj = SWIG_Py_Void();
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8835 PyObject *resultobj = 0;
8836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8837 int result;
8838 void *argp1 = 0 ;
8839 int res1 = 0 ;
8840 PyObject *swig_obj[1] ;
8841
8842 if (!args) SWIG_fail;
8843 swig_obj[0] = args;
8844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8845 if (!SWIG_IsOK(res1)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8847 }
8848 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (int)(arg1)->GetPrintMagnification();
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_From_int(static_cast< int >(result));
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj = 0;
8864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8865 int arg2 ;
8866 void *argp1 = 0 ;
8867 int res1 = 0 ;
8868 int val2 ;
8869 int ecode2 = 0 ;
8870 PyObject * obj0 = 0 ;
8871 PyObject * obj1 = 0 ;
8872 char * kwnames[] = {
8873 (char *) "self",(char *) "mode", NULL
8874 };
8875
8876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8878 if (!SWIG_IsOK(res1)) {
8879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8880 }
8881 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8882 ecode2 = SWIG_AsVal_int(obj1, &val2);
8883 if (!SWIG_IsOK(ecode2)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
8885 }
8886 arg2 = static_cast< int >(val2);
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetPrintColourMode(arg2);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_Py_Void();
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8901 PyObject *resultobj = 0;
8902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8903 int result;
8904 void *argp1 = 0 ;
8905 int res1 = 0 ;
8906 PyObject *swig_obj[1] ;
8907
8908 if (!args) SWIG_fail;
8909 swig_obj[0] = args;
8910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8911 if (!SWIG_IsOK(res1)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8913 }
8914 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)(arg1)->GetPrintColourMode();
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_From_int(static_cast< int >(result));
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj = 0;
8930 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8931 int arg2 ;
8932 int arg3 ;
8933 wxString *arg4 = 0 ;
8934 int arg5 = (int) 0 ;
8935 int result;
8936 void *argp1 = 0 ;
8937 int res1 = 0 ;
8938 int val2 ;
8939 int ecode2 = 0 ;
8940 int val3 ;
8941 int ecode3 = 0 ;
8942 bool temp4 = false ;
8943 int val5 ;
8944 int ecode5 = 0 ;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 PyObject * obj2 = 0 ;
8948 PyObject * obj3 = 0 ;
8949 PyObject * obj4 = 0 ;
8950 char * kwnames[] = {
8951 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
8952 };
8953
8954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8956 if (!SWIG_IsOK(res1)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8958 }
8959 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8960 ecode2 = SWIG_AsVal_int(obj1, &val2);
8961 if (!SWIG_IsOK(ecode2)) {
8962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
8963 }
8964 arg2 = static_cast< int >(val2);
8965 ecode3 = SWIG_AsVal_int(obj2, &val3);
8966 if (!SWIG_IsOK(ecode3)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
8968 }
8969 arg3 = static_cast< int >(val3);
8970 {
8971 arg4 = wxString_in_helper(obj3);
8972 if (arg4 == NULL) SWIG_fail;
8973 temp4 = true;
8974 }
8975 if (obj4) {
8976 ecode5 = SWIG_AsVal_int(obj4, &val5);
8977 if (!SWIG_IsOK(ecode5)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
8979 }
8980 arg5 = static_cast< int >(val5);
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 resultobj = SWIG_From_int(static_cast< int >(result));
8989 {
8990 if (temp4)
8991 delete arg4;
8992 }
8993 return resultobj;
8994 fail:
8995 {
8996 if (temp4)
8997 delete arg4;
8998 }
8999 return NULL;
9000 }
9001
9002
9003 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj = 0;
9005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9006 bool arg2 ;
9007 int arg3 ;
9008 int arg4 ;
9009 wxDC *arg5 = (wxDC *) 0 ;
9010 wxDC *arg6 = (wxDC *) 0 ;
9011 wxRect arg7 ;
9012 wxRect arg8 ;
9013 int result;
9014 void *argp1 = 0 ;
9015 int res1 = 0 ;
9016 bool val2 ;
9017 int ecode2 = 0 ;
9018 int val3 ;
9019 int ecode3 = 0 ;
9020 int val4 ;
9021 int ecode4 = 0 ;
9022 void *argp5 = 0 ;
9023 int res5 = 0 ;
9024 void *argp6 = 0 ;
9025 int res6 = 0 ;
9026 void *argp7 ;
9027 int res7 = 0 ;
9028 void *argp8 ;
9029 int res8 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 PyObject * obj2 = 0 ;
9033 PyObject * obj3 = 0 ;
9034 PyObject * obj4 = 0 ;
9035 PyObject * obj5 = 0 ;
9036 PyObject * obj6 = 0 ;
9037 PyObject * obj7 = 0 ;
9038 char * kwnames[] = {
9039 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9040 };
9041
9042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9044 if (!SWIG_IsOK(res1)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9046 }
9047 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9048 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9049 if (!SWIG_IsOK(ecode2)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9051 }
9052 arg2 = static_cast< bool >(val2);
9053 ecode3 = SWIG_AsVal_int(obj2, &val3);
9054 if (!SWIG_IsOK(ecode3)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9056 }
9057 arg3 = static_cast< int >(val3);
9058 ecode4 = SWIG_AsVal_int(obj3, &val4);
9059 if (!SWIG_IsOK(ecode4)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9061 }
9062 arg4 = static_cast< int >(val4);
9063 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9064 if (!SWIG_IsOK(res5)) {
9065 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9066 }
9067 arg5 = reinterpret_cast< wxDC * >(argp5);
9068 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9069 if (!SWIG_IsOK(res6)) {
9070 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9071 }
9072 arg6 = reinterpret_cast< wxDC * >(argp6);
9073 {
9074 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9075 if (!SWIG_IsOK(res7)) {
9076 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9077 }
9078 if (!argp7) {
9079 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9080 } else {
9081 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9082 arg7 = *temp;
9083 if (SWIG_IsNewObj(res7)) delete temp;
9084 }
9085 }
9086 {
9087 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9088 if (!SWIG_IsOK(res8)) {
9089 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9090 }
9091 if (!argp8) {
9092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9093 } else {
9094 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9095 arg8 = *temp;
9096 if (SWIG_IsNewObj(res8)) delete temp;
9097 }
9098 }
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 resultobj = SWIG_From_int(static_cast< int >(result));
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9113 PyObject *resultobj = 0;
9114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9115 int result;
9116 void *argp1 = 0 ;
9117 int res1 = 0 ;
9118 PyObject *swig_obj[1] ;
9119
9120 if (!args) SWIG_fail;
9121 swig_obj[0] = args;
9122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9123 if (!SWIG_IsOK(res1)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9125 }
9126 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (int)(arg1)->GetFirstVisibleLine();
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = SWIG_From_int(static_cast< int >(result));
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9143 int arg2 ;
9144 wxString result;
9145 void *argp1 = 0 ;
9146 int res1 = 0 ;
9147 int val2 ;
9148 int ecode2 = 0 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char * kwnames[] = {
9152 (char *) "self",(char *) "line", NULL
9153 };
9154
9155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9157 if (!SWIG_IsOK(res1)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9159 }
9160 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9161 ecode2 = SWIG_AsVal_int(obj1, &val2);
9162 if (!SWIG_IsOK(ecode2)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9164 }
9165 arg2 = static_cast< int >(val2);
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (arg1)->GetLine(arg2);
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 {
9173 #if wxUSE_UNICODE
9174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9175 #else
9176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9177 #endif
9178 }
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9186 PyObject *resultobj = 0;
9187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9188 int result;
9189 void *argp1 = 0 ;
9190 int res1 = 0 ;
9191 PyObject *swig_obj[1] ;
9192
9193 if (!args) SWIG_fail;
9194 swig_obj[0] = args;
9195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9196 if (!SWIG_IsOK(res1)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9198 }
9199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 result = (int)(arg1)->GetLineCount();
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 resultobj = SWIG_From_int(static_cast< int >(result));
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9216 int arg2 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 int val2 ;
9220 int ecode2 = 0 ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 char * kwnames[] = {
9224 (char *) "self",(char *) "pixelWidth", NULL
9225 };
9226
9227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9229 if (!SWIG_IsOK(res1)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9231 }
9232 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9233 ecode2 = SWIG_AsVal_int(obj1, &val2);
9234 if (!SWIG_IsOK(ecode2)) {
9235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9236 }
9237 arg2 = static_cast< int >(val2);
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->SetMarginLeft(arg2);
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = SWIG_Py_Void();
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9252 PyObject *resultobj = 0;
9253 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9254 int result;
9255 void *argp1 = 0 ;
9256 int res1 = 0 ;
9257 PyObject *swig_obj[1] ;
9258
9259 if (!args) SWIG_fail;
9260 swig_obj[0] = args;
9261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9262 if (!SWIG_IsOK(res1)) {
9263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9264 }
9265 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 result = (int)(arg1)->GetMarginLeft();
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 resultobj = SWIG_From_int(static_cast< int >(result));
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj = 0;
9281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9282 int arg2 ;
9283 void *argp1 = 0 ;
9284 int res1 = 0 ;
9285 int val2 ;
9286 int ecode2 = 0 ;
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
9289 char * kwnames[] = {
9290 (char *) "self",(char *) "pixelWidth", NULL
9291 };
9292
9293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9295 if (!SWIG_IsOK(res1)) {
9296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9297 }
9298 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9299 ecode2 = SWIG_AsVal_int(obj1, &val2);
9300 if (!SWIG_IsOK(ecode2)) {
9301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9302 }
9303 arg2 = static_cast< int >(val2);
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 (arg1)->SetMarginRight(arg2);
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 resultobj = SWIG_Py_Void();
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9318 PyObject *resultobj = 0;
9319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9320 int result;
9321 void *argp1 = 0 ;
9322 int res1 = 0 ;
9323 PyObject *swig_obj[1] ;
9324
9325 if (!args) SWIG_fail;
9326 swig_obj[0] = args;
9327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9328 if (!SWIG_IsOK(res1)) {
9329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9330 }
9331 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 result = (int)(arg1)->GetMarginRight();
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 resultobj = SWIG_From_int(static_cast< int >(result));
9339 return resultobj;
9340 fail:
9341 return NULL;
9342 }
9343
9344
9345 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9346 PyObject *resultobj = 0;
9347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9348 bool result;
9349 void *argp1 = 0 ;
9350 int res1 = 0 ;
9351 PyObject *swig_obj[1] ;
9352
9353 if (!args) SWIG_fail;
9354 swig_obj[0] = args;
9355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9356 if (!SWIG_IsOK(res1)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9358 }
9359 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (bool)(arg1)->GetModify();
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 {
9367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9368 }
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj = 0;
9377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9378 int arg2 ;
9379 int arg3 ;
9380 void *argp1 = 0 ;
9381 int res1 = 0 ;
9382 int val2 ;
9383 int ecode2 = 0 ;
9384 int val3 ;
9385 int ecode3 = 0 ;
9386 PyObject * obj0 = 0 ;
9387 PyObject * obj1 = 0 ;
9388 PyObject * obj2 = 0 ;
9389 char * kwnames[] = {
9390 (char *) "self",(char *) "start",(char *) "end", NULL
9391 };
9392
9393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9397 }
9398 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9399 ecode2 = SWIG_AsVal_int(obj1, &val2);
9400 if (!SWIG_IsOK(ecode2)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9402 }
9403 arg2 = static_cast< int >(val2);
9404 ecode3 = SWIG_AsVal_int(obj2, &val3);
9405 if (!SWIG_IsOK(ecode3)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9407 }
9408 arg3 = static_cast< int >(val3);
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 (arg1)->SetSelection(arg2,arg3);
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = SWIG_Py_Void();
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9423 PyObject *resultobj = 0;
9424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9425 wxString result;
9426 void *argp1 = 0 ;
9427 int res1 = 0 ;
9428 PyObject *swig_obj[1] ;
9429
9430 if (!args) SWIG_fail;
9431 swig_obj[0] = args;
9432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9433 if (!SWIG_IsOK(res1)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9435 }
9436 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (arg1)->GetSelectedText();
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 {
9444 #if wxUSE_UNICODE
9445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9446 #else
9447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9448 #endif
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj = 0;
9458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9459 int arg2 ;
9460 int arg3 ;
9461 wxString result;
9462 void *argp1 = 0 ;
9463 int res1 = 0 ;
9464 int val2 ;
9465 int ecode2 = 0 ;
9466 int val3 ;
9467 int ecode3 = 0 ;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 PyObject * obj2 = 0 ;
9471 char * kwnames[] = {
9472 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9473 };
9474
9475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9477 if (!SWIG_IsOK(res1)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9479 }
9480 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9481 ecode2 = SWIG_AsVal_int(obj1, &val2);
9482 if (!SWIG_IsOK(ecode2)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9484 }
9485 arg2 = static_cast< int >(val2);
9486 ecode3 = SWIG_AsVal_int(obj2, &val3);
9487 if (!SWIG_IsOK(ecode3)) {
9488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9489 }
9490 arg3 = static_cast< int >(val3);
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (arg1)->GetTextRange(arg2,arg3);
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 {
9498 #if wxUSE_UNICODE
9499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9500 #else
9501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9502 #endif
9503 }
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj = 0;
9512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9513 bool arg2 ;
9514 void *argp1 = 0 ;
9515 int res1 = 0 ;
9516 bool val2 ;
9517 int ecode2 = 0 ;
9518 PyObject * obj0 = 0 ;
9519 PyObject * obj1 = 0 ;
9520 char * kwnames[] = {
9521 (char *) "self",(char *) "normal", NULL
9522 };
9523
9524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9526 if (!SWIG_IsOK(res1)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9528 }
9529 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9530 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9531 if (!SWIG_IsOK(ecode2)) {
9532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9533 }
9534 arg2 = static_cast< bool >(val2);
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 (arg1)->HideSelection(arg2);
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = SWIG_Py_Void();
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj = 0;
9550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9551 int arg2 ;
9552 int result;
9553 void *argp1 = 0 ;
9554 int res1 = 0 ;
9555 int val2 ;
9556 int ecode2 = 0 ;
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
9559 char * kwnames[] = {
9560 (char *) "self",(char *) "pos", NULL
9561 };
9562
9563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9565 if (!SWIG_IsOK(res1)) {
9566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9567 }
9568 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9569 ecode2 = SWIG_AsVal_int(obj1, &val2);
9570 if (!SWIG_IsOK(ecode2)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9572 }
9573 arg2 = static_cast< int >(val2);
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (int)(arg1)->LineFromPosition(arg2);
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 resultobj = SWIG_From_int(static_cast< int >(result));
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj = 0;
9589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9590 int arg2 ;
9591 int result;
9592 void *argp1 = 0 ;
9593 int res1 = 0 ;
9594 int val2 ;
9595 int ecode2 = 0 ;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 char * kwnames[] = {
9599 (char *) "self",(char *) "line", NULL
9600 };
9601
9602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9604 if (!SWIG_IsOK(res1)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9606 }
9607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9608 ecode2 = SWIG_AsVal_int(obj1, &val2);
9609 if (!SWIG_IsOK(ecode2)) {
9610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9611 }
9612 arg2 = static_cast< int >(val2);
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (int)(arg1)->PositionFromLine(arg2);
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_From_int(static_cast< int >(result));
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj = 0;
9628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9629 int arg2 ;
9630 int arg3 ;
9631 void *argp1 = 0 ;
9632 int res1 = 0 ;
9633 int val2 ;
9634 int ecode2 = 0 ;
9635 int val3 ;
9636 int ecode3 = 0 ;
9637 PyObject * obj0 = 0 ;
9638 PyObject * obj1 = 0 ;
9639 PyObject * obj2 = 0 ;
9640 char * kwnames[] = {
9641 (char *) "self",(char *) "columns",(char *) "lines", NULL
9642 };
9643
9644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9646 if (!SWIG_IsOK(res1)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9648 }
9649 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9650 ecode2 = SWIG_AsVal_int(obj1, &val2);
9651 if (!SWIG_IsOK(ecode2)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9653 }
9654 arg2 = static_cast< int >(val2);
9655 ecode3 = SWIG_AsVal_int(obj2, &val3);
9656 if (!SWIG_IsOK(ecode3)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9658 }
9659 arg3 = static_cast< int >(val3);
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 (arg1)->LineScroll(arg2,arg3);
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 resultobj = SWIG_Py_Void();
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9674 PyObject *resultobj = 0;
9675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9676 void *argp1 = 0 ;
9677 int res1 = 0 ;
9678 PyObject *swig_obj[1] ;
9679
9680 if (!args) SWIG_fail;
9681 swig_obj[0] = args;
9682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9685 }
9686 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 (arg1)->EnsureCaretVisible();
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 resultobj = SWIG_Py_Void();
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj = 0;
9702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9703 wxString *arg2 = 0 ;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 bool temp2 = false ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "text", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9717 }
9718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9719 {
9720 arg2 = wxString_in_helper(obj1);
9721 if (arg2 == NULL) SWIG_fail;
9722 temp2 = true;
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->ReplaceSelection((wxString const &)*arg2);
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 resultobj = SWIG_Py_Void();
9731 {
9732 if (temp2)
9733 delete arg2;
9734 }
9735 return resultobj;
9736 fail:
9737 {
9738 if (temp2)
9739 delete arg2;
9740 }
9741 return NULL;
9742 }
9743
9744
9745 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj = 0;
9747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9748 bool arg2 ;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 bool val2 ;
9752 int ecode2 = 0 ;
9753 PyObject * obj0 = 0 ;
9754 PyObject * obj1 = 0 ;
9755 char * kwnames[] = {
9756 (char *) "self",(char *) "readOnly", NULL
9757 };
9758
9759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9761 if (!SWIG_IsOK(res1)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9763 }
9764 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9765 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9766 if (!SWIG_IsOK(ecode2)) {
9767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9768 }
9769 arg2 = static_cast< bool >(val2);
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 (arg1)->SetReadOnly(arg2);
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 resultobj = SWIG_Py_Void();
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9784 PyObject *resultobj = 0;
9785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9786 bool result;
9787 void *argp1 = 0 ;
9788 int res1 = 0 ;
9789 PyObject *swig_obj[1] ;
9790
9791 if (!args) SWIG_fail;
9792 swig_obj[0] = args;
9793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9794 if (!SWIG_IsOK(res1)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9796 }
9797 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (bool)(arg1)->CanPaste();
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 {
9805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9806 }
9807 return resultobj;
9808 fail:
9809 return NULL;
9810 }
9811
9812
9813 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9814 PyObject *resultobj = 0;
9815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9816 bool result;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 PyObject *swig_obj[1] ;
9820
9821 if (!args) SWIG_fail;
9822 swig_obj[0] = args;
9823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9824 if (!SWIG_IsOK(res1)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9826 }
9827 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (bool)(arg1)->CanUndo();
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 {
9835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9836 }
9837 return resultobj;
9838 fail:
9839 return NULL;
9840 }
9841
9842
9843 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9844 PyObject *resultobj = 0;
9845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9846 void *argp1 = 0 ;
9847 int res1 = 0 ;
9848 PyObject *swig_obj[1] ;
9849
9850 if (!args) SWIG_fail;
9851 swig_obj[0] = args;
9852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9853 if (!SWIG_IsOK(res1)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9855 }
9856 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 (arg1)->EmptyUndoBuffer();
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 resultobj = SWIG_Py_Void();
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9871 PyObject *resultobj = 0;
9872 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 PyObject *swig_obj[1] ;
9876
9877 if (!args) SWIG_fail;
9878 swig_obj[0] = args;
9879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9882 }
9883 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 (arg1)->Undo();
9887 wxPyEndAllowThreads(__tstate);
9888 if (PyErr_Occurred()) SWIG_fail;
9889 }
9890 resultobj = SWIG_Py_Void();
9891 return resultobj;
9892 fail:
9893 return NULL;
9894 }
9895
9896
9897 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9898 PyObject *resultobj = 0;
9899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9900 void *argp1 = 0 ;
9901 int res1 = 0 ;
9902 PyObject *swig_obj[1] ;
9903
9904 if (!args) SWIG_fail;
9905 swig_obj[0] = args;
9906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9907 if (!SWIG_IsOK(res1)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9909 }
9910 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->Cut();
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 resultobj = SWIG_Py_Void();
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9925 PyObject *resultobj = 0;
9926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9927 void *argp1 = 0 ;
9928 int res1 = 0 ;
9929 PyObject *swig_obj[1] ;
9930
9931 if (!args) SWIG_fail;
9932 swig_obj[0] = args;
9933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9934 if (!SWIG_IsOK(res1)) {
9935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9936 }
9937 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->Copy();
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 resultobj = SWIG_Py_Void();
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9952 PyObject *resultobj = 0;
9953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9963 }
9964 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 (arg1)->Paste();
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_Py_Void();
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9979 PyObject *resultobj = 0;
9980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9981 void *argp1 = 0 ;
9982 int res1 = 0 ;
9983 PyObject *swig_obj[1] ;
9984
9985 if (!args) SWIG_fail;
9986 swig_obj[0] = args;
9987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9988 if (!SWIG_IsOK(res1)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9990 }
9991 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 (arg1)->Clear();
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 resultobj = SWIG_Py_Void();
9999 return resultobj;
10000 fail:
10001 return NULL;
10002 }
10003
10004
10005 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj = 0;
10007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10008 wxString *arg2 = 0 ;
10009 void *argp1 = 0 ;
10010 int res1 = 0 ;
10011 bool temp2 = false ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "self",(char *) "text", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10022 }
10023 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10024 {
10025 arg2 = wxString_in_helper(obj1);
10026 if (arg2 == NULL) SWIG_fail;
10027 temp2 = true;
10028 }
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 (arg1)->SetText((wxString const &)*arg2);
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_Py_Void();
10036 {
10037 if (temp2)
10038 delete arg2;
10039 }
10040 return resultobj;
10041 fail:
10042 {
10043 if (temp2)
10044 delete arg2;
10045 }
10046 return NULL;
10047 }
10048
10049
10050 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10051 PyObject *resultobj = 0;
10052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10053 wxString result;
10054 void *argp1 = 0 ;
10055 int res1 = 0 ;
10056 PyObject *swig_obj[1] ;
10057
10058 if (!args) SWIG_fail;
10059 swig_obj[0] = args;
10060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10061 if (!SWIG_IsOK(res1)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10063 }
10064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (arg1)->GetText();
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 {
10072 #if wxUSE_UNICODE
10073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10074 #else
10075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10076 #endif
10077 }
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10085 PyObject *resultobj = 0;
10086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10087 int result;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 PyObject *swig_obj[1] ;
10091
10092 if (!args) SWIG_fail;
10093 swig_obj[0] = args;
10094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10095 if (!SWIG_IsOK(res1)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10097 }
10098 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (int)(arg1)->GetTextLength();
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_From_int(static_cast< int >(result));
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj = 0;
10114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10115 bool arg2 ;
10116 void *argp1 = 0 ;
10117 int res1 = 0 ;
10118 bool val2 ;
10119 int ecode2 = 0 ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 char * kwnames[] = {
10123 (char *) "self",(char *) "overtype", NULL
10124 };
10125
10126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10128 if (!SWIG_IsOK(res1)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10130 }
10131 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10132 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10133 if (!SWIG_IsOK(ecode2)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10135 }
10136 arg2 = static_cast< bool >(val2);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetOvertype(arg2);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10151 PyObject *resultobj = 0;
10152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10153 bool result;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 PyObject *swig_obj[1] ;
10157
10158 if (!args) SWIG_fail;
10159 swig_obj[0] = args;
10160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10161 if (!SWIG_IsOK(res1)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10163 }
10164 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (bool)(arg1)->GetOvertype();
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 {
10172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10173 }
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj = 0;
10182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10183 int arg2 ;
10184 void *argp1 = 0 ;
10185 int res1 = 0 ;
10186 int val2 ;
10187 int ecode2 = 0 ;
10188 PyObject * obj0 = 0 ;
10189 PyObject * obj1 = 0 ;
10190 char * kwnames[] = {
10191 (char *) "self",(char *) "pixelWidth", NULL
10192 };
10193
10194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10196 if (!SWIG_IsOK(res1)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10198 }
10199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10200 ecode2 = SWIG_AsVal_int(obj1, &val2);
10201 if (!SWIG_IsOK(ecode2)) {
10202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10203 }
10204 arg2 = static_cast< int >(val2);
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 (arg1)->SetCaretWidth(arg2);
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = SWIG_Py_Void();
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10219 PyObject *resultobj = 0;
10220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10221 int result;
10222 void *argp1 = 0 ;
10223 int res1 = 0 ;
10224 PyObject *swig_obj[1] ;
10225
10226 if (!args) SWIG_fail;
10227 swig_obj[0] = args;
10228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10231 }
10232 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (int)(arg1)->GetCaretWidth();
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 resultobj = SWIG_From_int(static_cast< int >(result));
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj = 0;
10248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10249 int arg2 ;
10250 void *argp1 = 0 ;
10251 int res1 = 0 ;
10252 int val2 ;
10253 int ecode2 = 0 ;
10254 PyObject * obj0 = 0 ;
10255 PyObject * obj1 = 0 ;
10256 char * kwnames[] = {
10257 (char *) "self",(char *) "pos", NULL
10258 };
10259
10260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10262 if (!SWIG_IsOK(res1)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10264 }
10265 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10266 ecode2 = SWIG_AsVal_int(obj1, &val2);
10267 if (!SWIG_IsOK(ecode2)) {
10268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10269 }
10270 arg2 = static_cast< int >(val2);
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->SetTargetStart(arg2);
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 resultobj = SWIG_Py_Void();
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10285 PyObject *resultobj = 0;
10286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10287 int result;
10288 void *argp1 = 0 ;
10289 int res1 = 0 ;
10290 PyObject *swig_obj[1] ;
10291
10292 if (!args) SWIG_fail;
10293 swig_obj[0] = args;
10294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10295 if (!SWIG_IsOK(res1)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10297 }
10298 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (int)(arg1)->GetTargetStart();
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 resultobj = SWIG_From_int(static_cast< int >(result));
10306 return resultobj;
10307 fail:
10308 return NULL;
10309 }
10310
10311
10312 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10313 PyObject *resultobj = 0;
10314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10315 int arg2 ;
10316 void *argp1 = 0 ;
10317 int res1 = 0 ;
10318 int val2 ;
10319 int ecode2 = 0 ;
10320 PyObject * obj0 = 0 ;
10321 PyObject * obj1 = 0 ;
10322 char * kwnames[] = {
10323 (char *) "self",(char *) "pos", NULL
10324 };
10325
10326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10328 if (!SWIG_IsOK(res1)) {
10329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10330 }
10331 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10332 ecode2 = SWIG_AsVal_int(obj1, &val2);
10333 if (!SWIG_IsOK(ecode2)) {
10334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10335 }
10336 arg2 = static_cast< int >(val2);
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->SetTargetEnd(arg2);
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 resultobj = SWIG_Py_Void();
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10351 PyObject *resultobj = 0;
10352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10353 int result;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 PyObject *swig_obj[1] ;
10357
10358 if (!args) SWIG_fail;
10359 swig_obj[0] = args;
10360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10361 if (!SWIG_IsOK(res1)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10363 }
10364 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 result = (int)(arg1)->GetTargetEnd();
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_From_int(static_cast< int >(result));
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj = 0;
10380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10381 wxString *arg2 = 0 ;
10382 int result;
10383 void *argp1 = 0 ;
10384 int res1 = 0 ;
10385 bool temp2 = false ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "text", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10396 }
10397 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10398 {
10399 arg2 = wxString_in_helper(obj1);
10400 if (arg2 == NULL) SWIG_fail;
10401 temp2 = true;
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_From_int(static_cast< int >(result));
10410 {
10411 if (temp2)
10412 delete arg2;
10413 }
10414 return resultobj;
10415 fail:
10416 {
10417 if (temp2)
10418 delete arg2;
10419 }
10420 return NULL;
10421 }
10422
10423
10424 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = 0;
10426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10427 wxString *arg2 = 0 ;
10428 int result;
10429 void *argp1 = 0 ;
10430 int res1 = 0 ;
10431 bool temp2 = false ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "text", NULL
10436 };
10437
10438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10440 if (!SWIG_IsOK(res1)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10442 }
10443 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10444 {
10445 arg2 = wxString_in_helper(obj1);
10446 if (arg2 == NULL) SWIG_fail;
10447 temp2 = true;
10448 }
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_From_int(static_cast< int >(result));
10456 {
10457 if (temp2)
10458 delete arg2;
10459 }
10460 return resultobj;
10461 fail:
10462 {
10463 if (temp2)
10464 delete arg2;
10465 }
10466 return NULL;
10467 }
10468
10469
10470 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj = 0;
10472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10473 wxString *arg2 = 0 ;
10474 int result;
10475 void *argp1 = 0 ;
10476 int res1 = 0 ;
10477 bool temp2 = false ;
10478 PyObject * obj0 = 0 ;
10479 PyObject * obj1 = 0 ;
10480 char * kwnames[] = {
10481 (char *) "self",(char *) "text", NULL
10482 };
10483
10484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10488 }
10489 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10490 {
10491 arg2 = wxString_in_helper(obj1);
10492 if (arg2 == NULL) SWIG_fail;
10493 temp2 = true;
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 resultobj = SWIG_From_int(static_cast< int >(result));
10502 {
10503 if (temp2)
10504 delete arg2;
10505 }
10506 return resultobj;
10507 fail:
10508 {
10509 if (temp2)
10510 delete arg2;
10511 }
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj = 0;
10518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10519 int arg2 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 int val2 ;
10523 int ecode2 = 0 ;
10524 PyObject * obj0 = 0 ;
10525 PyObject * obj1 = 0 ;
10526 char * kwnames[] = {
10527 (char *) "self",(char *) "flags", NULL
10528 };
10529
10530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10532 if (!SWIG_IsOK(res1)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10534 }
10535 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10536 ecode2 = SWIG_AsVal_int(obj1, &val2);
10537 if (!SWIG_IsOK(ecode2)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10539 }
10540 arg2 = static_cast< int >(val2);
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 (arg1)->SetSearchFlags(arg2);
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 resultobj = SWIG_Py_Void();
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10555 PyObject *resultobj = 0;
10556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10557 int result;
10558 void *argp1 = 0 ;
10559 int res1 = 0 ;
10560 PyObject *swig_obj[1] ;
10561
10562 if (!args) SWIG_fail;
10563 swig_obj[0] = args;
10564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10565 if (!SWIG_IsOK(res1)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10567 }
10568 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)(arg1)->GetSearchFlags();
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_From_int(static_cast< int >(result));
10576 return resultobj;
10577 fail:
10578 return NULL;
10579 }
10580
10581
10582 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj = 0;
10584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10585 int arg2 ;
10586 wxString *arg3 = 0 ;
10587 void *argp1 = 0 ;
10588 int res1 = 0 ;
10589 int val2 ;
10590 int ecode2 = 0 ;
10591 bool temp3 = false ;
10592 PyObject * obj0 = 0 ;
10593 PyObject * obj1 = 0 ;
10594 PyObject * obj2 = 0 ;
10595 char * kwnames[] = {
10596 (char *) "self",(char *) "pos",(char *) "definition", NULL
10597 };
10598
10599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10601 if (!SWIG_IsOK(res1)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10603 }
10604 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10605 ecode2 = SWIG_AsVal_int(obj1, &val2);
10606 if (!SWIG_IsOK(ecode2)) {
10607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10608 }
10609 arg2 = static_cast< int >(val2);
10610 {
10611 arg3 = wxString_in_helper(obj2);
10612 if (arg3 == NULL) SWIG_fail;
10613 temp3 = true;
10614 }
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = SWIG_Py_Void();
10622 {
10623 if (temp3)
10624 delete arg3;
10625 }
10626 return resultobj;
10627 fail:
10628 {
10629 if (temp3)
10630 delete arg3;
10631 }
10632 return NULL;
10633 }
10634
10635
10636 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10637 PyObject *resultobj = 0;
10638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10639 void *argp1 = 0 ;
10640 int res1 = 0 ;
10641 PyObject *swig_obj[1] ;
10642
10643 if (!args) SWIG_fail;
10644 swig_obj[0] = args;
10645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10648 }
10649 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->CallTipCancel();
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = SWIG_Py_Void();
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10664 PyObject *resultobj = 0;
10665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10666 bool result;
10667 void *argp1 = 0 ;
10668 int res1 = 0 ;
10669 PyObject *swig_obj[1] ;
10670
10671 if (!args) SWIG_fail;
10672 swig_obj[0] = args;
10673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10674 if (!SWIG_IsOK(res1)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10676 }
10677 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (bool)(arg1)->CallTipActive();
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10694 PyObject *resultobj = 0;
10695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10696 int result;
10697 void *argp1 = 0 ;
10698 int res1 = 0 ;
10699 PyObject *swig_obj[1] ;
10700
10701 if (!args) SWIG_fail;
10702 swig_obj[0] = args;
10703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10704 if (!SWIG_IsOK(res1)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10706 }
10707 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (int)(arg1)->CallTipPosAtStart();
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_From_int(static_cast< int >(result));
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj = 0;
10723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10724 int arg2 ;
10725 int arg3 ;
10726 void *argp1 = 0 ;
10727 int res1 = 0 ;
10728 int val2 ;
10729 int ecode2 = 0 ;
10730 int val3 ;
10731 int ecode3 = 0 ;
10732 PyObject * obj0 = 0 ;
10733 PyObject * obj1 = 0 ;
10734 PyObject * obj2 = 0 ;
10735 char * kwnames[] = {
10736 (char *) "self",(char *) "start",(char *) "end", NULL
10737 };
10738
10739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10741 if (!SWIG_IsOK(res1)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10743 }
10744 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10745 ecode2 = SWIG_AsVal_int(obj1, &val2);
10746 if (!SWIG_IsOK(ecode2)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10748 }
10749 arg2 = static_cast< int >(val2);
10750 ecode3 = SWIG_AsVal_int(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10753 }
10754 arg3 = static_cast< int >(val3);
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->CallTipSetHighlight(arg2,arg3);
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 resultobj = SWIG_Py_Void();
10762 return resultobj;
10763 fail:
10764 return NULL;
10765 }
10766
10767
10768 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj = 0;
10770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10771 wxColour *arg2 = 0 ;
10772 void *argp1 = 0 ;
10773 int res1 = 0 ;
10774 wxColour temp2 ;
10775 PyObject * obj0 = 0 ;
10776 PyObject * obj1 = 0 ;
10777 char * kwnames[] = {
10778 (char *) "self",(char *) "back", NULL
10779 };
10780
10781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10783 if (!SWIG_IsOK(res1)) {
10784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10785 }
10786 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10787 {
10788 arg2 = &temp2;
10789 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10790 }
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = SWIG_Py_Void();
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj = 0;
10806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10807 wxColour *arg2 = 0 ;
10808 void *argp1 = 0 ;
10809 int res1 = 0 ;
10810 wxColour temp2 ;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 char * kwnames[] = {
10814 (char *) "self",(char *) "fore", NULL
10815 };
10816
10817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10819 if (!SWIG_IsOK(res1)) {
10820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10821 }
10822 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10823 {
10824 arg2 = &temp2;
10825 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10826 }
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 resultobj = SWIG_Py_Void();
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj = 0;
10842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10843 wxColour *arg2 = 0 ;
10844 void *argp1 = 0 ;
10845 int res1 = 0 ;
10846 wxColour temp2 ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char * kwnames[] = {
10850 (char *) "self",(char *) "fore", NULL
10851 };
10852
10853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10855 if (!SWIG_IsOK(res1)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10857 }
10858 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10859 {
10860 arg2 = &temp2;
10861 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10862 }
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 resultobj = SWIG_Py_Void();
10870 return resultobj;
10871 fail:
10872 return NULL;
10873 }
10874
10875
10876 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj = 0;
10878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10879 int arg2 ;
10880 int result;
10881 void *argp1 = 0 ;
10882 int res1 = 0 ;
10883 int val2 ;
10884 int ecode2 = 0 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char * kwnames[] = {
10888 (char *) "self",(char *) "line", NULL
10889 };
10890
10891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
10892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10893 if (!SWIG_IsOK(res1)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10895 }
10896 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10897 ecode2 = SWIG_AsVal_int(obj1, &val2);
10898 if (!SWIG_IsOK(ecode2)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
10900 }
10901 arg2 = static_cast< int >(val2);
10902 {
10903 PyThreadState* __tstate = wxPyBeginAllowThreads();
10904 result = (int)(arg1)->VisibleFromDocLine(arg2);
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 resultobj = SWIG_From_int(static_cast< int >(result));
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10916 PyObject *resultobj = 0;
10917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10918 int arg2 ;
10919 int result;
10920 void *argp1 = 0 ;
10921 int res1 = 0 ;
10922 int val2 ;
10923 int ecode2 = 0 ;
10924 PyObject * obj0 = 0 ;
10925 PyObject * obj1 = 0 ;
10926 char * kwnames[] = {
10927 (char *) "self",(char *) "lineDisplay", NULL
10928 };
10929
10930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10932 if (!SWIG_IsOK(res1)) {
10933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10934 }
10935 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10936 ecode2 = SWIG_AsVal_int(obj1, &val2);
10937 if (!SWIG_IsOK(ecode2)) {
10938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
10939 }
10940 arg2 = static_cast< int >(val2);
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (int)(arg1)->DocLineFromVisible(arg2);
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_From_int(static_cast< int >(result));
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj = 0;
10956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10957 int arg2 ;
10958 int result;
10959 void *argp1 = 0 ;
10960 int res1 = 0 ;
10961 int val2 ;
10962 int ecode2 = 0 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 char * kwnames[] = {
10966 (char *) "self",(char *) "line", NULL
10967 };
10968
10969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
10970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10971 if (!SWIG_IsOK(res1)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10973 }
10974 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10975 ecode2 = SWIG_AsVal_int(obj1, &val2);
10976 if (!SWIG_IsOK(ecode2)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
10978 }
10979 arg2 = static_cast< int >(val2);
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 result = (int)(arg1)->WrapCount(arg2);
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 resultobj = SWIG_From_int(static_cast< int >(result));
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj = 0;
10995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10996 int arg2 ;
10997 int arg3 ;
10998 void *argp1 = 0 ;
10999 int res1 = 0 ;
11000 int val2 ;
11001 int ecode2 = 0 ;
11002 int val3 ;
11003 int ecode3 = 0 ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 PyObject * obj2 = 0 ;
11007 char * kwnames[] = {
11008 (char *) "self",(char *) "line",(char *) "level", NULL
11009 };
11010
11011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11013 if (!SWIG_IsOK(res1)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11015 }
11016 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11017 ecode2 = SWIG_AsVal_int(obj1, &val2);
11018 if (!SWIG_IsOK(ecode2)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11020 }
11021 arg2 = static_cast< int >(val2);
11022 ecode3 = SWIG_AsVal_int(obj2, &val3);
11023 if (!SWIG_IsOK(ecode3)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11025 }
11026 arg3 = static_cast< int >(val3);
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 (arg1)->SetFoldLevel(arg2,arg3);
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 resultobj = SWIG_Py_Void();
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj = 0;
11042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11043 int arg2 ;
11044 int result;
11045 void *argp1 = 0 ;
11046 int res1 = 0 ;
11047 int val2 ;
11048 int ecode2 = 0 ;
11049 PyObject * obj0 = 0 ;
11050 PyObject * obj1 = 0 ;
11051 char * kwnames[] = {
11052 (char *) "self",(char *) "line", NULL
11053 };
11054
11055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11057 if (!SWIG_IsOK(res1)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11059 }
11060 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11061 ecode2 = SWIG_AsVal_int(obj1, &val2);
11062 if (!SWIG_IsOK(ecode2)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11064 }
11065 arg2 = static_cast< int >(val2);
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 result = (int)(arg1)->GetFoldLevel(arg2);
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 resultobj = SWIG_From_int(static_cast< int >(result));
11073 return resultobj;
11074 fail:
11075 return NULL;
11076 }
11077
11078
11079 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj = 0;
11081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11082 int arg2 ;
11083 int arg3 ;
11084 int result;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 int val3 ;
11090 int ecode3 = 0 ;
11091 PyObject * obj0 = 0 ;
11092 PyObject * obj1 = 0 ;
11093 PyObject * obj2 = 0 ;
11094 char * kwnames[] = {
11095 (char *) "self",(char *) "line",(char *) "level", NULL
11096 };
11097
11098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11100 if (!SWIG_IsOK(res1)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11102 }
11103 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11104 ecode2 = SWIG_AsVal_int(obj1, &val2);
11105 if (!SWIG_IsOK(ecode2)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11107 }
11108 arg2 = static_cast< int >(val2);
11109 ecode3 = SWIG_AsVal_int(obj2, &val3);
11110 if (!SWIG_IsOK(ecode3)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11112 }
11113 arg3 = static_cast< int >(val3);
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 result = (int)(arg1)->GetLastChild(arg2,arg3);
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_From_int(static_cast< int >(result));
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj = 0;
11129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11130 int arg2 ;
11131 int result;
11132 void *argp1 = 0 ;
11133 int res1 = 0 ;
11134 int val2 ;
11135 int ecode2 = 0 ;
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 char * kwnames[] = {
11139 (char *) "self",(char *) "line", NULL
11140 };
11141
11142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11144 if (!SWIG_IsOK(res1)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11146 }
11147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11148 ecode2 = SWIG_AsVal_int(obj1, &val2);
11149 if (!SWIG_IsOK(ecode2)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11151 }
11152 arg2 = static_cast< int >(val2);
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (int)(arg1)->GetFoldParent(arg2);
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 resultobj = SWIG_From_int(static_cast< int >(result));
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj = 0;
11168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11169 int arg2 ;
11170 int arg3 ;
11171 void *argp1 = 0 ;
11172 int res1 = 0 ;
11173 int val2 ;
11174 int ecode2 = 0 ;
11175 int val3 ;
11176 int ecode3 = 0 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 PyObject * obj2 = 0 ;
11180 char * kwnames[] = {
11181 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11182 };
11183
11184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11186 if (!SWIG_IsOK(res1)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11188 }
11189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11190 ecode2 = SWIG_AsVal_int(obj1, &val2);
11191 if (!SWIG_IsOK(ecode2)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11193 }
11194 arg2 = static_cast< int >(val2);
11195 ecode3 = SWIG_AsVal_int(obj2, &val3);
11196 if (!SWIG_IsOK(ecode3)) {
11197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11198 }
11199 arg3 = static_cast< int >(val3);
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 (arg1)->ShowLines(arg2,arg3);
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_Py_Void();
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj = 0;
11215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11216 int arg2 ;
11217 int arg3 ;
11218 void *argp1 = 0 ;
11219 int res1 = 0 ;
11220 int val2 ;
11221 int ecode2 = 0 ;
11222 int val3 ;
11223 int ecode3 = 0 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 PyObject * obj2 = 0 ;
11227 char * kwnames[] = {
11228 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11229 };
11230
11231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11233 if (!SWIG_IsOK(res1)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11235 }
11236 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11237 ecode2 = SWIG_AsVal_int(obj1, &val2);
11238 if (!SWIG_IsOK(ecode2)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11240 }
11241 arg2 = static_cast< int >(val2);
11242 ecode3 = SWIG_AsVal_int(obj2, &val3);
11243 if (!SWIG_IsOK(ecode3)) {
11244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11245 }
11246 arg3 = static_cast< int >(val3);
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->HideLines(arg2,arg3);
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 resultobj = SWIG_Py_Void();
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj = 0;
11262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11263 int arg2 ;
11264 bool result;
11265 void *argp1 = 0 ;
11266 int res1 = 0 ;
11267 int val2 ;
11268 int ecode2 = 0 ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 char * kwnames[] = {
11272 (char *) "self",(char *) "line", NULL
11273 };
11274
11275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11277 if (!SWIG_IsOK(res1)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11279 }
11280 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11281 ecode2 = SWIG_AsVal_int(obj1, &val2);
11282 if (!SWIG_IsOK(ecode2)) {
11283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11284 }
11285 arg2 = static_cast< int >(val2);
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (bool)(arg1)->GetLineVisible(arg2);
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 {
11293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11294 }
11295 return resultobj;
11296 fail:
11297 return NULL;
11298 }
11299
11300
11301 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj = 0;
11303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11304 int arg2 ;
11305 bool arg3 ;
11306 void *argp1 = 0 ;
11307 int res1 = 0 ;
11308 int val2 ;
11309 int ecode2 = 0 ;
11310 bool val3 ;
11311 int ecode3 = 0 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 PyObject * obj2 = 0 ;
11315 char * kwnames[] = {
11316 (char *) "self",(char *) "line",(char *) "expanded", NULL
11317 };
11318
11319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11321 if (!SWIG_IsOK(res1)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11323 }
11324 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11325 ecode2 = SWIG_AsVal_int(obj1, &val2);
11326 if (!SWIG_IsOK(ecode2)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11328 }
11329 arg2 = static_cast< int >(val2);
11330 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11331 if (!SWIG_IsOK(ecode3)) {
11332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11333 }
11334 arg3 = static_cast< bool >(val3);
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 (arg1)->SetFoldExpanded(arg2,arg3);
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 resultobj = SWIG_Py_Void();
11342 return resultobj;
11343 fail:
11344 return NULL;
11345 }
11346
11347
11348 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj = 0;
11350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11351 int arg2 ;
11352 bool result;
11353 void *argp1 = 0 ;
11354 int res1 = 0 ;
11355 int val2 ;
11356 int ecode2 = 0 ;
11357 PyObject * obj0 = 0 ;
11358 PyObject * obj1 = 0 ;
11359 char * kwnames[] = {
11360 (char *) "self",(char *) "line", NULL
11361 };
11362
11363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11365 if (!SWIG_IsOK(res1)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11367 }
11368 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11369 ecode2 = SWIG_AsVal_int(obj1, &val2);
11370 if (!SWIG_IsOK(ecode2)) {
11371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11372 }
11373 arg2 = static_cast< int >(val2);
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (bool)(arg1)->GetFoldExpanded(arg2);
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 {
11381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11382 }
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj = 0;
11391 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11392 int arg2 ;
11393 void *argp1 = 0 ;
11394 int res1 = 0 ;
11395 int val2 ;
11396 int ecode2 = 0 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char * kwnames[] = {
11400 (char *) "self",(char *) "line", NULL
11401 };
11402
11403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11405 if (!SWIG_IsOK(res1)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11407 }
11408 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11409 ecode2 = SWIG_AsVal_int(obj1, &val2);
11410 if (!SWIG_IsOK(ecode2)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11412 }
11413 arg2 = static_cast< int >(val2);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 (arg1)->ToggleFold(arg2);
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_Py_Void();
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj = 0;
11429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11430 int arg2 ;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 int val2 ;
11434 int ecode2 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 char * kwnames[] = {
11438 (char *) "self",(char *) "line", NULL
11439 };
11440
11441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11443 if (!SWIG_IsOK(res1)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11445 }
11446 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11447 ecode2 = SWIG_AsVal_int(obj1, &val2);
11448 if (!SWIG_IsOK(ecode2)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11450 }
11451 arg2 = static_cast< int >(val2);
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 (arg1)->EnsureVisible(arg2);
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = SWIG_Py_Void();
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj = 0;
11467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11468 int arg2 ;
11469 void *argp1 = 0 ;
11470 int res1 = 0 ;
11471 int val2 ;
11472 int ecode2 = 0 ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char * kwnames[] = {
11476 (char *) "self",(char *) "flags", NULL
11477 };
11478
11479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11481 if (!SWIG_IsOK(res1)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11483 }
11484 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11485 ecode2 = SWIG_AsVal_int(obj1, &val2);
11486 if (!SWIG_IsOK(ecode2)) {
11487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11488 }
11489 arg2 = static_cast< int >(val2);
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 (arg1)->SetFoldFlags(arg2);
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 resultobj = SWIG_Py_Void();
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj = 0;
11505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11506 int arg2 ;
11507 void *argp1 = 0 ;
11508 int res1 = 0 ;
11509 int val2 ;
11510 int ecode2 = 0 ;
11511 PyObject * obj0 = 0 ;
11512 PyObject * obj1 = 0 ;
11513 char * kwnames[] = {
11514 (char *) "self",(char *) "line", NULL
11515 };
11516
11517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11519 if (!SWIG_IsOK(res1)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11521 }
11522 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11523 ecode2 = SWIG_AsVal_int(obj1, &val2);
11524 if (!SWIG_IsOK(ecode2)) {
11525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11526 }
11527 arg2 = static_cast< int >(val2);
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 resultobj = SWIG_Py_Void();
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj = 0;
11543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11544 bool arg2 ;
11545 void *argp1 = 0 ;
11546 int res1 = 0 ;
11547 bool val2 ;
11548 int ecode2 = 0 ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char * kwnames[] = {
11552 (char *) "self",(char *) "tabIndents", NULL
11553 };
11554
11555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11557 if (!SWIG_IsOK(res1)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11559 }
11560 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11561 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11562 if (!SWIG_IsOK(ecode2)) {
11563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11564 }
11565 arg2 = static_cast< bool >(val2);
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 (arg1)->SetTabIndents(arg2);
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 resultobj = SWIG_Py_Void();
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11580 PyObject *resultobj = 0;
11581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11582 bool result;
11583 void *argp1 = 0 ;
11584 int res1 = 0 ;
11585 PyObject *swig_obj[1] ;
11586
11587 if (!args) SWIG_fail;
11588 swig_obj[0] = args;
11589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11590 if (!SWIG_IsOK(res1)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11592 }
11593 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (bool)(arg1)->GetTabIndents();
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 {
11601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606 }
11607
11608
11609 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj = 0;
11611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11612 bool arg2 ;
11613 void *argp1 = 0 ;
11614 int res1 = 0 ;
11615 bool val2 ;
11616 int ecode2 = 0 ;
11617 PyObject * obj0 = 0 ;
11618 PyObject * obj1 = 0 ;
11619 char * kwnames[] = {
11620 (char *) "self",(char *) "bsUnIndents", NULL
11621 };
11622
11623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11625 if (!SWIG_IsOK(res1)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11627 }
11628 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11629 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11630 if (!SWIG_IsOK(ecode2)) {
11631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11632 }
11633 arg2 = static_cast< bool >(val2);
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 (arg1)->SetBackSpaceUnIndents(arg2);
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 resultobj = SWIG_Py_Void();
11641 return resultobj;
11642 fail:
11643 return NULL;
11644 }
11645
11646
11647 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11648 PyObject *resultobj = 0;
11649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11650 bool result;
11651 void *argp1 = 0 ;
11652 int res1 = 0 ;
11653 PyObject *swig_obj[1] ;
11654
11655 if (!args) SWIG_fail;
11656 swig_obj[0] = args;
11657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11658 if (!SWIG_IsOK(res1)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11660 }
11661 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 result = (bool)(arg1)->GetBackSpaceUnIndents();
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 {
11669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11670 }
11671 return resultobj;
11672 fail:
11673 return NULL;
11674 }
11675
11676
11677 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11678 PyObject *resultobj = 0;
11679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11680 int arg2 ;
11681 void *argp1 = 0 ;
11682 int res1 = 0 ;
11683 int val2 ;
11684 int ecode2 = 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 char * kwnames[] = {
11688 (char *) "self",(char *) "periodMilliseconds", NULL
11689 };
11690
11691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11693 if (!SWIG_IsOK(res1)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11695 }
11696 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11697 ecode2 = SWIG_AsVal_int(obj1, &val2);
11698 if (!SWIG_IsOK(ecode2)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11700 }
11701 arg2 = static_cast< int >(val2);
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetMouseDwellTime(arg2);
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_Py_Void();
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11716 PyObject *resultobj = 0;
11717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11718 int result;
11719 void *argp1 = 0 ;
11720 int res1 = 0 ;
11721 PyObject *swig_obj[1] ;
11722
11723 if (!args) SWIG_fail;
11724 swig_obj[0] = args;
11725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11726 if (!SWIG_IsOK(res1)) {
11727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11728 }
11729 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (int)(arg1)->GetMouseDwellTime();
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 resultobj = SWIG_From_int(static_cast< int >(result));
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj = 0;
11745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11746 int arg2 ;
11747 bool arg3 ;
11748 int result;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 int val2 ;
11752 int ecode2 = 0 ;
11753 bool val3 ;
11754 int ecode3 = 0 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 PyObject * obj2 = 0 ;
11758 char * kwnames[] = {
11759 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11760 };
11761
11762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11764 if (!SWIG_IsOK(res1)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11766 }
11767 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11768 ecode2 = SWIG_AsVal_int(obj1, &val2);
11769 if (!SWIG_IsOK(ecode2)) {
11770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11771 }
11772 arg2 = static_cast< int >(val2);
11773 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11774 if (!SWIG_IsOK(ecode3)) {
11775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11776 }
11777 arg3 = static_cast< bool >(val3);
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 resultobj = SWIG_From_int(static_cast< int >(result));
11785 return resultobj;
11786 fail:
11787 return NULL;
11788 }
11789
11790
11791 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = 0;
11793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11794 int arg2 ;
11795 bool arg3 ;
11796 int result;
11797 void *argp1 = 0 ;
11798 int res1 = 0 ;
11799 int val2 ;
11800 int ecode2 = 0 ;
11801 bool val3 ;
11802 int ecode3 = 0 ;
11803 PyObject * obj0 = 0 ;
11804 PyObject * obj1 = 0 ;
11805 PyObject * obj2 = 0 ;
11806 char * kwnames[] = {
11807 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11808 };
11809
11810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11812 if (!SWIG_IsOK(res1)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11814 }
11815 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11816 ecode2 = SWIG_AsVal_int(obj1, &val2);
11817 if (!SWIG_IsOK(ecode2)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11819 }
11820 arg2 = static_cast< int >(val2);
11821 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11822 if (!SWIG_IsOK(ecode3)) {
11823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11824 }
11825 arg3 = static_cast< bool >(val3);
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 result = (int)(arg1)->WordEndPosition(arg2,arg3);
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 resultobj = SWIG_From_int(static_cast< int >(result));
11833 return resultobj;
11834 fail:
11835 return NULL;
11836 }
11837
11838
11839 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11840 PyObject *resultobj = 0;
11841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11842 int arg2 ;
11843 void *argp1 = 0 ;
11844 int res1 = 0 ;
11845 int val2 ;
11846 int ecode2 = 0 ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 char * kwnames[] = {
11850 (char *) "self",(char *) "mode", NULL
11851 };
11852
11853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
11854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11855 if (!SWIG_IsOK(res1)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11857 }
11858 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11859 ecode2 = SWIG_AsVal_int(obj1, &val2);
11860 if (!SWIG_IsOK(ecode2)) {
11861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
11862 }
11863 arg2 = static_cast< int >(val2);
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 (arg1)->SetWrapMode(arg2);
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 resultobj = SWIG_Py_Void();
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11878 PyObject *resultobj = 0;
11879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11880 int result;
11881 void *argp1 = 0 ;
11882 int res1 = 0 ;
11883 PyObject *swig_obj[1] ;
11884
11885 if (!args) SWIG_fail;
11886 swig_obj[0] = args;
11887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11888 if (!SWIG_IsOK(res1)) {
11889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11890 }
11891 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 result = (int)(arg1)->GetWrapMode();
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 resultobj = SWIG_From_int(static_cast< int >(result));
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj = 0;
11907 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11908 int arg2 ;
11909 void *argp1 = 0 ;
11910 int res1 = 0 ;
11911 int val2 ;
11912 int ecode2 = 0 ;
11913 PyObject * obj0 = 0 ;
11914 PyObject * obj1 = 0 ;
11915 char * kwnames[] = {
11916 (char *) "self",(char *) "wrapVisualFlags", NULL
11917 };
11918
11919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11921 if (!SWIG_IsOK(res1)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11923 }
11924 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11925 ecode2 = SWIG_AsVal_int(obj1, &val2);
11926 if (!SWIG_IsOK(ecode2)) {
11927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
11928 }
11929 arg2 = static_cast< int >(val2);
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 (arg1)->SetWrapVisualFlags(arg2);
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 resultobj = SWIG_Py_Void();
11937 return resultobj;
11938 fail:
11939 return NULL;
11940 }
11941
11942
11943 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11944 PyObject *resultobj = 0;
11945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11946 int result;
11947 void *argp1 = 0 ;
11948 int res1 = 0 ;
11949 PyObject *swig_obj[1] ;
11950
11951 if (!args) SWIG_fail;
11952 swig_obj[0] = args;
11953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11954 if (!SWIG_IsOK(res1)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11956 }
11957 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (int)(arg1)->GetWrapVisualFlags();
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 resultobj = SWIG_From_int(static_cast< int >(result));
11965 return resultobj;
11966 fail:
11967 return NULL;
11968 }
11969
11970
11971 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj = 0;
11973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11974 int arg2 ;
11975 void *argp1 = 0 ;
11976 int res1 = 0 ;
11977 int val2 ;
11978 int ecode2 = 0 ;
11979 PyObject * obj0 = 0 ;
11980 PyObject * obj1 = 0 ;
11981 char * kwnames[] = {
11982 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
11983 };
11984
11985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
11986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11987 if (!SWIG_IsOK(res1)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11989 }
11990 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11991 ecode2 = SWIG_AsVal_int(obj1, &val2);
11992 if (!SWIG_IsOK(ecode2)) {
11993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
11994 }
11995 arg2 = static_cast< int >(val2);
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 (arg1)->SetWrapVisualFlagsLocation(arg2);
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 resultobj = SWIG_Py_Void();
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12010 PyObject *resultobj = 0;
12011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12012 int result;
12013 void *argp1 = 0 ;
12014 int res1 = 0 ;
12015 PyObject *swig_obj[1] ;
12016
12017 if (!args) SWIG_fail;
12018 swig_obj[0] = args;
12019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12020 if (!SWIG_IsOK(res1)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12022 }
12023 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 resultobj = SWIG_From_int(static_cast< int >(result));
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj = 0;
12039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12040 int arg2 ;
12041 void *argp1 = 0 ;
12042 int res1 = 0 ;
12043 int val2 ;
12044 int ecode2 = 0 ;
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 char * kwnames[] = {
12048 (char *) "self",(char *) "indent", NULL
12049 };
12050
12051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12053 if (!SWIG_IsOK(res1)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12055 }
12056 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12057 ecode2 = SWIG_AsVal_int(obj1, &val2);
12058 if (!SWIG_IsOK(ecode2)) {
12059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12060 }
12061 arg2 = static_cast< int >(val2);
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 (arg1)->SetWrapStartIndent(arg2);
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = SWIG_Py_Void();
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12076 PyObject *resultobj = 0;
12077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12078 int result;
12079 void *argp1 = 0 ;
12080 int res1 = 0 ;
12081 PyObject *swig_obj[1] ;
12082
12083 if (!args) SWIG_fail;
12084 swig_obj[0] = args;
12085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12086 if (!SWIG_IsOK(res1)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12088 }
12089 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 result = (int)(arg1)->GetWrapStartIndent();
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = SWIG_From_int(static_cast< int >(result));
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj = 0;
12105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12106 int arg2 ;
12107 void *argp1 = 0 ;
12108 int res1 = 0 ;
12109 int val2 ;
12110 int ecode2 = 0 ;
12111 PyObject * obj0 = 0 ;
12112 PyObject * obj1 = 0 ;
12113 char * kwnames[] = {
12114 (char *) "self",(char *) "mode", NULL
12115 };
12116
12117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12119 if (!SWIG_IsOK(res1)) {
12120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12121 }
12122 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12123 ecode2 = SWIG_AsVal_int(obj1, &val2);
12124 if (!SWIG_IsOK(ecode2)) {
12125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12126 }
12127 arg2 = static_cast< int >(val2);
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 (arg1)->SetLayoutCache(arg2);
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 resultobj = SWIG_Py_Void();
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12142 PyObject *resultobj = 0;
12143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12144 int result;
12145 void *argp1 = 0 ;
12146 int res1 = 0 ;
12147 PyObject *swig_obj[1] ;
12148
12149 if (!args) SWIG_fail;
12150 swig_obj[0] = args;
12151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12152 if (!SWIG_IsOK(res1)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12154 }
12155 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (int)(arg1)->GetLayoutCache();
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_From_int(static_cast< int >(result));
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj = 0;
12171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12172 int arg2 ;
12173 void *argp1 = 0 ;
12174 int res1 = 0 ;
12175 int val2 ;
12176 int ecode2 = 0 ;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char * kwnames[] = {
12180 (char *) "self",(char *) "pixelWidth", NULL
12181 };
12182
12183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12185 if (!SWIG_IsOK(res1)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12187 }
12188 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12189 ecode2 = SWIG_AsVal_int(obj1, &val2);
12190 if (!SWIG_IsOK(ecode2)) {
12191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12192 }
12193 arg2 = static_cast< int >(val2);
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 (arg1)->SetScrollWidth(arg2);
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 resultobj = SWIG_Py_Void();
12201 return resultobj;
12202 fail:
12203 return NULL;
12204 }
12205
12206
12207 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12208 PyObject *resultobj = 0;
12209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12210 int result;
12211 void *argp1 = 0 ;
12212 int res1 = 0 ;
12213 PyObject *swig_obj[1] ;
12214
12215 if (!args) SWIG_fail;
12216 swig_obj[0] = args;
12217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12218 if (!SWIG_IsOK(res1)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12220 }
12221 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (int)(arg1)->GetScrollWidth();
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_From_int(static_cast< int >(result));
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj = 0;
12237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12238 int arg2 ;
12239 wxString *arg3 = 0 ;
12240 int result;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 int val2 ;
12244 int ecode2 = 0 ;
12245 bool temp3 = false ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 PyObject * obj2 = 0 ;
12249 char * kwnames[] = {
12250 (char *) "self",(char *) "style",(char *) "text", NULL
12251 };
12252
12253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12255 if (!SWIG_IsOK(res1)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12257 }
12258 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12259 ecode2 = SWIG_AsVal_int(obj1, &val2);
12260 if (!SWIG_IsOK(ecode2)) {
12261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12262 }
12263 arg2 = static_cast< int >(val2);
12264 {
12265 arg3 = wxString_in_helper(obj2);
12266 if (arg3 == NULL) SWIG_fail;
12267 temp3 = true;
12268 }
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 resultobj = SWIG_From_int(static_cast< int >(result));
12276 {
12277 if (temp3)
12278 delete arg3;
12279 }
12280 return resultobj;
12281 fail:
12282 {
12283 if (temp3)
12284 delete arg3;
12285 }
12286 return NULL;
12287 }
12288
12289
12290 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj = 0;
12292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12293 bool arg2 ;
12294 void *argp1 = 0 ;
12295 int res1 = 0 ;
12296 bool val2 ;
12297 int ecode2 = 0 ;
12298 PyObject * obj0 = 0 ;
12299 PyObject * obj1 = 0 ;
12300 char * kwnames[] = {
12301 (char *) "self",(char *) "endAtLastLine", NULL
12302 };
12303
12304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12306 if (!SWIG_IsOK(res1)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12308 }
12309 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12311 if (!SWIG_IsOK(ecode2)) {
12312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12313 }
12314 arg2 = static_cast< bool >(val2);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 (arg1)->SetEndAtLastLine(arg2);
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_Py_Void();
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12329 PyObject *resultobj = 0;
12330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12331 bool result;
12332 void *argp1 = 0 ;
12333 int res1 = 0 ;
12334 PyObject *swig_obj[1] ;
12335
12336 if (!args) SWIG_fail;
12337 swig_obj[0] = args;
12338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12339 if (!SWIG_IsOK(res1)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12341 }
12342 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = (bool)(arg1)->GetEndAtLastLine();
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 {
12350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12351 }
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj = 0;
12360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12361 int arg2 ;
12362 int result;
12363 void *argp1 = 0 ;
12364 int res1 = 0 ;
12365 int val2 ;
12366 int ecode2 = 0 ;
12367 PyObject * obj0 = 0 ;
12368 PyObject * obj1 = 0 ;
12369 char * kwnames[] = {
12370 (char *) "self",(char *) "line", NULL
12371 };
12372
12373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12375 if (!SWIG_IsOK(res1)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12377 }
12378 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12379 ecode2 = SWIG_AsVal_int(obj1, &val2);
12380 if (!SWIG_IsOK(ecode2)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12382 }
12383 arg2 = static_cast< int >(val2);
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = (int)(arg1)->TextHeight(arg2);
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 resultobj = SWIG_From_int(static_cast< int >(result));
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj = 0;
12399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12400 bool arg2 ;
12401 void *argp1 = 0 ;
12402 int res1 = 0 ;
12403 bool val2 ;
12404 int ecode2 = 0 ;
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 char * kwnames[] = {
12408 (char *) "self",(char *) "show", NULL
12409 };
12410
12411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
12412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12413 if (!SWIG_IsOK(res1)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12415 }
12416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12417 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12418 if (!SWIG_IsOK(ecode2)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12420 }
12421 arg2 = static_cast< bool >(val2);
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetUseVerticalScrollBar(arg2);
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_Py_Void();
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12436 PyObject *resultobj = 0;
12437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12438 bool result;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 PyObject *swig_obj[1] ;
12442
12443 if (!args) SWIG_fail;
12444 swig_obj[0] = args;
12445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12446 if (!SWIG_IsOK(res1)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12448 }
12449 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (bool)(arg1)->GetUseVerticalScrollBar();
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 {
12457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12458 }
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj = 0;
12467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12468 wxString *arg2 = 0 ;
12469 void *argp1 = 0 ;
12470 int res1 = 0 ;
12471 bool temp2 = false ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char * kwnames[] = {
12475 (char *) "self",(char *) "text", NULL
12476 };
12477
12478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12480 if (!SWIG_IsOK(res1)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12482 }
12483 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12484 {
12485 arg2 = wxString_in_helper(obj1);
12486 if (arg2 == NULL) SWIG_fail;
12487 temp2 = true;
12488 }
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 (arg1)->AppendText((wxString const &)*arg2);
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_Py_Void();
12496 {
12497 if (temp2)
12498 delete arg2;
12499 }
12500 return resultobj;
12501 fail:
12502 {
12503 if (temp2)
12504 delete arg2;
12505 }
12506 return NULL;
12507 }
12508
12509
12510 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12511 PyObject *resultobj = 0;
12512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12513 bool result;
12514 void *argp1 = 0 ;
12515 int res1 = 0 ;
12516 PyObject *swig_obj[1] ;
12517
12518 if (!args) SWIG_fail;
12519 swig_obj[0] = args;
12520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12521 if (!SWIG_IsOK(res1)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12523 }
12524 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 result = (bool)(arg1)->GetTwoPhaseDraw();
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 {
12532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12533 }
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj = 0;
12542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12543 bool arg2 ;
12544 void *argp1 = 0 ;
12545 int res1 = 0 ;
12546 bool val2 ;
12547 int ecode2 = 0 ;
12548 PyObject * obj0 = 0 ;
12549 PyObject * obj1 = 0 ;
12550 char * kwnames[] = {
12551 (char *) "self",(char *) "twoPhase", NULL
12552 };
12553
12554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12558 }
12559 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12561 if (!SWIG_IsOK(ecode2)) {
12562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12563 }
12564 arg2 = static_cast< bool >(val2);
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 (arg1)->SetTwoPhaseDraw(arg2);
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = SWIG_Py_Void();
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12579 PyObject *resultobj = 0;
12580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12581 void *argp1 = 0 ;
12582 int res1 = 0 ;
12583 PyObject *swig_obj[1] ;
12584
12585 if (!args) SWIG_fail;
12586 swig_obj[0] = args;
12587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12588 if (!SWIG_IsOK(res1)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12590 }
12591 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 (arg1)->TargetFromSelection();
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 resultobj = SWIG_Py_Void();
12599 return resultobj;
12600 fail:
12601 return NULL;
12602 }
12603
12604
12605 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12606 PyObject *resultobj = 0;
12607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12608 void *argp1 = 0 ;
12609 int res1 = 0 ;
12610 PyObject *swig_obj[1] ;
12611
12612 if (!args) SWIG_fail;
12613 swig_obj[0] = args;
12614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12615 if (!SWIG_IsOK(res1)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12617 }
12618 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 (arg1)->LinesJoin();
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 resultobj = SWIG_Py_Void();
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj = 0;
12634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12635 int arg2 ;
12636 void *argp1 = 0 ;
12637 int res1 = 0 ;
12638 int val2 ;
12639 int ecode2 = 0 ;
12640 PyObject * obj0 = 0 ;
12641 PyObject * obj1 = 0 ;
12642 char * kwnames[] = {
12643 (char *) "self",(char *) "pixelWidth", NULL
12644 };
12645
12646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12648 if (!SWIG_IsOK(res1)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12650 }
12651 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12652 ecode2 = SWIG_AsVal_int(obj1, &val2);
12653 if (!SWIG_IsOK(ecode2)) {
12654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12655 }
12656 arg2 = static_cast< int >(val2);
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 (arg1)->LinesSplit(arg2);
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 resultobj = SWIG_Py_Void();
12664 return resultobj;
12665 fail:
12666 return NULL;
12667 }
12668
12669
12670 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12671 PyObject *resultobj = 0;
12672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12673 bool arg2 ;
12674 wxColour *arg3 = 0 ;
12675 void *argp1 = 0 ;
12676 int res1 = 0 ;
12677 bool val2 ;
12678 int ecode2 = 0 ;
12679 wxColour temp3 ;
12680 PyObject * obj0 = 0 ;
12681 PyObject * obj1 = 0 ;
12682 PyObject * obj2 = 0 ;
12683 char * kwnames[] = {
12684 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12685 };
12686
12687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12689 if (!SWIG_IsOK(res1)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12691 }
12692 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12694 if (!SWIG_IsOK(ecode2)) {
12695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12696 }
12697 arg2 = static_cast< bool >(val2);
12698 {
12699 arg3 = &temp3;
12700 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12701 }
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 resultobj = SWIG_Py_Void();
12709 return resultobj;
12710 fail:
12711 return NULL;
12712 }
12713
12714
12715 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12716 PyObject *resultobj = 0;
12717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12718 bool arg2 ;
12719 wxColour *arg3 = 0 ;
12720 void *argp1 = 0 ;
12721 int res1 = 0 ;
12722 bool val2 ;
12723 int ecode2 = 0 ;
12724 wxColour temp3 ;
12725 PyObject * obj0 = 0 ;
12726 PyObject * obj1 = 0 ;
12727 PyObject * obj2 = 0 ;
12728 char * kwnames[] = {
12729 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12730 };
12731
12732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12734 if (!SWIG_IsOK(res1)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12736 }
12737 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12738 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12739 if (!SWIG_IsOK(ecode2)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12741 }
12742 arg2 = static_cast< bool >(val2);
12743 {
12744 arg3 = &temp3;
12745 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12746 }
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = SWIG_Py_Void();
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12761 PyObject *resultobj = 0;
12762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12763 void *argp1 = 0 ;
12764 int res1 = 0 ;
12765 PyObject *swig_obj[1] ;
12766
12767 if (!args) SWIG_fail;
12768 swig_obj[0] = args;
12769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12770 if (!SWIG_IsOK(res1)) {
12771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12772 }
12773 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 (arg1)->LineDown();
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 resultobj = SWIG_Py_Void();
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12788 PyObject *resultobj = 0;
12789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12790 void *argp1 = 0 ;
12791 int res1 = 0 ;
12792 PyObject *swig_obj[1] ;
12793
12794 if (!args) SWIG_fail;
12795 swig_obj[0] = args;
12796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12797 if (!SWIG_IsOK(res1)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12799 }
12800 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 (arg1)->LineDownExtend();
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_Py_Void();
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12815 PyObject *resultobj = 0;
12816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12817 void *argp1 = 0 ;
12818 int res1 = 0 ;
12819 PyObject *swig_obj[1] ;
12820
12821 if (!args) SWIG_fail;
12822 swig_obj[0] = args;
12823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12824 if (!SWIG_IsOK(res1)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12826 }
12827 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 (arg1)->LineUp();
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_Py_Void();
12835 return resultobj;
12836 fail:
12837 return NULL;
12838 }
12839
12840
12841 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12842 PyObject *resultobj = 0;
12843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12844 void *argp1 = 0 ;
12845 int res1 = 0 ;
12846 PyObject *swig_obj[1] ;
12847
12848 if (!args) SWIG_fail;
12849 swig_obj[0] = args;
12850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12851 if (!SWIG_IsOK(res1)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12853 }
12854 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->LineUpExtend();
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 resultobj = SWIG_Py_Void();
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12869 PyObject *resultobj = 0;
12870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12871 void *argp1 = 0 ;
12872 int res1 = 0 ;
12873 PyObject *swig_obj[1] ;
12874
12875 if (!args) SWIG_fail;
12876 swig_obj[0] = args;
12877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12878 if (!SWIG_IsOK(res1)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12880 }
12881 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 (arg1)->CharLeft();
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 resultobj = SWIG_Py_Void();
12889 return resultobj;
12890 fail:
12891 return NULL;
12892 }
12893
12894
12895 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12896 PyObject *resultobj = 0;
12897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12898 void *argp1 = 0 ;
12899 int res1 = 0 ;
12900 PyObject *swig_obj[1] ;
12901
12902 if (!args) SWIG_fail;
12903 swig_obj[0] = args;
12904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12905 if (!SWIG_IsOK(res1)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12907 }
12908 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 (arg1)->CharLeftExtend();
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = SWIG_Py_Void();
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12923 PyObject *resultobj = 0;
12924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12925 void *argp1 = 0 ;
12926 int res1 = 0 ;
12927 PyObject *swig_obj[1] ;
12928
12929 if (!args) SWIG_fail;
12930 swig_obj[0] = args;
12931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12932 if (!SWIG_IsOK(res1)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12934 }
12935 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->CharRight();
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 resultobj = SWIG_Py_Void();
12943 return resultobj;
12944 fail:
12945 return NULL;
12946 }
12947
12948
12949 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 PyObject *resultobj = 0;
12951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12952 void *argp1 = 0 ;
12953 int res1 = 0 ;
12954 PyObject *swig_obj[1] ;
12955
12956 if (!args) SWIG_fail;
12957 swig_obj[0] = args;
12958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12959 if (!SWIG_IsOK(res1)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12961 }
12962 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 (arg1)->CharRightExtend();
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 resultobj = SWIG_Py_Void();
12970 return resultobj;
12971 fail:
12972 return NULL;
12973 }
12974
12975
12976 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12977 PyObject *resultobj = 0;
12978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12979 void *argp1 = 0 ;
12980 int res1 = 0 ;
12981 PyObject *swig_obj[1] ;
12982
12983 if (!args) SWIG_fail;
12984 swig_obj[0] = args;
12985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12986 if (!SWIG_IsOK(res1)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12988 }
12989 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 (arg1)->WordLeft();
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 resultobj = SWIG_Py_Void();
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13004 PyObject *resultobj = 0;
13005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13006 void *argp1 = 0 ;
13007 int res1 = 0 ;
13008 PyObject *swig_obj[1] ;
13009
13010 if (!args) SWIG_fail;
13011 swig_obj[0] = args;
13012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13013 if (!SWIG_IsOK(res1)) {
13014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13015 }
13016 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 (arg1)->WordLeftExtend();
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_Py_Void();
13024 return resultobj;
13025 fail:
13026 return NULL;
13027 }
13028
13029
13030 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13031 PyObject *resultobj = 0;
13032 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13033 void *argp1 = 0 ;
13034 int res1 = 0 ;
13035 PyObject *swig_obj[1] ;
13036
13037 if (!args) SWIG_fail;
13038 swig_obj[0] = args;
13039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13040 if (!SWIG_IsOK(res1)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13042 }
13043 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 (arg1)->WordRight();
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_Py_Void();
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13058 PyObject *resultobj = 0;
13059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13060 void *argp1 = 0 ;
13061 int res1 = 0 ;
13062 PyObject *swig_obj[1] ;
13063
13064 if (!args) SWIG_fail;
13065 swig_obj[0] = args;
13066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13067 if (!SWIG_IsOK(res1)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13069 }
13070 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 (arg1)->WordRightExtend();
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = SWIG_Py_Void();
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13085 PyObject *resultobj = 0;
13086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13087 void *argp1 = 0 ;
13088 int res1 = 0 ;
13089 PyObject *swig_obj[1] ;
13090
13091 if (!args) SWIG_fail;
13092 swig_obj[0] = args;
13093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13094 if (!SWIG_IsOK(res1)) {
13095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13096 }
13097 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 (arg1)->Home();
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 resultobj = SWIG_Py_Void();
13105 return resultobj;
13106 fail:
13107 return NULL;
13108 }
13109
13110
13111 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13112 PyObject *resultobj = 0;
13113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13114 void *argp1 = 0 ;
13115 int res1 = 0 ;
13116 PyObject *swig_obj[1] ;
13117
13118 if (!args) SWIG_fail;
13119 swig_obj[0] = args;
13120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13121 if (!SWIG_IsOK(res1)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13123 }
13124 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 (arg1)->HomeExtend();
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 resultobj = SWIG_Py_Void();
13132 return resultobj;
13133 fail:
13134 return NULL;
13135 }
13136
13137
13138 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13139 PyObject *resultobj = 0;
13140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13141 void *argp1 = 0 ;
13142 int res1 = 0 ;
13143 PyObject *swig_obj[1] ;
13144
13145 if (!args) SWIG_fail;
13146 swig_obj[0] = args;
13147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13148 if (!SWIG_IsOK(res1)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13150 }
13151 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 (arg1)->LineEnd();
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 resultobj = SWIG_Py_Void();
13159 return resultobj;
13160 fail:
13161 return NULL;
13162 }
13163
13164
13165 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13166 PyObject *resultobj = 0;
13167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13168 void *argp1 = 0 ;
13169 int res1 = 0 ;
13170 PyObject *swig_obj[1] ;
13171
13172 if (!args) SWIG_fail;
13173 swig_obj[0] = args;
13174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13175 if (!SWIG_IsOK(res1)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13177 }
13178 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 (arg1)->LineEndExtend();
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 resultobj = SWIG_Py_Void();
13186 return resultobj;
13187 fail:
13188 return NULL;
13189 }
13190
13191
13192 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13193 PyObject *resultobj = 0;
13194 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13195 void *argp1 = 0 ;
13196 int res1 = 0 ;
13197 PyObject *swig_obj[1] ;
13198
13199 if (!args) SWIG_fail;
13200 swig_obj[0] = args;
13201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13202 if (!SWIG_IsOK(res1)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13204 }
13205 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->DocumentStart();
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = SWIG_Py_Void();
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13220 PyObject *resultobj = 0;
13221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13222 void *argp1 = 0 ;
13223 int res1 = 0 ;
13224 PyObject *swig_obj[1] ;
13225
13226 if (!args) SWIG_fail;
13227 swig_obj[0] = args;
13228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13229 if (!SWIG_IsOK(res1)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13231 }
13232 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 (arg1)->DocumentStartExtend();
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_Py_Void();
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13247 PyObject *resultobj = 0;
13248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13249 void *argp1 = 0 ;
13250 int res1 = 0 ;
13251 PyObject *swig_obj[1] ;
13252
13253 if (!args) SWIG_fail;
13254 swig_obj[0] = args;
13255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13256 if (!SWIG_IsOK(res1)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13258 }
13259 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 (arg1)->DocumentEnd();
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 resultobj = SWIG_Py_Void();
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13274 PyObject *resultobj = 0;
13275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 PyObject *swig_obj[1] ;
13279
13280 if (!args) SWIG_fail;
13281 swig_obj[0] = args;
13282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13283 if (!SWIG_IsOK(res1)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13285 }
13286 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->DocumentEndExtend();
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 resultobj = SWIG_Py_Void();
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13301 PyObject *resultobj = 0;
13302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13303 void *argp1 = 0 ;
13304 int res1 = 0 ;
13305 PyObject *swig_obj[1] ;
13306
13307 if (!args) SWIG_fail;
13308 swig_obj[0] = args;
13309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13310 if (!SWIG_IsOK(res1)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13312 }
13313 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->PageUp();
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_Py_Void();
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13328 PyObject *resultobj = 0;
13329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13330 void *argp1 = 0 ;
13331 int res1 = 0 ;
13332 PyObject *swig_obj[1] ;
13333
13334 if (!args) SWIG_fail;
13335 swig_obj[0] = args;
13336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13337 if (!SWIG_IsOK(res1)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13339 }
13340 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->PageUpExtend();
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_Py_Void();
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13355 PyObject *resultobj = 0;
13356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13357 void *argp1 = 0 ;
13358 int res1 = 0 ;
13359 PyObject *swig_obj[1] ;
13360
13361 if (!args) SWIG_fail;
13362 swig_obj[0] = args;
13363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13364 if (!SWIG_IsOK(res1)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13366 }
13367 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->PageDown();
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_Py_Void();
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13382 PyObject *resultobj = 0;
13383 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13384 void *argp1 = 0 ;
13385 int res1 = 0 ;
13386 PyObject *swig_obj[1] ;
13387
13388 if (!args) SWIG_fail;
13389 swig_obj[0] = args;
13390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13391 if (!SWIG_IsOK(res1)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13393 }
13394 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 (arg1)->PageDownExtend();
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 resultobj = SWIG_Py_Void();
13402 return resultobj;
13403 fail:
13404 return NULL;
13405 }
13406
13407
13408 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13409 PyObject *resultobj = 0;
13410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13411 void *argp1 = 0 ;
13412 int res1 = 0 ;
13413 PyObject *swig_obj[1] ;
13414
13415 if (!args) SWIG_fail;
13416 swig_obj[0] = args;
13417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13418 if (!SWIG_IsOK(res1)) {
13419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13420 }
13421 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 (arg1)->EditToggleOvertype();
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = SWIG_Py_Void();
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13436 PyObject *resultobj = 0;
13437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13438 void *argp1 = 0 ;
13439 int res1 = 0 ;
13440 PyObject *swig_obj[1] ;
13441
13442 if (!args) SWIG_fail;
13443 swig_obj[0] = args;
13444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13445 if (!SWIG_IsOK(res1)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13447 }
13448 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->Cancel();
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = SWIG_Py_Void();
13456 return resultobj;
13457 fail:
13458 return NULL;
13459 }
13460
13461
13462 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13463 PyObject *resultobj = 0;
13464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 PyObject *swig_obj[1] ;
13468
13469 if (!args) SWIG_fail;
13470 swig_obj[0] = args;
13471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13474 }
13475 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 (arg1)->DeleteBack();
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 resultobj = SWIG_Py_Void();
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13490 PyObject *resultobj = 0;
13491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13492 void *argp1 = 0 ;
13493 int res1 = 0 ;
13494 PyObject *swig_obj[1] ;
13495
13496 if (!args) SWIG_fail;
13497 swig_obj[0] = args;
13498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13499 if (!SWIG_IsOK(res1)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13501 }
13502 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 (arg1)->Tab();
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 resultobj = SWIG_Py_Void();
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13517 PyObject *resultobj = 0;
13518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13519 void *argp1 = 0 ;
13520 int res1 = 0 ;
13521 PyObject *swig_obj[1] ;
13522
13523 if (!args) SWIG_fail;
13524 swig_obj[0] = args;
13525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13526 if (!SWIG_IsOK(res1)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13528 }
13529 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 (arg1)->BackTab();
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 resultobj = SWIG_Py_Void();
13537 return resultobj;
13538 fail:
13539 return NULL;
13540 }
13541
13542
13543 SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13544 PyObject *resultobj = 0;
13545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13546 void *argp1 = 0 ;
13547 int res1 = 0 ;
13548 PyObject *swig_obj[1] ;
13549
13550 if (!args) SWIG_fail;
13551 swig_obj[0] = args;
13552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13553 if (!SWIG_IsOK(res1)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13555 }
13556 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 (arg1)->NewLine();
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 resultobj = SWIG_Py_Void();
13564 return resultobj;
13565 fail:
13566 return NULL;
13567 }
13568
13569
13570 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13571 PyObject *resultobj = 0;
13572 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13573 void *argp1 = 0 ;
13574 int res1 = 0 ;
13575 PyObject *swig_obj[1] ;
13576
13577 if (!args) SWIG_fail;
13578 swig_obj[0] = args;
13579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13580 if (!SWIG_IsOK(res1)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13582 }
13583 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->FormFeed();
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = SWIG_Py_Void();
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13598 PyObject *resultobj = 0;
13599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13600 void *argp1 = 0 ;
13601 int res1 = 0 ;
13602 PyObject *swig_obj[1] ;
13603
13604 if (!args) SWIG_fail;
13605 swig_obj[0] = args;
13606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13607 if (!SWIG_IsOK(res1)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13609 }
13610 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 (arg1)->VCHome();
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 resultobj = SWIG_Py_Void();
13618 return resultobj;
13619 fail:
13620 return NULL;
13621 }
13622
13623
13624 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13625 PyObject *resultobj = 0;
13626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13627 void *argp1 = 0 ;
13628 int res1 = 0 ;
13629 PyObject *swig_obj[1] ;
13630
13631 if (!args) SWIG_fail;
13632 swig_obj[0] = args;
13633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13634 if (!SWIG_IsOK(res1)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13636 }
13637 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 (arg1)->VCHomeExtend();
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 resultobj = SWIG_Py_Void();
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13652 PyObject *resultobj = 0;
13653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13654 void *argp1 = 0 ;
13655 int res1 = 0 ;
13656 PyObject *swig_obj[1] ;
13657
13658 if (!args) SWIG_fail;
13659 swig_obj[0] = args;
13660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13661 if (!SWIG_IsOK(res1)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13663 }
13664 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 (arg1)->ZoomIn();
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = SWIG_Py_Void();
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13679 PyObject *resultobj = 0;
13680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13681 void *argp1 = 0 ;
13682 int res1 = 0 ;
13683 PyObject *swig_obj[1] ;
13684
13685 if (!args) SWIG_fail;
13686 swig_obj[0] = args;
13687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13688 if (!SWIG_IsOK(res1)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13690 }
13691 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->ZoomOut();
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 resultobj = SWIG_Py_Void();
13699 return resultobj;
13700 fail:
13701 return NULL;
13702 }
13703
13704
13705 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13706 PyObject *resultobj = 0;
13707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13708 void *argp1 = 0 ;
13709 int res1 = 0 ;
13710 PyObject *swig_obj[1] ;
13711
13712 if (!args) SWIG_fail;
13713 swig_obj[0] = args;
13714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13715 if (!SWIG_IsOK(res1)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13717 }
13718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 (arg1)->DelWordLeft();
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 resultobj = SWIG_Py_Void();
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13733 PyObject *resultobj = 0;
13734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13735 void *argp1 = 0 ;
13736 int res1 = 0 ;
13737 PyObject *swig_obj[1] ;
13738
13739 if (!args) SWIG_fail;
13740 swig_obj[0] = args;
13741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13742 if (!SWIG_IsOK(res1)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13744 }
13745 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 (arg1)->DelWordRight();
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 resultobj = SWIG_Py_Void();
13753 return resultobj;
13754 fail:
13755 return NULL;
13756 }
13757
13758
13759 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13760 PyObject *resultobj = 0;
13761 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13762 void *argp1 = 0 ;
13763 int res1 = 0 ;
13764 PyObject *swig_obj[1] ;
13765
13766 if (!args) SWIG_fail;
13767 swig_obj[0] = args;
13768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13769 if (!SWIG_IsOK(res1)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13771 }
13772 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->LineCut();
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 resultobj = SWIG_Py_Void();
13780 return resultobj;
13781 fail:
13782 return NULL;
13783 }
13784
13785
13786 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13787 PyObject *resultobj = 0;
13788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13789 void *argp1 = 0 ;
13790 int res1 = 0 ;
13791 PyObject *swig_obj[1] ;
13792
13793 if (!args) SWIG_fail;
13794 swig_obj[0] = args;
13795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13796 if (!SWIG_IsOK(res1)) {
13797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13798 }
13799 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 (arg1)->LineDelete();
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_Py_Void();
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13814 PyObject *resultobj = 0;
13815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13816 void *argp1 = 0 ;
13817 int res1 = 0 ;
13818 PyObject *swig_obj[1] ;
13819
13820 if (!args) SWIG_fail;
13821 swig_obj[0] = args;
13822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13823 if (!SWIG_IsOK(res1)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13825 }
13826 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 (arg1)->LineTranspose();
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 resultobj = SWIG_Py_Void();
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13841 PyObject *resultobj = 0;
13842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13843 void *argp1 = 0 ;
13844 int res1 = 0 ;
13845 PyObject *swig_obj[1] ;
13846
13847 if (!args) SWIG_fail;
13848 swig_obj[0] = args;
13849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13850 if (!SWIG_IsOK(res1)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13852 }
13853 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->LineDuplicate();
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 resultobj = SWIG_Py_Void();
13861 return resultobj;
13862 fail:
13863 return NULL;
13864 }
13865
13866
13867 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13868 PyObject *resultobj = 0;
13869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13870 void *argp1 = 0 ;
13871 int res1 = 0 ;
13872 PyObject *swig_obj[1] ;
13873
13874 if (!args) SWIG_fail;
13875 swig_obj[0] = args;
13876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13877 if (!SWIG_IsOK(res1)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13879 }
13880 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
13883 (arg1)->LowerCase();
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 resultobj = SWIG_Py_Void();
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13895 PyObject *resultobj = 0;
13896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13897 void *argp1 = 0 ;
13898 int res1 = 0 ;
13899 PyObject *swig_obj[1] ;
13900
13901 if (!args) SWIG_fail;
13902 swig_obj[0] = args;
13903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13904 if (!SWIG_IsOK(res1)) {
13905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13906 }
13907 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 (arg1)->UpperCase();
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 resultobj = SWIG_Py_Void();
13915 return resultobj;
13916 fail:
13917 return NULL;
13918 }
13919
13920
13921 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13922 PyObject *resultobj = 0;
13923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13924 void *argp1 = 0 ;
13925 int res1 = 0 ;
13926 PyObject *swig_obj[1] ;
13927
13928 if (!args) SWIG_fail;
13929 swig_obj[0] = args;
13930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13933 }
13934 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 (arg1)->LineScrollDown();
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 resultobj = SWIG_Py_Void();
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13949 PyObject *resultobj = 0;
13950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13951 void *argp1 = 0 ;
13952 int res1 = 0 ;
13953 PyObject *swig_obj[1] ;
13954
13955 if (!args) SWIG_fail;
13956 swig_obj[0] = args;
13957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13958 if (!SWIG_IsOK(res1)) {
13959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13960 }
13961 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 (arg1)->LineScrollUp();
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 resultobj = SWIG_Py_Void();
13969 return resultobj;
13970 fail:
13971 return NULL;
13972 }
13973
13974
13975 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13976 PyObject *resultobj = 0;
13977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13978 void *argp1 = 0 ;
13979 int res1 = 0 ;
13980 PyObject *swig_obj[1] ;
13981
13982 if (!args) SWIG_fail;
13983 swig_obj[0] = args;
13984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13985 if (!SWIG_IsOK(res1)) {
13986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13987 }
13988 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 (arg1)->DeleteBackNotLine();
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 resultobj = SWIG_Py_Void();
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14003 PyObject *resultobj = 0;
14004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 PyObject *swig_obj[1] ;
14008
14009 if (!args) SWIG_fail;
14010 swig_obj[0] = args;
14011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14014 }
14015 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 (arg1)->HomeDisplay();
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_Py_Void();
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14030 PyObject *resultobj = 0;
14031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14032 void *argp1 = 0 ;
14033 int res1 = 0 ;
14034 PyObject *swig_obj[1] ;
14035
14036 if (!args) SWIG_fail;
14037 swig_obj[0] = args;
14038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14039 if (!SWIG_IsOK(res1)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14041 }
14042 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->HomeDisplayExtend();
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 resultobj = SWIG_Py_Void();
14050 return resultobj;
14051 fail:
14052 return NULL;
14053 }
14054
14055
14056 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14057 PyObject *resultobj = 0;
14058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14059 void *argp1 = 0 ;
14060 int res1 = 0 ;
14061 PyObject *swig_obj[1] ;
14062
14063 if (!args) SWIG_fail;
14064 swig_obj[0] = args;
14065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14066 if (!SWIG_IsOK(res1)) {
14067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14068 }
14069 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 (arg1)->LineEndDisplay();
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 resultobj = SWIG_Py_Void();
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14084 PyObject *resultobj = 0;
14085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14086 void *argp1 = 0 ;
14087 int res1 = 0 ;
14088 PyObject *swig_obj[1] ;
14089
14090 if (!args) SWIG_fail;
14091 swig_obj[0] = args;
14092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14093 if (!SWIG_IsOK(res1)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14095 }
14096 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 (arg1)->LineEndDisplayExtend();
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 resultobj = SWIG_Py_Void();
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14111 PyObject *resultobj = 0;
14112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14113 void *argp1 = 0 ;
14114 int res1 = 0 ;
14115 PyObject *swig_obj[1] ;
14116
14117 if (!args) SWIG_fail;
14118 swig_obj[0] = args;
14119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14122 }
14123 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 (arg1)->HomeWrap();
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = SWIG_Py_Void();
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14138 PyObject *resultobj = 0;
14139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14140 void *argp1 = 0 ;
14141 int res1 = 0 ;
14142 PyObject *swig_obj[1] ;
14143
14144 if (!args) SWIG_fail;
14145 swig_obj[0] = args;
14146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14147 if (!SWIG_IsOK(res1)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14149 }
14150 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 (arg1)->HomeWrapExtend();
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 resultobj = SWIG_Py_Void();
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14165 PyObject *resultobj = 0;
14166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14167 void *argp1 = 0 ;
14168 int res1 = 0 ;
14169 PyObject *swig_obj[1] ;
14170
14171 if (!args) SWIG_fail;
14172 swig_obj[0] = args;
14173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14174 if (!SWIG_IsOK(res1)) {
14175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14176 }
14177 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 (arg1)->LineEndWrap();
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 resultobj = SWIG_Py_Void();
14185 return resultobj;
14186 fail:
14187 return NULL;
14188 }
14189
14190
14191 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14192 PyObject *resultobj = 0;
14193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14194 void *argp1 = 0 ;
14195 int res1 = 0 ;
14196 PyObject *swig_obj[1] ;
14197
14198 if (!args) SWIG_fail;
14199 swig_obj[0] = args;
14200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14201 if (!SWIG_IsOK(res1)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14203 }
14204 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 (arg1)->LineEndWrapExtend();
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_Py_Void();
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14219 PyObject *resultobj = 0;
14220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14221 void *argp1 = 0 ;
14222 int res1 = 0 ;
14223 PyObject *swig_obj[1] ;
14224
14225 if (!args) SWIG_fail;
14226 swig_obj[0] = args;
14227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14228 if (!SWIG_IsOK(res1)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14230 }
14231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->VCHomeWrap();
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_Py_Void();
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14246 PyObject *resultobj = 0;
14247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14248 void *argp1 = 0 ;
14249 int res1 = 0 ;
14250 PyObject *swig_obj[1] ;
14251
14252 if (!args) SWIG_fail;
14253 swig_obj[0] = args;
14254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14255 if (!SWIG_IsOK(res1)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14257 }
14258 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 (arg1)->VCHomeWrapExtend();
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 resultobj = SWIG_Py_Void();
14266 return resultobj;
14267 fail:
14268 return NULL;
14269 }
14270
14271
14272 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14273 PyObject *resultobj = 0;
14274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14275 void *argp1 = 0 ;
14276 int res1 = 0 ;
14277 PyObject *swig_obj[1] ;
14278
14279 if (!args) SWIG_fail;
14280 swig_obj[0] = args;
14281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14282 if (!SWIG_IsOK(res1)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14284 }
14285 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 (arg1)->LineCopy();
14289 wxPyEndAllowThreads(__tstate);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 resultobj = SWIG_Py_Void();
14293 return resultobj;
14294 fail:
14295 return NULL;
14296 }
14297
14298
14299 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14300 PyObject *resultobj = 0;
14301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14302 void *argp1 = 0 ;
14303 int res1 = 0 ;
14304 PyObject *swig_obj[1] ;
14305
14306 if (!args) SWIG_fail;
14307 swig_obj[0] = args;
14308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14309 if (!SWIG_IsOK(res1)) {
14310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14311 }
14312 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->MoveCaretInsideView();
14316 wxPyEndAllowThreads(__tstate);
14317 if (PyErr_Occurred()) SWIG_fail;
14318 }
14319 resultobj = SWIG_Py_Void();
14320 return resultobj;
14321 fail:
14322 return NULL;
14323 }
14324
14325
14326 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14327 PyObject *resultobj = 0;
14328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14329 int arg2 ;
14330 int result;
14331 void *argp1 = 0 ;
14332 int res1 = 0 ;
14333 int val2 ;
14334 int ecode2 = 0 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 char * kwnames[] = {
14338 (char *) "self",(char *) "line", NULL
14339 };
14340
14341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14343 if (!SWIG_IsOK(res1)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14345 }
14346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14347 ecode2 = SWIG_AsVal_int(obj1, &val2);
14348 if (!SWIG_IsOK(ecode2)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14350 }
14351 arg2 = static_cast< int >(val2);
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (int)(arg1)->LineLength(arg2);
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_From_int(static_cast< int >(result));
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = 0;
14367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14368 int arg2 ;
14369 int arg3 ;
14370 void *argp1 = 0 ;
14371 int res1 = 0 ;
14372 int val2 ;
14373 int ecode2 = 0 ;
14374 int val3 ;
14375 int ecode3 = 0 ;
14376 PyObject * obj0 = 0 ;
14377 PyObject * obj1 = 0 ;
14378 PyObject * obj2 = 0 ;
14379 char * kwnames[] = {
14380 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14381 };
14382
14383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14385 if (!SWIG_IsOK(res1)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14387 }
14388 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14389 ecode2 = SWIG_AsVal_int(obj1, &val2);
14390 if (!SWIG_IsOK(ecode2)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14392 }
14393 arg2 = static_cast< int >(val2);
14394 ecode3 = SWIG_AsVal_int(obj2, &val3);
14395 if (!SWIG_IsOK(ecode3)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14397 }
14398 arg3 = static_cast< int >(val3);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 (arg1)->BraceHighlight(arg2,arg3);
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 resultobj = SWIG_Py_Void();
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj = 0;
14414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14415 int arg2 ;
14416 void *argp1 = 0 ;
14417 int res1 = 0 ;
14418 int val2 ;
14419 int ecode2 = 0 ;
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char * kwnames[] = {
14423 (char *) "self",(char *) "pos", NULL
14424 };
14425
14426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14428 if (!SWIG_IsOK(res1)) {
14429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14430 }
14431 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14432 ecode2 = SWIG_AsVal_int(obj1, &val2);
14433 if (!SWIG_IsOK(ecode2)) {
14434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14435 }
14436 arg2 = static_cast< int >(val2);
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 (arg1)->BraceBadLight(arg2);
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 resultobj = SWIG_Py_Void();
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj = 0;
14452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14453 int arg2 ;
14454 int result;
14455 void *argp1 = 0 ;
14456 int res1 = 0 ;
14457 int val2 ;
14458 int ecode2 = 0 ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj1 = 0 ;
14461 char * kwnames[] = {
14462 (char *) "self",(char *) "pos", NULL
14463 };
14464
14465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14467 if (!SWIG_IsOK(res1)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14469 }
14470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14471 ecode2 = SWIG_AsVal_int(obj1, &val2);
14472 if (!SWIG_IsOK(ecode2)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14474 }
14475 arg2 = static_cast< int >(val2);
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (int)(arg1)->BraceMatch(arg2);
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 resultobj = SWIG_From_int(static_cast< int >(result));
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14490 PyObject *resultobj = 0;
14491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14492 bool result;
14493 void *argp1 = 0 ;
14494 int res1 = 0 ;
14495 PyObject *swig_obj[1] ;
14496
14497 if (!args) SWIG_fail;
14498 swig_obj[0] = args;
14499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14500 if (!SWIG_IsOK(res1)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14502 }
14503 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 result = (bool)(arg1)->GetViewEOL();
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 {
14511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14512 }
14513 return resultobj;
14514 fail:
14515 return NULL;
14516 }
14517
14518
14519 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj = 0;
14521 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14522 bool arg2 ;
14523 void *argp1 = 0 ;
14524 int res1 = 0 ;
14525 bool val2 ;
14526 int ecode2 = 0 ;
14527 PyObject * obj0 = 0 ;
14528 PyObject * obj1 = 0 ;
14529 char * kwnames[] = {
14530 (char *) "self",(char *) "visible", NULL
14531 };
14532
14533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14535 if (!SWIG_IsOK(res1)) {
14536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14537 }
14538 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14539 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14540 if (!SWIG_IsOK(ecode2)) {
14541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14542 }
14543 arg2 = static_cast< bool >(val2);
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 (arg1)->SetViewEOL(arg2);
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 resultobj = SWIG_Py_Void();
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14558 PyObject *resultobj = 0;
14559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14560 void *result = 0 ;
14561 void *argp1 = 0 ;
14562 int res1 = 0 ;
14563 PyObject *swig_obj[1] ;
14564
14565 if (!args) SWIG_fail;
14566 swig_obj[0] = args;
14567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14568 if (!SWIG_IsOK(res1)) {
14569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14570 }
14571 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = (void *)(arg1)->GetDocPointer();
14575 wxPyEndAllowThreads(__tstate);
14576 if (PyErr_Occurred()) SWIG_fail;
14577 }
14578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14579 return resultobj;
14580 fail:
14581 return NULL;
14582 }
14583
14584
14585 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj = 0;
14587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14588 void *arg2 = (void *) 0 ;
14589 void *argp1 = 0 ;
14590 int res1 = 0 ;
14591 int res2 ;
14592 PyObject * obj0 = 0 ;
14593 PyObject * obj1 = 0 ;
14594 char * kwnames[] = {
14595 (char *) "self",(char *) "docPointer", NULL
14596 };
14597
14598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14600 if (!SWIG_IsOK(res1)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14602 }
14603 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14604 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14605 if (!SWIG_IsOK(res2)) {
14606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14607 }
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 (arg1)->SetDocPointer(arg2);
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 resultobj = SWIG_Py_Void();
14615 return resultobj;
14616 fail:
14617 return NULL;
14618 }
14619
14620
14621 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj = 0;
14623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14624 int arg2 ;
14625 void *argp1 = 0 ;
14626 int res1 = 0 ;
14627 int val2 ;
14628 int ecode2 = 0 ;
14629 PyObject * obj0 = 0 ;
14630 PyObject * obj1 = 0 ;
14631 char * kwnames[] = {
14632 (char *) "self",(char *) "mask", NULL
14633 };
14634
14635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14637 if (!SWIG_IsOK(res1)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14639 }
14640 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14641 ecode2 = SWIG_AsVal_int(obj1, &val2);
14642 if (!SWIG_IsOK(ecode2)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14644 }
14645 arg2 = static_cast< int >(val2);
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 (arg1)->SetModEventMask(arg2);
14649 wxPyEndAllowThreads(__tstate);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
14652 resultobj = SWIG_Py_Void();
14653 return resultobj;
14654 fail:
14655 return NULL;
14656 }
14657
14658
14659 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14660 PyObject *resultobj = 0;
14661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14662 int result;
14663 void *argp1 = 0 ;
14664 int res1 = 0 ;
14665 PyObject *swig_obj[1] ;
14666
14667 if (!args) SWIG_fail;
14668 swig_obj[0] = args;
14669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14670 if (!SWIG_IsOK(res1)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14672 }
14673 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = (int)(arg1)->GetEdgeColumn();
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 resultobj = SWIG_From_int(static_cast< int >(result));
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj = 0;
14689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14690 int arg2 ;
14691 void *argp1 = 0 ;
14692 int res1 = 0 ;
14693 int val2 ;
14694 int ecode2 = 0 ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char * kwnames[] = {
14698 (char *) "self",(char *) "column", NULL
14699 };
14700
14701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14703 if (!SWIG_IsOK(res1)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14705 }
14706 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14707 ecode2 = SWIG_AsVal_int(obj1, &val2);
14708 if (!SWIG_IsOK(ecode2)) {
14709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14710 }
14711 arg2 = static_cast< int >(val2);
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->SetEdgeColumn(arg2);
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 resultobj = SWIG_Py_Void();
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14726 PyObject *resultobj = 0;
14727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14728 int result;
14729 void *argp1 = 0 ;
14730 int res1 = 0 ;
14731 PyObject *swig_obj[1] ;
14732
14733 if (!args) SWIG_fail;
14734 swig_obj[0] = args;
14735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14736 if (!SWIG_IsOK(res1)) {
14737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14738 }
14739 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = (int)(arg1)->GetEdgeMode();
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 resultobj = SWIG_From_int(static_cast< int >(result));
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj = 0;
14755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14756 int arg2 ;
14757 void *argp1 = 0 ;
14758 int res1 = 0 ;
14759 int val2 ;
14760 int ecode2 = 0 ;
14761 PyObject * obj0 = 0 ;
14762 PyObject * obj1 = 0 ;
14763 char * kwnames[] = {
14764 (char *) "self",(char *) "mode", NULL
14765 };
14766
14767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14769 if (!SWIG_IsOK(res1)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14771 }
14772 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14773 ecode2 = SWIG_AsVal_int(obj1, &val2);
14774 if (!SWIG_IsOK(ecode2)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14776 }
14777 arg2 = static_cast< int >(val2);
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->SetEdgeMode(arg2);
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 resultobj = SWIG_Py_Void();
14785 return resultobj;
14786 fail:
14787 return NULL;
14788 }
14789
14790
14791 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14792 PyObject *resultobj = 0;
14793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14794 wxColour result;
14795 void *argp1 = 0 ;
14796 int res1 = 0 ;
14797 PyObject *swig_obj[1] ;
14798
14799 if (!args) SWIG_fail;
14800 swig_obj[0] = args;
14801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14802 if (!SWIG_IsOK(res1)) {
14803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14804 }
14805 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (arg1)->GetEdgeColour();
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj = 0;
14821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14822 wxColour *arg2 = 0 ;
14823 void *argp1 = 0 ;
14824 int res1 = 0 ;
14825 wxColour temp2 ;
14826 PyObject * obj0 = 0 ;
14827 PyObject * obj1 = 0 ;
14828 char * kwnames[] = {
14829 (char *) "self",(char *) "edgeColour", NULL
14830 };
14831
14832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14834 if (!SWIG_IsOK(res1)) {
14835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14836 }
14837 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14838 {
14839 arg2 = &temp2;
14840 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14841 }
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 (arg1)->SetEdgeColour((wxColour const &)*arg2);
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
14848 resultobj = SWIG_Py_Void();
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14856 PyObject *resultobj = 0;
14857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14858 void *argp1 = 0 ;
14859 int res1 = 0 ;
14860 PyObject *swig_obj[1] ;
14861
14862 if (!args) SWIG_fail;
14863 swig_obj[0] = args;
14864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14865 if (!SWIG_IsOK(res1)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14867 }
14868 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 (arg1)->SearchAnchor();
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = SWIG_Py_Void();
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj = 0;
14884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14885 int arg2 ;
14886 wxString *arg3 = 0 ;
14887 int result;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 int val2 ;
14891 int ecode2 = 0 ;
14892 bool temp3 = false ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 PyObject * obj2 = 0 ;
14896 char * kwnames[] = {
14897 (char *) "self",(char *) "flags",(char *) "text", NULL
14898 };
14899
14900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14902 if (!SWIG_IsOK(res1)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14904 }
14905 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14906 ecode2 = SWIG_AsVal_int(obj1, &val2);
14907 if (!SWIG_IsOK(ecode2)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
14909 }
14910 arg2 = static_cast< int >(val2);
14911 {
14912 arg3 = wxString_in_helper(obj2);
14913 if (arg3 == NULL) SWIG_fail;
14914 temp3 = true;
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = SWIG_From_int(static_cast< int >(result));
14923 {
14924 if (temp3)
14925 delete arg3;
14926 }
14927 return resultobj;
14928 fail:
14929 {
14930 if (temp3)
14931 delete arg3;
14932 }
14933 return NULL;
14934 }
14935
14936
14937 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj = 0;
14939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14940 int arg2 ;
14941 wxString *arg3 = 0 ;
14942 int result;
14943 void *argp1 = 0 ;
14944 int res1 = 0 ;
14945 int val2 ;
14946 int ecode2 = 0 ;
14947 bool temp3 = false ;
14948 PyObject * obj0 = 0 ;
14949 PyObject * obj1 = 0 ;
14950 PyObject * obj2 = 0 ;
14951 char * kwnames[] = {
14952 (char *) "self",(char *) "flags",(char *) "text", NULL
14953 };
14954
14955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14957 if (!SWIG_IsOK(res1)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14959 }
14960 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14961 ecode2 = SWIG_AsVal_int(obj1, &val2);
14962 if (!SWIG_IsOK(ecode2)) {
14963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
14964 }
14965 arg2 = static_cast< int >(val2);
14966 {
14967 arg3 = wxString_in_helper(obj2);
14968 if (arg3 == NULL) SWIG_fail;
14969 temp3 = true;
14970 }
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 resultobj = SWIG_From_int(static_cast< int >(result));
14978 {
14979 if (temp3)
14980 delete arg3;
14981 }
14982 return resultobj;
14983 fail:
14984 {
14985 if (temp3)
14986 delete arg3;
14987 }
14988 return NULL;
14989 }
14990
14991
14992 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14993 PyObject *resultobj = 0;
14994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14995 int result;
14996 void *argp1 = 0 ;
14997 int res1 = 0 ;
14998 PyObject *swig_obj[1] ;
14999
15000 if (!args) SWIG_fail;
15001 swig_obj[0] = args;
15002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15003 if (!SWIG_IsOK(res1)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15005 }
15006 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (int)(arg1)->LinesOnScreen();
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 resultobj = SWIG_From_int(static_cast< int >(result));
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj = 0;
15022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15023 bool arg2 ;
15024 void *argp1 = 0 ;
15025 int res1 = 0 ;
15026 bool val2 ;
15027 int ecode2 = 0 ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char * kwnames[] = {
15031 (char *) "self",(char *) "allowPopUp", NULL
15032 };
15033
15034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15036 if (!SWIG_IsOK(res1)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15038 }
15039 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15040 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15041 if (!SWIG_IsOK(ecode2)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15043 }
15044 arg2 = static_cast< bool >(val2);
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 (arg1)->UsePopUp(arg2);
15048 wxPyEndAllowThreads(__tstate);
15049 if (PyErr_Occurred()) SWIG_fail;
15050 }
15051 resultobj = SWIG_Py_Void();
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15059 PyObject *resultobj = 0;
15060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15061 bool result;
15062 void *argp1 = 0 ;
15063 int res1 = 0 ;
15064 PyObject *swig_obj[1] ;
15065
15066 if (!args) SWIG_fail;
15067 swig_obj[0] = args;
15068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15069 if (!SWIG_IsOK(res1)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15071 }
15072 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 result = (bool)(arg1)->SelectionIsRectangle();
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 {
15080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15081 }
15082 return resultobj;
15083 fail:
15084 return NULL;
15085 }
15086
15087
15088 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj = 0;
15090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15091 int arg2 ;
15092 void *argp1 = 0 ;
15093 int res1 = 0 ;
15094 int val2 ;
15095 int ecode2 = 0 ;
15096 PyObject * obj0 = 0 ;
15097 PyObject * obj1 = 0 ;
15098 char * kwnames[] = {
15099 (char *) "self",(char *) "zoom", NULL
15100 };
15101
15102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15104 if (!SWIG_IsOK(res1)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15106 }
15107 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15108 ecode2 = SWIG_AsVal_int(obj1, &val2);
15109 if (!SWIG_IsOK(ecode2)) {
15110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15111 }
15112 arg2 = static_cast< int >(val2);
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 (arg1)->SetZoom(arg2);
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_Py_Void();
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15127 PyObject *resultobj = 0;
15128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15129 int result;
15130 void *argp1 = 0 ;
15131 int res1 = 0 ;
15132 PyObject *swig_obj[1] ;
15133
15134 if (!args) SWIG_fail;
15135 swig_obj[0] = args;
15136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15139 }
15140 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (int)(arg1)->GetZoom();
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 resultobj = SWIG_From_int(static_cast< int >(result));
15148 return resultobj;
15149 fail:
15150 return NULL;
15151 }
15152
15153
15154 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15155 PyObject *resultobj = 0;
15156 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15157 void *result = 0 ;
15158 void *argp1 = 0 ;
15159 int res1 = 0 ;
15160 PyObject *swig_obj[1] ;
15161
15162 if (!args) SWIG_fail;
15163 swig_obj[0] = args;
15164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15165 if (!SWIG_IsOK(res1)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15167 }
15168 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (void *)(arg1)->CreateDocument();
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj = 0;
15184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15185 void *arg2 = (void *) 0 ;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 int res2 ;
15189 PyObject * obj0 = 0 ;
15190 PyObject * obj1 = 0 ;
15191 char * kwnames[] = {
15192 (char *) "self",(char *) "docPointer", NULL
15193 };
15194
15195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15197 if (!SWIG_IsOK(res1)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15199 }
15200 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15201 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15202 if (!SWIG_IsOK(res2)) {
15203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15204 }
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 (arg1)->AddRefDocument(arg2);
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_Py_Void();
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj = 0;
15220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15221 void *arg2 = (void *) 0 ;
15222 void *argp1 = 0 ;
15223 int res1 = 0 ;
15224 int res2 ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char * kwnames[] = {
15228 (char *) "self",(char *) "docPointer", NULL
15229 };
15230
15231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15233 if (!SWIG_IsOK(res1)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15235 }
15236 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15237 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15238 if (!SWIG_IsOK(res2)) {
15239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15240 }
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 (arg1)->ReleaseDocument(arg2);
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 resultobj = SWIG_Py_Void();
15248 return resultobj;
15249 fail:
15250 return NULL;
15251 }
15252
15253
15254 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15255 PyObject *resultobj = 0;
15256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15257 int result;
15258 void *argp1 = 0 ;
15259 int res1 = 0 ;
15260 PyObject *swig_obj[1] ;
15261
15262 if (!args) SWIG_fail;
15263 swig_obj[0] = args;
15264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15265 if (!SWIG_IsOK(res1)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15267 }
15268 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (int)(arg1)->GetModEventMask();
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = SWIG_From_int(static_cast< int >(result));
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj = 0;
15284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15285 bool arg2 ;
15286 void *argp1 = 0 ;
15287 int res1 = 0 ;
15288 bool val2 ;
15289 int ecode2 = 0 ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj1 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "focus", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15300 }
15301 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15302 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15303 if (!SWIG_IsOK(ecode2)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15305 }
15306 arg2 = static_cast< bool >(val2);
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 (arg1)->SetSTCFocus(arg2);
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 resultobj = SWIG_Py_Void();
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15321 PyObject *resultobj = 0;
15322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15323 bool result;
15324 void *argp1 = 0 ;
15325 int res1 = 0 ;
15326 PyObject *swig_obj[1] ;
15327
15328 if (!args) SWIG_fail;
15329 swig_obj[0] = args;
15330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15331 if (!SWIG_IsOK(res1)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15333 }
15334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (bool)(arg1)->GetSTCFocus();
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj = 0;
15352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15353 int arg2 ;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 int val2 ;
15357 int ecode2 = 0 ;
15358 PyObject * obj0 = 0 ;
15359 PyObject * obj1 = 0 ;
15360 char * kwnames[] = {
15361 (char *) "self",(char *) "statusCode", NULL
15362 };
15363
15364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15366 if (!SWIG_IsOK(res1)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15368 }
15369 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15370 ecode2 = SWIG_AsVal_int(obj1, &val2);
15371 if (!SWIG_IsOK(ecode2)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15373 }
15374 arg2 = static_cast< int >(val2);
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 (arg1)->SetStatus(arg2);
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 resultobj = SWIG_Py_Void();
15382 return resultobj;
15383 fail:
15384 return NULL;
15385 }
15386
15387
15388 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15389 PyObject *resultobj = 0;
15390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15391 int result;
15392 void *argp1 = 0 ;
15393 int res1 = 0 ;
15394 PyObject *swig_obj[1] ;
15395
15396 if (!args) SWIG_fail;
15397 swig_obj[0] = args;
15398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15399 if (!SWIG_IsOK(res1)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15401 }
15402 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 result = (int)(arg1)->GetStatus();
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 resultobj = SWIG_From_int(static_cast< int >(result));
15410 return resultobj;
15411 fail:
15412 return NULL;
15413 }
15414
15415
15416 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj = 0;
15418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15419 bool arg2 ;
15420 void *argp1 = 0 ;
15421 int res1 = 0 ;
15422 bool val2 ;
15423 int ecode2 = 0 ;
15424 PyObject * obj0 = 0 ;
15425 PyObject * obj1 = 0 ;
15426 char * kwnames[] = {
15427 (char *) "self",(char *) "captures", NULL
15428 };
15429
15430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15432 if (!SWIG_IsOK(res1)) {
15433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15434 }
15435 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15436 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15437 if (!SWIG_IsOK(ecode2)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15439 }
15440 arg2 = static_cast< bool >(val2);
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 (arg1)->SetMouseDownCaptures(arg2);
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = SWIG_Py_Void();
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15455 PyObject *resultobj = 0;
15456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15457 bool result;
15458 void *argp1 = 0 ;
15459 int res1 = 0 ;
15460 PyObject *swig_obj[1] ;
15461
15462 if (!args) SWIG_fail;
15463 swig_obj[0] = args;
15464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15465 if (!SWIG_IsOK(res1)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15467 }
15468 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (bool)(arg1)->GetMouseDownCaptures();
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 {
15476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15477 }
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj = 0;
15486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15487 int arg2 ;
15488 void *argp1 = 0 ;
15489 int res1 = 0 ;
15490 int val2 ;
15491 int ecode2 = 0 ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 char * kwnames[] = {
15495 (char *) "self",(char *) "cursorType", NULL
15496 };
15497
15498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15500 if (!SWIG_IsOK(res1)) {
15501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15502 }
15503 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15504 ecode2 = SWIG_AsVal_int(obj1, &val2);
15505 if (!SWIG_IsOK(ecode2)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15507 }
15508 arg2 = static_cast< int >(val2);
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 (arg1)->SetSTCCursor(arg2);
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 resultobj = SWIG_Py_Void();
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15523 PyObject *resultobj = 0;
15524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15525 int result;
15526 void *argp1 = 0 ;
15527 int res1 = 0 ;
15528 PyObject *swig_obj[1] ;
15529
15530 if (!args) SWIG_fail;
15531 swig_obj[0] = args;
15532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15533 if (!SWIG_IsOK(res1)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15535 }
15536 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 result = (int)(arg1)->GetSTCCursor();
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 resultobj = SWIG_From_int(static_cast< int >(result));
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj = 0;
15552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15553 int arg2 ;
15554 void *argp1 = 0 ;
15555 int res1 = 0 ;
15556 int val2 ;
15557 int ecode2 = 0 ;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 char * kwnames[] = {
15561 (char *) "self",(char *) "symbol", NULL
15562 };
15563
15564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15566 if (!SWIG_IsOK(res1)) {
15567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15568 }
15569 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15570 ecode2 = SWIG_AsVal_int(obj1, &val2);
15571 if (!SWIG_IsOK(ecode2)) {
15572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15573 }
15574 arg2 = static_cast< int >(val2);
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 (arg1)->SetControlCharSymbol(arg2);
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 resultobj = SWIG_Py_Void();
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15589 PyObject *resultobj = 0;
15590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15591 int result;
15592 void *argp1 = 0 ;
15593 int res1 = 0 ;
15594 PyObject *swig_obj[1] ;
15595
15596 if (!args) SWIG_fail;
15597 swig_obj[0] = args;
15598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15601 }
15602 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (int)(arg1)->GetControlCharSymbol();
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 resultobj = SWIG_From_int(static_cast< int >(result));
15610 return resultobj;
15611 fail:
15612 return NULL;
15613 }
15614
15615
15616 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15617 PyObject *resultobj = 0;
15618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15619 void *argp1 = 0 ;
15620 int res1 = 0 ;
15621 PyObject *swig_obj[1] ;
15622
15623 if (!args) SWIG_fail;
15624 swig_obj[0] = args;
15625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15626 if (!SWIG_IsOK(res1)) {
15627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15628 }
15629 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 (arg1)->WordPartLeft();
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 resultobj = SWIG_Py_Void();
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15644 PyObject *resultobj = 0;
15645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15646 void *argp1 = 0 ;
15647 int res1 = 0 ;
15648 PyObject *swig_obj[1] ;
15649
15650 if (!args) SWIG_fail;
15651 swig_obj[0] = args;
15652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15653 if (!SWIG_IsOK(res1)) {
15654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15655 }
15656 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15657 {
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 (arg1)->WordPartLeftExtend();
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 resultobj = SWIG_Py_Void();
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15671 PyObject *resultobj = 0;
15672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15673 void *argp1 = 0 ;
15674 int res1 = 0 ;
15675 PyObject *swig_obj[1] ;
15676
15677 if (!args) SWIG_fail;
15678 swig_obj[0] = args;
15679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15682 }
15683 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 (arg1)->WordPartRight();
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_Py_Void();
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15698 PyObject *resultobj = 0;
15699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15700 void *argp1 = 0 ;
15701 int res1 = 0 ;
15702 PyObject *swig_obj[1] ;
15703
15704 if (!args) SWIG_fail;
15705 swig_obj[0] = args;
15706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15707 if (!SWIG_IsOK(res1)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15709 }
15710 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->WordPartRightExtend();
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_Py_Void();
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj = 0;
15726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15727 int arg2 ;
15728 int arg3 ;
15729 void *argp1 = 0 ;
15730 int res1 = 0 ;
15731 int val2 ;
15732 int ecode2 = 0 ;
15733 int val3 ;
15734 int ecode3 = 0 ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 PyObject * obj2 = 0 ;
15738 char * kwnames[] = {
15739 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15740 };
15741
15742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15746 }
15747 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15748 ecode2 = SWIG_AsVal_int(obj1, &val2);
15749 if (!SWIG_IsOK(ecode2)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15751 }
15752 arg2 = static_cast< int >(val2);
15753 ecode3 = SWIG_AsVal_int(obj2, &val3);
15754 if (!SWIG_IsOK(ecode3)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15756 }
15757 arg3 = static_cast< int >(val3);
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->SetVisiblePolicy(arg2,arg3);
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 resultobj = SWIG_Py_Void();
15765 return resultobj;
15766 fail:
15767 return NULL;
15768 }
15769
15770
15771 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15772 PyObject *resultobj = 0;
15773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15774 void *argp1 = 0 ;
15775 int res1 = 0 ;
15776 PyObject *swig_obj[1] ;
15777
15778 if (!args) SWIG_fail;
15779 swig_obj[0] = args;
15780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15781 if (!SWIG_IsOK(res1)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15783 }
15784 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 (arg1)->DelLineLeft();
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 resultobj = SWIG_Py_Void();
15792 return resultobj;
15793 fail:
15794 return NULL;
15795 }
15796
15797
15798 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15799 PyObject *resultobj = 0;
15800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15801 void *argp1 = 0 ;
15802 int res1 = 0 ;
15803 PyObject *swig_obj[1] ;
15804
15805 if (!args) SWIG_fail;
15806 swig_obj[0] = args;
15807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15808 if (!SWIG_IsOK(res1)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15810 }
15811 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 (arg1)->DelLineRight();
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_Py_Void();
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = 0;
15827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15828 int arg2 ;
15829 void *argp1 = 0 ;
15830 int res1 = 0 ;
15831 int val2 ;
15832 int ecode2 = 0 ;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 char * kwnames[] = {
15836 (char *) "self",(char *) "newOffset", NULL
15837 };
15838
15839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15841 if (!SWIG_IsOK(res1)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15843 }
15844 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15845 ecode2 = SWIG_AsVal_int(obj1, &val2);
15846 if (!SWIG_IsOK(ecode2)) {
15847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
15848 }
15849 arg2 = static_cast< int >(val2);
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 (arg1)->SetXOffset(arg2);
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = SWIG_Py_Void();
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15864 PyObject *resultobj = 0;
15865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15866 int result;
15867 void *argp1 = 0 ;
15868 int res1 = 0 ;
15869 PyObject *swig_obj[1] ;
15870
15871 if (!args) SWIG_fail;
15872 swig_obj[0] = args;
15873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15874 if (!SWIG_IsOK(res1)) {
15875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15876 }
15877 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 result = (int)(arg1)->GetXOffset();
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 resultobj = SWIG_From_int(static_cast< int >(result));
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15892 PyObject *resultobj = 0;
15893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15894 void *argp1 = 0 ;
15895 int res1 = 0 ;
15896 PyObject *swig_obj[1] ;
15897
15898 if (!args) SWIG_fail;
15899 swig_obj[0] = args;
15900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15901 if (!SWIG_IsOK(res1)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15903 }
15904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 (arg1)->ChooseCaretX();
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 resultobj = SWIG_Py_Void();
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj = 0;
15920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15921 int arg2 ;
15922 int arg3 ;
15923 void *argp1 = 0 ;
15924 int res1 = 0 ;
15925 int val2 ;
15926 int ecode2 = 0 ;
15927 int val3 ;
15928 int ecode3 = 0 ;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 PyObject * obj2 = 0 ;
15932 char * kwnames[] = {
15933 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
15934 };
15935
15936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15938 if (!SWIG_IsOK(res1)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15940 }
15941 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15942 ecode2 = SWIG_AsVal_int(obj1, &val2);
15943 if (!SWIG_IsOK(ecode2)) {
15944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
15945 }
15946 arg2 = static_cast< int >(val2);
15947 ecode3 = SWIG_AsVal_int(obj2, &val3);
15948 if (!SWIG_IsOK(ecode3)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
15950 }
15951 arg3 = static_cast< int >(val3);
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->SetXCaretPolicy(arg2,arg3);
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = SWIG_Py_Void();
15959 return resultobj;
15960 fail:
15961 return NULL;
15962 }
15963
15964
15965 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj = 0;
15967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15968 int arg2 ;
15969 int arg3 ;
15970 void *argp1 = 0 ;
15971 int res1 = 0 ;
15972 int val2 ;
15973 int ecode2 = 0 ;
15974 int val3 ;
15975 int ecode3 = 0 ;
15976 PyObject * obj0 = 0 ;
15977 PyObject * obj1 = 0 ;
15978 PyObject * obj2 = 0 ;
15979 char * kwnames[] = {
15980 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
15981 };
15982
15983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15985 if (!SWIG_IsOK(res1)) {
15986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15987 }
15988 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15989 ecode2 = SWIG_AsVal_int(obj1, &val2);
15990 if (!SWIG_IsOK(ecode2)) {
15991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
15992 }
15993 arg2 = static_cast< int >(val2);
15994 ecode3 = SWIG_AsVal_int(obj2, &val3);
15995 if (!SWIG_IsOK(ecode3)) {
15996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
15997 }
15998 arg3 = static_cast< int >(val3);
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 (arg1)->SetYCaretPolicy(arg2,arg3);
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 resultobj = SWIG_Py_Void();
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj = 0;
16014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16015 int arg2 ;
16016 void *argp1 = 0 ;
16017 int res1 = 0 ;
16018 int val2 ;
16019 int ecode2 = 0 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char * kwnames[] = {
16023 (char *) "self",(char *) "mode", NULL
16024 };
16025
16026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16028 if (!SWIG_IsOK(res1)) {
16029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16030 }
16031 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16032 ecode2 = SWIG_AsVal_int(obj1, &val2);
16033 if (!SWIG_IsOK(ecode2)) {
16034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16035 }
16036 arg2 = static_cast< int >(val2);
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 (arg1)->SetPrintWrapMode(arg2);
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 resultobj = SWIG_Py_Void();
16044 return resultobj;
16045 fail:
16046 return NULL;
16047 }
16048
16049
16050 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16051 PyObject *resultobj = 0;
16052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16053 int result;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 PyObject *swig_obj[1] ;
16057
16058 if (!args) SWIG_fail;
16059 swig_obj[0] = args;
16060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16061 if (!SWIG_IsOK(res1)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16063 }
16064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 result = (int)(arg1)->GetPrintWrapMode();
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_From_int(static_cast< int >(result));
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj = 0;
16080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16081 bool arg2 ;
16082 wxColour *arg3 = 0 ;
16083 void *argp1 = 0 ;
16084 int res1 = 0 ;
16085 bool val2 ;
16086 int ecode2 = 0 ;
16087 wxColour temp3 ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 PyObject * obj2 = 0 ;
16091 char * kwnames[] = {
16092 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16093 };
16094
16095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16097 if (!SWIG_IsOK(res1)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16099 }
16100 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16101 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16102 if (!SWIG_IsOK(ecode2)) {
16103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16104 }
16105 arg2 = static_cast< bool >(val2);
16106 {
16107 arg3 = &temp3;
16108 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16109 }
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 resultobj = SWIG_Py_Void();
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj = 0;
16125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16126 bool arg2 ;
16127 wxColour *arg3 = 0 ;
16128 void *argp1 = 0 ;
16129 int res1 = 0 ;
16130 bool val2 ;
16131 int ecode2 = 0 ;
16132 wxColour temp3 ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 char * kwnames[] = {
16137 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16138 };
16139
16140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16142 if (!SWIG_IsOK(res1)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16144 }
16145 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16146 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16147 if (!SWIG_IsOK(ecode2)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16149 }
16150 arg2 = static_cast< bool >(val2);
16151 {
16152 arg3 = &temp3;
16153 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16154 }
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 resultobj = SWIG_Py_Void();
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj = 0;
16170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16171 bool arg2 ;
16172 void *argp1 = 0 ;
16173 int res1 = 0 ;
16174 bool val2 ;
16175 int ecode2 = 0 ;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char * kwnames[] = {
16179 (char *) "self",(char *) "underline", NULL
16180 };
16181
16182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16184 if (!SWIG_IsOK(res1)) {
16185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16186 }
16187 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16188 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16189 if (!SWIG_IsOK(ecode2)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16191 }
16192 arg2 = static_cast< bool >(val2);
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 (arg1)->SetHotspotActiveUnderline(arg2);
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 resultobj = SWIG_Py_Void();
16200 return resultobj;
16201 fail:
16202 return NULL;
16203 }
16204
16205
16206 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj = 0;
16208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16209 bool arg2 ;
16210 void *argp1 = 0 ;
16211 int res1 = 0 ;
16212 bool val2 ;
16213 int ecode2 = 0 ;
16214 PyObject * obj0 = 0 ;
16215 PyObject * obj1 = 0 ;
16216 char * kwnames[] = {
16217 (char *) "self",(char *) "singleLine", NULL
16218 };
16219
16220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16222 if (!SWIG_IsOK(res1)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16224 }
16225 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16226 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16227 if (!SWIG_IsOK(ecode2)) {
16228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16229 }
16230 arg2 = static_cast< bool >(val2);
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 (arg1)->SetHotspotSingleLine(arg2);
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 resultobj = SWIG_Py_Void();
16238 return resultobj;
16239 fail:
16240 return NULL;
16241 }
16242
16243
16244 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16245 PyObject *resultobj = 0;
16246 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16247 void *argp1 = 0 ;
16248 int res1 = 0 ;
16249 PyObject *swig_obj[1] ;
16250
16251 if (!args) SWIG_fail;
16252 swig_obj[0] = args;
16253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16254 if (!SWIG_IsOK(res1)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16256 }
16257 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->ParaDown();
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 resultobj = SWIG_Py_Void();
16265 return resultobj;
16266 fail:
16267 return NULL;
16268 }
16269
16270
16271 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16272 PyObject *resultobj = 0;
16273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16274 void *argp1 = 0 ;
16275 int res1 = 0 ;
16276 PyObject *swig_obj[1] ;
16277
16278 if (!args) SWIG_fail;
16279 swig_obj[0] = args;
16280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16281 if (!SWIG_IsOK(res1)) {
16282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16283 }
16284 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 (arg1)->ParaDownExtend();
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 resultobj = SWIG_Py_Void();
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16299 PyObject *resultobj = 0;
16300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16301 void *argp1 = 0 ;
16302 int res1 = 0 ;
16303 PyObject *swig_obj[1] ;
16304
16305 if (!args) SWIG_fail;
16306 swig_obj[0] = args;
16307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16308 if (!SWIG_IsOK(res1)) {
16309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16310 }
16311 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 (arg1)->ParaUp();
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 resultobj = SWIG_Py_Void();
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16326 PyObject *resultobj = 0;
16327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
16330 PyObject *swig_obj[1] ;
16331
16332 if (!args) SWIG_fail;
16333 swig_obj[0] = args;
16334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16337 }
16338 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 (arg1)->ParaUpExtend();
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 resultobj = SWIG_Py_Void();
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj = 0;
16354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16355 int arg2 ;
16356 int result;
16357 void *argp1 = 0 ;
16358 int res1 = 0 ;
16359 int val2 ;
16360 int ecode2 = 0 ;
16361 PyObject * obj0 = 0 ;
16362 PyObject * obj1 = 0 ;
16363 char * kwnames[] = {
16364 (char *) "self",(char *) "pos", NULL
16365 };
16366
16367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16369 if (!SWIG_IsOK(res1)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16371 }
16372 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16373 ecode2 = SWIG_AsVal_int(obj1, &val2);
16374 if (!SWIG_IsOK(ecode2)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16376 }
16377 arg2 = static_cast< int >(val2);
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (int)(arg1)->PositionBefore(arg2);
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = SWIG_From_int(static_cast< int >(result));
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj = 0;
16393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16394 int arg2 ;
16395 int result;
16396 void *argp1 = 0 ;
16397 int res1 = 0 ;
16398 int val2 ;
16399 int ecode2 = 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 char * kwnames[] = {
16403 (char *) "self",(char *) "pos", NULL
16404 };
16405
16406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16408 if (!SWIG_IsOK(res1)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16410 }
16411 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16412 ecode2 = SWIG_AsVal_int(obj1, &val2);
16413 if (!SWIG_IsOK(ecode2)) {
16414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16415 }
16416 arg2 = static_cast< int >(val2);
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (int)(arg1)->PositionAfter(arg2);
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_From_int(static_cast< int >(result));
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj = 0;
16432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16433 int arg2 ;
16434 int arg3 ;
16435 void *argp1 = 0 ;
16436 int res1 = 0 ;
16437 int val2 ;
16438 int ecode2 = 0 ;
16439 int val3 ;
16440 int ecode3 = 0 ;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 PyObject * obj2 = 0 ;
16444 char * kwnames[] = {
16445 (char *) "self",(char *) "start",(char *) "end", NULL
16446 };
16447
16448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16450 if (!SWIG_IsOK(res1)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16452 }
16453 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16454 ecode2 = SWIG_AsVal_int(obj1, &val2);
16455 if (!SWIG_IsOK(ecode2)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16457 }
16458 arg2 = static_cast< int >(val2);
16459 ecode3 = SWIG_AsVal_int(obj2, &val3);
16460 if (!SWIG_IsOK(ecode3)) {
16461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16462 }
16463 arg3 = static_cast< int >(val3);
16464 {
16465 PyThreadState* __tstate = wxPyBeginAllowThreads();
16466 (arg1)->CopyRange(arg2,arg3);
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 resultobj = SWIG_Py_Void();
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj = 0;
16479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16480 int arg2 ;
16481 wxString *arg3 = 0 ;
16482 void *argp1 = 0 ;
16483 int res1 = 0 ;
16484 int val2 ;
16485 int ecode2 = 0 ;
16486 bool temp3 = false ;
16487 PyObject * obj0 = 0 ;
16488 PyObject * obj1 = 0 ;
16489 PyObject * obj2 = 0 ;
16490 char * kwnames[] = {
16491 (char *) "self",(char *) "length",(char *) "text", NULL
16492 };
16493
16494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16496 if (!SWIG_IsOK(res1)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16498 }
16499 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16500 ecode2 = SWIG_AsVal_int(obj1, &val2);
16501 if (!SWIG_IsOK(ecode2)) {
16502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16503 }
16504 arg2 = static_cast< int >(val2);
16505 {
16506 arg3 = wxString_in_helper(obj2);
16507 if (arg3 == NULL) SWIG_fail;
16508 temp3 = true;
16509 }
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 resultobj = SWIG_Py_Void();
16517 {
16518 if (temp3)
16519 delete arg3;
16520 }
16521 return resultobj;
16522 fail:
16523 {
16524 if (temp3)
16525 delete arg3;
16526 }
16527 return NULL;
16528 }
16529
16530
16531 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj = 0;
16533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16534 int arg2 ;
16535 void *argp1 = 0 ;
16536 int res1 = 0 ;
16537 int val2 ;
16538 int ecode2 = 0 ;
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 char * kwnames[] = {
16542 (char *) "self",(char *) "mode", NULL
16543 };
16544
16545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16547 if (!SWIG_IsOK(res1)) {
16548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16549 }
16550 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16551 ecode2 = SWIG_AsVal_int(obj1, &val2);
16552 if (!SWIG_IsOK(ecode2)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16554 }
16555 arg2 = static_cast< int >(val2);
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 (arg1)->SetSelectionMode(arg2);
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 resultobj = SWIG_Py_Void();
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16570 PyObject *resultobj = 0;
16571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16572 int result;
16573 void *argp1 = 0 ;
16574 int res1 = 0 ;
16575 PyObject *swig_obj[1] ;
16576
16577 if (!args) SWIG_fail;
16578 swig_obj[0] = args;
16579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16580 if (!SWIG_IsOK(res1)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16582 }
16583 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (int)(arg1)->GetSelectionMode();
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = SWIG_From_int(static_cast< int >(result));
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj = 0;
16599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16600 int arg2 ;
16601 int result;
16602 void *argp1 = 0 ;
16603 int res1 = 0 ;
16604 int val2 ;
16605 int ecode2 = 0 ;
16606 PyObject * obj0 = 0 ;
16607 PyObject * obj1 = 0 ;
16608 char * kwnames[] = {
16609 (char *) "self",(char *) "line", NULL
16610 };
16611
16612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16616 }
16617 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16618 ecode2 = SWIG_AsVal_int(obj1, &val2);
16619 if (!SWIG_IsOK(ecode2)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16621 }
16622 arg2 = static_cast< int >(val2);
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 resultobj = SWIG_From_int(static_cast< int >(result));
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj = 0;
16638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16639 int arg2 ;
16640 int result;
16641 void *argp1 = 0 ;
16642 int res1 = 0 ;
16643 int val2 ;
16644 int ecode2 = 0 ;
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 char * kwnames[] = {
16648 (char *) "self",(char *) "line", NULL
16649 };
16650
16651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16655 }
16656 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16657 ecode2 = SWIG_AsVal_int(obj1, &val2);
16658 if (!SWIG_IsOK(ecode2)) {
16659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16660 }
16661 arg2 = static_cast< int >(val2);
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 resultobj = SWIG_From_int(static_cast< int >(result));
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16676 PyObject *resultobj = 0;
16677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16678 void *argp1 = 0 ;
16679 int res1 = 0 ;
16680 PyObject *swig_obj[1] ;
16681
16682 if (!args) SWIG_fail;
16683 swig_obj[0] = args;
16684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16685 if (!SWIG_IsOK(res1)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16687 }
16688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 (arg1)->LineDownRectExtend();
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 resultobj = SWIG_Py_Void();
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16703 PyObject *resultobj = 0;
16704 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16705 void *argp1 = 0 ;
16706 int res1 = 0 ;
16707 PyObject *swig_obj[1] ;
16708
16709 if (!args) SWIG_fail;
16710 swig_obj[0] = args;
16711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16712 if (!SWIG_IsOK(res1)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16714 }
16715 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 (arg1)->LineUpRectExtend();
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 resultobj = SWIG_Py_Void();
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16730 PyObject *resultobj = 0;
16731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16732 void *argp1 = 0 ;
16733 int res1 = 0 ;
16734 PyObject *swig_obj[1] ;
16735
16736 if (!args) SWIG_fail;
16737 swig_obj[0] = args;
16738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16739 if (!SWIG_IsOK(res1)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16741 }
16742 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->CharLeftRectExtend();
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 resultobj = SWIG_Py_Void();
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16757 PyObject *resultobj = 0;
16758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16759 void *argp1 = 0 ;
16760 int res1 = 0 ;
16761 PyObject *swig_obj[1] ;
16762
16763 if (!args) SWIG_fail;
16764 swig_obj[0] = args;
16765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16766 if (!SWIG_IsOK(res1)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16768 }
16769 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->CharRightRectExtend();
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 resultobj = SWIG_Py_Void();
16777 return resultobj;
16778 fail:
16779 return NULL;
16780 }
16781
16782
16783 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16784 PyObject *resultobj = 0;
16785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16786 void *argp1 = 0 ;
16787 int res1 = 0 ;
16788 PyObject *swig_obj[1] ;
16789
16790 if (!args) SWIG_fail;
16791 swig_obj[0] = args;
16792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16793 if (!SWIG_IsOK(res1)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16795 }
16796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 (arg1)->HomeRectExtend();
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 resultobj = SWIG_Py_Void();
16804 return resultobj;
16805 fail:
16806 return NULL;
16807 }
16808
16809
16810 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16811 PyObject *resultobj = 0;
16812 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16813 void *argp1 = 0 ;
16814 int res1 = 0 ;
16815 PyObject *swig_obj[1] ;
16816
16817 if (!args) SWIG_fail;
16818 swig_obj[0] = args;
16819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16820 if (!SWIG_IsOK(res1)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16822 }
16823 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 (arg1)->VCHomeRectExtend();
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = SWIG_Py_Void();
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16838 PyObject *resultobj = 0;
16839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16840 void *argp1 = 0 ;
16841 int res1 = 0 ;
16842 PyObject *swig_obj[1] ;
16843
16844 if (!args) SWIG_fail;
16845 swig_obj[0] = args;
16846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16847 if (!SWIG_IsOK(res1)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16849 }
16850 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 (arg1)->LineEndRectExtend();
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 resultobj = SWIG_Py_Void();
16858 return resultobj;
16859 fail:
16860 return NULL;
16861 }
16862
16863
16864 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16865 PyObject *resultobj = 0;
16866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16867 void *argp1 = 0 ;
16868 int res1 = 0 ;
16869 PyObject *swig_obj[1] ;
16870
16871 if (!args) SWIG_fail;
16872 swig_obj[0] = args;
16873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16874 if (!SWIG_IsOK(res1)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16876 }
16877 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->PageUpRectExtend();
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_Py_Void();
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16892 PyObject *resultobj = 0;
16893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16894 void *argp1 = 0 ;
16895 int res1 = 0 ;
16896 PyObject *swig_obj[1] ;
16897
16898 if (!args) SWIG_fail;
16899 swig_obj[0] = args;
16900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16901 if (!SWIG_IsOK(res1)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16903 }
16904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16905 {
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 (arg1)->PageDownRectExtend();
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 resultobj = SWIG_Py_Void();
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16919 PyObject *resultobj = 0;
16920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16921 void *argp1 = 0 ;
16922 int res1 = 0 ;
16923 PyObject *swig_obj[1] ;
16924
16925 if (!args) SWIG_fail;
16926 swig_obj[0] = args;
16927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16928 if (!SWIG_IsOK(res1)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16930 }
16931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 (arg1)->StutteredPageUp();
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 resultobj = SWIG_Py_Void();
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16946 PyObject *resultobj = 0;
16947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 PyObject *swig_obj[1] ;
16951
16952 if (!args) SWIG_fail;
16953 swig_obj[0] = args;
16954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16957 }
16958 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 (arg1)->StutteredPageUpExtend();
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 resultobj = SWIG_Py_Void();
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16973 PyObject *resultobj = 0;
16974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16975 void *argp1 = 0 ;
16976 int res1 = 0 ;
16977 PyObject *swig_obj[1] ;
16978
16979 if (!args) SWIG_fail;
16980 swig_obj[0] = args;
16981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16982 if (!SWIG_IsOK(res1)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16984 }
16985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 (arg1)->StutteredPageDown();
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_Py_Void();
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17000 PyObject *resultobj = 0;
17001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17002 void *argp1 = 0 ;
17003 int res1 = 0 ;
17004 PyObject *swig_obj[1] ;
17005
17006 if (!args) SWIG_fail;
17007 swig_obj[0] = args;
17008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17009 if (!SWIG_IsOK(res1)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17011 }
17012 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 (arg1)->StutteredPageDownExtend();
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 resultobj = SWIG_Py_Void();
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17027 PyObject *resultobj = 0;
17028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17029 void *argp1 = 0 ;
17030 int res1 = 0 ;
17031 PyObject *swig_obj[1] ;
17032
17033 if (!args) SWIG_fail;
17034 swig_obj[0] = args;
17035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17036 if (!SWIG_IsOK(res1)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17038 }
17039 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->WordLeftEnd();
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 resultobj = SWIG_Py_Void();
17047 return resultobj;
17048 fail:
17049 return NULL;
17050 }
17051
17052
17053 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17054 PyObject *resultobj = 0;
17055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17056 void *argp1 = 0 ;
17057 int res1 = 0 ;
17058 PyObject *swig_obj[1] ;
17059
17060 if (!args) SWIG_fail;
17061 swig_obj[0] = args;
17062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17063 if (!SWIG_IsOK(res1)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17065 }
17066 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 (arg1)->WordLeftEndExtend();
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 resultobj = SWIG_Py_Void();
17074 return resultobj;
17075 fail:
17076 return NULL;
17077 }
17078
17079
17080 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17081 PyObject *resultobj = 0;
17082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17083 void *argp1 = 0 ;
17084 int res1 = 0 ;
17085 PyObject *swig_obj[1] ;
17086
17087 if (!args) SWIG_fail;
17088 swig_obj[0] = args;
17089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17090 if (!SWIG_IsOK(res1)) {
17091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17092 }
17093 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 (arg1)->WordRightEnd();
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_Py_Void();
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17108 PyObject *resultobj = 0;
17109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17110 void *argp1 = 0 ;
17111 int res1 = 0 ;
17112 PyObject *swig_obj[1] ;
17113
17114 if (!args) SWIG_fail;
17115 swig_obj[0] = args;
17116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17119 }
17120 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->WordRightEndExtend();
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = SWIG_Py_Void();
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj = 0;
17136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17137 wxString *arg2 = 0 ;
17138 void *argp1 = 0 ;
17139 int res1 = 0 ;
17140 bool temp2 = false ;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 char * kwnames[] = {
17144 (char *) "self",(char *) "characters", NULL
17145 };
17146
17147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17149 if (!SWIG_IsOK(res1)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17151 }
17152 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17153 {
17154 arg2 = wxString_in_helper(obj1);
17155 if (arg2 == NULL) SWIG_fail;
17156 temp2 = true;
17157 }
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 resultobj = SWIG_Py_Void();
17165 {
17166 if (temp2)
17167 delete arg2;
17168 }
17169 return resultobj;
17170 fail:
17171 {
17172 if (temp2)
17173 delete arg2;
17174 }
17175 return NULL;
17176 }
17177
17178
17179 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17180 PyObject *resultobj = 0;
17181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17182 void *argp1 = 0 ;
17183 int res1 = 0 ;
17184 PyObject *swig_obj[1] ;
17185
17186 if (!args) SWIG_fail;
17187 swig_obj[0] = args;
17188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17189 if (!SWIG_IsOK(res1)) {
17190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17191 }
17192 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 (arg1)->SetCharsDefault();
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = SWIG_Py_Void();
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17207 PyObject *resultobj = 0;
17208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17209 int result;
17210 void *argp1 = 0 ;
17211 int res1 = 0 ;
17212 PyObject *swig_obj[1] ;
17213
17214 if (!args) SWIG_fail;
17215 swig_obj[0] = args;
17216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17217 if (!SWIG_IsOK(res1)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17219 }
17220 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = (int)(arg1)->AutoCompGetCurrent();
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 resultobj = SWIG_From_int(static_cast< int >(result));
17228 return resultobj;
17229 fail:
17230 return NULL;
17231 }
17232
17233
17234 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj = 0;
17236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17237 int arg2 ;
17238 void *argp1 = 0 ;
17239 int res1 = 0 ;
17240 int val2 ;
17241 int ecode2 = 0 ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 char * kwnames[] = {
17245 (char *) "self",(char *) "bytes", NULL
17246 };
17247
17248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17250 if (!SWIG_IsOK(res1)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17252 }
17253 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17254 ecode2 = SWIG_AsVal_int(obj1, &val2);
17255 if (!SWIG_IsOK(ecode2)) {
17256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17257 }
17258 arg2 = static_cast< int >(val2);
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 (arg1)->Allocate(arg2);
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 resultobj = SWIG_Py_Void();
17266 return resultobj;
17267 fail:
17268 return NULL;
17269 }
17270
17271
17272 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj = 0;
17274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17275 int arg2 ;
17276 int arg3 ;
17277 int result;
17278 void *argp1 = 0 ;
17279 int res1 = 0 ;
17280 int val2 ;
17281 int ecode2 = 0 ;
17282 int val3 ;
17283 int ecode3 = 0 ;
17284 PyObject * obj0 = 0 ;
17285 PyObject * obj1 = 0 ;
17286 PyObject * obj2 = 0 ;
17287 char * kwnames[] = {
17288 (char *) "self",(char *) "line",(char *) "column", NULL
17289 };
17290
17291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17293 if (!SWIG_IsOK(res1)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17295 }
17296 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17297 ecode2 = SWIG_AsVal_int(obj1, &val2);
17298 if (!SWIG_IsOK(ecode2)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17300 }
17301 arg2 = static_cast< int >(val2);
17302 ecode3 = SWIG_AsVal_int(obj2, &val3);
17303 if (!SWIG_IsOK(ecode3)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17305 }
17306 arg3 = static_cast< int >(val3);
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = (int)(arg1)->FindColumn(arg2,arg3);
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 resultobj = SWIG_From_int(static_cast< int >(result));
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17321 PyObject *resultobj = 0;
17322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17323 bool result;
17324 void *argp1 = 0 ;
17325 int res1 = 0 ;
17326 PyObject *swig_obj[1] ;
17327
17328 if (!args) SWIG_fail;
17329 swig_obj[0] = args;
17330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17331 if (!SWIG_IsOK(res1)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17333 }
17334 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = (bool)(arg1)->GetCaretSticky();
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 {
17342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17343 }
17344 return resultobj;
17345 fail:
17346 return NULL;
17347 }
17348
17349
17350 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj = 0;
17352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17353 bool arg2 ;
17354 void *argp1 = 0 ;
17355 int res1 = 0 ;
17356 bool val2 ;
17357 int ecode2 = 0 ;
17358 PyObject * obj0 = 0 ;
17359 PyObject * obj1 = 0 ;
17360 char * kwnames[] = {
17361 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17362 };
17363
17364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17366 if (!SWIG_IsOK(res1)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17368 }
17369 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17371 if (!SWIG_IsOK(ecode2)) {
17372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17373 }
17374 arg2 = static_cast< bool >(val2);
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 (arg1)->SetCaretSticky(arg2);
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 resultobj = SWIG_Py_Void();
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17389 PyObject *resultobj = 0;
17390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17391 void *argp1 = 0 ;
17392 int res1 = 0 ;
17393 PyObject *swig_obj[1] ;
17394
17395 if (!args) SWIG_fail;
17396 swig_obj[0] = args;
17397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17398 if (!SWIG_IsOK(res1)) {
17399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17400 }
17401 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 (arg1)->ToggleCaretSticky();
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 resultobj = SWIG_Py_Void();
17409 return resultobj;
17410 fail:
17411 return NULL;
17412 }
17413
17414
17415 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17416 PyObject *resultobj = 0;
17417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17418 bool arg2 ;
17419 void *argp1 = 0 ;
17420 int res1 = 0 ;
17421 bool val2 ;
17422 int ecode2 = 0 ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 char * kwnames[] = {
17426 (char *) "self",(char *) "convert", NULL
17427 };
17428
17429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17431 if (!SWIG_IsOK(res1)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17433 }
17434 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17436 if (!SWIG_IsOK(ecode2)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17438 }
17439 arg2 = static_cast< bool >(val2);
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->SetPasteConvertEndings(arg2);
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 resultobj = SWIG_Py_Void();
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17454 PyObject *resultobj = 0;
17455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17456 bool result;
17457 void *argp1 = 0 ;
17458 int res1 = 0 ;
17459 PyObject *swig_obj[1] ;
17460
17461 if (!args) SWIG_fail;
17462 swig_obj[0] = args;
17463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17464 if (!SWIG_IsOK(res1)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17466 }
17467 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (bool)(arg1)->GetPasteConvertEndings();
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 {
17475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17476 }
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17484 PyObject *resultobj = 0;
17485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17486 void *argp1 = 0 ;
17487 int res1 = 0 ;
17488 PyObject *swig_obj[1] ;
17489
17490 if (!args) SWIG_fail;
17491 swig_obj[0] = args;
17492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17493 if (!SWIG_IsOK(res1)) {
17494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17495 }
17496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 (arg1)->SelectionDuplicate();
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 resultobj = SWIG_Py_Void();
17504 return resultobj;
17505 fail:
17506 return NULL;
17507 }
17508
17509
17510 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17511 PyObject *resultobj = 0;
17512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 PyObject *swig_obj[1] ;
17516
17517 if (!args) SWIG_fail;
17518 swig_obj[0] = args;
17519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17520 if (!SWIG_IsOK(res1)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17522 }
17523 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 (arg1)->StartRecord();
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = SWIG_Py_Void();
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17538 PyObject *resultobj = 0;
17539 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17540 void *argp1 = 0 ;
17541 int res1 = 0 ;
17542 PyObject *swig_obj[1] ;
17543
17544 if (!args) SWIG_fail;
17545 swig_obj[0] = args;
17546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17547 if (!SWIG_IsOK(res1)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17549 }
17550 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17551 {
17552 PyThreadState* __tstate = wxPyBeginAllowThreads();
17553 (arg1)->StopRecord();
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = SWIG_Py_Void();
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj = 0;
17566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17567 int arg2 ;
17568 void *argp1 = 0 ;
17569 int res1 = 0 ;
17570 int val2 ;
17571 int ecode2 = 0 ;
17572 PyObject * obj0 = 0 ;
17573 PyObject * obj1 = 0 ;
17574 char * kwnames[] = {
17575 (char *) "self",(char *) "lexer", NULL
17576 };
17577
17578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17580 if (!SWIG_IsOK(res1)) {
17581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17582 }
17583 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17584 ecode2 = SWIG_AsVal_int(obj1, &val2);
17585 if (!SWIG_IsOK(ecode2)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17587 }
17588 arg2 = static_cast< int >(val2);
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 (arg1)->SetLexer(arg2);
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 resultobj = SWIG_Py_Void();
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17603 PyObject *resultobj = 0;
17604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17605 int result;
17606 void *argp1 = 0 ;
17607 int res1 = 0 ;
17608 PyObject *swig_obj[1] ;
17609
17610 if (!args) SWIG_fail;
17611 swig_obj[0] = args;
17612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17613 if (!SWIG_IsOK(res1)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17615 }
17616 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (int)(arg1)->GetLexer();
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 resultobj = SWIG_From_int(static_cast< int >(result));
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17631 PyObject *resultobj = 0;
17632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17633 int arg2 ;
17634 int arg3 ;
17635 void *argp1 = 0 ;
17636 int res1 = 0 ;
17637 int val2 ;
17638 int ecode2 = 0 ;
17639 int val3 ;
17640 int ecode3 = 0 ;
17641 PyObject * obj0 = 0 ;
17642 PyObject * obj1 = 0 ;
17643 PyObject * obj2 = 0 ;
17644 char * kwnames[] = {
17645 (char *) "self",(char *) "start",(char *) "end", NULL
17646 };
17647
17648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17650 if (!SWIG_IsOK(res1)) {
17651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17652 }
17653 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17654 ecode2 = SWIG_AsVal_int(obj1, &val2);
17655 if (!SWIG_IsOK(ecode2)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17657 }
17658 arg2 = static_cast< int >(val2);
17659 ecode3 = SWIG_AsVal_int(obj2, &val3);
17660 if (!SWIG_IsOK(ecode3)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17662 }
17663 arg3 = static_cast< int >(val3);
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->Colourise(arg2,arg3);
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = SWIG_Py_Void();
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj = 0;
17679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17680 wxString *arg2 = 0 ;
17681 wxString *arg3 = 0 ;
17682 void *argp1 = 0 ;
17683 int res1 = 0 ;
17684 bool temp2 = false ;
17685 bool temp3 = false ;
17686 PyObject * obj0 = 0 ;
17687 PyObject * obj1 = 0 ;
17688 PyObject * obj2 = 0 ;
17689 char * kwnames[] = {
17690 (char *) "self",(char *) "key",(char *) "value", NULL
17691 };
17692
17693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17695 if (!SWIG_IsOK(res1)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17697 }
17698 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17699 {
17700 arg2 = wxString_in_helper(obj1);
17701 if (arg2 == NULL) SWIG_fail;
17702 temp2 = true;
17703 }
17704 {
17705 arg3 = wxString_in_helper(obj2);
17706 if (arg3 == NULL) SWIG_fail;
17707 temp3 = true;
17708 }
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_Py_Void();
17716 {
17717 if (temp2)
17718 delete arg2;
17719 }
17720 {
17721 if (temp3)
17722 delete arg3;
17723 }
17724 return resultobj;
17725 fail:
17726 {
17727 if (temp2)
17728 delete arg2;
17729 }
17730 {
17731 if (temp3)
17732 delete arg3;
17733 }
17734 return NULL;
17735 }
17736
17737
17738 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj = 0;
17740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17741 int arg2 ;
17742 wxString *arg3 = 0 ;
17743 void *argp1 = 0 ;
17744 int res1 = 0 ;
17745 int val2 ;
17746 int ecode2 = 0 ;
17747 bool temp3 = false ;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 PyObject * obj2 = 0 ;
17751 char * kwnames[] = {
17752 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17753 };
17754
17755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17757 if (!SWIG_IsOK(res1)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17759 }
17760 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17761 ecode2 = SWIG_AsVal_int(obj1, &val2);
17762 if (!SWIG_IsOK(ecode2)) {
17763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17764 }
17765 arg2 = static_cast< int >(val2);
17766 {
17767 arg3 = wxString_in_helper(obj2);
17768 if (arg3 == NULL) SWIG_fail;
17769 temp3 = true;
17770 }
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_Py_Void();
17778 {
17779 if (temp3)
17780 delete arg3;
17781 }
17782 return resultobj;
17783 fail:
17784 {
17785 if (temp3)
17786 delete arg3;
17787 }
17788 return NULL;
17789 }
17790
17791
17792 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj = 0;
17794 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17795 wxString *arg2 = 0 ;
17796 void *argp1 = 0 ;
17797 int res1 = 0 ;
17798 bool temp2 = false ;
17799 PyObject * obj0 = 0 ;
17800 PyObject * obj1 = 0 ;
17801 char * kwnames[] = {
17802 (char *) "self",(char *) "language", NULL
17803 };
17804
17805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
17806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17807 if (!SWIG_IsOK(res1)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17809 }
17810 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17811 {
17812 arg2 = wxString_in_helper(obj1);
17813 if (arg2 == NULL) SWIG_fail;
17814 temp2 = true;
17815 }
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 (arg1)->SetLexerLanguage((wxString const &)*arg2);
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = SWIG_Py_Void();
17823 {
17824 if (temp2)
17825 delete arg2;
17826 }
17827 return resultobj;
17828 fail:
17829 {
17830 if (temp2)
17831 delete arg2;
17832 }
17833 return NULL;
17834 }
17835
17836
17837 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj = 0;
17839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17840 wxString *arg2 = 0 ;
17841 wxString result;
17842 void *argp1 = 0 ;
17843 int res1 = 0 ;
17844 bool temp2 = false ;
17845 PyObject * obj0 = 0 ;
17846 PyObject * obj1 = 0 ;
17847 char * kwnames[] = {
17848 (char *) "self",(char *) "key", NULL
17849 };
17850
17851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
17852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17853 if (!SWIG_IsOK(res1)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17855 }
17856 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17857 {
17858 arg2 = wxString_in_helper(obj1);
17859 if (arg2 == NULL) SWIG_fail;
17860 temp2 = true;
17861 }
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (arg1)->GetProperty((wxString const &)*arg2);
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 {
17869 #if wxUSE_UNICODE
17870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17871 #else
17872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17873 #endif
17874 }
17875 {
17876 if (temp2)
17877 delete arg2;
17878 }
17879 return resultobj;
17880 fail:
17881 {
17882 if (temp2)
17883 delete arg2;
17884 }
17885 return NULL;
17886 }
17887
17888
17889 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj = 0;
17891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17892 wxString *arg2 = 0 ;
17893 wxString result;
17894 void *argp1 = 0 ;
17895 int res1 = 0 ;
17896 bool temp2 = false ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 char * kwnames[] = {
17900 (char *) "self",(char *) "key", NULL
17901 };
17902
17903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
17904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17905 if (!SWIG_IsOK(res1)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17907 }
17908 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17909 {
17910 arg2 = wxString_in_helper(obj1);
17911 if (arg2 == NULL) SWIG_fail;
17912 temp2 = true;
17913 }
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 {
17921 #if wxUSE_UNICODE
17922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17923 #else
17924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17925 #endif
17926 }
17927 {
17928 if (temp2)
17929 delete arg2;
17930 }
17931 return resultobj;
17932 fail:
17933 {
17934 if (temp2)
17935 delete arg2;
17936 }
17937 return NULL;
17938 }
17939
17940
17941 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17942 PyObject *resultobj = 0;
17943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17944 wxString *arg2 = 0 ;
17945 int result;
17946 void *argp1 = 0 ;
17947 int res1 = 0 ;
17948 bool temp2 = false ;
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 char * kwnames[] = {
17952 (char *) "self",(char *) "key", NULL
17953 };
17954
17955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
17956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17957 if (!SWIG_IsOK(res1)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17959 }
17960 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17961 {
17962 arg2 = wxString_in_helper(obj1);
17963 if (arg2 == NULL) SWIG_fail;
17964 temp2 = true;
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 resultobj = SWIG_From_int(static_cast< int >(result));
17973 {
17974 if (temp2)
17975 delete arg2;
17976 }
17977 return resultobj;
17978 fail:
17979 {
17980 if (temp2)
17981 delete arg2;
17982 }
17983 return NULL;
17984 }
17985
17986
17987 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17988 PyObject *resultobj = 0;
17989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17990 int result;
17991 void *argp1 = 0 ;
17992 int res1 = 0 ;
17993 PyObject *swig_obj[1] ;
17994
17995 if (!args) SWIG_fail;
17996 swig_obj[0] = args;
17997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17998 if (!SWIG_IsOK(res1)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18000 }
18001 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 result = (int)(arg1)->GetStyleBitsNeeded();
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 resultobj = SWIG_From_int(static_cast< int >(result));
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18016 PyObject *resultobj = 0;
18017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18018 int result;
18019 void *argp1 = 0 ;
18020 int res1 = 0 ;
18021 PyObject *swig_obj[1] ;
18022
18023 if (!args) SWIG_fail;
18024 swig_obj[0] = args;
18025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18026 if (!SWIG_IsOK(res1)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18028 }
18029 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 result = (int)(arg1)->GetCurrentLine();
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 resultobj = SWIG_From_int(static_cast< int >(result));
18037 return resultobj;
18038 fail:
18039 return NULL;
18040 }
18041
18042
18043 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj = 0;
18045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18046 int arg2 ;
18047 wxString *arg3 = 0 ;
18048 void *argp1 = 0 ;
18049 int res1 = 0 ;
18050 int val2 ;
18051 int ecode2 = 0 ;
18052 bool temp3 = false ;
18053 PyObject * obj0 = 0 ;
18054 PyObject * obj1 = 0 ;
18055 PyObject * obj2 = 0 ;
18056 char * kwnames[] = {
18057 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18058 };
18059
18060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18062 if (!SWIG_IsOK(res1)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18064 }
18065 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18066 ecode2 = SWIG_AsVal_int(obj1, &val2);
18067 if (!SWIG_IsOK(ecode2)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18069 }
18070 arg2 = static_cast< int >(val2);
18071 {
18072 arg3 = wxString_in_helper(obj2);
18073 if (arg3 == NULL) SWIG_fail;
18074 temp3 = true;
18075 }
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = SWIG_Py_Void();
18083 {
18084 if (temp3)
18085 delete arg3;
18086 }
18087 return resultobj;
18088 fail:
18089 {
18090 if (temp3)
18091 delete arg3;
18092 }
18093 return NULL;
18094 }
18095
18096
18097 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj = 0;
18099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18100 int arg2 ;
18101 wxFont *arg3 = 0 ;
18102 void *argp1 = 0 ;
18103 int res1 = 0 ;
18104 int val2 ;
18105 int ecode2 = 0 ;
18106 void *argp3 = 0 ;
18107 int res3 = 0 ;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj1 = 0 ;
18110 PyObject * obj2 = 0 ;
18111 char * kwnames[] = {
18112 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18113 };
18114
18115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18117 if (!SWIG_IsOK(res1)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18119 }
18120 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18121 ecode2 = SWIG_AsVal_int(obj1, &val2);
18122 if (!SWIG_IsOK(ecode2)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18124 }
18125 arg2 = static_cast< int >(val2);
18126 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18127 if (!SWIG_IsOK(res3)) {
18128 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18129 }
18130 if (!argp3) {
18131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18132 }
18133 arg3 = reinterpret_cast< wxFont * >(argp3);
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 (arg1)->StyleSetFont(arg2,*arg3);
18137 wxPyEndAllowThreads(__tstate);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 }
18140 resultobj = SWIG_Py_Void();
18141 return resultobj;
18142 fail:
18143 return NULL;
18144 }
18145
18146
18147 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18148 PyObject *resultobj = 0;
18149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18150 int arg2 ;
18151 int arg3 ;
18152 wxString *arg4 = 0 ;
18153 bool arg5 ;
18154 bool arg6 ;
18155 bool arg7 ;
18156 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18157 void *argp1 = 0 ;
18158 int res1 = 0 ;
18159 int val2 ;
18160 int ecode2 = 0 ;
18161 int val3 ;
18162 int ecode3 = 0 ;
18163 bool temp4 = false ;
18164 bool val5 ;
18165 int ecode5 = 0 ;
18166 bool val6 ;
18167 int ecode6 = 0 ;
18168 bool val7 ;
18169 int ecode7 = 0 ;
18170 int val8 ;
18171 int ecode8 = 0 ;
18172 PyObject * obj0 = 0 ;
18173 PyObject * obj1 = 0 ;
18174 PyObject * obj2 = 0 ;
18175 PyObject * obj3 = 0 ;
18176 PyObject * obj4 = 0 ;
18177 PyObject * obj5 = 0 ;
18178 PyObject * obj6 = 0 ;
18179 PyObject * obj7 = 0 ;
18180 char * kwnames[] = {
18181 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18182 };
18183
18184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18186 if (!SWIG_IsOK(res1)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18188 }
18189 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18190 ecode2 = SWIG_AsVal_int(obj1, &val2);
18191 if (!SWIG_IsOK(ecode2)) {
18192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18193 }
18194 arg2 = static_cast< int >(val2);
18195 ecode3 = SWIG_AsVal_int(obj2, &val3);
18196 if (!SWIG_IsOK(ecode3)) {
18197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18198 }
18199 arg3 = static_cast< int >(val3);
18200 {
18201 arg4 = wxString_in_helper(obj3);
18202 if (arg4 == NULL) SWIG_fail;
18203 temp4 = true;
18204 }
18205 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18206 if (!SWIG_IsOK(ecode5)) {
18207 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18208 }
18209 arg5 = static_cast< bool >(val5);
18210 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18211 if (!SWIG_IsOK(ecode6)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18213 }
18214 arg6 = static_cast< bool >(val6);
18215 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18216 if (!SWIG_IsOK(ecode7)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18218 }
18219 arg7 = static_cast< bool >(val7);
18220 if (obj7) {
18221 ecode8 = SWIG_AsVal_int(obj7, &val8);
18222 if (!SWIG_IsOK(ecode8)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18224 }
18225 arg8 = static_cast< wxFontEncoding >(val8);
18226 }
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_Py_Void();
18234 {
18235 if (temp4)
18236 delete arg4;
18237 }
18238 return resultobj;
18239 fail:
18240 {
18241 if (temp4)
18242 delete arg4;
18243 }
18244 return NULL;
18245 }
18246
18247
18248 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj = 0;
18250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18251 int arg2 ;
18252 int arg3 ;
18253 void *argp1 = 0 ;
18254 int res1 = 0 ;
18255 int val2 ;
18256 int ecode2 = 0 ;
18257 int val3 ;
18258 int ecode3 = 0 ;
18259 PyObject * obj0 = 0 ;
18260 PyObject * obj1 = 0 ;
18261 PyObject * obj2 = 0 ;
18262 char * kwnames[] = {
18263 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18264 };
18265
18266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18268 if (!SWIG_IsOK(res1)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18270 }
18271 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18272 ecode2 = SWIG_AsVal_int(obj1, &val2);
18273 if (!SWIG_IsOK(ecode2)) {
18274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18275 }
18276 arg2 = static_cast< int >(val2);
18277 ecode3 = SWIG_AsVal_int(obj2, &val3);
18278 if (!SWIG_IsOK(ecode3)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18280 }
18281 arg3 = static_cast< int >(val3);
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->StyleSetCharacterSet(arg2,arg3);
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 resultobj = SWIG_Py_Void();
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj = 0;
18297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18298 int arg2 ;
18299 wxFontEncoding arg3 ;
18300 void *argp1 = 0 ;
18301 int res1 = 0 ;
18302 int val2 ;
18303 int ecode2 = 0 ;
18304 int val3 ;
18305 int ecode3 = 0 ;
18306 PyObject * obj0 = 0 ;
18307 PyObject * obj1 = 0 ;
18308 PyObject * obj2 = 0 ;
18309 char * kwnames[] = {
18310 (char *) "self",(char *) "style",(char *) "encoding", NULL
18311 };
18312
18313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18315 if (!SWIG_IsOK(res1)) {
18316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18317 }
18318 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18319 ecode2 = SWIG_AsVal_int(obj1, &val2);
18320 if (!SWIG_IsOK(ecode2)) {
18321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18322 }
18323 arg2 = static_cast< int >(val2);
18324 ecode3 = SWIG_AsVal_int(obj2, &val3);
18325 if (!SWIG_IsOK(ecode3)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18327 }
18328 arg3 = static_cast< wxFontEncoding >(val3);
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 (arg1)->StyleSetFontEncoding(arg2,arg3);
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 resultobj = SWIG_Py_Void();
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj = 0;
18344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18345 int arg2 ;
18346 void *argp1 = 0 ;
18347 int res1 = 0 ;
18348 int val2 ;
18349 int ecode2 = 0 ;
18350 PyObject * obj0 = 0 ;
18351 PyObject * obj1 = 0 ;
18352 char * kwnames[] = {
18353 (char *) "self",(char *) "cmd", NULL
18354 };
18355
18356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18358 if (!SWIG_IsOK(res1)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18360 }
18361 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18362 ecode2 = SWIG_AsVal_int(obj1, &val2);
18363 if (!SWIG_IsOK(ecode2)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18365 }
18366 arg2 = static_cast< int >(val2);
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 (arg1)->CmdKeyExecute(arg2);
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 resultobj = SWIG_Py_Void();
18374 return resultobj;
18375 fail:
18376 return NULL;
18377 }
18378
18379
18380 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj = 0;
18382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18383 int arg2 ;
18384 int arg3 ;
18385 void *argp1 = 0 ;
18386 int res1 = 0 ;
18387 int val2 ;
18388 int ecode2 = 0 ;
18389 int val3 ;
18390 int ecode3 = 0 ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 PyObject * obj2 = 0 ;
18394 char * kwnames[] = {
18395 (char *) "self",(char *) "left",(char *) "right", NULL
18396 };
18397
18398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18400 if (!SWIG_IsOK(res1)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18402 }
18403 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18404 ecode2 = SWIG_AsVal_int(obj1, &val2);
18405 if (!SWIG_IsOK(ecode2)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18407 }
18408 arg2 = static_cast< int >(val2);
18409 ecode3 = SWIG_AsVal_int(obj2, &val3);
18410 if (!SWIG_IsOK(ecode3)) {
18411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18412 }
18413 arg3 = static_cast< int >(val3);
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetMargins(arg2,arg3);
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 resultobj = SWIG_Py_Void();
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18428 PyObject *resultobj = 0;
18429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18430 int *arg2 = (int *) 0 ;
18431 int *arg3 = (int *) 0 ;
18432 void *argp1 = 0 ;
18433 int res1 = 0 ;
18434 int temp2 ;
18435 int res2 = SWIG_TMPOBJ ;
18436 int temp3 ;
18437 int res3 = SWIG_TMPOBJ ;
18438 PyObject *swig_obj[1] ;
18439
18440 arg2 = &temp2;
18441 arg3 = &temp3;
18442 if (!args) SWIG_fail;
18443 swig_obj[0] = args;
18444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18445 if (!SWIG_IsOK(res1)) {
18446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18447 }
18448 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->GetSelection(arg2,arg3);
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_Py_Void();
18456 if (SWIG_IsTmpObj(res2)) {
18457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18458 } else {
18459 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18461 }
18462 if (SWIG_IsTmpObj(res3)) {
18463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18464 } else {
18465 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj = 0;
18476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18477 int arg2 ;
18478 wxPoint result;
18479 void *argp1 = 0 ;
18480 int res1 = 0 ;
18481 int val2 ;
18482 int ecode2 = 0 ;
18483 PyObject * obj0 = 0 ;
18484 PyObject * obj1 = 0 ;
18485 char * kwnames[] = {
18486 (char *) "self",(char *) "pos", NULL
18487 };
18488
18489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18491 if (!SWIG_IsOK(res1)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18493 }
18494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18495 ecode2 = SWIG_AsVal_int(obj1, &val2);
18496 if (!SWIG_IsOK(ecode2)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18498 }
18499 arg2 = static_cast< int >(val2);
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 result = (arg1)->PointFromPosition(arg2);
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj = 0;
18515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18516 int arg2 ;
18517 void *argp1 = 0 ;
18518 int res1 = 0 ;
18519 int val2 ;
18520 int ecode2 = 0 ;
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj1 = 0 ;
18523 char * kwnames[] = {
18524 (char *) "self",(char *) "line", NULL
18525 };
18526
18527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18529 if (!SWIG_IsOK(res1)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18531 }
18532 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18533 ecode2 = SWIG_AsVal_int(obj1, &val2);
18534 if (!SWIG_IsOK(ecode2)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18536 }
18537 arg2 = static_cast< int >(val2);
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->ScrollToLine(arg2);
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 resultobj = SWIG_Py_Void();
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj = 0;
18553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18554 int arg2 ;
18555 void *argp1 = 0 ;
18556 int res1 = 0 ;
18557 int val2 ;
18558 int ecode2 = 0 ;
18559 PyObject * obj0 = 0 ;
18560 PyObject * obj1 = 0 ;
18561 char * kwnames[] = {
18562 (char *) "self",(char *) "column", NULL
18563 };
18564
18565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18567 if (!SWIG_IsOK(res1)) {
18568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18569 }
18570 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18571 ecode2 = SWIG_AsVal_int(obj1, &val2);
18572 if (!SWIG_IsOK(ecode2)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18574 }
18575 arg2 = static_cast< int >(val2);
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 (arg1)->ScrollToColumn(arg2);
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 resultobj = SWIG_Py_Void();
18583 return resultobj;
18584 fail:
18585 return NULL;
18586 }
18587
18588
18589 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj = 0;
18591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18592 int arg2 ;
18593 long arg3 = (long) 0 ;
18594 long arg4 = (long) 0 ;
18595 long result;
18596 void *argp1 = 0 ;
18597 int res1 = 0 ;
18598 int val2 ;
18599 int ecode2 = 0 ;
18600 long val3 ;
18601 int ecode3 = 0 ;
18602 long val4 ;
18603 int ecode4 = 0 ;
18604 PyObject * obj0 = 0 ;
18605 PyObject * obj1 = 0 ;
18606 PyObject * obj2 = 0 ;
18607 PyObject * obj3 = 0 ;
18608 char * kwnames[] = {
18609 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18610 };
18611
18612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18614 if (!SWIG_IsOK(res1)) {
18615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18616 }
18617 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18618 ecode2 = SWIG_AsVal_int(obj1, &val2);
18619 if (!SWIG_IsOK(ecode2)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18621 }
18622 arg2 = static_cast< int >(val2);
18623 if (obj2) {
18624 ecode3 = SWIG_AsVal_long(obj2, &val3);
18625 if (!SWIG_IsOK(ecode3)) {
18626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18627 }
18628 arg3 = static_cast< long >(val3);
18629 }
18630 if (obj3) {
18631 ecode4 = SWIG_AsVal_long(obj3, &val4);
18632 if (!SWIG_IsOK(ecode4)) {
18633 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18634 }
18635 arg4 = static_cast< long >(val4);
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = SWIG_From_long(static_cast< long >(result));
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj = 0;
18652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18653 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18654 void *argp1 = 0 ;
18655 int res1 = 0 ;
18656 void *argp2 = 0 ;
18657 int res2 = 0 ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 char * kwnames[] = {
18661 (char *) "self",(char *) "bar", NULL
18662 };
18663
18664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18666 if (!SWIG_IsOK(res1)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18668 }
18669 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18670 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18671 if (!SWIG_IsOK(res2)) {
18672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18673 }
18674 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->SetVScrollBar(arg2);
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = SWIG_Py_Void();
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj = 0;
18690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18691 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18692 void *argp1 = 0 ;
18693 int res1 = 0 ;
18694 void *argp2 = 0 ;
18695 int res2 = 0 ;
18696 PyObject * obj0 = 0 ;
18697 PyObject * obj1 = 0 ;
18698 char * kwnames[] = {
18699 (char *) "self",(char *) "bar", NULL
18700 };
18701
18702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18704 if (!SWIG_IsOK(res1)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18706 }
18707 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18708 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18709 if (!SWIG_IsOK(res2)) {
18710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18711 }
18712 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 (arg1)->SetHScrollBar(arg2);
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 resultobj = SWIG_Py_Void();
18720 return resultobj;
18721 fail:
18722 return NULL;
18723 }
18724
18725
18726 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18727 PyObject *resultobj = 0;
18728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18729 bool result;
18730 void *argp1 = 0 ;
18731 int res1 = 0 ;
18732 PyObject *swig_obj[1] ;
18733
18734 if (!args) SWIG_fail;
18735 swig_obj[0] = args;
18736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18737 if (!SWIG_IsOK(res1)) {
18738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18739 }
18740 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (bool)(arg1)->GetLastKeydownProcessed();
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj = 0;
18758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18759 bool arg2 ;
18760 void *argp1 = 0 ;
18761 int res1 = 0 ;
18762 bool val2 ;
18763 int ecode2 = 0 ;
18764 PyObject * obj0 = 0 ;
18765 PyObject * obj1 = 0 ;
18766 char * kwnames[] = {
18767 (char *) "self",(char *) "val", NULL
18768 };
18769
18770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18772 if (!SWIG_IsOK(res1)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18774 }
18775 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18776 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18777 if (!SWIG_IsOK(ecode2)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
18779 }
18780 arg2 = static_cast< bool >(val2);
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 (arg1)->SetLastKeydownProcessed(arg2);
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 resultobj = SWIG_Py_Void();
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj = 0;
18796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18797 wxString *arg2 = 0 ;
18798 bool result;
18799 void *argp1 = 0 ;
18800 int res1 = 0 ;
18801 bool temp2 = false ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 char * kwnames[] = {
18805 (char *) "self",(char *) "filename", NULL
18806 };
18807
18808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
18809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18810 if (!SWIG_IsOK(res1)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18812 }
18813 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18814 {
18815 arg2 = wxString_in_helper(obj1);
18816 if (arg2 == NULL) SWIG_fail;
18817 temp2 = true;
18818 }
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 {
18826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18827 }
18828 {
18829 if (temp2)
18830 delete arg2;
18831 }
18832 return resultobj;
18833 fail:
18834 {
18835 if (temp2)
18836 delete arg2;
18837 }
18838 return NULL;
18839 }
18840
18841
18842 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj = 0;
18844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18845 wxString *arg2 = 0 ;
18846 bool result;
18847 void *argp1 = 0 ;
18848 int res1 = 0 ;
18849 bool temp2 = false ;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 char * kwnames[] = {
18853 (char *) "self",(char *) "filename", NULL
18854 };
18855
18856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
18857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18858 if (!SWIG_IsOK(res1)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18860 }
18861 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18862 {
18863 arg2 = wxString_in_helper(obj1);
18864 if (arg2 == NULL) SWIG_fail;
18865 temp2 = true;
18866 }
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 {
18874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18875 }
18876 {
18877 if (temp2)
18878 delete arg2;
18879 }
18880 return resultobj;
18881 fail:
18882 {
18883 if (temp2)
18884 delete arg2;
18885 }
18886 return NULL;
18887 }
18888
18889
18890 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj = 0;
18892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18893 int arg2 ;
18894 int arg3 ;
18895 wxDragResult arg4 ;
18896 wxDragResult result;
18897 void *argp1 = 0 ;
18898 int res1 = 0 ;
18899 int val2 ;
18900 int ecode2 = 0 ;
18901 int val3 ;
18902 int ecode3 = 0 ;
18903 int val4 ;
18904 int ecode4 = 0 ;
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
18907 PyObject * obj2 = 0 ;
18908 PyObject * obj3 = 0 ;
18909 char * kwnames[] = {
18910 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
18911 };
18912
18913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18915 if (!SWIG_IsOK(res1)) {
18916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18917 }
18918 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18919 ecode2 = SWIG_AsVal_int(obj1, &val2);
18920 if (!SWIG_IsOK(ecode2)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
18922 }
18923 arg2 = static_cast< int >(val2);
18924 ecode3 = SWIG_AsVal_int(obj2, &val3);
18925 if (!SWIG_IsOK(ecode3)) {
18926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
18927 }
18928 arg3 = static_cast< int >(val3);
18929 ecode4 = SWIG_AsVal_int(obj3, &val4);
18930 if (!SWIG_IsOK(ecode4)) {
18931 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
18932 }
18933 arg4 = static_cast< wxDragResult >(val4);
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 resultobj = SWIG_From_int(static_cast< int >(result));
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj = 0;
18949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18950 long arg2 ;
18951 long arg3 ;
18952 wxString *arg4 = 0 ;
18953 bool result;
18954 void *argp1 = 0 ;
18955 int res1 = 0 ;
18956 long val2 ;
18957 int ecode2 = 0 ;
18958 long val3 ;
18959 int ecode3 = 0 ;
18960 bool temp4 = false ;
18961 PyObject * obj0 = 0 ;
18962 PyObject * obj1 = 0 ;
18963 PyObject * obj2 = 0 ;
18964 PyObject * obj3 = 0 ;
18965 char * kwnames[] = {
18966 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
18967 };
18968
18969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18971 if (!SWIG_IsOK(res1)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18973 }
18974 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18975 ecode2 = SWIG_AsVal_long(obj1, &val2);
18976 if (!SWIG_IsOK(ecode2)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
18978 }
18979 arg2 = static_cast< long >(val2);
18980 ecode3 = SWIG_AsVal_long(obj2, &val3);
18981 if (!SWIG_IsOK(ecode3)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
18983 }
18984 arg3 = static_cast< long >(val3);
18985 {
18986 arg4 = wxString_in_helper(obj3);
18987 if (arg4 == NULL) SWIG_fail;
18988 temp4 = true;
18989 }
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18998 }
18999 {
19000 if (temp4)
19001 delete arg4;
19002 }
19003 return resultobj;
19004 fail:
19005 {
19006 if (temp4)
19007 delete arg4;
19008 }
19009 return NULL;
19010 }
19011
19012
19013 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj = 0;
19015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19016 bool arg2 ;
19017 void *argp1 = 0 ;
19018 int res1 = 0 ;
19019 bool val2 ;
19020 int ecode2 = 0 ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 char * kwnames[] = {
19024 (char *) "self",(char *) "useAA", NULL
19025 };
19026
19027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19029 if (!SWIG_IsOK(res1)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19031 }
19032 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19033 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19034 if (!SWIG_IsOK(ecode2)) {
19035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19036 }
19037 arg2 = static_cast< bool >(val2);
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 (arg1)->SetUseAntiAliasing(arg2);
19041 wxPyEndAllowThreads(__tstate);
19042 if (PyErr_Occurred()) SWIG_fail;
19043 }
19044 resultobj = SWIG_Py_Void();
19045 return resultobj;
19046 fail:
19047 return NULL;
19048 }
19049
19050
19051 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19052 PyObject *resultobj = 0;
19053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19054 bool result;
19055 void *argp1 = 0 ;
19056 int res1 = 0 ;
19057 PyObject *swig_obj[1] ;
19058
19059 if (!args) SWIG_fail;
19060 swig_obj[0] = args;
19061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19062 if (!SWIG_IsOK(res1)) {
19063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19064 }
19065 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (bool)(arg1)->GetUseAntiAliasing();
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19074 }
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj = 0;
19083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19084 char *arg2 = (char *) 0 ;
19085 void *argp1 = 0 ;
19086 int res1 = 0 ;
19087 int res2 ;
19088 char *buf2 = 0 ;
19089 int alloc2 = 0 ;
19090 PyObject * obj0 = 0 ;
19091 PyObject * obj1 = 0 ;
19092 char * kwnames[] = {
19093 (char *) "self",(char *) "text", NULL
19094 };
19095
19096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19098 if (!SWIG_IsOK(res1)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19100 }
19101 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19102 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19103 if (!SWIG_IsOK(res2)) {
19104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19105 }
19106 arg2 = buf2;
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->AddTextRaw((char const *)arg2);
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = SWIG_Py_Void();
19114 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19115 return resultobj;
19116 fail:
19117 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19118 return NULL;
19119 }
19120
19121
19122 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj = 0;
19124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19125 int arg2 ;
19126 char *arg3 = (char *) 0 ;
19127 void *argp1 = 0 ;
19128 int res1 = 0 ;
19129 int val2 ;
19130 int ecode2 = 0 ;
19131 int res3 ;
19132 char *buf3 = 0 ;
19133 int alloc3 = 0 ;
19134 PyObject * obj0 = 0 ;
19135 PyObject * obj1 = 0 ;
19136 PyObject * obj2 = 0 ;
19137 char * kwnames[] = {
19138 (char *) "self",(char *) "pos",(char *) "text", NULL
19139 };
19140
19141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19143 if (!SWIG_IsOK(res1)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19145 }
19146 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19147 ecode2 = SWIG_AsVal_int(obj1, &val2);
19148 if (!SWIG_IsOK(ecode2)) {
19149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19150 }
19151 arg2 = static_cast< int >(val2);
19152 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19153 if (!SWIG_IsOK(res3)) {
19154 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19155 }
19156 arg3 = buf3;
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 resultobj = SWIG_Py_Void();
19164 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19165 return resultobj;
19166 fail:
19167 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19168 return NULL;
19169 }
19170
19171
19172 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19173 PyObject *resultobj = 0;
19174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19175 int *arg2 = (int *) 0 ;
19176 wxCharBuffer result;
19177 void *argp1 = 0 ;
19178 int res1 = 0 ;
19179 int temp2 ;
19180 int res2 = SWIG_TMPOBJ ;
19181 PyObject *swig_obj[1] ;
19182
19183 arg2 = &temp2;
19184 if (!args) SWIG_fail;
19185 swig_obj[0] = args;
19186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19187 if (!SWIG_IsOK(res1)) {
19188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19189 }
19190 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 result = (arg1)->GetCurLineRaw(arg2);
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 {
19198 resultobj = PyString_FromString((char*)(&result)->data());
19199 }
19200 if (SWIG_IsTmpObj(res2)) {
19201 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19202 } else {
19203 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19204 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19205 }
19206 return resultobj;
19207 fail:
19208 return NULL;
19209 }
19210
19211
19212 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj = 0;
19214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19215 int arg2 ;
19216 wxCharBuffer result;
19217 void *argp1 = 0 ;
19218 int res1 = 0 ;
19219 int val2 ;
19220 int ecode2 = 0 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char * kwnames[] = {
19224 (char *) "self",(char *) "line", NULL
19225 };
19226
19227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19229 if (!SWIG_IsOK(res1)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19231 }
19232 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19233 ecode2 = SWIG_AsVal_int(obj1, &val2);
19234 if (!SWIG_IsOK(ecode2)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19236 }
19237 arg2 = static_cast< int >(val2);
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 result = (arg1)->GetLineRaw(arg2);
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 {
19245 resultobj = PyString_FromString((char*)(&result)->data());
19246 }
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19254 PyObject *resultobj = 0;
19255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19256 wxCharBuffer result;
19257 void *argp1 = 0 ;
19258 int res1 = 0 ;
19259 PyObject *swig_obj[1] ;
19260
19261 if (!args) SWIG_fail;
19262 swig_obj[0] = args;
19263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19264 if (!SWIG_IsOK(res1)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19266 }
19267 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (arg1)->GetSelectedTextRaw();
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 resultobj = PyString_FromString((char*)(&result)->data());
19276 }
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj = 0;
19285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19286 int arg2 ;
19287 int arg3 ;
19288 wxCharBuffer result;
19289 void *argp1 = 0 ;
19290 int res1 = 0 ;
19291 int val2 ;
19292 int ecode2 = 0 ;
19293 int val3 ;
19294 int ecode3 = 0 ;
19295 PyObject * obj0 = 0 ;
19296 PyObject * obj1 = 0 ;
19297 PyObject * obj2 = 0 ;
19298 char * kwnames[] = {
19299 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19300 };
19301
19302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19304 if (!SWIG_IsOK(res1)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19306 }
19307 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19308 ecode2 = SWIG_AsVal_int(obj1, &val2);
19309 if (!SWIG_IsOK(ecode2)) {
19310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19311 }
19312 arg2 = static_cast< int >(val2);
19313 ecode3 = SWIG_AsVal_int(obj2, &val3);
19314 if (!SWIG_IsOK(ecode3)) {
19315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19316 }
19317 arg3 = static_cast< int >(val3);
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 resultobj = PyString_FromString((char*)(&result)->data());
19326 }
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19336 char *arg2 = (char *) 0 ;
19337 void *argp1 = 0 ;
19338 int res1 = 0 ;
19339 int res2 ;
19340 char *buf2 = 0 ;
19341 int alloc2 = 0 ;
19342 PyObject * obj0 = 0 ;
19343 PyObject * obj1 = 0 ;
19344 char * kwnames[] = {
19345 (char *) "self",(char *) "text", NULL
19346 };
19347
19348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19350 if (!SWIG_IsOK(res1)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19352 }
19353 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19354 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19355 if (!SWIG_IsOK(res2)) {
19356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19357 }
19358 arg2 = buf2;
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 (arg1)->SetTextRaw((char const *)arg2);
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 resultobj = SWIG_Py_Void();
19366 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19367 return resultobj;
19368 fail:
19369 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19370 return NULL;
19371 }
19372
19373
19374 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19375 PyObject *resultobj = 0;
19376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19377 wxCharBuffer result;
19378 void *argp1 = 0 ;
19379 int res1 = 0 ;
19380 PyObject *swig_obj[1] ;
19381
19382 if (!args) SWIG_fail;
19383 swig_obj[0] = args;
19384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19385 if (!SWIG_IsOK(res1)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19387 }
19388 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (arg1)->GetTextRaw();
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 {
19396 resultobj = PyString_FromString((char*)(&result)->data());
19397 }
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj = 0;
19406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19407 char *arg2 = (char *) 0 ;
19408 void *argp1 = 0 ;
19409 int res1 = 0 ;
19410 int res2 ;
19411 char *buf2 = 0 ;
19412 int alloc2 = 0 ;
19413 PyObject * obj0 = 0 ;
19414 PyObject * obj1 = 0 ;
19415 char * kwnames[] = {
19416 (char *) "self",(char *) "text", NULL
19417 };
19418
19419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19421 if (!SWIG_IsOK(res1)) {
19422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19423 }
19424 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19425 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19426 if (!SWIG_IsOK(res2)) {
19427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19428 }
19429 arg2 = buf2;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 (arg1)->AppendTextRaw((char const *)arg2);
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 resultobj = SWIG_Py_Void();
19437 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19438 return resultobj;
19439 fail:
19440 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19441 return NULL;
19442 }
19443
19444
19445 SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19446 PyObject *obj;
19447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19448 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19449 return SWIG_Py_Void();
19450 }
19451
19452 SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19453 return SWIG_Python_InitShadowInstance(args);
19454 }
19455
19456 SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj = 0;
19458 wxEventType arg1 = (wxEventType) 0 ;
19459 int arg2 = (int) 0 ;
19460 wxStyledTextEvent *result = 0 ;
19461 int val1 ;
19462 int ecode1 = 0 ;
19463 int val2 ;
19464 int ecode2 = 0 ;
19465 PyObject * obj0 = 0 ;
19466 PyObject * obj1 = 0 ;
19467 char * kwnames[] = {
19468 (char *) "commandType",(char *) "id", NULL
19469 };
19470
19471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19472 if (obj0) {
19473 ecode1 = SWIG_AsVal_int(obj0, &val1);
19474 if (!SWIG_IsOK(ecode1)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19476 }
19477 arg1 = static_cast< wxEventType >(val1);
19478 }
19479 if (obj1) {
19480 ecode2 = SWIG_AsVal_int(obj1, &val2);
19481 if (!SWIG_IsOK(ecode2)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19483 }
19484 arg2 = static_cast< int >(val2);
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19500 PyObject *resultobj = 0;
19501 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19502 void *argp1 = 0 ;
19503 int res1 = 0 ;
19504 PyObject *swig_obj[1] ;
19505
19506 if (!args) SWIG_fail;
19507 swig_obj[0] = args;
19508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19509 if (!SWIG_IsOK(res1)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19511 }
19512 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 delete arg1;
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 resultobj = SWIG_Py_Void();
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj = 0;
19529 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19530 int arg2 ;
19531 void *argp1 = 0 ;
19532 int res1 = 0 ;
19533 int val2 ;
19534 int ecode2 = 0 ;
19535 PyObject * obj0 = 0 ;
19536 PyObject * obj1 = 0 ;
19537 char * kwnames[] = {
19538 (char *) "self",(char *) "pos", NULL
19539 };
19540
19541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19543 if (!SWIG_IsOK(res1)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19545 }
19546 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19547 ecode2 = SWIG_AsVal_int(obj1, &val2);
19548 if (!SWIG_IsOK(ecode2)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19550 }
19551 arg2 = static_cast< int >(val2);
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->SetPosition(arg2);
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_Py_Void();
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj = 0;
19567 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19568 int arg2 ;
19569 void *argp1 = 0 ;
19570 int res1 = 0 ;
19571 int val2 ;
19572 int ecode2 = 0 ;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj1 = 0 ;
19575 char * kwnames[] = {
19576 (char *) "self",(char *) "k", NULL
19577 };
19578
19579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19581 if (!SWIG_IsOK(res1)) {
19582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19583 }
19584 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19585 ecode2 = SWIG_AsVal_int(obj1, &val2);
19586 if (!SWIG_IsOK(ecode2)) {
19587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19588 }
19589 arg2 = static_cast< int >(val2);
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 (arg1)->SetKey(arg2);
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = SWIG_Py_Void();
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj = 0;
19605 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19606 int arg2 ;
19607 void *argp1 = 0 ;
19608 int res1 = 0 ;
19609 int val2 ;
19610 int ecode2 = 0 ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 char * kwnames[] = {
19614 (char *) "self",(char *) "m", NULL
19615 };
19616
19617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19619 if (!SWIG_IsOK(res1)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19621 }
19622 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19623 ecode2 = SWIG_AsVal_int(obj1, &val2);
19624 if (!SWIG_IsOK(ecode2)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19626 }
19627 arg2 = static_cast< int >(val2);
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 (arg1)->SetModifiers(arg2);
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_Py_Void();
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj = 0;
19643 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19644 int arg2 ;
19645 void *argp1 = 0 ;
19646 int res1 = 0 ;
19647 int val2 ;
19648 int ecode2 = 0 ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 char * kwnames[] = {
19652 (char *) "self",(char *) "t", NULL
19653 };
19654
19655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19657 if (!SWIG_IsOK(res1)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19659 }
19660 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19661 ecode2 = SWIG_AsVal_int(obj1, &val2);
19662 if (!SWIG_IsOK(ecode2)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19664 }
19665 arg2 = static_cast< int >(val2);
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->SetModificationType(arg2);
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 resultobj = SWIG_Py_Void();
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj = 0;
19681 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19682 wxString *arg2 = 0 ;
19683 void *argp1 = 0 ;
19684 int res1 = 0 ;
19685 bool temp2 = false ;
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
19688 char * kwnames[] = {
19689 (char *) "self",(char *) "t", NULL
19690 };
19691
19692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19694 if (!SWIG_IsOK(res1)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19696 }
19697 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19698 {
19699 arg2 = wxString_in_helper(obj1);
19700 if (arg2 == NULL) SWIG_fail;
19701 temp2 = true;
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 (arg1)->SetText((wxString const &)*arg2);
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = SWIG_Py_Void();
19710 {
19711 if (temp2)
19712 delete arg2;
19713 }
19714 return resultobj;
19715 fail:
19716 {
19717 if (temp2)
19718 delete arg2;
19719 }
19720 return NULL;
19721 }
19722
19723
19724 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19725 PyObject *resultobj = 0;
19726 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19727 int arg2 ;
19728 void *argp1 = 0 ;
19729 int res1 = 0 ;
19730 int val2 ;
19731 int ecode2 = 0 ;
19732 PyObject * obj0 = 0 ;
19733 PyObject * obj1 = 0 ;
19734 char * kwnames[] = {
19735 (char *) "self",(char *) "len", NULL
19736 };
19737
19738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19740 if (!SWIG_IsOK(res1)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19742 }
19743 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19744 ecode2 = SWIG_AsVal_int(obj1, &val2);
19745 if (!SWIG_IsOK(ecode2)) {
19746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19747 }
19748 arg2 = static_cast< int >(val2);
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 (arg1)->SetLength(arg2);
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 resultobj = SWIG_Py_Void();
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj = 0;
19764 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19765 int arg2 ;
19766 void *argp1 = 0 ;
19767 int res1 = 0 ;
19768 int val2 ;
19769 int ecode2 = 0 ;
19770 PyObject * obj0 = 0 ;
19771 PyObject * obj1 = 0 ;
19772 char * kwnames[] = {
19773 (char *) "self",(char *) "num", NULL
19774 };
19775
19776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
19777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19778 if (!SWIG_IsOK(res1)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19780 }
19781 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19782 ecode2 = SWIG_AsVal_int(obj1, &val2);
19783 if (!SWIG_IsOK(ecode2)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
19785 }
19786 arg2 = static_cast< int >(val2);
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 (arg1)->SetLinesAdded(arg2);
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_Py_Void();
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj = 0;
19802 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19803 int arg2 ;
19804 void *argp1 = 0 ;
19805 int res1 = 0 ;
19806 int val2 ;
19807 int ecode2 = 0 ;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 char * kwnames[] = {
19811 (char *) "self",(char *) "val", NULL
19812 };
19813
19814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
19815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19816 if (!SWIG_IsOK(res1)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19818 }
19819 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19820 ecode2 = SWIG_AsVal_int(obj1, &val2);
19821 if (!SWIG_IsOK(ecode2)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
19823 }
19824 arg2 = static_cast< int >(val2);
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 (arg1)->SetLine(arg2);
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 resultobj = SWIG_Py_Void();
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj = 0;
19840 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19841 int arg2 ;
19842 void *argp1 = 0 ;
19843 int res1 = 0 ;
19844 int val2 ;
19845 int ecode2 = 0 ;
19846 PyObject * obj0 = 0 ;
19847 PyObject * obj1 = 0 ;
19848 char * kwnames[] = {
19849 (char *) "self",(char *) "val", NULL
19850 };
19851
19852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
19853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19854 if (!SWIG_IsOK(res1)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19856 }
19857 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19858 ecode2 = SWIG_AsVal_int(obj1, &val2);
19859 if (!SWIG_IsOK(ecode2)) {
19860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
19861 }
19862 arg2 = static_cast< int >(val2);
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 (arg1)->SetFoldLevelNow(arg2);
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_Py_Void();
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj = 0;
19878 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19879 int arg2 ;
19880 void *argp1 = 0 ;
19881 int res1 = 0 ;
19882 int val2 ;
19883 int ecode2 = 0 ;
19884 PyObject * obj0 = 0 ;
19885 PyObject * obj1 = 0 ;
19886 char * kwnames[] = {
19887 (char *) "self",(char *) "val", NULL
19888 };
19889
19890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
19891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19892 if (!SWIG_IsOK(res1)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19894 }
19895 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19896 ecode2 = SWIG_AsVal_int(obj1, &val2);
19897 if (!SWIG_IsOK(ecode2)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
19899 }
19900 arg2 = static_cast< int >(val2);
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 (arg1)->SetFoldLevelPrev(arg2);
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = SWIG_Py_Void();
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj = 0;
19916 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19917 int arg2 ;
19918 void *argp1 = 0 ;
19919 int res1 = 0 ;
19920 int val2 ;
19921 int ecode2 = 0 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 char * kwnames[] = {
19925 (char *) "self",(char *) "val", NULL
19926 };
19927
19928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19930 if (!SWIG_IsOK(res1)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19932 }
19933 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19934 ecode2 = SWIG_AsVal_int(obj1, &val2);
19935 if (!SWIG_IsOK(ecode2)) {
19936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
19937 }
19938 arg2 = static_cast< int >(val2);
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 (arg1)->SetMargin(arg2);
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 resultobj = SWIG_Py_Void();
19946 return resultobj;
19947 fail:
19948 return NULL;
19949 }
19950
19951
19952 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj = 0;
19954 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19955 int arg2 ;
19956 void *argp1 = 0 ;
19957 int res1 = 0 ;
19958 int val2 ;
19959 int ecode2 = 0 ;
19960 PyObject * obj0 = 0 ;
19961 PyObject * obj1 = 0 ;
19962 char * kwnames[] = {
19963 (char *) "self",(char *) "val", NULL
19964 };
19965
19966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19968 if (!SWIG_IsOK(res1)) {
19969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19970 }
19971 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19972 ecode2 = SWIG_AsVal_int(obj1, &val2);
19973 if (!SWIG_IsOK(ecode2)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
19975 }
19976 arg2 = static_cast< int >(val2);
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->SetMessage(arg2);
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 resultobj = SWIG_Py_Void();
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj = 0;
19992 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19993 int arg2 ;
19994 void *argp1 = 0 ;
19995 int res1 = 0 ;
19996 int val2 ;
19997 int ecode2 = 0 ;
19998 PyObject * obj0 = 0 ;
19999 PyObject * obj1 = 0 ;
20000 char * kwnames[] = {
20001 (char *) "self",(char *) "val", NULL
20002 };
20003
20004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20006 if (!SWIG_IsOK(res1)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20008 }
20009 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20010 ecode2 = SWIG_AsVal_int(obj1, &val2);
20011 if (!SWIG_IsOK(ecode2)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20013 }
20014 arg2 = static_cast< int >(val2);
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 (arg1)->SetWParam(arg2);
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 resultobj = SWIG_Py_Void();
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj = 0;
20030 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20031 int arg2 ;
20032 void *argp1 = 0 ;
20033 int res1 = 0 ;
20034 int val2 ;
20035 int ecode2 = 0 ;
20036 PyObject * obj0 = 0 ;
20037 PyObject * obj1 = 0 ;
20038 char * kwnames[] = {
20039 (char *) "self",(char *) "val", NULL
20040 };
20041
20042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20044 if (!SWIG_IsOK(res1)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20046 }
20047 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20048 ecode2 = SWIG_AsVal_int(obj1, &val2);
20049 if (!SWIG_IsOK(ecode2)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20051 }
20052 arg2 = static_cast< int >(val2);
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 (arg1)->SetLParam(arg2);
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_Py_Void();
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj = 0;
20068 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20069 int arg2 ;
20070 void *argp1 = 0 ;
20071 int res1 = 0 ;
20072 int val2 ;
20073 int ecode2 = 0 ;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 char * kwnames[] = {
20077 (char *) "self",(char *) "val", NULL
20078 };
20079
20080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20082 if (!SWIG_IsOK(res1)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20084 }
20085 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20086 ecode2 = SWIG_AsVal_int(obj1, &val2);
20087 if (!SWIG_IsOK(ecode2)) {
20088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20089 }
20090 arg2 = static_cast< int >(val2);
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 (arg1)->SetListType(arg2);
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 resultobj = SWIG_Py_Void();
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj = 0;
20106 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20107 int arg2 ;
20108 void *argp1 = 0 ;
20109 int res1 = 0 ;
20110 int val2 ;
20111 int ecode2 = 0 ;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 char * kwnames[] = {
20115 (char *) "self",(char *) "val", NULL
20116 };
20117
20118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20120 if (!SWIG_IsOK(res1)) {
20121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20122 }
20123 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20124 ecode2 = SWIG_AsVal_int(obj1, &val2);
20125 if (!SWIG_IsOK(ecode2)) {
20126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20127 }
20128 arg2 = static_cast< int >(val2);
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 (arg1)->SetX(arg2);
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = SWIG_Py_Void();
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj = 0;
20144 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20145 int arg2 ;
20146 void *argp1 = 0 ;
20147 int res1 = 0 ;
20148 int val2 ;
20149 int ecode2 = 0 ;
20150 PyObject * obj0 = 0 ;
20151 PyObject * obj1 = 0 ;
20152 char * kwnames[] = {
20153 (char *) "self",(char *) "val", NULL
20154 };
20155
20156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20158 if (!SWIG_IsOK(res1)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20160 }
20161 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20162 ecode2 = SWIG_AsVal_int(obj1, &val2);
20163 if (!SWIG_IsOK(ecode2)) {
20164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20165 }
20166 arg2 = static_cast< int >(val2);
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 (arg1)->SetY(arg2);
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
20173 resultobj = SWIG_Py_Void();
20174 return resultobj;
20175 fail:
20176 return NULL;
20177 }
20178
20179
20180 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj = 0;
20182 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20183 wxString *arg2 = 0 ;
20184 void *argp1 = 0 ;
20185 int res1 = 0 ;
20186 bool temp2 = false ;
20187 PyObject * obj0 = 0 ;
20188 PyObject * obj1 = 0 ;
20189 char * kwnames[] = {
20190 (char *) "self",(char *) "val", NULL
20191 };
20192
20193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20195 if (!SWIG_IsOK(res1)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20197 }
20198 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20199 {
20200 arg2 = wxString_in_helper(obj1);
20201 if (arg2 == NULL) SWIG_fail;
20202 temp2 = true;
20203 }
20204 {
20205 PyThreadState* __tstate = wxPyBeginAllowThreads();
20206 (arg1)->SetDragText((wxString const &)*arg2);
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 resultobj = SWIG_Py_Void();
20211 {
20212 if (temp2)
20213 delete arg2;
20214 }
20215 return resultobj;
20216 fail:
20217 {
20218 if (temp2)
20219 delete arg2;
20220 }
20221 return NULL;
20222 }
20223
20224
20225 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj = 0;
20227 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20228 bool arg2 ;
20229 void *argp1 = 0 ;
20230 int res1 = 0 ;
20231 bool val2 ;
20232 int ecode2 = 0 ;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 char * kwnames[] = {
20236 (char *) "self",(char *) "val", NULL
20237 };
20238
20239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20241 if (!SWIG_IsOK(res1)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20243 }
20244 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20245 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20246 if (!SWIG_IsOK(ecode2)) {
20247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20248 }
20249 arg2 = static_cast< bool >(val2);
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->SetDragAllowMove(arg2);
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 resultobj = SWIG_Py_Void();
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj = 0;
20265 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20266 wxDragResult arg2 ;
20267 void *argp1 = 0 ;
20268 int res1 = 0 ;
20269 int val2 ;
20270 int ecode2 = 0 ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char * kwnames[] = {
20274 (char *) "self",(char *) "val", NULL
20275 };
20276
20277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20279 if (!SWIG_IsOK(res1)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20281 }
20282 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20283 ecode2 = SWIG_AsVal_int(obj1, &val2);
20284 if (!SWIG_IsOK(ecode2)) {
20285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20286 }
20287 arg2 = static_cast< wxDragResult >(val2);
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 (arg1)->SetDragResult(arg2);
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 resultobj = SWIG_Py_Void();
20295 return resultobj;
20296 fail:
20297 return NULL;
20298 }
20299
20300
20301 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20302 PyObject *resultobj = 0;
20303 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20304 int result;
20305 void *argp1 = 0 ;
20306 int res1 = 0 ;
20307 PyObject *swig_obj[1] ;
20308
20309 if (!args) SWIG_fail;
20310 swig_obj[0] = args;
20311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20312 if (!SWIG_IsOK(res1)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20314 }
20315 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = SWIG_From_int(static_cast< int >(result));
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20330 PyObject *resultobj = 0;
20331 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20332 int result;
20333 void *argp1 = 0 ;
20334 int res1 = 0 ;
20335 PyObject *swig_obj[1] ;
20336
20337 if (!args) SWIG_fail;
20338 swig_obj[0] = args;
20339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20340 if (!SWIG_IsOK(res1)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20342 }
20343 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 resultobj = SWIG_From_int(static_cast< int >(result));
20351 return resultobj;
20352 fail:
20353 return NULL;
20354 }
20355
20356
20357 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20358 PyObject *resultobj = 0;
20359 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20360 int result;
20361 void *argp1 = 0 ;
20362 int res1 = 0 ;
20363 PyObject *swig_obj[1] ;
20364
20365 if (!args) SWIG_fail;
20366 swig_obj[0] = args;
20367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20368 if (!SWIG_IsOK(res1)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20370 }
20371 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 resultobj = SWIG_From_int(static_cast< int >(result));
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20386 PyObject *resultobj = 0;
20387 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20388 int result;
20389 void *argp1 = 0 ;
20390 int res1 = 0 ;
20391 PyObject *swig_obj[1] ;
20392
20393 if (!args) SWIG_fail;
20394 swig_obj[0] = args;
20395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20396 if (!SWIG_IsOK(res1)) {
20397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20398 }
20399 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 resultobj = SWIG_From_int(static_cast< int >(result));
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20414 PyObject *resultobj = 0;
20415 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20416 wxString result;
20417 void *argp1 = 0 ;
20418 int res1 = 0 ;
20419 PyObject *swig_obj[1] ;
20420
20421 if (!args) SWIG_fail;
20422 swig_obj[0] = args;
20423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20424 if (!SWIG_IsOK(res1)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20426 }
20427 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = ((wxStyledTextEvent const *)arg1)->GetText();
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 {
20435 #if wxUSE_UNICODE
20436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20437 #else
20438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20439 #endif
20440 }
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20448 PyObject *resultobj = 0;
20449 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20450 int result;
20451 void *argp1 = 0 ;
20452 int res1 = 0 ;
20453 PyObject *swig_obj[1] ;
20454
20455 if (!args) SWIG_fail;
20456 swig_obj[0] = args;
20457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20458 if (!SWIG_IsOK(res1)) {
20459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20460 }
20461 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_From_int(static_cast< int >(result));
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20476 PyObject *resultobj = 0;
20477 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20478 int result;
20479 void *argp1 = 0 ;
20480 int res1 = 0 ;
20481 PyObject *swig_obj[1] ;
20482
20483 if (!args) SWIG_fail;
20484 swig_obj[0] = args;
20485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20486 if (!SWIG_IsOK(res1)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20488 }
20489 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = SWIG_From_int(static_cast< int >(result));
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20504 PyObject *resultobj = 0;
20505 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20506 int result;
20507 void *argp1 = 0 ;
20508 int res1 = 0 ;
20509 PyObject *swig_obj[1] ;
20510
20511 if (!args) SWIG_fail;
20512 swig_obj[0] = args;
20513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20514 if (!SWIG_IsOK(res1)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20516 }
20517 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = SWIG_From_int(static_cast< int >(result));
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20532 PyObject *resultobj = 0;
20533 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20534 int result;
20535 void *argp1 = 0 ;
20536 int res1 = 0 ;
20537 PyObject *swig_obj[1] ;
20538
20539 if (!args) SWIG_fail;
20540 swig_obj[0] = args;
20541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20542 if (!SWIG_IsOK(res1)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20544 }
20545 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 resultobj = SWIG_From_int(static_cast< int >(result));
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20560 PyObject *resultobj = 0;
20561 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20562 int result;
20563 void *argp1 = 0 ;
20564 int res1 = 0 ;
20565 PyObject *swig_obj[1] ;
20566
20567 if (!args) SWIG_fail;
20568 swig_obj[0] = args;
20569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20570 if (!SWIG_IsOK(res1)) {
20571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20572 }
20573 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 resultobj = SWIG_From_int(static_cast< int >(result));
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20588 PyObject *resultobj = 0;
20589 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20590 int result;
20591 void *argp1 = 0 ;
20592 int res1 = 0 ;
20593 PyObject *swig_obj[1] ;
20594
20595 if (!args) SWIG_fail;
20596 swig_obj[0] = args;
20597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20598 if (!SWIG_IsOK(res1)) {
20599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20600 }
20601 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 resultobj = SWIG_From_int(static_cast< int >(result));
20609 return resultobj;
20610 fail:
20611 return NULL;
20612 }
20613
20614
20615 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20616 PyObject *resultobj = 0;
20617 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20618 int result;
20619 void *argp1 = 0 ;
20620 int res1 = 0 ;
20621 PyObject *swig_obj[1] ;
20622
20623 if (!args) SWIG_fail;
20624 swig_obj[0] = args;
20625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20626 if (!SWIG_IsOK(res1)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20628 }
20629 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_From_int(static_cast< int >(result));
20637 return resultobj;
20638 fail:
20639 return NULL;
20640 }
20641
20642
20643 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20644 PyObject *resultobj = 0;
20645 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20646 int result;
20647 void *argp1 = 0 ;
20648 int res1 = 0 ;
20649 PyObject *swig_obj[1] ;
20650
20651 if (!args) SWIG_fail;
20652 swig_obj[0] = args;
20653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20654 if (!SWIG_IsOK(res1)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20656 }
20657 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 resultobj = SWIG_From_int(static_cast< int >(result));
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20672 PyObject *resultobj = 0;
20673 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20674 int result;
20675 void *argp1 = 0 ;
20676 int res1 = 0 ;
20677 PyObject *swig_obj[1] ;
20678
20679 if (!args) SWIG_fail;
20680 swig_obj[0] = args;
20681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20682 if (!SWIG_IsOK(res1)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20684 }
20685 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20686 {
20687 PyThreadState* __tstate = wxPyBeginAllowThreads();
20688 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 resultobj = SWIG_From_int(static_cast< int >(result));
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20700 PyObject *resultobj = 0;
20701 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20702 int result;
20703 void *argp1 = 0 ;
20704 int res1 = 0 ;
20705 PyObject *swig_obj[1] ;
20706
20707 if (!args) SWIG_fail;
20708 swig_obj[0] = args;
20709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20710 if (!SWIG_IsOK(res1)) {
20711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20712 }
20713 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 resultobj = SWIG_From_int(static_cast< int >(result));
20721 return resultobj;
20722 fail:
20723 return NULL;
20724 }
20725
20726
20727 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20728 PyObject *resultobj = 0;
20729 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20730 int result;
20731 void *argp1 = 0 ;
20732 int res1 = 0 ;
20733 PyObject *swig_obj[1] ;
20734
20735 if (!args) SWIG_fail;
20736 swig_obj[0] = args;
20737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20738 if (!SWIG_IsOK(res1)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20740 }
20741 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 resultobj = SWIG_From_int(static_cast< int >(result));
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20756 PyObject *resultobj = 0;
20757 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20758 int result;
20759 void *argp1 = 0 ;
20760 int res1 = 0 ;
20761 PyObject *swig_obj[1] ;
20762
20763 if (!args) SWIG_fail;
20764 swig_obj[0] = args;
20765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20766 if (!SWIG_IsOK(res1)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20768 }
20769 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 resultobj = SWIG_From_int(static_cast< int >(result));
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20784 PyObject *resultobj = 0;
20785 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20786 wxString result;
20787 void *argp1 = 0 ;
20788 int res1 = 0 ;
20789 PyObject *swig_obj[1] ;
20790
20791 if (!args) SWIG_fail;
20792 swig_obj[0] = args;
20793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20794 if (!SWIG_IsOK(res1)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20796 }
20797 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 result = (arg1)->GetDragText();
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 {
20805 #if wxUSE_UNICODE
20806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20807 #else
20808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20809 #endif
20810 }
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20818 PyObject *resultobj = 0;
20819 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20820 bool result;
20821 void *argp1 = 0 ;
20822 int res1 = 0 ;
20823 PyObject *swig_obj[1] ;
20824
20825 if (!args) SWIG_fail;
20826 swig_obj[0] = args;
20827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20828 if (!SWIG_IsOK(res1)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20830 }
20831 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (bool)(arg1)->GetDragAllowMove();
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 {
20839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20840 }
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20848 PyObject *resultobj = 0;
20849 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20850 wxDragResult result;
20851 void *argp1 = 0 ;
20852 int res1 = 0 ;
20853 PyObject *swig_obj[1] ;
20854
20855 if (!args) SWIG_fail;
20856 swig_obj[0] = args;
20857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20858 if (!SWIG_IsOK(res1)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20860 }
20861 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (wxDragResult)(arg1)->GetDragResult();
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_From_int(static_cast< int >(result));
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20876 PyObject *resultobj = 0;
20877 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20878 bool result;
20879 void *argp1 = 0 ;
20880 int res1 = 0 ;
20881 PyObject *swig_obj[1] ;
20882
20883 if (!args) SWIG_fail;
20884 swig_obj[0] = args;
20885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20886 if (!SWIG_IsOK(res1)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20888 }
20889 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 {
20897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20898 }
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20906 PyObject *resultobj = 0;
20907 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20908 bool result;
20909 void *argp1 = 0 ;
20910 int res1 = 0 ;
20911 PyObject *swig_obj[1] ;
20912
20913 if (!args) SWIG_fail;
20914 swig_obj[0] = args;
20915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20916 if (!SWIG_IsOK(res1)) {
20917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20918 }
20919 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 {
20927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20928 }
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20936 PyObject *resultobj = 0;
20937 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20938 bool result;
20939 void *argp1 = 0 ;
20940 int res1 = 0 ;
20941 PyObject *swig_obj[1] ;
20942
20943 if (!args) SWIG_fail;
20944 swig_obj[0] = args;
20945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20946 if (!SWIG_IsOK(res1)) {
20947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20948 }
20949 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 {
20957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20958 }
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20966 PyObject *obj;
20967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20968 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
20969 return SWIG_Py_Void();
20970 }
20971
20972 SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20973 return SWIG_Python_InitShadowInstance(args);
20974 }
20975
20976 static PyMethodDef SwigMethods[] = {
20977 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
20978 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
20979 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
20980 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
20981 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
20982 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
20983 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
20984 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
20985 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
20986 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
20987 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
20988 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
20989 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
20990 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
20991 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
20992 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
20993 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
20994 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
20995 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
20996 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
20997 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
20998 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
20999 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
21000 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21001 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21002 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21003 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21004 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21005 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21006 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21007 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21008 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21009 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21010 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21011 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21012 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21013 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21014 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21015 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21016 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21017 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21018 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21019 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21020 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21021 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21022 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21023 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21024 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21025 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21026 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21027 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21028 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
21029 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21030 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21031 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21032 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21033 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21034 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21035 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21036 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21037 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21038 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21039 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21040 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21041 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21042 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21043 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21044 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21045 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21046 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21047 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21048 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21049 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21050 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21051 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21052 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21053 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21054 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21055 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21056 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21057 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21058 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21059 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21060 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21061 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21062 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21063 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21064 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21065 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21066 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21067 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21068 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21069 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21070 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21071 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21072 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21073 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21074 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21075 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBack, METH_O, NULL},
21076 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
21077 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21078 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21079 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21080 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21081 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21082 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21083 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21084 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21085 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21086 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21087 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21088 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21089 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21090 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21091 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21092 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21093 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21094 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21095 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21096 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21097 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21098 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21099 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21100 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21101 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21102 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21103 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21104 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21105 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21106 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21107 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21108 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21109 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21110 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21111 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21112 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21113 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21114 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21115 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21116 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21117 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21118 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21119 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21120 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21121 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21122 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21123 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21124 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21125 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21126 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21127 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21128 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21129 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21130 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21131 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21132 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21133 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21134 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21135 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21136 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21137 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21138 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21139 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21140 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21141 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21142 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21143 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21144 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21145 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21146 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21147 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21148 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21149 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21150 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21151 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21152 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21153 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21154 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21155 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21156 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21157 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21158 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21159 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21160 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21161 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21162 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21163 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21164 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21165 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21166 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21167 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21168 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21169 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21170 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21171 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21172 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21173 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21174 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21175 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21176 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21177 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21178 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21179 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21180 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21181 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21182 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21183 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21184 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21185 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21186 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21187 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21188 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21189 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21190 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21191 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21192 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21193 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21194 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21195 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21196 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21197 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21198 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21199 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21200 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21201 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21202 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21203 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21204 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21205 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21206 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21207 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21208 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21209 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21210 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21211 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21212 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21213 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21214 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21215 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21216 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21217 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21218 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21219 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21220 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21221 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21222 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21223 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21224 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21225 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21226 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21227 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21228 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21229 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21230 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21231 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21232 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21233 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21234 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21235 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21236 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21237 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21238 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21239 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21240 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21241 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21242 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21243 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21244 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21245 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21246 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21247 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21248 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21249 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21250 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21251 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21252 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21253 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21254 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21255 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21256 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21257 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21258 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21259 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21260 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21261 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21262 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21263 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21264 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21265 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21266 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21267 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21268 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21269 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21270 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21271 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21272 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21273 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21274 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21275 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21276 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21277 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21278 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21279 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21280 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21281 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21282 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21283 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21284 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21285 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21286 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21287 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21288 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21289 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21290 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21291 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21292 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21293 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21294 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21295 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21296 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21297 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21298 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21299 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21300 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21301 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21302 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21303 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21304 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21305 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21306 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21307 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21308 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21309 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21310 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21311 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21312 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21313 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21314 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21315 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21316 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21317 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21318 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21319 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21320 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21321 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21322 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21323 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21324 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21325 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21326 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21327 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21328 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21329 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21330 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21331 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21332 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21333 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21334 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21335 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21336 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21337 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21338 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21339 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21340 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21341 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21342 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21343 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21344 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21345 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21346 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21347 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21348 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21349 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21350 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21351 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21352 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21353 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21354 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21355 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21356 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21357 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21358 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21359 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21360 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21361 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21362 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21363 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21364 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21365 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21366 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21367 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21368 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21369 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21370 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21371 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21372 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21373 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21374 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21375 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21376 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21377 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21378 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21379 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21380 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21381 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21382 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21383 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21384 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21385 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21386 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21387 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21388 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
21389 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21390 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21391 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21392 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21393 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21394 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21395 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21396 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21397 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21398 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21399 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21400 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21401 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21402 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21403 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21404 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21405 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21406 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21407 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21408 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21409 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21410 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21411 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21412 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21413 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21414 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21415 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21416 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21417 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21420 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21421 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21422 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21423 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21424 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21425 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21426 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21427 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21428 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21429 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21430 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21431 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21432 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21433 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21434 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21435 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21436 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21437 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21438 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21439 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21440 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21441 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21442 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21443 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21444 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21445 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21446 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21447 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21448 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21449 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21450 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21451 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21452 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21454 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21455 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21456 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21457 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21458 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21459 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21460 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21461 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21462 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21463 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21464 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21465 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21466 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21467 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21468 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21469 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21470 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21471 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21472 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21473 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21474 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21475 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21476 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21477 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21478 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21479 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21480 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21481 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21482 { NULL, NULL, 0, NULL }
21483 };
21484
21485
21486 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21487
21488 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21489 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21490 }
21491 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21492 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21493 }
21494 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21495 return (void *)((wxObject *) ((wxSizerItem *) x));
21496 }
21497 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21499 }
21500 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21501 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21502 }
21503 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21504 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21505 }
21506 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21507 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21508 }
21509 static void *_p_wxSizerTo_p_wxObject(void *x) {
21510 return (void *)((wxObject *) ((wxSizer *) x));
21511 }
21512 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21513 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21514 }
21515 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21516 return (void *)((wxObject *) ((wxFileHistory *) x));
21517 }
21518 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21520 }
21521 static void *_p_wxEventTo_p_wxObject(void *x) {
21522 return (void *)((wxObject *) ((wxEvent *) x));
21523 }
21524 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21525 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21526 }
21527 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21528 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21529 }
21530 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21531 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21532 }
21533 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
21534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
21535 }
21536 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21537 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21538 }
21539 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21540 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21541 }
21542 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21544 }
21545 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21546 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21547 }
21548 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21549 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21550 }
21551 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21552 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21553 }
21554 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21555 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21556 }
21557 static void *_p_wxControlTo_p_wxObject(void *x) {
21558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21559 }
21560 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21561 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21562 }
21563 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21564 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21565 }
21566 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21567 return (void *)((wxObject *) ((wxFSFile *) x));
21568 }
21569 static void *_p_wxClipboardTo_p_wxObject(void *x) {
21570 return (void *)((wxObject *) ((wxClipboard *) x));
21571 }
21572 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21573 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21574 }
21575 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21577 }
21578 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21579 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21580 }
21581 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21583 }
21584 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21585 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21586 }
21587 static void *_p_wxToolTipTo_p_wxObject(void *x) {
21588 return (void *)((wxObject *) ((wxToolTip *) x));
21589 }
21590 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21591 return (void *)((wxObject *) ((wxMenuItem *) x));
21592 }
21593 static void *_p_wxDateEventTo_p_wxObject(void *x) {
21594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21595 }
21596 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21597 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21598 }
21599 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21601 }
21602 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21603 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21604 }
21605 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21606 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21607 }
21608 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21609 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21610 }
21611 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21612 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21613 }
21614 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21615 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21616 }
21617 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21618 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21619 }
21620 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21621 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21622 }
21623 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21624 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21625 }
21626 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21627 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21628 }
21629 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21630 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21631 }
21632 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21633 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21634 }
21635 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21636 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21637 }
21638 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21639 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21640 }
21641 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21642 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21643 }
21644 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21645 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21646 }
21647 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21648 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21649 }
21650 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21651 return (void *)((wxObject *) ((wxImageHandler *) x));
21652 }
21653 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21654 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21655 }
21656 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21657 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21658 }
21659 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21660 return (void *)((wxObject *) ((wxEvtHandler *) x));
21661 }
21662 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21663 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21664 }
21665 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21666 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21667 }
21668 static void *_p_wxImageTo_p_wxObject(void *x) {
21669 return (void *)((wxObject *) ((wxImage *) x));
21670 }
21671 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21672 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21673 }
21674 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21675 return (void *)((wxObject *) ((wxSystemOptions *) x));
21676 }
21677 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21678 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21679 }
21680 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21682 }
21683 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21684 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21685 }
21686 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21687 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21688 }
21689 static void *_p_wxWindowTo_p_wxObject(void *x) {
21690 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21691 }
21692 static void *_p_wxMenuTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21694 }
21695 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21697 }
21698 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21700 }
21701 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) ((wxFileSystem *) x));
21703 }
21704 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21706 }
21707 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21709 }
21710 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21712 }
21713 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21715 }
21716 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21718 }
21719 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21721 }
21722 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) ((wxBusyInfo *) x));
21724 }
21725 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21727 }
21728 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21730 }
21731 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21733 }
21734 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21736 }
21737 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21739 }
21740 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
21742 }
21743 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21745 }
21746 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
21748 }
21749 static void *_p_wxValidatorTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
21751 }
21752 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
21754 }
21755 static void *_p_wxControlTo_p_wxWindow(void *x) {
21756 return (void *)((wxWindow *) ((wxControl *) x));
21757 }
21758 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
21759 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
21760 }
21761 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
21762 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
21763 }
21764 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
21765 return (void *)((wxWindow *) ((wxMenuBar *) x));
21766 }
21767 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
21768 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
21769 }
21770 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
21771 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
21772 }
21773 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
21774 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
21775 }
21776 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
21777 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
21778 }
21779 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
21780 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
21781 }
21782 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
21783 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
21784 }
21785 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
21786 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
21787 }
21788 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
21789 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21790 }
21791 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
21792 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
21793 }
21794 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
21795 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
21796 }
21797 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
21798 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
21799 }
21800 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21802 }
21803 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21804 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21805 }
21806 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21807 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21808 }
21809 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21810 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21811 }
21812 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
21813 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
21814 }
21815 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
21816 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21817 }
21818 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21819 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21820 }
21821 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21822 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21823 }
21824 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21825 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21826 }
21827 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21828 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21829 }
21830 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
21831 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
21832 }
21833 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
21834 return (void *)((wxControl *) ((wxControlWithItems *) x));
21835 }
21836 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
21837 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
21838 }
21839 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21841 }
21842 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21843 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21844 }
21845 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21846 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21847 }
21848 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21849 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21850 }
21851 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21852 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21853 }
21854 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21855 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21856 }
21857 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
21858 return (void *)((wxEvent *) ((wxTimerEvent *) x));
21859 }
21860 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21861 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21862 }
21863 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21865 }
21866 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21867 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21868 }
21869 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21870 return (void *)((wxEvent *) ((wxPyEvent *) x));
21871 }
21872 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
21873 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
21874 }
21875 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21876 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21877 }
21878 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21880 }
21881 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21882 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21883 }
21884 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21885 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21886 }
21887 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21888 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21889 }
21890 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21891 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21892 }
21893 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21894 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21895 }
21896 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21897 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21898 }
21899 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
21900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
21901 }
21902 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
21903 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
21904 }
21905 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21906 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21907 }
21908 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21909 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21910 }
21911 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
21912 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
21913 }
21914 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21916 }
21917 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21918 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21919 }
21920 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21921 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21922 }
21923 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21924 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21925 }
21926 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21927 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21928 }
21929 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21930 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21931 }
21932 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21933 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21934 }
21935 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21937 }
21938 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
21939 return (void *)((wxEvent *) ((wxProcessEvent *) x));
21940 }
21941 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21942 return (void *)((wxEvent *) ((wxShowEvent *) x));
21943 }
21944 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21945 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21946 }
21947 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21948 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21949 }
21950 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21952 }
21953 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21954 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21955 }
21956 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21957 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21958 }
21959 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21960 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21961 }
21962 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
21963 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
21964 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
21965 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
21966 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
21967 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
21968 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
21969 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
21970 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
21971 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
21972 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
21973 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
21974 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
21975 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
21976 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
21977 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
21978 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
21979 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
21980 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
21981 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
21982 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
21983 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
21984 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
21985 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
21986 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
21987 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
21988 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
21989 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
21990 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
21991 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
21992 static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
21993 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
21994 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
21995 static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
21996 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
21997 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
21998 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
21999 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22000 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22001 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22002 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22003 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22004 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22005 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22006 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22007 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22008 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22009 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22010 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22011 static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22012 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22013 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22014 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22015 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22016 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22017 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22018 static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22019 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22020 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22021 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22022 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22023 static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22024 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22025 static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22026 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22027 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22028 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22029 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22030 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22031 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22032 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22033 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22034 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22035 static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22036 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22037 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22038 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22039 static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22040 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22041 static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22042 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22043 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22044 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22045 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22046 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22047 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22048 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22049 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22050 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22051 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22052 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22053 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22054 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22055 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22056 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22057 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22058 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22059 static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22060 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22061 static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22062 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22063 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22064 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22065 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22066 static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22067 static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22068 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22069
22070 static swig_type_info *swig_type_initial[] = {
22071 &_swigt__p_char,
22072 &_swigt__p_form_ops_t,
22073 &_swigt__p_int,
22074 &_swigt__p_unsigned_char,
22075 &_swigt__p_unsigned_int,
22076 &_swigt__p_unsigned_long,
22077 &_swigt__p_void,
22078 &_swigt__p_wxANIHandler,
22079 &_swigt__p_wxAcceleratorTable,
22080 &_swigt__p_wxActivateEvent,
22081 &_swigt__p_wxBMPHandler,
22082 &_swigt__p_wxBitmap,
22083 &_swigt__p_wxBoxSizer,
22084 &_swigt__p_wxBusyInfo,
22085 &_swigt__p_wxCURHandler,
22086 &_swigt__p_wxChildFocusEvent,
22087 &_swigt__p_wxClipboard,
22088 &_swigt__p_wxClipboardTextEvent,
22089 &_swigt__p_wxCloseEvent,
22090 &_swigt__p_wxColour,
22091 &_swigt__p_wxCommandEvent,
22092 &_swigt__p_wxContextMenuEvent,
22093 &_swigt__p_wxControl,
22094 &_swigt__p_wxControlWithItems,
22095 &_swigt__p_wxDC,
22096 &_swigt__p_wxDateEvent,
22097 &_swigt__p_wxDisplayChangedEvent,
22098 &_swigt__p_wxDropFilesEvent,
22099 &_swigt__p_wxDuplexMode,
22100 &_swigt__p_wxEraseEvent,
22101 &_swigt__p_wxEvent,
22102 &_swigt__p_wxEvtHandler,
22103 &_swigt__p_wxFSFile,
22104 &_swigt__p_wxFileHistory,
22105 &_swigt__p_wxFileSystem,
22106 &_swigt__p_wxFlexGridSizer,
22107 &_swigt__p_wxFocusEvent,
22108 &_swigt__p_wxFont,
22109 &_swigt__p_wxGBSizerItem,
22110 &_swigt__p_wxGIFHandler,
22111 &_swigt__p_wxGridBagSizer,
22112 &_swigt__p_wxGridSizer,
22113 &_swigt__p_wxICOHandler,
22114 &_swigt__p_wxIconizeEvent,
22115 &_swigt__p_wxIdleEvent,
22116 &_swigt__p_wxImage,
22117 &_swigt__p_wxImageHandler,
22118 &_swigt__p_wxIndividualLayoutConstraint,
22119 &_swigt__p_wxInitDialogEvent,
22120 &_swigt__p_wxJPEGHandler,
22121 &_swigt__p_wxJoystickEvent,
22122 &_swigt__p_wxKeyEvent,
22123 &_swigt__p_wxLayoutConstraints,
22124 &_swigt__p_wxMaximizeEvent,
22125 &_swigt__p_wxMemoryBuffer,
22126 &_swigt__p_wxMenu,
22127 &_swigt__p_wxMenuBar,
22128 &_swigt__p_wxMenuEvent,
22129 &_swigt__p_wxMenuItem,
22130 &_swigt__p_wxMouseCaptureChangedEvent,
22131 &_swigt__p_wxMouseEvent,
22132 &_swigt__p_wxMoveEvent,
22133 &_swigt__p_wxNavigationKeyEvent,
22134 &_swigt__p_wxNcPaintEvent,
22135 &_swigt__p_wxNotifyEvent,
22136 &_swigt__p_wxObject,
22137 &_swigt__p_wxPCXHandler,
22138 &_swigt__p_wxPNGHandler,
22139 &_swigt__p_wxPNMHandler,
22140 &_swigt__p_wxPaintEvent,
22141 &_swigt__p_wxPaletteChangedEvent,
22142 &_swigt__p_wxPaperSize,
22143 &_swigt__p_wxPoint,
22144 &_swigt__p_wxProcessEvent,
22145 &_swigt__p_wxPyApp,
22146 &_swigt__p_wxPyCommandEvent,
22147 &_swigt__p_wxPyEvent,
22148 &_swigt__p_wxPyImageHandler,
22149 &_swigt__p_wxPyProcess,
22150 &_swigt__p_wxPySizer,
22151 &_swigt__p_wxPyTimer,
22152 &_swigt__p_wxPyValidator,
22153 &_swigt__p_wxQueryNewPaletteEvent,
22154 &_swigt__p_wxRect,
22155 &_swigt__p_wxScrollBar,
22156 &_swigt__p_wxScrollEvent,
22157 &_swigt__p_wxScrollWinEvent,
22158 &_swigt__p_wxSetCursorEvent,
22159 &_swigt__p_wxShowEvent,
22160 &_swigt__p_wxSizeEvent,
22161 &_swigt__p_wxSizer,
22162 &_swigt__p_wxSizerItem,
22163 &_swigt__p_wxStaticBoxSizer,
22164 &_swigt__p_wxStdDialogButtonSizer,
22165 &_swigt__p_wxStyledTextCtrl,
22166 &_swigt__p_wxStyledTextEvent,
22167 &_swigt__p_wxSysColourChangedEvent,
22168 &_swigt__p_wxSystemOptions,
22169 &_swigt__p_wxTIFFHandler,
22170 &_swigt__p_wxTimerEvent,
22171 &_swigt__p_wxToolTip,
22172 &_swigt__p_wxUpdateUIEvent,
22173 &_swigt__p_wxValidator,
22174 &_swigt__p_wxWindow,
22175 &_swigt__p_wxWindowCreateEvent,
22176 &_swigt__p_wxWindowDestroyEvent,
22177 &_swigt__p_wxXPMHandler,
22178 };
22179
22180 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22181 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22182 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22183 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22184 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22185 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22186 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22187 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22188 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22189 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22190 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22191 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22192 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22193 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22194 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22195 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22196 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22197 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22198 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22199 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
22200 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22201 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
22202 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22203 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22204 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22205 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22206 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22207 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22208 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22209 static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
22210 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22211 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22212 static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22213 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22214 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22215 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22216 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22217 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22218 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22219 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22220 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22221 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22222 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22223 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22224 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22225 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22226 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22227 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22228 static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22229 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22230 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22231 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22232 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22233 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
22234 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22235 static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22236 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22237 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22238 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22239 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22240 static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22241 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
22242 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22243 static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22244 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22245 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22246 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22247 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22248 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22249 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22250 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22251 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22252 static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22253 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22254 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22255 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22256 static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22257 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22258 static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22259 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22260 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22261 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22262 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22263 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22264 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22265 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22266 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22267 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22268 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22269 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22270 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22271 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22272 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22273 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22274 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22275 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22276 static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22277 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22278 static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
22279 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
22280 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22281 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22282 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22283 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22284 static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22285 static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22286 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
22287
22288 static swig_cast_info *swig_cast_initial[] = {
22289 _swigc__p_char,
22290 _swigc__p_form_ops_t,
22291 _swigc__p_int,
22292 _swigc__p_unsigned_char,
22293 _swigc__p_unsigned_int,
22294 _swigc__p_unsigned_long,
22295 _swigc__p_void,
22296 _swigc__p_wxANIHandler,
22297 _swigc__p_wxAcceleratorTable,
22298 _swigc__p_wxActivateEvent,
22299 _swigc__p_wxBMPHandler,
22300 _swigc__p_wxBitmap,
22301 _swigc__p_wxBoxSizer,
22302 _swigc__p_wxBusyInfo,
22303 _swigc__p_wxCURHandler,
22304 _swigc__p_wxChildFocusEvent,
22305 _swigc__p_wxClipboard,
22306 _swigc__p_wxClipboardTextEvent,
22307 _swigc__p_wxCloseEvent,
22308 _swigc__p_wxColour,
22309 _swigc__p_wxCommandEvent,
22310 _swigc__p_wxContextMenuEvent,
22311 _swigc__p_wxControl,
22312 _swigc__p_wxControlWithItems,
22313 _swigc__p_wxDC,
22314 _swigc__p_wxDateEvent,
22315 _swigc__p_wxDisplayChangedEvent,
22316 _swigc__p_wxDropFilesEvent,
22317 _swigc__p_wxDuplexMode,
22318 _swigc__p_wxEraseEvent,
22319 _swigc__p_wxEvent,
22320 _swigc__p_wxEvtHandler,
22321 _swigc__p_wxFSFile,
22322 _swigc__p_wxFileHistory,
22323 _swigc__p_wxFileSystem,
22324 _swigc__p_wxFlexGridSizer,
22325 _swigc__p_wxFocusEvent,
22326 _swigc__p_wxFont,
22327 _swigc__p_wxGBSizerItem,
22328 _swigc__p_wxGIFHandler,
22329 _swigc__p_wxGridBagSizer,
22330 _swigc__p_wxGridSizer,
22331 _swigc__p_wxICOHandler,
22332 _swigc__p_wxIconizeEvent,
22333 _swigc__p_wxIdleEvent,
22334 _swigc__p_wxImage,
22335 _swigc__p_wxImageHandler,
22336 _swigc__p_wxIndividualLayoutConstraint,
22337 _swigc__p_wxInitDialogEvent,
22338 _swigc__p_wxJPEGHandler,
22339 _swigc__p_wxJoystickEvent,
22340 _swigc__p_wxKeyEvent,
22341 _swigc__p_wxLayoutConstraints,
22342 _swigc__p_wxMaximizeEvent,
22343 _swigc__p_wxMemoryBuffer,
22344 _swigc__p_wxMenu,
22345 _swigc__p_wxMenuBar,
22346 _swigc__p_wxMenuEvent,
22347 _swigc__p_wxMenuItem,
22348 _swigc__p_wxMouseCaptureChangedEvent,
22349 _swigc__p_wxMouseEvent,
22350 _swigc__p_wxMoveEvent,
22351 _swigc__p_wxNavigationKeyEvent,
22352 _swigc__p_wxNcPaintEvent,
22353 _swigc__p_wxNotifyEvent,
22354 _swigc__p_wxObject,
22355 _swigc__p_wxPCXHandler,
22356 _swigc__p_wxPNGHandler,
22357 _swigc__p_wxPNMHandler,
22358 _swigc__p_wxPaintEvent,
22359 _swigc__p_wxPaletteChangedEvent,
22360 _swigc__p_wxPaperSize,
22361 _swigc__p_wxPoint,
22362 _swigc__p_wxProcessEvent,
22363 _swigc__p_wxPyApp,
22364 _swigc__p_wxPyCommandEvent,
22365 _swigc__p_wxPyEvent,
22366 _swigc__p_wxPyImageHandler,
22367 _swigc__p_wxPyProcess,
22368 _swigc__p_wxPySizer,
22369 _swigc__p_wxPyTimer,
22370 _swigc__p_wxPyValidator,
22371 _swigc__p_wxQueryNewPaletteEvent,
22372 _swigc__p_wxRect,
22373 _swigc__p_wxScrollBar,
22374 _swigc__p_wxScrollEvent,
22375 _swigc__p_wxScrollWinEvent,
22376 _swigc__p_wxSetCursorEvent,
22377 _swigc__p_wxShowEvent,
22378 _swigc__p_wxSizeEvent,
22379 _swigc__p_wxSizer,
22380 _swigc__p_wxSizerItem,
22381 _swigc__p_wxStaticBoxSizer,
22382 _swigc__p_wxStdDialogButtonSizer,
22383 _swigc__p_wxStyledTextCtrl,
22384 _swigc__p_wxStyledTextEvent,
22385 _swigc__p_wxSysColourChangedEvent,
22386 _swigc__p_wxSystemOptions,
22387 _swigc__p_wxTIFFHandler,
22388 _swigc__p_wxTimerEvent,
22389 _swigc__p_wxToolTip,
22390 _swigc__p_wxUpdateUIEvent,
22391 _swigc__p_wxValidator,
22392 _swigc__p_wxWindow,
22393 _swigc__p_wxWindowCreateEvent,
22394 _swigc__p_wxWindowDestroyEvent,
22395 _swigc__p_wxXPMHandler,
22396 };
22397
22398
22399 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22400
22401 static swig_const_info swig_const_table[] = {
22402 {0, 0, 0, 0.0, 0, 0}};
22403
22404 #ifdef __cplusplus
22405 }
22406 #endif
22407 /* -----------------------------------------------------------------------------
22408 * Type initialization:
22409 * This problem is tough by the requirement that no dynamic
22410 * memory is used. Also, since swig_type_info structures store pointers to
22411 * swig_cast_info structures and swig_cast_info structures store pointers back
22412 * to swig_type_info structures, we need some lookup code at initialization.
22413 * The idea is that swig generates all the structures that are needed.
22414 * The runtime then collects these partially filled structures.
22415 * The SWIG_InitializeModule function takes these initial arrays out of
22416 * swig_module, and does all the lookup, filling in the swig_module.types
22417 * array with the correct data and linking the correct swig_cast_info
22418 * structures together.
22419 *
22420 * The generated swig_type_info structures are assigned staticly to an initial
22421 * array. We just loop though that array, and handle each type individually.
22422 * First we lookup if this type has been already loaded, and if so, use the
22423 * loaded structure instead of the generated one. Then we have to fill in the
22424 * cast linked list. The cast data is initially stored in something like a
22425 * two-dimensional array. Each row corresponds to a type (there are the same
22426 * number of rows as there are in the swig_type_initial array). Each entry in
22427 * a column is one of the swig_cast_info structures for that type.
22428 * The cast_initial array is actually an array of arrays, because each row has
22429 * a variable number of columns. So to actually build the cast linked list,
22430 * we find the array of casts associated with the type, and loop through it
22431 * adding the casts to the list. The one last trick we need to do is making
22432 * sure the type pointer in the swig_cast_info struct is correct.
22433 *
22434 * First off, we lookup the cast->type name to see if it is already loaded.
22435 * There are three cases to handle:
22436 * 1) If the cast->type has already been loaded AND the type we are adding
22437 * casting info to has not been loaded (it is in this module), THEN we
22438 * replace the cast->type pointer with the type pointer that has already
22439 * been loaded.
22440 * 2) If BOTH types (the one we are adding casting info to, and the
22441 * cast->type) are loaded, THEN the cast info has already been loaded by
22442 * the previous module so we just ignore it.
22443 * 3) Finally, if cast->type has not already been loaded, then we add that
22444 * swig_cast_info to the linked list (because the cast->type) pointer will
22445 * be correct.
22446 * ----------------------------------------------------------------------------- */
22447
22448 #ifdef __cplusplus
22449 extern "C" {
22450 #if 0
22451 } /* c-mode */
22452 #endif
22453 #endif
22454
22455 #if 0
22456 #define SWIGRUNTIME_DEBUG
22457 #endif
22458
22459 SWIGRUNTIME void
22460 SWIG_InitializeModule(void *clientdata) {
22461 size_t i;
22462 swig_module_info *module_head;
22463 static int init_run = 0;
22464
22465 clientdata = clientdata;
22466
22467 if (init_run) return;
22468 init_run = 1;
22469
22470 /* Initialize the swig_module */
22471 swig_module.type_initial = swig_type_initial;
22472 swig_module.cast_initial = swig_cast_initial;
22473
22474 /* Try and load any already created modules */
22475 module_head = SWIG_GetModule(clientdata);
22476 if (module_head) {
22477 swig_module.next = module_head->next;
22478 module_head->next = &swig_module;
22479 } else {
22480 /* This is the first module loaded */
22481 swig_module.next = &swig_module;
22482 SWIG_SetModule(clientdata, &swig_module);
22483 }
22484
22485 /* Now work on filling in swig_module.types */
22486 #ifdef SWIGRUNTIME_DEBUG
22487 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22488 #endif
22489 for (i = 0; i < swig_module.size; ++i) {
22490 swig_type_info *type = 0;
22491 swig_type_info *ret;
22492 swig_cast_info *cast;
22493
22494 #ifdef SWIGRUNTIME_DEBUG
22495 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22496 #endif
22497
22498 /* if there is another module already loaded */
22499 if (swig_module.next != &swig_module) {
22500 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
22501 }
22502 if (type) {
22503 /* Overwrite clientdata field */
22504 #ifdef SWIGRUNTIME_DEBUG
22505 printf("SWIG_InitializeModule: found type %s\n", type->name);
22506 #endif
22507 if (swig_module.type_initial[i]->clientdata) {
22508 type->clientdata = swig_module.type_initial[i]->clientdata;
22509 #ifdef SWIGRUNTIME_DEBUG
22510 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22511 #endif
22512 }
22513 } else {
22514 type = swig_module.type_initial[i];
22515 }
22516
22517 /* Insert casting types */
22518 cast = swig_module.cast_initial[i];
22519 while (cast->type) {
22520 /* Don't need to add information already in the list */
22521 ret = 0;
22522 #ifdef SWIGRUNTIME_DEBUG
22523 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22524 #endif
22525 if (swig_module.next != &swig_module) {
22526 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22527 #ifdef SWIGRUNTIME_DEBUG
22528 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22529 #endif
22530 }
22531 if (ret) {
22532 if (type == swig_module.type_initial[i]) {
22533 #ifdef SWIGRUNTIME_DEBUG
22534 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22535 #endif
22536 cast->type = ret;
22537 ret = 0;
22538 } else {
22539 /* Check for casting already in the list */
22540 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22541 #ifdef SWIGRUNTIME_DEBUG
22542 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22543 #endif
22544 if (!ocast) ret = 0;
22545 }
22546 }
22547
22548 if (!ret) {
22549 #ifdef SWIGRUNTIME_DEBUG
22550 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22551 #endif
22552 if (type->cast) {
22553 type->cast->prev = cast;
22554 cast->next = type->cast;
22555 }
22556 type->cast = cast;
22557 }
22558 cast++;
22559 }
22560 /* Set entry in modules->types array equal to the type */
22561 swig_module.types[i] = type;
22562 }
22563 swig_module.types[i] = 0;
22564
22565 #ifdef SWIGRUNTIME_DEBUG
22566 printf("**** SWIG_InitializeModule: Cast List ******\n");
22567 for (i = 0; i < swig_module.size; ++i) {
22568 int j = 0;
22569 swig_cast_info *cast = swig_module.cast_initial[i];
22570 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22571 while (cast->type) {
22572 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22573 cast++;
22574 ++j;
22575 }
22576 printf("---- Total casts: %d\n",j);
22577 }
22578 printf("**** SWIG_InitializeModule: Cast List ******\n");
22579 #endif
22580 }
22581
22582 /* This function will propagate the clientdata field of type to
22583 * any new swig_type_info structures that have been added into the list
22584 * of equivalent types. It is like calling
22585 * SWIG_TypeClientData(type, clientdata) a second time.
22586 */
22587 SWIGRUNTIME void
22588 SWIG_PropagateClientData(void) {
22589 size_t i;
22590 swig_cast_info *equiv;
22591 static int init_run = 0;
22592
22593 if (init_run) return;
22594 init_run = 1;
22595
22596 for (i = 0; i < swig_module.size; i++) {
22597 if (swig_module.types[i]->clientdata) {
22598 equiv = swig_module.types[i]->cast;
22599 while (equiv) {
22600 if (!equiv->converter) {
22601 if (equiv->type && !equiv->type->clientdata)
22602 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22603 }
22604 equiv = equiv->next;
22605 }
22606 }
22607 }
22608 }
22609
22610 #ifdef __cplusplus
22611 #if 0
22612 {
22613 /* c-mode */
22614 #endif
22615 }
22616 #endif
22617
22618
22619
22620 #ifdef __cplusplus
22621 extern "C" {
22622 #endif
22623
22624 /* Python-specific SWIG API */
22625 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22626 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22627 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22628
22629 /* -----------------------------------------------------------------------------
22630 * global variable support code.
22631 * ----------------------------------------------------------------------------- */
22632
22633 typedef struct swig_globalvar {
22634 char *name; /* Name of global variable */
22635 PyObject *(*get_attr)(void); /* Return the current value */
22636 int (*set_attr)(PyObject *); /* Set the value */
22637 struct swig_globalvar *next;
22638 } swig_globalvar;
22639
22640 typedef struct swig_varlinkobject {
22641 PyObject_HEAD
22642 swig_globalvar *vars;
22643 } swig_varlinkobject;
22644
22645 SWIGINTERN PyObject *
22646 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22647 return PyString_FromString("<Swig global variables>");
22648 }
22649
22650 SWIGINTERN PyObject *
22651 swig_varlink_str(swig_varlinkobject *v) {
22652 PyObject *str = PyString_FromString("(");
22653 swig_globalvar *var;
22654 for (var = v->vars; var; var=var->next) {
22655 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22656 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22657 }
22658 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22659 return str;
22660 }
22661
22662 SWIGINTERN int
22663 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22664 PyObject *str = swig_varlink_str(v);
22665 fprintf(fp,"Swig global variables ");
22666 fprintf(fp,"%s\n", PyString_AsString(str));
22667 Py_DECREF(str);
22668 return 0;
22669 }
22670
22671 SWIGINTERN void
22672 swig_varlink_dealloc(swig_varlinkobject *v) {
22673 swig_globalvar *var = v->vars;
22674 while (var) {
22675 swig_globalvar *n = var->next;
22676 free(var->name);
22677 free(var);
22678 var = n;
22679 }
22680 }
22681
22682 SWIGINTERN PyObject *
22683 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22684 PyObject *res = NULL;
22685 swig_globalvar *var = v->vars;
22686 while (var) {
22687 if (strcmp(var->name,n) == 0) {
22688 res = (*var->get_attr)();
22689 break;
22690 }
22691 var = var->next;
22692 }
22693 if (res == NULL && !PyErr_Occurred()) {
22694 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22695 }
22696 return res;
22697 }
22698
22699 SWIGINTERN int
22700 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22701 int res = 1;
22702 swig_globalvar *var = v->vars;
22703 while (var) {
22704 if (strcmp(var->name,n) == 0) {
22705 res = (*var->set_attr)(p);
22706 break;
22707 }
22708 var = var->next;
22709 }
22710 if (res == 1 && !PyErr_Occurred()) {
22711 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22712 }
22713 return res;
22714 }
22715
22716 SWIGINTERN PyTypeObject*
22717 swig_varlink_type(void) {
22718 static char varlink__doc__[] = "Swig var link object";
22719 static PyTypeObject varlink_type;
22720 static int type_init = 0;
22721 if (!type_init) {
22722 const PyTypeObject tmp
22723 = {
22724 PyObject_HEAD_INIT(NULL)
22725 0, /* Number of items in variable part (ob_size) */
22726 (char *)"swigvarlink", /* Type name (tp_name) */
22727 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
22728 0, /* Itemsize (tp_itemsize) */
22729 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
22730 (printfunc) swig_varlink_print, /* Print (tp_print) */
22731 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
22732 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
22733 0, /* tp_compare */
22734 (reprfunc) swig_varlink_repr, /* tp_repr */
22735 0, /* tp_as_number */
22736 0, /* tp_as_sequence */
22737 0, /* tp_as_mapping */
22738 0, /* tp_hash */
22739 0, /* tp_call */
22740 (reprfunc)swig_varlink_str, /* tp_str */
22741 0, /* tp_getattro */
22742 0, /* tp_setattro */
22743 0, /* tp_as_buffer */
22744 0, /* tp_flags */
22745 varlink__doc__, /* tp_doc */
22746 0, /* tp_traverse */
22747 0, /* tp_clear */
22748 0, /* tp_richcompare */
22749 0, /* tp_weaklistoffset */
22750 #if PY_VERSION_HEX >= 0x02020000
22751 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22752 #endif
22753 #if PY_VERSION_HEX >= 0x02030000
22754 0, /* tp_del */
22755 #endif
22756 #ifdef COUNT_ALLOCS
22757 0,0,0,0 /* tp_alloc -> tp_next */
22758 #endif
22759 };
22760 varlink_type = tmp;
22761 varlink_type.ob_type = &PyType_Type;
22762 type_init = 1;
22763 }
22764 return &varlink_type;
22765 }
22766
22767 /* Create a variable linking object for use later */
22768 SWIGINTERN PyObject *
22769 SWIG_Python_newvarlink(void) {
22770 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
22771 if (result) {
22772 result->vars = 0;
22773 }
22774 return ((PyObject*) result);
22775 }
22776
22777 SWIGINTERN void
22778 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
22779 swig_varlinkobject *v = (swig_varlinkobject *) p;
22780 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
22781 if (gv) {
22782 size_t size = strlen(name)+1;
22783 gv->name = (char *)malloc(size);
22784 if (gv->name) {
22785 strncpy(gv->name,name,size);
22786 gv->get_attr = get_attr;
22787 gv->set_attr = set_attr;
22788 gv->next = v->vars;
22789 }
22790 }
22791 v->vars = gv;
22792 }
22793
22794 SWIGINTERN PyObject *
22795 SWIG_globals() {
22796 static PyObject *_SWIG_globals = 0;
22797 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
22798 return _SWIG_globals;
22799 }
22800
22801 /* -----------------------------------------------------------------------------
22802 * constants/methods manipulation
22803 * ----------------------------------------------------------------------------- */
22804
22805 /* Install Constants */
22806 SWIGINTERN void
22807 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
22808 PyObject *obj = 0;
22809 size_t i;
22810 for (i = 0; constants[i].type; ++i) {
22811 switch(constants[i].type) {
22812 case SWIG_PY_POINTER:
22813 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
22814 break;
22815 case SWIG_PY_BINARY:
22816 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
22817 break;
22818 default:
22819 obj = 0;
22820 break;
22821 }
22822 if (obj) {
22823 PyDict_SetItemString(d, constants[i].name, obj);
22824 Py_DECREF(obj);
22825 }
22826 }
22827 }
22828
22829 /* -----------------------------------------------------------------------------*/
22830 /* Fix SwigMethods to carry the callback ptrs when needed */
22831 /* -----------------------------------------------------------------------------*/
22832
22833 SWIGINTERN void
22834 SWIG_Python_FixMethods(PyMethodDef *methods,
22835 swig_const_info *const_table,
22836 swig_type_info **types,
22837 swig_type_info **types_initial) {
22838 size_t i;
22839 for (i = 0; methods[i].ml_name; ++i) {
22840 char *c = methods[i].ml_doc;
22841 if (c && (c = strstr(c, "swig_ptr: "))) {
22842 int j;
22843 swig_const_info *ci = 0;
22844 char *name = c + 10;
22845 for (j = 0; const_table[j].type; ++j) {
22846 if (strncmp(const_table[j].name, name,
22847 strlen(const_table[j].name)) == 0) {
22848 ci = &(const_table[j]);
22849 break;
22850 }
22851 }
22852 if (ci) {
22853 size_t shift = (ci->ptype) - types;
22854 swig_type_info *ty = types_initial[shift];
22855 size_t ldoc = (c - methods[i].ml_doc);
22856 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
22857 char *ndoc = (char*)malloc(ldoc + lptr + 10);
22858 if (ndoc) {
22859 char *buff = ndoc;
22860 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
22861 if (ptr) {
22862 strncpy(buff, methods[i].ml_doc, ldoc);
22863 buff += ldoc;
22864 strncpy(buff, "swig_ptr: ", 10);
22865 buff += 10;
22866 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
22867 methods[i].ml_doc = ndoc;
22868 }
22869 }
22870 }
22871 }
22872 }
22873 }
22874
22875 #ifdef __cplusplus
22876 }
22877 #endif
22878
22879 /* -----------------------------------------------------------------------------*
22880 * Partial Init method
22881 * -----------------------------------------------------------------------------*/
22882
22883 #ifdef __cplusplus
22884 extern "C"
22885 #endif
22886 SWIGEXPORT void SWIG_init(void) {
22887 PyObject *m, *d;
22888
22889 /* Fix SwigMethods to carry the callback ptrs when needed */
22890 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
22891
22892 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22893 d = PyModule_GetDict(m);
22894
22895 SWIG_InitializeModule(0);
22896 SWIG_InstallConstants(d,swig_const_table);
22897
22898
22899 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
22900 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
22901 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
22902 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
22903 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
22904 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
22905 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
22906 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
22907 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
22908 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
22909 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
22910 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
22911 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
22912 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
22913 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
22914 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
22915 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
22916 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
22917 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
22918 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
22919 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
22920 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
22921 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
22922 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
22923 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
22924 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
22925 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
22926 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
22927 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
22928 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
22929 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
22930 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
22931 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
22932 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
22933 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
22934 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
22935 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
22936 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
22937 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
22938 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
22939 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
22940 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
22941 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
22942 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
22943 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
22944 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
22945 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
22946 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
22947 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
22948 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
22949 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
22950 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
22951 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
22952 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
22953 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
22954 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
22955 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
22956 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
22957 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
22958 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
22959 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
22960 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
22961 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
22962 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
22963 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
22964 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
22965 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
22966 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
22967 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
22968 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
22969 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
22970 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
22971 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
22972 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
22973 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
22974 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
22975 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
22976 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
22977 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
22978 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
22979 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
22980 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
22981 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
22982 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
22983 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
22984 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
22985 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
22986 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
22987 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
22988 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
22989 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
22990 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
22991 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
22992 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
22993 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
22994 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
22995 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
22996 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
22997 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
22998 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
22999 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23000 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23001 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23002 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23003 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23004 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23005 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23006 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23007 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23008 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23009 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23010 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23011 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23012 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23013 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23014 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23015 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23016 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23017 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23018 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23019 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23020 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23021 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23022 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23023 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23024 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23025 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23026 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23027 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23028 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23029 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23030 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23031 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23032 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23033 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23034 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23035 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23036 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23037 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23038 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23039 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23040 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23041 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23042 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23043 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23044 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23045 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23046 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23047 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23048 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23049 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23050 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23051 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23052 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23053 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23054 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23055 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23056 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23057 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23058 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23059 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23060 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23061 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23062 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23063 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23064 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23065 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23066 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23067 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23068 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23069 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23070 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23071 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23072 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23073 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23074 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23075 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23076 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23077 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23078 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23079 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23080 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23081 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23082 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23083 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23084 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23085 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23086 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23087 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23088 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23089 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23090 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23091 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23092 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23093 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23094 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23095 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23096 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23097 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23098 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23099 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23100 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23101 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23102 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23103 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23104 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23105 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23106 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23107 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23108 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23109 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23110 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23111 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23112 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23113 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23114 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23115 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23116 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23117 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23118 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23119 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23120 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23121 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23122 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23123 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23124 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23125 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23126 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23127 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23128 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23129 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23130 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23131 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23132 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23133 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23134 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23135 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23136 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23137 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23138 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23139 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23140 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23141 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23142 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23143 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23144 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23145 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23146 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23147 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23148 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23149 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23150 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23151 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23152 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23153 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23154 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23155 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23156 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23157 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23158 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23159 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23160 SWIG_Python_SetConstant(d, "STC_LEX_ASP",SWIG_From_int(static_cast< int >(29)));
23161 SWIG_Python_SetConstant(d, "STC_LEX_PHP",SWIG_From_int(static_cast< int >(30)));
23162 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23163 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23164 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23165 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23166 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23167 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23168 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23169 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23170 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23171 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23172 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23173 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23174 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23175 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23176 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23177 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23178 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23179 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23180 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23181 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23182 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23183 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23184 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23185 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23186 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23187 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23188 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23189 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23190 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23191 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23192 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23193 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23194 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23195 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23196 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23197 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23198 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23199 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23200 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23201 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23202 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23203 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23204 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23205 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23206 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23207 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23208 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23209 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23210 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23211 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23212 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23213 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23214 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23215 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23216 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23217 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23218 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23219 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23220 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23221 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23222 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23223 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23224 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23225 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23226 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23227 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23228 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23229 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23230 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23231 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23232 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23233 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23234 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23235 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23236 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23237 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23238 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23239 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23240 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23241 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23242 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23243 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23244 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23245 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23246 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23247 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23248 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23249 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23250 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23251 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23252 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23253 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23254 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23255 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23256 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23257 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23258 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23259 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23260 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23261 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23262 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23263 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23264 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23265 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23266 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23267 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23268 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23269 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23270 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23271 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23272 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23273 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23274 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23275 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23276 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23277 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23278 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23279 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23280 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23281 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23282 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23283 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23284 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23285 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23286 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23287 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23288 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23289 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23290 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23291 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23292 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23293 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23294 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23295 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23296 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23297 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23298 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23299 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23300 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23301 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23302 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23303 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23304 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23305 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23306 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23307 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23308 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23309 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23310 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23311 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23312 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23313 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23314 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23315 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23316 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23317 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23318 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23319 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23320 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23321 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23322 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23323 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23324 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23325 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23326 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23327 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23328 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23329 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23330 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23331 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23332 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23333 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23334 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23335 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23336 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23337 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23338 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23339 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23340 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23341 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23342 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23343 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23344 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23345 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23346 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23347 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23348 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23349 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23350 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23351 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23352 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23353 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23354 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23355 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23356 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23357 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23358 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23359 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23360 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23361 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23362 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23363 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23364 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23365 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23366 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23367 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23368 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23369 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23370 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23371 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23372 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23373 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23374 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23375 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23376 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23377 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23378 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23379 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23380 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23381 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23382 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23383 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23384 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23385 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23386 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23387 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23388 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23389 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23390 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23391 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23392 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23393 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23394 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23395 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23396 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23397 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23398 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23399 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23400 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23401 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23402 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23403 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23404 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23405 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23406 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23407 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23408 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23409 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23410 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23411 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23412 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23413 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23414 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23415 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23416 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23417 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23418 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23419 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23420 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23421 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23422 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23423 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23424 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23425 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23426 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23427 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23428 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23429 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23430 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23431 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23432 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23433 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23434 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23435 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23436 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23437 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23438 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23439 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23440 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23441 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23442 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23443 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23444 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23445 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23446 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23447 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23448 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23449 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23450 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23451 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23452 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23453 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23454 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23455 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23456 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23457 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23458 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23459 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23460 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23461 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23462 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23463 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23464 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23465 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23466 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23467 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23468 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23469 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23470 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23471 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23472 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23473 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23474 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23475 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23476 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23477 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23478 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23479 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23480 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23481 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23482 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23483 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23484 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23485 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23486 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23487 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23488 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23489 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23490 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23491 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23492 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23493 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23494 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23495 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23496 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23497 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23498 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23499 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23500 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23501 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23502 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23503 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23504 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23505 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23506 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23507 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23508 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23509 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23510 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23511 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23512 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23513 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23514 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23515 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23516 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23517 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23518 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23519 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23520 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23521 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23522 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23523 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23524 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23525 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23526 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23527 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23528 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23529 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23530 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23531 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23532 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23533 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23534 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23535 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23536 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23537 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23538 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23539 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23540 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23541 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23542 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23543 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23544 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23545 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23546 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23547 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23548 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23549 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23550 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23551 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23552 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23553 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23554 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23555 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23556 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23557 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23558 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23559 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23560 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23561 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23562 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23563 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23564 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23565 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23566 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23567 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23568 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23569 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23570 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23571 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23572 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23573 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23574 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23575 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23576 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23577 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23578 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23579 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23580 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23581 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23582 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23583 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23584 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23585 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23586 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23587 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23588 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23589 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23590 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23591 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23592 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23593 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23594 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23595 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23596 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23597 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23598 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23599 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23600 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23601 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23602 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23603 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23604 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23605 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23606 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23607 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23608 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23609 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23610 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23611 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23612 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23613 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23614 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23615 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23616 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23617 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23618 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23619 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23620 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23621 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23622 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23623 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23624 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23625 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23626 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23627 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23628 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23629 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23630 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23631 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23632 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23633 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23634 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23635 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23636 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23637 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23638 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23639 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23640 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23641 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23642 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23643 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23644 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23645 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23646 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23647 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23648 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23649 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23650 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23651 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23652 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23653 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23654 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23655 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23656 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23657 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23658 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23659 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23660 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23661 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23662 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23663 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23664 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23665 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23666 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23667 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23668 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23669 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23670 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23671 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23672 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23673 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23674 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23675 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23676 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23677 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23678 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23679 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23680 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23681 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23682 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23683 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23684 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23685 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
23686 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
23687 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
23688 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23689 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23690 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
23691 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
23692 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
23693 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
23694 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
23695 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
23696 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
23697 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
23698 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
23699 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
23700 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
23701 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
23702 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
23703 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
23704 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
23705 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
23706 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
23707 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
23708 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23709 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
23710 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
23711 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
23712 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
23713 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
23714 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
23715 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
23716 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
23717 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
23718 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
23719 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
23720 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
23721 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
23722 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
23723 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
23724 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
23725 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23726 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
23727 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
23728 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
23729 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
23730 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
23731 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
23732 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
23733 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
23734 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23735 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
23736 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
23737 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
23738 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
23739 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
23740 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
23741 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
23742 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23743 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
23744 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
23745 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
23746 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
23747 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
23748 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
23749 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23750 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
23751 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23752 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23753 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
23754 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
23755 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
23756 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
23757 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
23758 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23759 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
23760 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
23761 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
23762 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
23763 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
23764 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23765 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
23766 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
23767 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
23768 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
23769 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
23770 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
23771 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23772 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
23773 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
23774 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
23775 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23776 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
23777 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23778 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
23779 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
23780 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
23781 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
23782 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
23783 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
23784 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
23785 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
23786 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23787 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23788 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
23789 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23790 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
23791 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23792 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23793 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
23794 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
23795 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
23796 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
23797 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
23798 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
23799 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
23800 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
23801 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
23802 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
23803 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23804 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
23805 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23806 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
23807 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
23808 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
23809 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
23810 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
23811 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
23812 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23813 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23814 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23815 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23816 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
23817 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23818 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
23819 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
23820 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
23821 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
23822 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
23823 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
23824 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
23825 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
23826 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
23827 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
23828 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23829 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23830 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23831 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
23832 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
23833 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
23834 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
23835 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
23836 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
23837 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
23838 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23839 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
23840 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23841 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
23842 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
23843 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
23844 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
23845 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
23846 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
23847 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23848 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23849 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23850 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23851 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
23852 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
23853 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
23854 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23855 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
23856 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23857 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
23858 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
23859 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23860 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
23861 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
23862 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23863 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
23864 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
23865 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23866 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
23867 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
23868 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
23869 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23870 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23871 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23872 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23873 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
23874 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23875 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
23876 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
23877 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
23878 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
23879 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
23880 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
23881 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
23882 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23883 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
23884 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23885 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
23886 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
23887 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
23888 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
23889 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23890 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23891 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
23892 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
23893 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
23894 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
23895 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
23896 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23897 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
23898 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23899 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
23900 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
23901 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
23902 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23903 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
23904 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
23905 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
23906 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23907 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23908 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23909 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
23910 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23911 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
23912 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23913 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23914 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23915 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
23916 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
23917 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
23918 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
23919 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
23920 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
23921 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
23922 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23923 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
23924 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
23925 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23926 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
23927 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
23928 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
23929 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23930 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
23931 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
23932 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
23933 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
23934 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
23935 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
23936 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
23937 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23938 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
23939 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
23940 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23941 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
23942 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23943 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
23944 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
23945 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
23946 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
23947 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
23948 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23949 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
23950 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
23951 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
23952 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
23953 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
23954 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23955 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23956 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23957 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
23958 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
23959 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23960 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23961 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
23962 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23963 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
23964 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
23965 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
23966 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23967 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
23968 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
23969 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
23970 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
23971 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
23972 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
23973 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
23974 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23975 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23976 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
23977 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
23978 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23979 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23980 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
23981 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
23982 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
23983 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
23984 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
23985 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
23986 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
23987 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
23988 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
23989 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
23990 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
23991 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
23992 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
23993 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
23994 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
23995 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
23996 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
23997 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
23998 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
23999 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24000 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24001 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24002 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24003 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24004 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24005 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24006 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24007 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24008 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24009 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24010 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24011 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24012 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24013 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24014 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24015 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24016 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24017 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24018 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24019 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24020 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24021 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24022 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24023 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24024 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24025 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24026 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24027 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24028 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24029 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24030 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24031 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24032 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24033 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24034 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24035 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24036 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24037 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24038 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24039 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24040 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24041 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24042 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24043 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24044 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24045 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24046 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24047 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24048 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24049 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24050 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24051 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24052 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24053 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24054 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24055 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24056 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24057 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24058 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24059 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24060 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24061 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24062 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24063 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24064 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24065 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24066 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24067 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24068 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24069 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24070 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24071 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24072 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24073 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24074 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24075 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24076 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24077 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24078 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24079 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24080 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24081 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24082 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24083 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24084 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24085 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24086 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24087 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24088 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24089 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24090 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24091 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24092 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24093 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24094 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24095 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24096 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24097 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24098 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24099 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24100 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24101 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24102 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24103 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24104 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24105 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24106 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24107 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24108 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24109 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24110 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24111 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24112 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24113 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24114 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24115 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24116 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24117 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24118 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24119 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24120 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24121 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24122 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24123 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24124 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24125 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24126 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24127 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24128 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24129 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24130 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24131 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24132 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24133 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24134 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24135 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24136 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24137 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24138 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24139 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24140 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24141 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24142 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24143 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24144 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24145 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24146 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24147 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24148 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24149 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24150 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24151 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24152 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24153 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24154 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24155 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24156 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24157 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24158 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24159 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24160 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24161 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24162 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24163 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24164 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24165 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24166 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24167 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24168 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24169 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24170 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24171 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24172 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24173 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24174 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24175 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24176 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24177 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24178 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24179 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24180 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24181 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24182 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24183 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24184 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24185 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24186 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24187 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24188 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24189 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24190 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24191 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24192 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24193 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24194 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24195 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24196 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24197 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24198 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24199
24200
24201 }
24202