]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/gtk/stc_wrap.cpp
update the popup menu item when it's [un]checked too, as it already happens for the...
[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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBusyInfo swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2482 #define SWIGTYPE_p_wxClipboard swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2488 #define SWIGTYPE_p_wxControl swig_types[22]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2490 #define SWIGTYPE_p_wxDC swig_types[24]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[28]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxEvent swig_types[30]
2497 #define SWIGTYPE_p_wxEventBlocker swig_types[31]
2498 #define SWIGTYPE_p_wxEvtHandler swig_types[32]
2499 #define SWIGTYPE_p_wxFSFile swig_types[33]
2500 #define SWIGTYPE_p_wxFileHistory swig_types[34]
2501 #define SWIGTYPE_p_wxFileSystem swig_types[35]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[36]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[37]
2504 #define SWIGTYPE_p_wxFont swig_types[38]
2505 #define SWIGTYPE_p_wxGBSizerItem swig_types[39]
2506 #define SWIGTYPE_p_wxGIFHandler swig_types[40]
2507 #define SWIGTYPE_p_wxGridBagSizer swig_types[41]
2508 #define SWIGTYPE_p_wxGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxICOHandler swig_types[43]
2510 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
2511 #define SWIGTYPE_p_wxIdleEvent swig_types[45]
2512 #define SWIGTYPE_p_wxImage swig_types[46]
2513 #define SWIGTYPE_p_wxImageHandler swig_types[47]
2514 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[48]
2515 #define SWIGTYPE_p_wxInitDialogEvent swig_types[49]
2516 #define SWIGTYPE_p_wxJPEGHandler swig_types[50]
2517 #define SWIGTYPE_p_wxJoystickEvent swig_types[51]
2518 #define SWIGTYPE_p_wxKeyEvent swig_types[52]
2519 #define SWIGTYPE_p_wxLayoutConstraints swig_types[53]
2520 #define SWIGTYPE_p_wxMaximizeEvent swig_types[54]
2521 #define SWIGTYPE_p_wxMemoryBuffer swig_types[55]
2522 #define SWIGTYPE_p_wxMenu swig_types[56]
2523 #define SWIGTYPE_p_wxMenuBar swig_types[57]
2524 #define SWIGTYPE_p_wxMenuEvent swig_types[58]
2525 #define SWIGTYPE_p_wxMenuItem swig_types[59]
2526 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[60]
2527 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[61]
2528 #define SWIGTYPE_p_wxMouseEvent swig_types[62]
2529 #define SWIGTYPE_p_wxMoveEvent swig_types[63]
2530 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[64]
2531 #define SWIGTYPE_p_wxNcPaintEvent swig_types[65]
2532 #define SWIGTYPE_p_wxNotifyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxObject swig_types[67]
2534 #define SWIGTYPE_p_wxPCXHandler swig_types[68]
2535 #define SWIGTYPE_p_wxPNGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxPNMHandler swig_types[70]
2537 #define SWIGTYPE_p_wxPaintEvent swig_types[71]
2538 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[72]
2539 #define SWIGTYPE_p_wxPaperSize swig_types[73]
2540 #define SWIGTYPE_p_wxPoint swig_types[74]
2541 #define SWIGTYPE_p_wxPowerEvent swig_types[75]
2542 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
2543 #define SWIGTYPE_p_wxPyApp swig_types[77]
2544 #define SWIGTYPE_p_wxPyCommandEvent swig_types[78]
2545 #define SWIGTYPE_p_wxPyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxPyImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxPyProcess swig_types[81]
2548 #define SWIGTYPE_p_wxPySizer swig_types[82]
2549 #define SWIGTYPE_p_wxPyTimer swig_types[83]
2550 #define SWIGTYPE_p_wxPyValidator swig_types[84]
2551 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[85]
2552 #define SWIGTYPE_p_wxRect swig_types[86]
2553 #define SWIGTYPE_p_wxScrollBar swig_types[87]
2554 #define SWIGTYPE_p_wxScrollEvent swig_types[88]
2555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
2556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[90]
2557 #define SWIGTYPE_p_wxShowEvent swig_types[91]
2558 #define SWIGTYPE_p_wxSizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxSizer swig_types[93]
2560 #define SWIGTYPE_p_wxSizerItem swig_types[94]
2561 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[95]
2562 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[96]
2563 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[97]
2564 #define SWIGTYPE_p_wxStyledTextEvent swig_types[98]
2565 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxSystemOptions swig_types[100]
2567 #define SWIGTYPE_p_wxTGAHandler swig_types[101]
2568 #define SWIGTYPE_p_wxTIFFHandler swig_types[102]
2569 #define SWIGTYPE_p_wxTimerEvent swig_types[103]
2570 #define SWIGTYPE_p_wxToolTip swig_types[104]
2571 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[105]
2572 #define SWIGTYPE_p_wxValidator swig_types[106]
2573 #define SWIGTYPE_p_wxWindow swig_types[107]
2574 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[108]
2575 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxXPMHandler swig_types[110]
2577 static swig_type_info *swig_types[112];
2578 static swig_module_info swig_module = {swig_types, 111, 0, 0, 0, 0};
2579 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2580 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2581
2582 /* -------- TYPES TABLE (END) -------- */
2583
2584 #if (PY_VERSION_HEX <= 0x02000000)
2585 # if !defined(SWIG_PYTHON_CLASSIC)
2586 # error "This python version requires to use swig with the '-classic' option"
2587 # endif
2588 #endif
2589 #if (PY_VERSION_HEX <= 0x02020000)
2590 # error "This python version requires to use swig with the '-nomodern' option"
2591 #endif
2592 #if (PY_VERSION_HEX <= 0x02020000)
2593 # error "This python version requires to use swig with the '-nomodernargs' option"
2594 #endif
2595 #ifndef METH_O
2596 # error "This python version requires to use swig with the '-nofastunpack' option"
2597 #endif
2598
2599 /*-----------------------------------------------
2600 @(target):= _stc.so
2601 ------------------------------------------------*/
2602 #define SWIG_init init_stc
2603
2604 #define SWIG_name "_stc"
2605
2606 #define SWIGVERSION 0x010329
2607
2608
2609 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2610 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2611
2612
2613 #include <stdexcept>
2614
2615
2616 namespace swig {
2617 class PyObject_ptr {
2618 protected:
2619 PyObject *_obj;
2620
2621 public:
2622 PyObject_ptr() :_obj(0)
2623 {
2624 }
2625
2626 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2627 {
2628 Py_XINCREF(_obj);
2629 }
2630
2631 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2632 {
2633 if (initial_ref) Py_XINCREF(_obj);
2634 }
2635
2636 PyObject_ptr & operator=(const PyObject_ptr& item)
2637 {
2638 Py_XINCREF(item._obj);
2639 Py_XDECREF(_obj);
2640 _obj = item._obj;
2641 return *this;
2642 }
2643
2644 ~PyObject_ptr()
2645 {
2646 Py_XDECREF(_obj);
2647 }
2648
2649 operator PyObject *() const
2650 {
2651 return _obj;
2652 }
2653
2654 PyObject *operator->() const
2655 {
2656 return _obj;
2657 }
2658 };
2659 }
2660
2661
2662 namespace swig {
2663 struct PyObject_var : PyObject_ptr {
2664 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2665
2666 PyObject_var & operator = (PyObject* obj)
2667 {
2668 Py_XDECREF(_obj);
2669 _obj = obj;
2670 return *this;
2671 }
2672 };
2673 }
2674
2675
2676 #include "wx/wxPython/wxPython.h"
2677 #include "wx/wxPython/pyclasses.h"
2678 #include <wx/stc/stc.h>
2679
2680
2681 static const wxString wxPySTCNameStr(wxSTCNameStr);
2682
2683 #define SWIG_From_long PyInt_FromLong
2684
2685
2686 SWIGINTERNINLINE PyObject *
2687 SWIG_From_int (int value)
2688 {
2689 return SWIG_From_long (value);
2690 }
2691
2692
2693 #include <limits.h>
2694 #ifndef LLONG_MIN
2695 # define LLONG_MIN LONG_LONG_MIN
2696 #endif
2697 #ifndef LLONG_MAX
2698 # define LLONG_MAX LONG_LONG_MAX
2699 #endif
2700 #ifndef ULLONG_MAX
2701 # define ULLONG_MAX ULONG_LONG_MAX
2702 #endif
2703
2704
2705 SWIGINTERN int
2706 SWIG_AsVal_long (PyObject* obj, long* val)
2707 {
2708 if (PyNumber_Check(obj)) {
2709 if (val) *val = PyInt_AsLong(obj);
2710 return SWIG_OK;
2711 }
2712 return SWIG_TypeError;
2713 }
2714
2715
2716 SWIGINTERN int
2717 SWIG_AsVal_int (PyObject * obj, int *val)
2718 {
2719 long v;
2720 int res = SWIG_AsVal_long (obj, &v);
2721 if (SWIG_IsOK(res)) {
2722 if ((v < INT_MIN || v > INT_MAX)) {
2723 return SWIG_OverflowError;
2724 } else {
2725 if (val) *val = static_cast< int >(v);
2726 }
2727 }
2728 return res;
2729 }
2730
2731
2732 SWIGINTERN int
2733 SWIG_AsVal_bool (PyObject *obj, bool *val)
2734 {
2735 if (obj == Py_True) {
2736 if (val) *val = true;
2737 return SWIG_OK;
2738 } else if (obj == Py_False) {
2739 if (val) *val = false;
2740 return SWIG_OK;
2741 } else {
2742 long v = 0;
2743 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2744 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2745 return res;
2746 }
2747 }
2748
2749
2750 SWIGINTERN swig_type_info*
2751 SWIG_pchar_descriptor()
2752 {
2753 static int init = 0;
2754 static swig_type_info* info = 0;
2755 if (!init) {
2756 info = SWIG_TypeQuery("_p_char");
2757 init = 1;
2758 }
2759 return info;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
2765 {
2766 if (PyString_Check(obj)) {
2767 char *cstr; Py_ssize_t len;
2768 PyString_AsStringAndSize(obj, &cstr, &len);
2769 if (cptr) {
2770 if (alloc) {
2771 /*
2772 In python the user should not be able to modify the inner
2773 string representation. To warranty that, if you define
2774 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
2775 buffer is always returned.
2776
2777 The default behavior is just to return the pointer value,
2778 so, be careful.
2779 */
2780 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
2781 if (*alloc != SWIG_OLDOBJ)
2782 #else
2783 if (*alloc == SWIG_NEWOBJ)
2784 #endif
2785 {
2786 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2787 *alloc = SWIG_NEWOBJ;
2788 }
2789 else {
2790 *cptr = cstr;
2791 *alloc = SWIG_OLDOBJ;
2792 }
2793 } else {
2794 *cptr = PyString_AsString(obj);
2795 }
2796 }
2797 if (psize) *psize = len + 1;
2798 return SWIG_OK;
2799 } else {
2800 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
2801 if (pchar_descriptor) {
2802 void* vptr = 0;
2803 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
2804 if (cptr) *cptr = (char *) vptr;
2805 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
2806 if (alloc) *alloc = SWIG_OLDOBJ;
2807 return SWIG_OK;
2808 }
2809 }
2810 }
2811 return SWIG_TypeError;
2812 }
2813
2814
2815
2816
2817 #ifdef __cplusplus
2818 extern "C" {
2819 #endif
2820 SWIGINTERN int STCNameStr_set(PyObject *) {
2821 SWIG_Error(SWIG_AttributeError,"Variable STCNameStr is read-only.");
2822 return 1;
2823 }
2824
2825
2826 SWIGINTERN PyObject *STCNameStr_get(void) {
2827 PyObject *pyobj = 0;
2828
2829 {
2830 #if wxUSE_UNICODE
2831 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2832 #else
2833 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
2834 #endif
2835 }
2836 return pyobj;
2837 }
2838
2839
2840 SWIGINTERN PyObject *_wrap_new_StyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj = 0;
2842 wxWindow *arg1 = (wxWindow *) 0 ;
2843 int arg2 = (int) wxID_ANY ;
2844 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2845 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2846 wxSize const &arg4_defvalue = wxDefaultSize ;
2847 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2848 long arg5 = (long) 0 ;
2849 wxString const &arg6_defvalue = wxPySTCNameStr ;
2850 wxString *arg6 = (wxString *) &arg6_defvalue ;
2851 wxStyledTextCtrl *result = 0 ;
2852 void *argp1 = 0 ;
2853 int res1 = 0 ;
2854 int val2 ;
2855 int ecode2 = 0 ;
2856 wxPoint temp3 ;
2857 wxSize temp4 ;
2858 long val5 ;
2859 int ecode5 = 0 ;
2860 bool temp6 = false ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 PyObject * obj2 = 0 ;
2864 PyObject * obj3 = 0 ;
2865 PyObject * obj4 = 0 ;
2866 PyObject * obj5 = 0 ;
2867 char * kwnames[] = {
2868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2869 };
2870
2871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
2872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
2873 if (!SWIG_IsOK(res1)) {
2874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StyledTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
2875 }
2876 arg1 = reinterpret_cast< wxWindow * >(argp1);
2877 if (obj1) {
2878 ecode2 = SWIG_AsVal_int(obj1, &val2);
2879 if (!SWIG_IsOK(ecode2)) {
2880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextCtrl" "', expected argument " "2"" of type '" "int""'");
2881 }
2882 arg2 = static_cast< int >(val2);
2883 }
2884 if (obj2) {
2885 {
2886 arg3 = &temp3;
2887 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2888 }
2889 }
2890 if (obj3) {
2891 {
2892 arg4 = &temp4;
2893 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2894 }
2895 }
2896 if (obj4) {
2897 ecode5 = SWIG_AsVal_long(obj4, &val5);
2898 if (!SWIG_IsOK(ecode5)) {
2899 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StyledTextCtrl" "', expected argument " "5"" of type '" "long""'");
2900 }
2901 arg5 = static_cast< long >(val5);
2902 }
2903 if (obj5) {
2904 {
2905 arg6 = wxString_in_helper(obj5);
2906 if (arg6 == NULL) SWIG_fail;
2907 temp6 = true;
2908 }
2909 }
2910 {
2911 if (!wxPyCheckForApp()) SWIG_fail;
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_NEW | 0 );
2918 {
2919 if (temp6)
2920 delete arg6;
2921 }
2922 return resultobj;
2923 fail:
2924 {
2925 if (temp6)
2926 delete arg6;
2927 }
2928 return NULL;
2929 }
2930
2931
2932 SWIGINTERN PyObject *_wrap_new_PreStyledTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2933 PyObject *resultobj = 0;
2934 wxStyledTextCtrl *result = 0 ;
2935
2936 if (!SWIG_Python_UnpackTuple(args,"new_PreStyledTextCtrl",0,0,0)) SWIG_fail;
2937 {
2938 if (!wxPyCheckForApp()) SWIG_fail;
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_OWN | 0 );
2945 return resultobj;
2946 fail:
2947 return NULL;
2948 }
2949
2950
2951 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj = 0;
2953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2954 wxWindow *arg2 = (wxWindow *) 0 ;
2955 int arg3 = (int) wxID_ANY ;
2956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2958 wxSize const &arg5_defvalue = wxDefaultSize ;
2959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2960 long arg6 = (long) 0 ;
2961 wxString const &arg7_defvalue = wxSTCNameStr ;
2962 wxString *arg7 = (wxString *) &arg7_defvalue ;
2963 bool result;
2964 void *argp1 = 0 ;
2965 int res1 = 0 ;
2966 void *argp2 = 0 ;
2967 int res2 = 0 ;
2968 int val3 ;
2969 int ecode3 = 0 ;
2970 wxPoint temp4 ;
2971 wxSize temp5 ;
2972 long val6 ;
2973 int ecode6 = 0 ;
2974 bool temp7 = false ;
2975 PyObject * obj0 = 0 ;
2976 PyObject * obj1 = 0 ;
2977 PyObject * obj2 = 0 ;
2978 PyObject * obj3 = 0 ;
2979 PyObject * obj4 = 0 ;
2980 PyObject * obj5 = 0 ;
2981 PyObject * obj6 = 0 ;
2982 char * kwnames[] = {
2983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2984 };
2985
2986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
2987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
2988 if (!SWIG_IsOK(res1)) {
2989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Create" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
2990 }
2991 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
2992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
2993 if (!SWIG_IsOK(res2)) {
2994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
2995 }
2996 arg2 = reinterpret_cast< wxWindow * >(argp2);
2997 if (obj2) {
2998 ecode3 = SWIG_AsVal_int(obj2, &val3);
2999 if (!SWIG_IsOK(ecode3)) {
3000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
3001 }
3002 arg3 = static_cast< int >(val3);
3003 }
3004 if (obj3) {
3005 {
3006 arg4 = &temp4;
3007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3008 }
3009 }
3010 if (obj4) {
3011 {
3012 arg5 = &temp5;
3013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3014 }
3015 }
3016 if (obj5) {
3017 ecode6 = SWIG_AsVal_long(obj5, &val6);
3018 if (!SWIG_IsOK(ecode6)) {
3019 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_Create" "', expected argument " "6"" of type '" "long""'");
3020 }
3021 arg6 = static_cast< long >(val6);
3022 }
3023 if (obj6) {
3024 {
3025 arg7 = wxString_in_helper(obj6);
3026 if (arg7 == NULL) SWIG_fail;
3027 temp7 = true;
3028 }
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 {
3037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3038 }
3039 {
3040 if (temp7)
3041 delete arg7;
3042 }
3043 return resultobj;
3044 fail:
3045 {
3046 if (temp7)
3047 delete arg7;
3048 }
3049 return NULL;
3050 }
3051
3052
3053 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj = 0;
3055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3056 wxString *arg2 = 0 ;
3057 void *argp1 = 0 ;
3058 int res1 = 0 ;
3059 bool temp2 = false ;
3060 PyObject * obj0 = 0 ;
3061 PyObject * obj1 = 0 ;
3062 char * kwnames[] = {
3063 (char *) "self",(char *) "text", NULL
3064 };
3065
3066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) SWIG_fail;
3067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3068 if (!SWIG_IsOK(res1)) {
3069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3070 }
3071 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3072 {
3073 arg2 = wxString_in_helper(obj1);
3074 if (arg2 == NULL) SWIG_fail;
3075 temp2 = true;
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->AddText((wxString const &)*arg2);
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 resultobj = SWIG_Py_Void();
3084 {
3085 if (temp2)
3086 delete arg2;
3087 }
3088 return resultobj;
3089 fail:
3090 {
3091 if (temp2)
3092 delete arg2;
3093 }
3094 return NULL;
3095 }
3096
3097
3098 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj = 0;
3100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3101 wxMemoryBuffer *arg2 = 0 ;
3102 void *argp1 = 0 ;
3103 int res1 = 0 ;
3104 bool temp2 = false ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 char * kwnames[] = {
3108 (char *) "self",(char *) "data", NULL
3109 };
3110
3111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) SWIG_fail;
3112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3113 if (!SWIG_IsOK(res1)) {
3114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3115 }
3116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3117 {
3118 if (!PyString_Check(obj1)) {
3119 PyErr_SetString(PyExc_TypeError, "String buffer expected");
3120 SWIG_fail;
3121 }
3122 char* str = PyString_AS_STRING(obj1);
3123 int len = PyString_GET_SIZE(obj1);
3124 arg2 = new wxMemoryBuffer(len);
3125 temp2 = true;
3126 memcpy(arg2->GetData(), str, len);
3127 arg2->SetDataLen(len);
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 resultobj = SWIG_Py_Void();
3136 {
3137 if (temp2) delete arg2;
3138 }
3139 return resultobj;
3140 fail:
3141 {
3142 if (temp2) delete arg2;
3143 }
3144 return NULL;
3145 }
3146
3147
3148 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj = 0;
3150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3151 int arg2 ;
3152 wxString *arg3 = 0 ;
3153 void *argp1 = 0 ;
3154 int res1 = 0 ;
3155 int val2 ;
3156 int ecode2 = 0 ;
3157 bool temp3 = false ;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 PyObject * obj2 = 0 ;
3161 char * kwnames[] = {
3162 (char *) "self",(char *) "pos",(char *) "text", NULL
3163 };
3164
3165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3167 if (!SWIG_IsOK(res1)) {
3168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3169 }
3170 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3171 ecode2 = SWIG_AsVal_int(obj1, &val2);
3172 if (!SWIG_IsOK(ecode2)) {
3173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertText" "', expected argument " "2"" of type '" "int""'");
3174 }
3175 arg2 = static_cast< int >(val2);
3176 {
3177 arg3 = wxString_in_helper(obj2);
3178 if (arg3 == NULL) SWIG_fail;
3179 temp3 = true;
3180 }
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 (arg1)->InsertText(arg2,(wxString const &)*arg3);
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 resultobj = SWIG_Py_Void();
3188 {
3189 if (temp3)
3190 delete arg3;
3191 }
3192 return resultobj;
3193 fail:
3194 {
3195 if (temp3)
3196 delete arg3;
3197 }
3198 return NULL;
3199 }
3200
3201
3202 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3203 PyObject *resultobj = 0;
3204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3205 void *argp1 = 0 ;
3206 int res1 = 0 ;
3207 PyObject *swig_obj[1] ;
3208
3209 if (!args) SWIG_fail;
3210 swig_obj[0] = args;
3211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3212 if (!SWIG_IsOK(res1)) {
3213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3214 }
3215 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->ClearAll();
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 resultobj = SWIG_Py_Void();
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3230 PyObject *resultobj = 0;
3231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3232 void *argp1 = 0 ;
3233 int res1 = 0 ;
3234 PyObject *swig_obj[1] ;
3235
3236 if (!args) SWIG_fail;
3237 swig_obj[0] = args;
3238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3239 if (!SWIG_IsOK(res1)) {
3240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearDocumentStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3241 }
3242 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->ClearDocumentStyle();
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 resultobj = SWIG_Py_Void();
3250 return resultobj;
3251 fail:
3252 return NULL;
3253 }
3254
3255
3256 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3257 PyObject *resultobj = 0;
3258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3259 int result;
3260 void *argp1 = 0 ;
3261 int res1 = 0 ;
3262 PyObject *swig_obj[1] ;
3263
3264 if (!args) SWIG_fail;
3265 swig_obj[0] = args;
3266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3267 if (!SWIG_IsOK(res1)) {
3268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3269 }
3270 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 result = (int)(arg1)->GetLength();
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 resultobj = SWIG_From_int(static_cast< int >(result));
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj = 0;
3286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3287 int arg2 ;
3288 int result;
3289 void *argp1 = 0 ;
3290 int res1 = 0 ;
3291 int val2 ;
3292 int ecode2 = 0 ;
3293 PyObject * obj0 = 0 ;
3294 PyObject * obj1 = 0 ;
3295 char * kwnames[] = {
3296 (char *) "self",(char *) "pos", NULL
3297 };
3298
3299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) SWIG_fail;
3300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3301 if (!SWIG_IsOK(res1)) {
3302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3303 }
3304 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3305 ecode2 = SWIG_AsVal_int(obj1, &val2);
3306 if (!SWIG_IsOK(ecode2)) {
3307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetCharAt" "', expected argument " "2"" of type '" "int""'");
3308 }
3309 arg2 = static_cast< int >(val2);
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 result = (int)(arg1)->GetCharAt(arg2);
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 resultobj = SWIG_From_int(static_cast< int >(result));
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3324 PyObject *resultobj = 0;
3325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3326 int result;
3327 void *argp1 = 0 ;
3328 int res1 = 0 ;
3329 PyObject *swig_obj[1] ;
3330
3331 if (!args) SWIG_fail;
3332 swig_obj[0] = args;
3333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3334 if (!SWIG_IsOK(res1)) {
3335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3336 }
3337 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (int)(arg1)->GetCurrentPos();
3341 wxPyEndAllowThreads(__tstate);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
3344 resultobj = SWIG_From_int(static_cast< int >(result));
3345 return resultobj;
3346 fail:
3347 return NULL;
3348 }
3349
3350
3351 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3352 PyObject *resultobj = 0;
3353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3354 int result;
3355 void *argp1 = 0 ;
3356 int res1 = 0 ;
3357 PyObject *swig_obj[1] ;
3358
3359 if (!args) SWIG_fail;
3360 swig_obj[0] = args;
3361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3362 if (!SWIG_IsOK(res1)) {
3363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3364 }
3365 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 result = (int)(arg1)->GetAnchor();
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 resultobj = SWIG_From_int(static_cast< int >(result));
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj = 0;
3381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3382 int arg2 ;
3383 int result;
3384 void *argp1 = 0 ;
3385 int res1 = 0 ;
3386 int val2 ;
3387 int ecode2 = 0 ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj1 = 0 ;
3390 char * kwnames[] = {
3391 (char *) "self",(char *) "pos", NULL
3392 };
3393
3394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) SWIG_fail;
3395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3396 if (!SWIG_IsOK(res1)) {
3397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3398 }
3399 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3400 ecode2 = SWIG_AsVal_int(obj1, &val2);
3401 if (!SWIG_IsOK(ecode2)) {
3402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyleAt" "', expected argument " "2"" of type '" "int""'");
3403 }
3404 arg2 = static_cast< int >(val2);
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (int)(arg1)->GetStyleAt(arg2);
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
3411 resultobj = SWIG_From_int(static_cast< int >(result));
3412 return resultobj;
3413 fail:
3414 return NULL;
3415 }
3416
3417
3418 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3419 PyObject *resultobj = 0;
3420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3421 void *argp1 = 0 ;
3422 int res1 = 0 ;
3423 PyObject *swig_obj[1] ;
3424
3425 if (!args) SWIG_fail;
3426 swig_obj[0] = args;
3427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3428 if (!SWIG_IsOK(res1)) {
3429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Redo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3430 }
3431 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 (arg1)->Redo();
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 resultobj = SWIG_Py_Void();
3439 return resultobj;
3440 fail:
3441 return NULL;
3442 }
3443
3444
3445 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj = 0;
3447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3448 bool arg2 ;
3449 void *argp1 = 0 ;
3450 int res1 = 0 ;
3451 bool val2 ;
3452 int ecode2 = 0 ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 char * kwnames[] = {
3456 (char *) "self",(char *) "collectUndo", NULL
3457 };
3458
3459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) SWIG_fail;
3460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3461 if (!SWIG_IsOK(res1)) {
3462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3463 }
3464 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
3466 if (!SWIG_IsOK(ecode2)) {
3467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUndoCollection" "', expected argument " "2"" of type '" "bool""'");
3468 }
3469 arg2 = static_cast< bool >(val2);
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetUndoCollection(arg2);
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 resultobj = SWIG_Py_Void();
3477 return resultobj;
3478 fail:
3479 return NULL;
3480 }
3481
3482
3483 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3484 PyObject *resultobj = 0;
3485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3486 void *argp1 = 0 ;
3487 int res1 = 0 ;
3488 PyObject *swig_obj[1] ;
3489
3490 if (!args) SWIG_fail;
3491 swig_obj[0] = args;
3492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3495 }
3496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 (arg1)->SelectAll();
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 resultobj = SWIG_Py_Void();
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3511 PyObject *resultobj = 0;
3512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3513 void *argp1 = 0 ;
3514 int res1 = 0 ;
3515 PyObject *swig_obj[1] ;
3516
3517 if (!args) SWIG_fail;
3518 swig_obj[0] = args;
3519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3520 if (!SWIG_IsOK(res1)) {
3521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSavePoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3522 }
3523 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 (arg1)->SetSavePoint();
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 resultobj = SWIG_Py_Void();
3531 return resultobj;
3532 fail:
3533 return NULL;
3534 }
3535
3536
3537 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj = 0;
3539 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3540 int arg2 ;
3541 int arg3 ;
3542 wxMemoryBuffer result;
3543 void *argp1 = 0 ;
3544 int res1 = 0 ;
3545 int val2 ;
3546 int ecode2 = 0 ;
3547 int val3 ;
3548 int ecode3 = 0 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 PyObject * obj2 = 0 ;
3552 char * kwnames[] = {
3553 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
3554 };
3555
3556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3558 if (!SWIG_IsOK(res1)) {
3559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3560 }
3561 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3562 ecode2 = SWIG_AsVal_int(obj1, &val2);
3563 if (!SWIG_IsOK(ecode2)) {
3564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "2"" of type '" "int""'");
3565 }
3566 arg2 = static_cast< int >(val2);
3567 ecode3 = SWIG_AsVal_int(obj2, &val3);
3568 if (!SWIG_IsOK(ecode3)) {
3569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetStyledText" "', expected argument " "3"" of type '" "int""'");
3570 }
3571 arg3 = static_cast< int >(val3);
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 result = (arg1)->GetStyledText(arg2,arg3);
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
3580 }
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3588 PyObject *resultobj = 0;
3589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3590 bool result;
3591 void *argp1 = 0 ;
3592 int res1 = 0 ;
3593 PyObject *swig_obj[1] ;
3594
3595 if (!args) SWIG_fail;
3596 swig_obj[0] = args;
3597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3598 if (!SWIG_IsOK(res1)) {
3599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3600 }
3601 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3602 {
3603 PyThreadState* __tstate = wxPyBeginAllowThreads();
3604 result = (bool)(arg1)->CanRedo();
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3610 }
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj = 0;
3619 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3620 int arg2 ;
3621 int result;
3622 void *argp1 = 0 ;
3623 int res1 = 0 ;
3624 int val2 ;
3625 int ecode2 = 0 ;
3626 PyObject * obj0 = 0 ;
3627 PyObject * obj1 = 0 ;
3628 char * kwnames[] = {
3629 (char *) "self",(char *) "handle", NULL
3630 };
3631
3632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3634 if (!SWIG_IsOK(res1)) {
3635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3636 }
3637 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3638 ecode2 = SWIG_AsVal_int(obj1, &val2);
3639 if (!SWIG_IsOK(ecode2)) {
3640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerLineFromHandle" "', expected argument " "2"" of type '" "int""'");
3641 }
3642 arg2 = static_cast< int >(val2);
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (int)(arg1)->MarkerLineFromHandle(arg2);
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 resultobj = SWIG_From_int(static_cast< int >(result));
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj = 0;
3658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3659 int arg2 ;
3660 void *argp1 = 0 ;
3661 int res1 = 0 ;
3662 int val2 ;
3663 int ecode2 = 0 ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 char * kwnames[] = {
3667 (char *) "self",(char *) "handle", NULL
3668 };
3669
3670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) SWIG_fail;
3671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3672 if (!SWIG_IsOK(res1)) {
3673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3674 }
3675 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3676 ecode2 = SWIG_AsVal_int(obj1, &val2);
3677 if (!SWIG_IsOK(ecode2)) {
3678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteHandle" "', expected argument " "2"" of type '" "int""'");
3679 }
3680 arg2 = static_cast< int >(val2);
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 (arg1)->MarkerDeleteHandle(arg2);
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 resultobj = SWIG_Py_Void();
3688 return resultobj;
3689 fail:
3690 return NULL;
3691 }
3692
3693
3694 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3695 PyObject *resultobj = 0;
3696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3697 bool result;
3698 void *argp1 = 0 ;
3699 int res1 = 0 ;
3700 PyObject *swig_obj[1] ;
3701
3702 if (!args) SWIG_fail;
3703 swig_obj[0] = args;
3704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3705 if (!SWIG_IsOK(res1)) {
3706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUndoCollection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3707 }
3708 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 result = (bool)(arg1)->GetUndoCollection();
3712 wxPyEndAllowThreads(__tstate);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 {
3716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3717 }
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3725 PyObject *resultobj = 0;
3726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3727 int result;
3728 void *argp1 = 0 ;
3729 int res1 = 0 ;
3730 PyObject *swig_obj[1] ;
3731
3732 if (!args) SWIG_fail;
3733 swig_obj[0] = args;
3734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3735 if (!SWIG_IsOK(res1)) {
3736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3737 }
3738 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 result = (int)(arg1)->GetViewWhiteSpace();
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 resultobj = SWIG_From_int(static_cast< int >(result));
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj = 0;
3754 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3755 int arg2 ;
3756 void *argp1 = 0 ;
3757 int res1 = 0 ;
3758 int val2 ;
3759 int ecode2 = 0 ;
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj1 = 0 ;
3762 char * kwnames[] = {
3763 (char *) "self",(char *) "viewWS", NULL
3764 };
3765
3766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) SWIG_fail;
3767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3768 if (!SWIG_IsOK(res1)) {
3769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3770 }
3771 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3772 ecode2 = SWIG_AsVal_int(obj1, &val2);
3773 if (!SWIG_IsOK(ecode2)) {
3774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewWhiteSpace" "', expected argument " "2"" of type '" "int""'");
3775 }
3776 arg2 = static_cast< int >(val2);
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 (arg1)->SetViewWhiteSpace(arg2);
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 resultobj = SWIG_Py_Void();
3784 return resultobj;
3785 fail:
3786 return NULL;
3787 }
3788
3789
3790 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3791 PyObject *resultobj = 0;
3792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3793 wxPoint arg2 ;
3794 int result;
3795 void *argp1 = 0 ;
3796 int res1 = 0 ;
3797 void *argp2 ;
3798 int res2 = 0 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char * kwnames[] = {
3802 (char *) "self",(char *) "pt", NULL
3803 };
3804
3805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) SWIG_fail;
3806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3807 if (!SWIG_IsOK(res1)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3809 }
3810 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3811 {
3812 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPoint, 0 | 0);
3813 if (!SWIG_IsOK(res2)) {
3814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3815 }
3816 if (!argp2) {
3817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_PositionFromPoint" "', expected argument " "2"" of type '" "wxPoint""'");
3818 } else {
3819 wxPoint * temp = reinterpret_cast< wxPoint * >(argp2);
3820 arg2 = *temp;
3821 if (SWIG_IsNewObj(res2)) delete temp;
3822 }
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (int)(arg1)->PositionFromPoint(arg2);
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 resultobj = SWIG_From_int(static_cast< int >(result));
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj = 0;
3839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3840 int arg2 ;
3841 int arg3 ;
3842 int result;
3843 void *argp1 = 0 ;
3844 int res1 = 0 ;
3845 int val2 ;
3846 int ecode2 = 0 ;
3847 int val3 ;
3848 int ecode3 = 0 ;
3849 PyObject * obj0 = 0 ;
3850 PyObject * obj1 = 0 ;
3851 PyObject * obj2 = 0 ;
3852 char * kwnames[] = {
3853 (char *) "self",(char *) "x",(char *) "y", NULL
3854 };
3855
3856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3858 if (!SWIG_IsOK(res1)) {
3859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3860 }
3861 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3862 ecode2 = SWIG_AsVal_int(obj1, &val2);
3863 if (!SWIG_IsOK(ecode2)) {
3864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "2"" of type '" "int""'");
3865 }
3866 arg2 = static_cast< int >(val2);
3867 ecode3 = SWIG_AsVal_int(obj2, &val3);
3868 if (!SWIG_IsOK(ecode3)) {
3869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_PositionFromPointClose" "', expected argument " "3"" of type '" "int""'");
3870 }
3871 arg3 = static_cast< int >(val3);
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 resultobj = SWIG_From_int(static_cast< int >(result));
3879 return resultobj;
3880 fail:
3881 return NULL;
3882 }
3883
3884
3885 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj = 0;
3887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3888 int arg2 ;
3889 void *argp1 = 0 ;
3890 int res1 = 0 ;
3891 int val2 ;
3892 int ecode2 = 0 ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 char * kwnames[] = {
3896 (char *) "self",(char *) "line", NULL
3897 };
3898
3899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) SWIG_fail;
3900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3901 if (!SWIG_IsOK(res1)) {
3902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3903 }
3904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3905 ecode2 = SWIG_AsVal_int(obj1, &val2);
3906 if (!SWIG_IsOK(ecode2)) {
3907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoLine" "', expected argument " "2"" of type '" "int""'");
3908 }
3909 arg2 = static_cast< int >(val2);
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 (arg1)->GotoLine(arg2);
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 resultobj = SWIG_Py_Void();
3917 return resultobj;
3918 fail:
3919 return NULL;
3920 }
3921
3922
3923 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj = 0;
3925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3926 int arg2 ;
3927 void *argp1 = 0 ;
3928 int res1 = 0 ;
3929 int val2 ;
3930 int ecode2 = 0 ;
3931 PyObject * obj0 = 0 ;
3932 PyObject * obj1 = 0 ;
3933 char * kwnames[] = {
3934 (char *) "self",(char *) "pos", NULL
3935 };
3936
3937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) SWIG_fail;
3938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3939 if (!SWIG_IsOK(res1)) {
3940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3941 }
3942 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3943 ecode2 = SWIG_AsVal_int(obj1, &val2);
3944 if (!SWIG_IsOK(ecode2)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GotoPos" "', expected argument " "2"" of type '" "int""'");
3946 }
3947 arg2 = static_cast< int >(val2);
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 (arg1)->GotoPos(arg2);
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 resultobj = SWIG_Py_Void();
3955 return resultobj;
3956 fail:
3957 return NULL;
3958 }
3959
3960
3961 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj = 0;
3963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3964 int arg2 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 int val2 ;
3968 int ecode2 = 0 ;
3969 PyObject * obj0 = 0 ;
3970 PyObject * obj1 = 0 ;
3971 char * kwnames[] = {
3972 (char *) "self",(char *) "posAnchor", NULL
3973 };
3974
3975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
3976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
3977 if (!SWIG_IsOK(res1)) {
3978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
3979 }
3980 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
3981 ecode2 = SWIG_AsVal_int(obj1, &val2);
3982 if (!SWIG_IsOK(ecode2)) {
3983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetAnchor" "', expected argument " "2"" of type '" "int""'");
3984 }
3985 arg2 = static_cast< int >(val2);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetAnchor(arg2);
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4000 PyObject *resultobj = 0;
4001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4002 int *arg2 = (int *) 0 ;
4003 wxString result;
4004 void *argp1 = 0 ;
4005 int res1 = 0 ;
4006 int temp2 ;
4007 int res2 = SWIG_TMPOBJ ;
4008 PyObject *swig_obj[1] ;
4009
4010 arg2 = &temp2;
4011 if (!args) SWIG_fail;
4012 swig_obj[0] = args;
4013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4014 if (!SWIG_IsOK(res1)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4016 }
4017 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (arg1)->GetCurLine(arg2);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 #if wxUSE_UNICODE
4026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4027 #else
4028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4029 #endif
4030 }
4031 if (SWIG_IsTmpObj(res2)) {
4032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4033 } else {
4034 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4036 }
4037 return resultobj;
4038 fail:
4039 return NULL;
4040 }
4041
4042
4043 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4044 PyObject *resultobj = 0;
4045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4046 int result;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 PyObject *swig_obj[1] ;
4050
4051 if (!args) SWIG_fail;
4052 swig_obj[0] = args;
4053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4054 if (!SWIG_IsOK(res1)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndStyled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4056 }
4057 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 result = (int)(arg1)->GetEndStyled();
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 resultobj = SWIG_From_int(static_cast< int >(result));
4065 return resultobj;
4066 fail:
4067 return NULL;
4068 }
4069
4070
4071 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj = 0;
4073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4074 int arg2 ;
4075 void *argp1 = 0 ;
4076 int res1 = 0 ;
4077 int val2 ;
4078 int ecode2 = 0 ;
4079 PyObject * obj0 = 0 ;
4080 PyObject * obj1 = 0 ;
4081 char * kwnames[] = {
4082 (char *) "self",(char *) "eolMode", NULL
4083 };
4084
4085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) SWIG_fail;
4086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4087 if (!SWIG_IsOK(res1)) {
4088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4089 }
4090 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4091 ecode2 = SWIG_AsVal_int(obj1, &val2);
4092 if (!SWIG_IsOK(ecode2)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ConvertEOLs" "', expected argument " "2"" of type '" "int""'");
4094 }
4095 arg2 = static_cast< int >(val2);
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 (arg1)->ConvertEOLs(arg2);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_Py_Void();
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *resultobj = 0;
4111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4112 int result;
4113 void *argp1 = 0 ;
4114 int res1 = 0 ;
4115 PyObject *swig_obj[1] ;
4116
4117 if (!args) SWIG_fail;
4118 swig_obj[0] = args;
4119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4120 if (!SWIG_IsOK(res1)) {
4121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4122 }
4123 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 result = (int)(arg1)->GetEOLMode();
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 resultobj = SWIG_From_int(static_cast< int >(result));
4131 return resultobj;
4132 fail:
4133 return NULL;
4134 }
4135
4136
4137 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4138 PyObject *resultobj = 0;
4139 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4140 int arg2 ;
4141 void *argp1 = 0 ;
4142 int res1 = 0 ;
4143 int val2 ;
4144 int ecode2 = 0 ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4147 char * kwnames[] = {
4148 (char *) "self",(char *) "eolMode", NULL
4149 };
4150
4151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) SWIG_fail;
4152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4153 if (!SWIG_IsOK(res1)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4155 }
4156 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4157 ecode2 = SWIG_AsVal_int(obj1, &val2);
4158 if (!SWIG_IsOK(ecode2)) {
4159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEOLMode" "', expected argument " "2"" of type '" "int""'");
4160 }
4161 arg2 = static_cast< int >(val2);
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->SetEOLMode(arg2);
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 resultobj = SWIG_Py_Void();
4169 return resultobj;
4170 fail:
4171 return NULL;
4172 }
4173
4174
4175 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj = 0;
4177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4178 int arg2 ;
4179 int arg3 ;
4180 void *argp1 = 0 ;
4181 int res1 = 0 ;
4182 int val2 ;
4183 int ecode2 = 0 ;
4184 int val3 ;
4185 int ecode3 = 0 ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 PyObject * obj2 = 0 ;
4189 char * kwnames[] = {
4190 (char *) "self",(char *) "pos",(char *) "mask", NULL
4191 };
4192
4193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4195 if (!SWIG_IsOK(res1)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4197 }
4198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4199 ecode2 = SWIG_AsVal_int(obj1, &val2);
4200 if (!SWIG_IsOK(ecode2)) {
4201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "2"" of type '" "int""'");
4202 }
4203 arg2 = static_cast< int >(val2);
4204 ecode3 = SWIG_AsVal_int(obj2, &val3);
4205 if (!SWIG_IsOK(ecode3)) {
4206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StartStyling" "', expected argument " "3"" of type '" "int""'");
4207 }
4208 arg3 = static_cast< int >(val3);
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->StartStyling(arg2,arg3);
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = SWIG_Py_Void();
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj = 0;
4224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4225 int arg2 ;
4226 int arg3 ;
4227 void *argp1 = 0 ;
4228 int res1 = 0 ;
4229 int val2 ;
4230 int ecode2 = 0 ;
4231 int val3 ;
4232 int ecode3 = 0 ;
4233 PyObject * obj0 = 0 ;
4234 PyObject * obj1 = 0 ;
4235 PyObject * obj2 = 0 ;
4236 char * kwnames[] = {
4237 (char *) "self",(char *) "length",(char *) "style", NULL
4238 };
4239
4240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4242 if (!SWIG_IsOK(res1)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4244 }
4245 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4246 ecode2 = SWIG_AsVal_int(obj1, &val2);
4247 if (!SWIG_IsOK(ecode2)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "2"" of type '" "int""'");
4249 }
4250 arg2 = static_cast< int >(val2);
4251 ecode3 = SWIG_AsVal_int(obj2, &val3);
4252 if (!SWIG_IsOK(ecode3)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetStyling" "', expected argument " "3"" of type '" "int""'");
4254 }
4255 arg3 = static_cast< int >(val3);
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 (arg1)->SetStyling(arg2,arg3);
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 resultobj = SWIG_Py_Void();
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4270 PyObject *resultobj = 0;
4271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4272 bool result;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 PyObject *swig_obj[1] ;
4276
4277 if (!args) SWIG_fail;
4278 swig_obj[0] = args;
4279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4280 if (!SWIG_IsOK(res1)) {
4281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4282 }
4283 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (bool)(arg1)->GetBufferedDraw();
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 {
4291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4292 }
4293 return resultobj;
4294 fail:
4295 return NULL;
4296 }
4297
4298
4299 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4300 PyObject *resultobj = 0;
4301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4302 bool arg2 ;
4303 void *argp1 = 0 ;
4304 int res1 = 0 ;
4305 bool val2 ;
4306 int ecode2 = 0 ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char * kwnames[] = {
4310 (char *) "self",(char *) "buffered", NULL
4311 };
4312
4313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) SWIG_fail;
4314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4315 if (!SWIG_IsOK(res1)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4317 }
4318 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4319 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4320 if (!SWIG_IsOK(ecode2)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBufferedDraw" "', expected argument " "2"" of type '" "bool""'");
4322 }
4323 arg2 = static_cast< bool >(val2);
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 (arg1)->SetBufferedDraw(arg2);
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 resultobj = SWIG_Py_Void();
4331 return resultobj;
4332 fail:
4333 return NULL;
4334 }
4335
4336
4337 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj = 0;
4339 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4340 int arg2 ;
4341 void *argp1 = 0 ;
4342 int res1 = 0 ;
4343 int val2 ;
4344 int ecode2 = 0 ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 char * kwnames[] = {
4348 (char *) "self",(char *) "tabWidth", NULL
4349 };
4350
4351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) SWIG_fail;
4352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4353 if (!SWIG_IsOK(res1)) {
4354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4355 }
4356 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4357 ecode2 = SWIG_AsVal_int(obj1, &val2);
4358 if (!SWIG_IsOK(ecode2)) {
4359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabWidth" "', expected argument " "2"" of type '" "int""'");
4360 }
4361 arg2 = static_cast< int >(val2);
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetTabWidth(arg2);
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 resultobj = SWIG_Py_Void();
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4376 PyObject *resultobj = 0;
4377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4378 int result;
4379 void *argp1 = 0 ;
4380 int res1 = 0 ;
4381 PyObject *swig_obj[1] ;
4382
4383 if (!args) SWIG_fail;
4384 swig_obj[0] = args;
4385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4386 if (!SWIG_IsOK(res1)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4388 }
4389 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (int)(arg1)->GetTabWidth();
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = SWIG_From_int(static_cast< int >(result));
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj = 0;
4405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4406 int arg2 ;
4407 void *argp1 = 0 ;
4408 int res1 = 0 ;
4409 int val2 ;
4410 int ecode2 = 0 ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 char * kwnames[] = {
4414 (char *) "self",(char *) "codePage", NULL
4415 };
4416
4417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) SWIG_fail;
4418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4419 if (!SWIG_IsOK(res1)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4421 }
4422 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4423 ecode2 = SWIG_AsVal_int(obj1, &val2);
4424 if (!SWIG_IsOK(ecode2)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCodePage" "', expected argument " "2"" of type '" "int""'");
4426 }
4427 arg2 = static_cast< int >(val2);
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->SetCodePage(arg2);
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_Py_Void();
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = 0;
4443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4444 int arg2 ;
4445 int arg3 ;
4446 wxColour const &arg4_defvalue = wxNullColour ;
4447 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
4448 wxColour const &arg5_defvalue = wxNullColour ;
4449 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
4450 void *argp1 = 0 ;
4451 int res1 = 0 ;
4452 int val2 ;
4453 int ecode2 = 0 ;
4454 int val3 ;
4455 int ecode3 = 0 ;
4456 wxColour temp4 ;
4457 wxColour temp5 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
4461 PyObject * obj3 = 0 ;
4462 PyObject * obj4 = 0 ;
4463 char * kwnames[] = {
4464 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
4465 };
4466
4467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4469 if (!SWIG_IsOK(res1)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4471 }
4472 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4473 ecode2 = SWIG_AsVal_int(obj1, &val2);
4474 if (!SWIG_IsOK(ecode2)) {
4475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "2"" of type '" "int""'");
4476 }
4477 arg2 = static_cast< int >(val2);
4478 ecode3 = SWIG_AsVal_int(obj2, &val3);
4479 if (!SWIG_IsOK(ecode3)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDefine" "', expected argument " "3"" of type '" "int""'");
4481 }
4482 arg3 = static_cast< int >(val3);
4483 if (obj3) {
4484 {
4485 arg4 = &temp4;
4486 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
4487 }
4488 }
4489 if (obj4) {
4490 {
4491 arg5 = &temp5;
4492 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
4493 }
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 resultobj = SWIG_Py_Void();
4502 return resultobj;
4503 fail:
4504 return NULL;
4505 }
4506
4507
4508 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj = 0;
4510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4511 int arg2 ;
4512 wxColour *arg3 = 0 ;
4513 void *argp1 = 0 ;
4514 int res1 = 0 ;
4515 int val2 ;
4516 int ecode2 = 0 ;
4517 wxColour temp3 ;
4518 PyObject * obj0 = 0 ;
4519 PyObject * obj1 = 0 ;
4520 PyObject * obj2 = 0 ;
4521 char * kwnames[] = {
4522 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
4523 };
4524
4525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4527 if (!SWIG_IsOK(res1)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4529 }
4530 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4531 ecode2 = SWIG_AsVal_int(obj1, &val2);
4532 if (!SWIG_IsOK(ecode2)) {
4533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetForeground" "', expected argument " "2"" of type '" "int""'");
4534 }
4535 arg2 = static_cast< int >(val2);
4536 {
4537 arg3 = &temp3;
4538 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4539 }
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 resultobj = SWIG_Py_Void();
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj = 0;
4555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4556 int arg2 ;
4557 wxColour *arg3 = 0 ;
4558 void *argp1 = 0 ;
4559 int res1 = 0 ;
4560 int val2 ;
4561 int ecode2 = 0 ;
4562 wxColour temp3 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 PyObject * obj2 = 0 ;
4566 char * kwnames[] = {
4567 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
4568 };
4569
4570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4572 if (!SWIG_IsOK(res1)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4574 }
4575 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4576 ecode2 = SWIG_AsVal_int(obj1, &val2);
4577 if (!SWIG_IsOK(ecode2)) {
4578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetBackground" "', expected argument " "2"" of type '" "int""'");
4579 }
4580 arg2 = static_cast< int >(val2);
4581 {
4582 arg3 = &temp3;
4583 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4584 }
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 resultobj = SWIG_Py_Void();
4592 return resultobj;
4593 fail:
4594 return NULL;
4595 }
4596
4597
4598 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4599 PyObject *resultobj = 0;
4600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4601 int arg2 ;
4602 int arg3 ;
4603 int result;
4604 void *argp1 = 0 ;
4605 int res1 = 0 ;
4606 int val2 ;
4607 int ecode2 = 0 ;
4608 int val3 ;
4609 int ecode3 = 0 ;
4610 PyObject * obj0 = 0 ;
4611 PyObject * obj1 = 0 ;
4612 PyObject * obj2 = 0 ;
4613 char * kwnames[] = {
4614 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4615 };
4616
4617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4619 if (!SWIG_IsOK(res1)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4621 }
4622 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4623 ecode2 = SWIG_AsVal_int(obj1, &val2);
4624 if (!SWIG_IsOK(ecode2)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "2"" of type '" "int""'");
4626 }
4627 arg2 = static_cast< int >(val2);
4628 ecode3 = SWIG_AsVal_int(obj2, &val3);
4629 if (!SWIG_IsOK(ecode3)) {
4630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAdd" "', expected argument " "3"" of type '" "int""'");
4631 }
4632 arg3 = static_cast< int >(val3);
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (int)(arg1)->MarkerAdd(arg2,arg3);
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_From_int(static_cast< int >(result));
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj = 0;
4648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4649 int arg2 ;
4650 int arg3 ;
4651 void *argp1 = 0 ;
4652 int res1 = 0 ;
4653 int val2 ;
4654 int ecode2 = 0 ;
4655 int val3 ;
4656 int ecode3 = 0 ;
4657 PyObject * obj0 = 0 ;
4658 PyObject * obj1 = 0 ;
4659 PyObject * obj2 = 0 ;
4660 char * kwnames[] = {
4661 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
4662 };
4663
4664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4666 if (!SWIG_IsOK(res1)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4668 }
4669 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4670 ecode2 = SWIG_AsVal_int(obj1, &val2);
4671 if (!SWIG_IsOK(ecode2)) {
4672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "2"" of type '" "int""'");
4673 }
4674 arg2 = static_cast< int >(val2);
4675 ecode3 = SWIG_AsVal_int(obj2, &val3);
4676 if (!SWIG_IsOK(ecode3)) {
4677 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerDelete" "', expected argument " "3"" of type '" "int""'");
4678 }
4679 arg3 = static_cast< int >(val3);
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 (arg1)->MarkerDelete(arg2,arg3);
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = SWIG_Py_Void();
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj = 0;
4695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4696 int arg2 ;
4697 void *argp1 = 0 ;
4698 int res1 = 0 ;
4699 int val2 ;
4700 int ecode2 = 0 ;
4701 PyObject * obj0 = 0 ;
4702 PyObject * obj1 = 0 ;
4703 char * kwnames[] = {
4704 (char *) "self",(char *) "markerNumber", NULL
4705 };
4706
4707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) SWIG_fail;
4708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4709 if (!SWIG_IsOK(res1)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4711 }
4712 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4713 ecode2 = SWIG_AsVal_int(obj1, &val2);
4714 if (!SWIG_IsOK(ecode2)) {
4715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDeleteAll" "', expected argument " "2"" of type '" "int""'");
4716 }
4717 arg2 = static_cast< int >(val2);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->MarkerDeleteAll(arg2);
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_Py_Void();
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj = 0;
4733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4734 int arg2 ;
4735 int result;
4736 void *argp1 = 0 ;
4737 int res1 = 0 ;
4738 int val2 ;
4739 int ecode2 = 0 ;
4740 PyObject * obj0 = 0 ;
4741 PyObject * obj1 = 0 ;
4742 char * kwnames[] = {
4743 (char *) "self",(char *) "line", NULL
4744 };
4745
4746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) SWIG_fail;
4747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4748 if (!SWIG_IsOK(res1)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4750 }
4751 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4752 ecode2 = SWIG_AsVal_int(obj1, &val2);
4753 if (!SWIG_IsOK(ecode2)) {
4754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerGet" "', expected argument " "2"" of type '" "int""'");
4755 }
4756 arg2 = static_cast< int >(val2);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (int)(arg1)->MarkerGet(arg2);
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_int(static_cast< int >(result));
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj = 0;
4772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4773 int arg2 ;
4774 int arg3 ;
4775 int result;
4776 void *argp1 = 0 ;
4777 int res1 = 0 ;
4778 int val2 ;
4779 int ecode2 = 0 ;
4780 int val3 ;
4781 int ecode3 = 0 ;
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 PyObject * obj2 = 0 ;
4785 char * kwnames[] = {
4786 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4787 };
4788
4789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4791 if (!SWIG_IsOK(res1)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4793 }
4794 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4795 ecode2 = SWIG_AsVal_int(obj1, &val2);
4796 if (!SWIG_IsOK(ecode2)) {
4797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "2"" of type '" "int""'");
4798 }
4799 arg2 = static_cast< int >(val2);
4800 ecode3 = SWIG_AsVal_int(obj2, &val3);
4801 if (!SWIG_IsOK(ecode3)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerNext" "', expected argument " "3"" of type '" "int""'");
4803 }
4804 arg3 = static_cast< int >(val3);
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (int)(arg1)->MarkerNext(arg2,arg3);
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_From_int(static_cast< int >(result));
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4819 PyObject *resultobj = 0;
4820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4821 int arg2 ;
4822 int arg3 ;
4823 int result;
4824 void *argp1 = 0 ;
4825 int res1 = 0 ;
4826 int val2 ;
4827 int ecode2 = 0 ;
4828 int val3 ;
4829 int ecode3 = 0 ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 PyObject * obj2 = 0 ;
4833 char * kwnames[] = {
4834 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
4835 };
4836
4837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4841 }
4842 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4843 ecode2 = SWIG_AsVal_int(obj1, &val2);
4844 if (!SWIG_IsOK(ecode2)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "2"" of type '" "int""'");
4846 }
4847 arg2 = static_cast< int >(val2);
4848 ecode3 = SWIG_AsVal_int(obj2, &val3);
4849 if (!SWIG_IsOK(ecode3)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerPrevious" "', expected argument " "3"" of type '" "int""'");
4851 }
4852 arg3 = static_cast< int >(val3);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_From_int(static_cast< int >(result));
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj = 0;
4868 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4869 int arg2 ;
4870 wxBitmap *arg3 = 0 ;
4871 void *argp1 = 0 ;
4872 int res1 = 0 ;
4873 int val2 ;
4874 int ecode2 = 0 ;
4875 void *argp3 = 0 ;
4876 int res3 = 0 ;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 char * kwnames[] = {
4881 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
4882 };
4883
4884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4886 if (!SWIG_IsOK(res1)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4888 }
4889 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4890 ecode2 = SWIG_AsVal_int(obj1, &val2);
4891 if (!SWIG_IsOK(ecode2)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "2"" of type '" "int""'");
4893 }
4894 arg2 = static_cast< int >(val2);
4895 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
4896 if (!SWIG_IsOK(res3)) {
4897 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4898 }
4899 if (!argp3) {
4900 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_MarkerDefineBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
4901 }
4902 arg3 = reinterpret_cast< wxBitmap * >(argp3);
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 resultobj = SWIG_Py_Void();
4910 return resultobj;
4911 fail:
4912 return NULL;
4913 }
4914
4915
4916 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerAddSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj = 0;
4918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4919 int arg2 ;
4920 int arg3 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 PyObject * obj2 = 0 ;
4930 char * kwnames[] = {
4931 (char *) "self",(char *) "line",(char *) "set", NULL
4932 };
4933
4934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAddSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4938 }
4939 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4940 ecode2 = SWIG_AsVal_int(obj1, &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(obj2, &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerAddSet" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->MarkerAddSet(arg2,arg3);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MarkerSetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj = 0;
4965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4966 int arg2 ;
4967 int arg3 ;
4968 void *argp1 = 0 ;
4969 int res1 = 0 ;
4970 int val2 ;
4971 int ecode2 = 0 ;
4972 int val3 ;
4973 int ecode3 = 0 ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 PyObject * obj2 = 0 ;
4977 char * kwnames[] = {
4978 (char *) "self",(char *) "markerNumber",(char *) "alpha", NULL
4979 };
4980
4981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetAlpha",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
4983 if (!SWIG_IsOK(res1)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
4985 }
4986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
4987 ecode2 = SWIG_AsVal_int(obj1, &val2);
4988 if (!SWIG_IsOK(ecode2)) {
4989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "2"" of type '" "int""'");
4990 }
4991 arg2 = static_cast< int >(val2);
4992 ecode3 = SWIG_AsVal_int(obj2, &val3);
4993 if (!SWIG_IsOK(ecode3)) {
4994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_MarkerSetAlpha" "', expected argument " "3"" of type '" "int""'");
4995 }
4996 arg3 = static_cast< int >(val3);
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->MarkerSetAlpha(arg2,arg3);
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 resultobj = SWIG_Py_Void();
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj = 0;
5012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5013 int arg2 ;
5014 int arg3 ;
5015 void *argp1 = 0 ;
5016 int res1 = 0 ;
5017 int val2 ;
5018 int ecode2 = 0 ;
5019 int val3 ;
5020 int ecode3 = 0 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 PyObject * obj2 = 0 ;
5024 char * kwnames[] = {
5025 (char *) "self",(char *) "margin",(char *) "marginType", NULL
5026 };
5027
5028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5030 if (!SWIG_IsOK(res1)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5032 }
5033 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5034 ecode2 = SWIG_AsVal_int(obj1, &val2);
5035 if (!SWIG_IsOK(ecode2)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "2"" of type '" "int""'");
5037 }
5038 arg2 = static_cast< int >(val2);
5039 ecode3 = SWIG_AsVal_int(obj2, &val3);
5040 if (!SWIG_IsOK(ecode3)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginType" "', expected argument " "3"" of type '" "int""'");
5042 }
5043 arg3 = static_cast< int >(val3);
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 (arg1)->SetMarginType(arg2,arg3);
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 resultobj = SWIG_Py_Void();
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj = 0;
5059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5060 int arg2 ;
5061 int result;
5062 void *argp1 = 0 ;
5063 int res1 = 0 ;
5064 int val2 ;
5065 int ecode2 = 0 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 char * kwnames[] = {
5069 (char *) "self",(char *) "margin", NULL
5070 };
5071
5072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) SWIG_fail;
5073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5074 if (!SWIG_IsOK(res1)) {
5075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5076 }
5077 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5078 ecode2 = SWIG_AsVal_int(obj1, &val2);
5079 if (!SWIG_IsOK(ecode2)) {
5080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginType" "', expected argument " "2"" of type '" "int""'");
5081 }
5082 arg2 = static_cast< int >(val2);
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
5085 result = (int)(arg1)->GetMarginType(arg2);
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = SWIG_From_int(static_cast< int >(result));
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj = 0;
5098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5099 int arg2 ;
5100 int arg3 ;
5101 void *argp1 = 0 ;
5102 int res1 = 0 ;
5103 int val2 ;
5104 int ecode2 = 0 ;
5105 int val3 ;
5106 int ecode3 = 0 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 PyObject * obj2 = 0 ;
5110 char * kwnames[] = {
5111 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
5112 };
5113
5114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5116 if (!SWIG_IsOK(res1)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5118 }
5119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5120 ecode2 = SWIG_AsVal_int(obj1, &val2);
5121 if (!SWIG_IsOK(ecode2)) {
5122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5123 }
5124 arg2 = static_cast< int >(val2);
5125 ecode3 = SWIG_AsVal_int(obj2, &val3);
5126 if (!SWIG_IsOK(ecode3)) {
5127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginWidth" "', expected argument " "3"" of type '" "int""'");
5128 }
5129 arg3 = static_cast< int >(val3);
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->SetMarginWidth(arg2,arg3);
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 resultobj = SWIG_Py_Void();
5137 return resultobj;
5138 fail:
5139 return NULL;
5140 }
5141
5142
5143 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5144 PyObject *resultobj = 0;
5145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5146 int arg2 ;
5147 int result;
5148 void *argp1 = 0 ;
5149 int res1 = 0 ;
5150 int val2 ;
5151 int ecode2 = 0 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "self",(char *) "margin", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5160 if (!SWIG_IsOK(res1)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5162 }
5163 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5164 ecode2 = SWIG_AsVal_int(obj1, &val2);
5165 if (!SWIG_IsOK(ecode2)) {
5166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginWidth" "', expected argument " "2"" of type '" "int""'");
5167 }
5168 arg2 = static_cast< int >(val2);
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (int)(arg1)->GetMarginWidth(arg2);
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_From_int(static_cast< int >(result));
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj = 0;
5184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5185 int arg2 ;
5186 int arg3 ;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 int val2 ;
5190 int ecode2 = 0 ;
5191 int val3 ;
5192 int ecode3 = 0 ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 PyObject * obj2 = 0 ;
5196 char * kwnames[] = {
5197 (char *) "self",(char *) "margin",(char *) "mask", NULL
5198 };
5199
5200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5202 if (!SWIG_IsOK(res1)) {
5203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5204 }
5205 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5206 ecode2 = SWIG_AsVal_int(obj1, &val2);
5207 if (!SWIG_IsOK(ecode2)) {
5208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "2"" of type '" "int""'");
5209 }
5210 arg2 = static_cast< int >(val2);
5211 ecode3 = SWIG_AsVal_int(obj2, &val3);
5212 if (!SWIG_IsOK(ecode3)) {
5213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginMask" "', expected argument " "3"" of type '" "int""'");
5214 }
5215 arg3 = static_cast< int >(val3);
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetMarginMask(arg2,arg3);
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 resultobj = SWIG_Py_Void();
5223 return resultobj;
5224 fail:
5225 return NULL;
5226 }
5227
5228
5229 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj = 0;
5231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5232 int arg2 ;
5233 int result;
5234 void *argp1 = 0 ;
5235 int res1 = 0 ;
5236 int val2 ;
5237 int ecode2 = 0 ;
5238 PyObject * obj0 = 0 ;
5239 PyObject * obj1 = 0 ;
5240 char * kwnames[] = {
5241 (char *) "self",(char *) "margin", NULL
5242 };
5243
5244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) SWIG_fail;
5245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5246 if (!SWIG_IsOK(res1)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5248 }
5249 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5250 ecode2 = SWIG_AsVal_int(obj1, &val2);
5251 if (!SWIG_IsOK(ecode2)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginMask" "', expected argument " "2"" of type '" "int""'");
5253 }
5254 arg2 = static_cast< int >(val2);
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = (int)(arg1)->GetMarginMask(arg2);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_From_int(static_cast< int >(result));
5262 return resultobj;
5263 fail:
5264 return NULL;
5265 }
5266
5267
5268 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5269 PyObject *resultobj = 0;
5270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5271 int arg2 ;
5272 bool arg3 ;
5273 void *argp1 = 0 ;
5274 int res1 = 0 ;
5275 int val2 ;
5276 int ecode2 = 0 ;
5277 bool val3 ;
5278 int ecode3 = 0 ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 PyObject * obj2 = 0 ;
5282 char * kwnames[] = {
5283 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
5284 };
5285
5286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5288 if (!SWIG_IsOK(res1)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5290 }
5291 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5292 ecode2 = SWIG_AsVal_int(obj1, &val2);
5293 if (!SWIG_IsOK(ecode2)) {
5294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5295 }
5296 arg2 = static_cast< int >(val2);
5297 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5298 if (!SWIG_IsOK(ecode3)) {
5299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMarginSensitive" "', expected argument " "3"" of type '" "bool""'");
5300 }
5301 arg3 = static_cast< bool >(val3);
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 (arg1)->SetMarginSensitive(arg2,arg3);
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 resultobj = SWIG_Py_Void();
5309 return resultobj;
5310 fail:
5311 return NULL;
5312 }
5313
5314
5315 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj = 0;
5317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5318 int arg2 ;
5319 bool result;
5320 void *argp1 = 0 ;
5321 int res1 = 0 ;
5322 int val2 ;
5323 int ecode2 = 0 ;
5324 PyObject * obj0 = 0 ;
5325 PyObject * obj1 = 0 ;
5326 char * kwnames[] = {
5327 (char *) "self",(char *) "margin", NULL
5328 };
5329
5330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) SWIG_fail;
5331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5332 if (!SWIG_IsOK(res1)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5334 }
5335 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5336 ecode2 = SWIG_AsVal_int(obj1, &val2);
5337 if (!SWIG_IsOK(ecode2)) {
5338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetMarginSensitive" "', expected argument " "2"" of type '" "int""'");
5339 }
5340 arg2 = static_cast< int >(val2);
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (bool)(arg1)->GetMarginSensitive(arg2);
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 {
5348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5349 }
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5357 PyObject *resultobj = 0;
5358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5359 void *argp1 = 0 ;
5360 int res1 = 0 ;
5361 PyObject *swig_obj[1] ;
5362
5363 if (!args) SWIG_fail;
5364 swig_obj[0] = args;
5365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5366 if (!SWIG_IsOK(res1)) {
5367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5368 }
5369 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->StyleClearAll();
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = SWIG_Py_Void();
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj = 0;
5385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5386 int arg2 ;
5387 wxColour *arg3 = 0 ;
5388 void *argp1 = 0 ;
5389 int res1 = 0 ;
5390 int val2 ;
5391 int ecode2 = 0 ;
5392 wxColour temp3 ;
5393 PyObject * obj0 = 0 ;
5394 PyObject * obj1 = 0 ;
5395 PyObject * obj2 = 0 ;
5396 char * kwnames[] = {
5397 (char *) "self",(char *) "style",(char *) "fore", NULL
5398 };
5399
5400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5402 if (!SWIG_IsOK(res1)) {
5403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5404 }
5405 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5406 ecode2 = SWIG_AsVal_int(obj1, &val2);
5407 if (!SWIG_IsOK(ecode2)) {
5408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetForeground" "', expected argument " "2"" of type '" "int""'");
5409 }
5410 arg2 = static_cast< int >(val2);
5411 {
5412 arg3 = &temp3;
5413 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_Py_Void();
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5431 int arg2 ;
5432 wxColour *arg3 = 0 ;
5433 void *argp1 = 0 ;
5434 int res1 = 0 ;
5435 int val2 ;
5436 int ecode2 = 0 ;
5437 wxColour temp3 ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 PyObject * obj2 = 0 ;
5441 char * kwnames[] = {
5442 (char *) "self",(char *) "style",(char *) "back", NULL
5443 };
5444
5445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5447 if (!SWIG_IsOK(res1)) {
5448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5449 }
5450 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5451 ecode2 = SWIG_AsVal_int(obj1, &val2);
5452 if (!SWIG_IsOK(ecode2)) {
5453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBackground" "', expected argument " "2"" of type '" "int""'");
5454 }
5455 arg2 = static_cast< int >(val2);
5456 {
5457 arg3 = &temp3;
5458 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5459 }
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = SWIG_Py_Void();
5467 return resultobj;
5468 fail:
5469 return NULL;
5470 }
5471
5472
5473 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj = 0;
5475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5476 int arg2 ;
5477 bool arg3 ;
5478 void *argp1 = 0 ;
5479 int res1 = 0 ;
5480 int val2 ;
5481 int ecode2 = 0 ;
5482 bool val3 ;
5483 int ecode3 = 0 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 PyObject * obj2 = 0 ;
5487 char * kwnames[] = {
5488 (char *) "self",(char *) "style",(char *) "bold", NULL
5489 };
5490
5491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5493 if (!SWIG_IsOK(res1)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5495 }
5496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5497 ecode2 = SWIG_AsVal_int(obj1, &val2);
5498 if (!SWIG_IsOK(ecode2)) {
5499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "2"" of type '" "int""'");
5500 }
5501 arg2 = static_cast< int >(val2);
5502 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5503 if (!SWIG_IsOK(ecode3)) {
5504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetBold" "', expected argument " "3"" of type '" "bool""'");
5505 }
5506 arg3 = static_cast< bool >(val3);
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 (arg1)->StyleSetBold(arg2,arg3);
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 resultobj = SWIG_Py_Void();
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj = 0;
5522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5523 int arg2 ;
5524 bool arg3 ;
5525 void *argp1 = 0 ;
5526 int res1 = 0 ;
5527 int val2 ;
5528 int ecode2 = 0 ;
5529 bool val3 ;
5530 int ecode3 = 0 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 PyObject * obj2 = 0 ;
5534 char * kwnames[] = {
5535 (char *) "self",(char *) "style",(char *) "italic", NULL
5536 };
5537
5538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5540 if (!SWIG_IsOK(res1)) {
5541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5542 }
5543 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5544 ecode2 = SWIG_AsVal_int(obj1, &val2);
5545 if (!SWIG_IsOK(ecode2)) {
5546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "2"" of type '" "int""'");
5547 }
5548 arg2 = static_cast< int >(val2);
5549 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5550 if (!SWIG_IsOK(ecode3)) {
5551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetItalic" "', expected argument " "3"" of type '" "bool""'");
5552 }
5553 arg3 = static_cast< bool >(val3);
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 (arg1)->StyleSetItalic(arg2,arg3);
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 resultobj = SWIG_Py_Void();
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj = 0;
5569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5570 int arg2 ;
5571 int arg3 ;
5572 void *argp1 = 0 ;
5573 int res1 = 0 ;
5574 int val2 ;
5575 int ecode2 = 0 ;
5576 int val3 ;
5577 int ecode3 = 0 ;
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 PyObject * obj2 = 0 ;
5581 char * kwnames[] = {
5582 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
5583 };
5584
5585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5587 if (!SWIG_IsOK(res1)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5589 }
5590 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5591 ecode2 = SWIG_AsVal_int(obj1, &val2);
5592 if (!SWIG_IsOK(ecode2)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "2"" of type '" "int""'");
5594 }
5595 arg2 = static_cast< int >(val2);
5596 ecode3 = SWIG_AsVal_int(obj2, &val3);
5597 if (!SWIG_IsOK(ecode3)) {
5598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetSize" "', expected argument " "3"" of type '" "int""'");
5599 }
5600 arg3 = static_cast< int >(val3);
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->StyleSetSize(arg2,arg3);
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_Py_Void();
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj = 0;
5616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5617 int arg2 ;
5618 wxString *arg3 = 0 ;
5619 void *argp1 = 0 ;
5620 int res1 = 0 ;
5621 int val2 ;
5622 int ecode2 = 0 ;
5623 bool temp3 = false ;
5624 PyObject * obj0 = 0 ;
5625 PyObject * obj1 = 0 ;
5626 PyObject * obj2 = 0 ;
5627 char * kwnames[] = {
5628 (char *) "self",(char *) "style",(char *) "fontName", NULL
5629 };
5630
5631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",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_StyleSetFaceName" "', 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_StyleSetFaceName" "', expected argument " "2"" of type '" "int""'");
5640 }
5641 arg2 = static_cast< int >(val2);
5642 {
5643 arg3 = wxString_in_helper(obj2);
5644 if (arg3 == NULL) SWIG_fail;
5645 temp3 = true;
5646 }
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_Py_Void();
5654 {
5655 if (temp3)
5656 delete arg3;
5657 }
5658 return resultobj;
5659 fail:
5660 {
5661 if (temp3)
5662 delete arg3;
5663 }
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5671 int arg2 ;
5672 bool arg3 ;
5673 void *argp1 = 0 ;
5674 int res1 = 0 ;
5675 int val2 ;
5676 int ecode2 = 0 ;
5677 bool val3 ;
5678 int ecode3 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 PyObject * obj2 = 0 ;
5682 char * kwnames[] = {
5683 (char *) "self",(char *) "style",(char *) "filled", NULL
5684 };
5685
5686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5688 if (!SWIG_IsOK(res1)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5690 }
5691 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5692 ecode2 = SWIG_AsVal_int(obj1, &val2);
5693 if (!SWIG_IsOK(ecode2)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "2"" of type '" "int""'");
5695 }
5696 arg2 = static_cast< int >(val2);
5697 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5698 if (!SWIG_IsOK(ecode3)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetEOLFilled" "', expected argument " "3"" of type '" "bool""'");
5700 }
5701 arg3 = static_cast< bool >(val3);
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 (arg1)->StyleSetEOLFilled(arg2,arg3);
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = SWIG_Py_Void();
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5716 PyObject *resultobj = 0;
5717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5718 void *argp1 = 0 ;
5719 int res1 = 0 ;
5720 PyObject *swig_obj[1] ;
5721
5722 if (!args) SWIG_fail;
5723 swig_obj[0] = args;
5724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5725 if (!SWIG_IsOK(res1)) {
5726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleResetDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5727 }
5728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->StyleResetDefault();
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_Py_Void();
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj = 0;
5744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5745 int arg2 ;
5746 bool arg3 ;
5747 void *argp1 = 0 ;
5748 int res1 = 0 ;
5749 int val2 ;
5750 int ecode2 = 0 ;
5751 bool val3 ;
5752 int ecode3 = 0 ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 PyObject * obj2 = 0 ;
5756 char * kwnames[] = {
5757 (char *) "self",(char *) "style",(char *) "underline", NULL
5758 };
5759
5760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5762 if (!SWIG_IsOK(res1)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5764 }
5765 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5766 ecode2 = SWIG_AsVal_int(obj1, &val2);
5767 if (!SWIG_IsOK(ecode2)) {
5768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "2"" of type '" "int""'");
5769 }
5770 arg2 = static_cast< int >(val2);
5771 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5772 if (!SWIG_IsOK(ecode3)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetUnderline" "', expected argument " "3"" of type '" "bool""'");
5774 }
5775 arg3 = static_cast< bool >(val3);
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 (arg1)->StyleSetUnderline(arg2,arg3);
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 resultobj = SWIG_Py_Void();
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj = 0;
5791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5792 int arg2 ;
5793 int arg3 ;
5794 void *argp1 = 0 ;
5795 int res1 = 0 ;
5796 int val2 ;
5797 int ecode2 = 0 ;
5798 int val3 ;
5799 int ecode3 = 0 ;
5800 PyObject * obj0 = 0 ;
5801 PyObject * obj1 = 0 ;
5802 PyObject * obj2 = 0 ;
5803 char * kwnames[] = {
5804 (char *) "self",(char *) "style",(char *) "caseForce", NULL
5805 };
5806
5807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5809 if (!SWIG_IsOK(res1)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5811 }
5812 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5813 ecode2 = SWIG_AsVal_int(obj1, &val2);
5814 if (!SWIG_IsOK(ecode2)) {
5815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "2"" of type '" "int""'");
5816 }
5817 arg2 = static_cast< int >(val2);
5818 ecode3 = SWIG_AsVal_int(obj2, &val3);
5819 if (!SWIG_IsOK(ecode3)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCase" "', expected argument " "3"" of type '" "int""'");
5821 }
5822 arg3 = static_cast< int >(val3);
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->StyleSetCase(arg2,arg3);
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = SWIG_Py_Void();
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj = 0;
5838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5839 int arg2 ;
5840 bool arg3 ;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 int val2 ;
5844 int ecode2 = 0 ;
5845 bool val3 ;
5846 int ecode3 = 0 ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
5850 char * kwnames[] = {
5851 (char *) "self",(char *) "style",(char *) "hotspot", NULL
5852 };
5853
5854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5856 if (!SWIG_IsOK(res1)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5858 }
5859 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5860 ecode2 = SWIG_AsVal_int(obj1, &val2);
5861 if (!SWIG_IsOK(ecode2)) {
5862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "2"" of type '" "int""'");
5863 }
5864 arg2 = static_cast< int >(val2);
5865 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5866 if (!SWIG_IsOK(ecode3)) {
5867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetHotSpot" "', expected argument " "3"" of type '" "bool""'");
5868 }
5869 arg3 = static_cast< bool >(val3);
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 (arg1)->StyleSetHotSpot(arg2,arg3);
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = SWIG_Py_Void();
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj = 0;
5885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5886 bool arg2 ;
5887 wxColour *arg3 = 0 ;
5888 void *argp1 = 0 ;
5889 int res1 = 0 ;
5890 bool val2 ;
5891 int ecode2 = 0 ;
5892 wxColour temp3 ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 char * kwnames[] = {
5897 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
5898 };
5899
5900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5902 if (!SWIG_IsOK(res1)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5904 }
5905 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5906 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5907 if (!SWIG_IsOK(ecode2)) {
5908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelForeground" "', expected argument " "2"" of type '" "bool""'");
5909 }
5910 arg2 = static_cast< bool >(val2);
5911 {
5912 arg3 = &temp3;
5913 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5914 }
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = SWIG_Py_Void();
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj = 0;
5930 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5931 bool arg2 ;
5932 wxColour *arg3 = 0 ;
5933 void *argp1 = 0 ;
5934 int res1 = 0 ;
5935 bool val2 ;
5936 int ecode2 = 0 ;
5937 wxColour temp3 ;
5938 PyObject * obj0 = 0 ;
5939 PyObject * obj1 = 0 ;
5940 PyObject * obj2 = 0 ;
5941 char * kwnames[] = {
5942 (char *) "self",(char *) "useSetting",(char *) "back", NULL
5943 };
5944
5945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5947 if (!SWIG_IsOK(res1)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5949 }
5950 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5951 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5952 if (!SWIG_IsOK(ecode2)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelBackground" "', expected argument " "2"" of type '" "bool""'");
5954 }
5955 arg2 = static_cast< bool >(val2);
5956 {
5957 arg3 = &temp3;
5958 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5959 }
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = SWIG_Py_Void();
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5974 PyObject *resultobj = 0;
5975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5976 int result;
5977 void *argp1 = 0 ;
5978 int res1 = 0 ;
5979 PyObject *swig_obj[1] ;
5980
5981 if (!args) SWIG_fail;
5982 swig_obj[0] = args;
5983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
5984 if (!SWIG_IsOK(res1)) {
5985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
5986 }
5987 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (int)(arg1)->GetSelAlpha();
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_From_int(static_cast< int >(result));
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj = 0;
6003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6004 int arg2 ;
6005 void *argp1 = 0 ;
6006 int res1 = 0 ;
6007 int val2 ;
6008 int ecode2 = 0 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char * kwnames[] = {
6012 (char *) "self",(char *) "alpha", NULL
6013 };
6014
6015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
6016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6017 if (!SWIG_IsOK(res1)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6019 }
6020 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6021 ecode2 = SWIG_AsVal_int(obj1, &val2);
6022 if (!SWIG_IsOK(ecode2)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelAlpha" "', expected argument " "2"" of type '" "int""'");
6024 }
6025 arg2 = static_cast< int >(val2);
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->SetSelAlpha(arg2);
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6040 PyObject *resultobj = 0;
6041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6042 wxColour *arg2 = 0 ;
6043 void *argp1 = 0 ;
6044 int res1 = 0 ;
6045 wxColour temp2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char * kwnames[] = {
6049 (char *) "self",(char *) "fore", NULL
6050 };
6051
6052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6054 if (!SWIG_IsOK(res1)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6056 }
6057 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6058 {
6059 arg2 = &temp2;
6060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->SetCaretForeground((wxColour const &)*arg2);
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = SWIG_Py_Void();
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj = 0;
6077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6078 int arg2 ;
6079 int arg3 ;
6080 int arg4 ;
6081 void *argp1 = 0 ;
6082 int res1 = 0 ;
6083 int val2 ;
6084 int ecode2 = 0 ;
6085 int val3 ;
6086 int ecode3 = 0 ;
6087 int val4 ;
6088 int ecode4 = 0 ;
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 PyObject * obj2 = 0 ;
6092 PyObject * obj3 = 0 ;
6093 char * kwnames[] = {
6094 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
6095 };
6096
6097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6099 if (!SWIG_IsOK(res1)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6101 }
6102 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6103 ecode2 = SWIG_AsVal_int(obj1, &val2);
6104 if (!SWIG_IsOK(ecode2)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "2"" of type '" "int""'");
6106 }
6107 arg2 = static_cast< int >(val2);
6108 ecode3 = SWIG_AsVal_int(obj2, &val3);
6109 if (!SWIG_IsOK(ecode3)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "3"" of type '" "int""'");
6111 }
6112 arg3 = static_cast< int >(val3);
6113 ecode4 = SWIG_AsVal_int(obj3, &val4);
6114 if (!SWIG_IsOK(ecode4)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_CmdKeyAssign" "', expected argument " "4"" of type '" "int""'");
6116 }
6117 arg4 = static_cast< int >(val4);
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 resultobj = SWIG_Py_Void();
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj = 0;
6133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6134 int arg2 ;
6135 int arg3 ;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 int val2 ;
6139 int ecode2 = 0 ;
6140 int val3 ;
6141 int ecode3 = 0 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 PyObject * obj2 = 0 ;
6145 char * kwnames[] = {
6146 (char *) "self",(char *) "key",(char *) "modifiers", NULL
6147 };
6148
6149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6151 if (!SWIG_IsOK(res1)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6153 }
6154 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6155 ecode2 = SWIG_AsVal_int(obj1, &val2);
6156 if (!SWIG_IsOK(ecode2)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "2"" of type '" "int""'");
6158 }
6159 arg2 = static_cast< int >(val2);
6160 ecode3 = SWIG_AsVal_int(obj2, &val3);
6161 if (!SWIG_IsOK(ecode3)) {
6162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CmdKeyClear" "', expected argument " "3"" of type '" "int""'");
6163 }
6164 arg3 = static_cast< int >(val3);
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 (arg1)->CmdKeyClear(arg2,arg3);
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 resultobj = SWIG_Py_Void();
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6179 PyObject *resultobj = 0;
6180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6181 void *argp1 = 0 ;
6182 int res1 = 0 ;
6183 PyObject *swig_obj[1] ;
6184
6185 if (!args) SWIG_fail;
6186 swig_obj[0] = args;
6187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6188 if (!SWIG_IsOK(res1)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyClearAll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6190 }
6191 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 (arg1)->CmdKeyClearAll();
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = SWIG_Py_Void();
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj = 0;
6207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6208 int arg2 ;
6209 char *arg3 = (char *) 0 ;
6210 void *argp1 = 0 ;
6211 int res1 = 0 ;
6212 int val2 ;
6213 int ecode2 = 0 ;
6214 int res3 ;
6215 char *buf3 = 0 ;
6216 int alloc3 = 0 ;
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj1 = 0 ;
6219 PyObject * obj2 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6228 }
6229 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6230 ecode2 = SWIG_AsVal_int(obj1, &val2);
6231 if (!SWIG_IsOK(ecode2)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "2"" of type '" "int""'");
6233 }
6234 arg2 = static_cast< int >(val2);
6235 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
6236 if (!SWIG_IsOK(res3)) {
6237 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_SetStyleBytes" "', expected argument " "3"" of type '" "char *""'");
6238 }
6239 arg3 = buf3;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 (arg1)->SetStyleBytes(arg2,arg3);
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_Py_Void();
6247 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6248 return resultobj;
6249 fail:
6250 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
6251 return NULL;
6252 }
6253
6254
6255 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj = 0;
6257 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6258 int arg2 ;
6259 bool arg3 ;
6260 void *argp1 = 0 ;
6261 int res1 = 0 ;
6262 int val2 ;
6263 int ecode2 = 0 ;
6264 bool val3 ;
6265 int ecode3 = 0 ;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 PyObject * obj2 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "self",(char *) "style",(char *) "visible", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6277 }
6278 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6279 ecode2 = SWIG_AsVal_int(obj1, &val2);
6280 if (!SWIG_IsOK(ecode2)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "2"" of type '" "int""'");
6282 }
6283 arg2 = static_cast< int >(val2);
6284 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6285 if (!SWIG_IsOK(ecode3)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetVisible" "', expected argument " "3"" of type '" "bool""'");
6287 }
6288 arg3 = static_cast< bool >(val3);
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 (arg1)->StyleSetVisible(arg2,arg3);
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 resultobj = SWIG_Py_Void();
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6303 PyObject *resultobj = 0;
6304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6305 int result;
6306 void *argp1 = 0 ;
6307 int res1 = 0 ;
6308 PyObject *swig_obj[1] ;
6309
6310 if (!args) SWIG_fail;
6311 swig_obj[0] = args;
6312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6313 if (!SWIG_IsOK(res1)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6315 }
6316 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (int)(arg1)->GetCaretPeriod();
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = SWIG_From_int(static_cast< int >(result));
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj = 0;
6332 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6333 int arg2 ;
6334 void *argp1 = 0 ;
6335 int res1 = 0 ;
6336 int val2 ;
6337 int ecode2 = 0 ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 char * kwnames[] = {
6341 (char *) "self",(char *) "periodMilliseconds", NULL
6342 };
6343
6344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) SWIG_fail;
6345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6346 if (!SWIG_IsOK(res1)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6348 }
6349 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6350 ecode2 = SWIG_AsVal_int(obj1, &val2);
6351 if (!SWIG_IsOK(ecode2)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretPeriod" "', expected argument " "2"" of type '" "int""'");
6353 }
6354 arg2 = static_cast< int >(val2);
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetCaretPeriod(arg2);
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_Py_Void();
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6371 wxString *arg2 = 0 ;
6372 void *argp1 = 0 ;
6373 int res1 = 0 ;
6374 bool temp2 = false ;
6375 PyObject * obj0 = 0 ;
6376 PyObject * obj1 = 0 ;
6377 char * kwnames[] = {
6378 (char *) "self",(char *) "characters", NULL
6379 };
6380
6381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) SWIG_fail;
6382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6383 if (!SWIG_IsOK(res1)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWordChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6385 }
6386 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6387 {
6388 arg2 = wxString_in_helper(obj1);
6389 if (arg2 == NULL) SWIG_fail;
6390 temp2 = true;
6391 }
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 (arg1)->SetWordChars((wxString const &)*arg2);
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 resultobj = SWIG_Py_Void();
6399 {
6400 if (temp2)
6401 delete arg2;
6402 }
6403 return resultobj;
6404 fail:
6405 {
6406 if (temp2)
6407 delete arg2;
6408 }
6409 return NULL;
6410 }
6411
6412
6413 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6414 PyObject *resultobj = 0;
6415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6416 void *argp1 = 0 ;
6417 int res1 = 0 ;
6418 PyObject *swig_obj[1] ;
6419
6420 if (!args) SWIG_fail;
6421 swig_obj[0] = args;
6422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6423 if (!SWIG_IsOK(res1)) {
6424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BeginUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6425 }
6426 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 (arg1)->BeginUndoAction();
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = SWIG_Py_Void();
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6441 PyObject *resultobj = 0;
6442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6443 void *argp1 = 0 ;
6444 int res1 = 0 ;
6445 PyObject *swig_obj[1] ;
6446
6447 if (!args) SWIG_fail;
6448 swig_obj[0] = args;
6449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6450 if (!SWIG_IsOK(res1)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EndUndoAction" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6452 }
6453 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 (arg1)->EndUndoAction();
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 resultobj = SWIG_Py_Void();
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj = 0;
6469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6470 int arg2 ;
6471 int arg3 ;
6472 void *argp1 = 0 ;
6473 int res1 = 0 ;
6474 int val2 ;
6475 int ecode2 = 0 ;
6476 int val3 ;
6477 int ecode3 = 0 ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481 char * kwnames[] = {
6482 (char *) "self",(char *) "indic",(char *) "style", NULL
6483 };
6484
6485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6487 if (!SWIG_IsOK(res1)) {
6488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6489 }
6490 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6491 ecode2 = SWIG_AsVal_int(obj1, &val2);
6492 if (!SWIG_IsOK(ecode2)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "2"" of type '" "int""'");
6494 }
6495 arg2 = static_cast< int >(val2);
6496 ecode3 = SWIG_AsVal_int(obj2, &val3);
6497 if (!SWIG_IsOK(ecode3)) {
6498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_IndicatorSetStyle" "', expected argument " "3"" of type '" "int""'");
6499 }
6500 arg3 = static_cast< int >(val3);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->IndicatorSetStyle(arg2,arg3);
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_Py_Void();
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj = 0;
6516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6517 int arg2 ;
6518 int result;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 int val2 ;
6522 int ecode2 = 0 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char * kwnames[] = {
6526 (char *) "self",(char *) "indic", NULL
6527 };
6528
6529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6531 if (!SWIG_IsOK(res1)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6533 }
6534 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6535 ecode2 = SWIG_AsVal_int(obj1, &val2);
6536 if (!SWIG_IsOK(ecode2)) {
6537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetStyle" "', expected argument " "2"" of type '" "int""'");
6538 }
6539 arg2 = static_cast< int >(val2);
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (int)(arg1)->IndicatorGetStyle(arg2);
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_From_int(static_cast< int >(result));
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6554 PyObject *resultobj = 0;
6555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6556 int arg2 ;
6557 wxColour *arg3 = 0 ;
6558 void *argp1 = 0 ;
6559 int res1 = 0 ;
6560 int val2 ;
6561 int ecode2 = 0 ;
6562 wxColour temp3 ;
6563 PyObject * obj0 = 0 ;
6564 PyObject * obj1 = 0 ;
6565 PyObject * obj2 = 0 ;
6566 char * kwnames[] = {
6567 (char *) "self",(char *) "indic",(char *) "fore", NULL
6568 };
6569
6570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6574 }
6575 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6576 ecode2 = SWIG_AsVal_int(obj1, &val2);
6577 if (!SWIG_IsOK(ecode2)) {
6578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorSetForeground" "', expected argument " "2"" of type '" "int""'");
6579 }
6580 arg2 = static_cast< int >(val2);
6581 {
6582 arg3 = &temp3;
6583 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6584 }
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = SWIG_Py_Void();
6592 return resultobj;
6593 fail:
6594 return NULL;
6595 }
6596
6597
6598 SWIGINTERN PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj = 0;
6600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6601 int arg2 ;
6602 wxColour result;
6603 void *argp1 = 0 ;
6604 int res1 = 0 ;
6605 int val2 ;
6606 int ecode2 = 0 ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 char * kwnames[] = {
6610 (char *) "self",(char *) "indic", NULL
6611 };
6612
6613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
6614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6615 if (!SWIG_IsOK(res1)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6617 }
6618 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6619 ecode2 = SWIG_AsVal_int(obj1, &val2);
6620 if (!SWIG_IsOK(ecode2)) {
6621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_IndicatorGetForeground" "', expected argument " "2"" of type '" "int""'");
6622 }
6623 arg2 = static_cast< int >(val2);
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (arg1)->IndicatorGetForeground(arg2);
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj = 0;
6639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6640 bool arg2 ;
6641 wxColour *arg3 = 0 ;
6642 void *argp1 = 0 ;
6643 int res1 = 0 ;
6644 bool val2 ;
6645 int ecode2 = 0 ;
6646 wxColour temp3 ;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 PyObject * obj2 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6658 }
6659 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6660 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6661 if (!SWIG_IsOK(ecode2)) {
6662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceForeground" "', expected argument " "2"" of type '" "bool""'");
6663 }
6664 arg2 = static_cast< bool >(val2);
6665 {
6666 arg3 = &temp3;
6667 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = SWIG_Py_Void();
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = 0;
6684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6685 bool arg2 ;
6686 wxColour *arg3 = 0 ;
6687 void *argp1 = 0 ;
6688 int res1 = 0 ;
6689 bool val2 ;
6690 int ecode2 = 0 ;
6691 wxColour temp3 ;
6692 PyObject * obj0 = 0 ;
6693 PyObject * obj1 = 0 ;
6694 PyObject * obj2 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "self",(char *) "useSetting",(char *) "back", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6701 if (!SWIG_IsOK(res1)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6703 }
6704 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6705 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6706 if (!SWIG_IsOK(ecode2)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWhitespaceBackground" "', expected argument " "2"" of type '" "bool""'");
6708 }
6709 arg2 = static_cast< bool >(val2);
6710 {
6711 arg3 = &temp3;
6712 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6713 }
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 resultobj = SWIG_Py_Void();
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj = 0;
6729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6730 int arg2 ;
6731 void *argp1 = 0 ;
6732 int res1 = 0 ;
6733 int val2 ;
6734 int ecode2 = 0 ;
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 char * kwnames[] = {
6738 (char *) "self",(char *) "bits", NULL
6739 };
6740
6741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) SWIG_fail;
6742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6743 if (!SWIG_IsOK(res1)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6745 }
6746 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6747 ecode2 = SWIG_AsVal_int(obj1, &val2);
6748 if (!SWIG_IsOK(ecode2)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStyleBits" "', expected argument " "2"" of type '" "int""'");
6750 }
6751 arg2 = static_cast< int >(val2);
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 (arg1)->SetStyleBits(arg2);
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 resultobj = SWIG_Py_Void();
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6766 PyObject *resultobj = 0;
6767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6768 int result;
6769 void *argp1 = 0 ;
6770 int res1 = 0 ;
6771 PyObject *swig_obj[1] ;
6772
6773 if (!args) SWIG_fail;
6774 swig_obj[0] = args;
6775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6776 if (!SWIG_IsOK(res1)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBits" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6778 }
6779 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (int)(arg1)->GetStyleBits();
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 resultobj = SWIG_From_int(static_cast< int >(result));
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj = 0;
6795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6796 int arg2 ;
6797 int arg3 ;
6798 void *argp1 = 0 ;
6799 int res1 = 0 ;
6800 int val2 ;
6801 int ecode2 = 0 ;
6802 int val3 ;
6803 int ecode3 = 0 ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 PyObject * obj2 = 0 ;
6807 char * kwnames[] = {
6808 (char *) "self",(char *) "line",(char *) "state", NULL
6809 };
6810
6811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6813 if (!SWIG_IsOK(res1)) {
6814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6815 }
6816 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6817 ecode2 = SWIG_AsVal_int(obj1, &val2);
6818 if (!SWIG_IsOK(ecode2)) {
6819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "2"" of type '" "int""'");
6820 }
6821 arg2 = static_cast< int >(val2);
6822 ecode3 = SWIG_AsVal_int(obj2, &val3);
6823 if (!SWIG_IsOK(ecode3)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineState" "', expected argument " "3"" of type '" "int""'");
6825 }
6826 arg3 = static_cast< int >(val3);
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 (arg1)->SetLineState(arg2,arg3);
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 resultobj = SWIG_Py_Void();
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj = 0;
6842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6843 int arg2 ;
6844 int result;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 int val2 ;
6848 int ecode2 = 0 ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 char * kwnames[] = {
6852 (char *) "self",(char *) "line", NULL
6853 };
6854
6855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) SWIG_fail;
6856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6857 if (!SWIG_IsOK(res1)) {
6858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6859 }
6860 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6861 ecode2 = SWIG_AsVal_int(obj1, &val2);
6862 if (!SWIG_IsOK(ecode2)) {
6863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineState" "', expected argument " "2"" of type '" "int""'");
6864 }
6865 arg2 = static_cast< int >(val2);
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (int)(arg1)->GetLineState(arg2);
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_From_int(static_cast< int >(result));
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6880 PyObject *resultobj = 0;
6881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6882 int result;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 PyObject *swig_obj[1] ;
6886
6887 if (!args) SWIG_fail;
6888 swig_obj[0] = args;
6889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6890 if (!SWIG_IsOK(res1)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMaxLineState" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6892 }
6893 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 result = (int)(arg1)->GetMaxLineState();
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_From_int(static_cast< int >(result));
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6908 PyObject *resultobj = 0;
6909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6910 bool result;
6911 void *argp1 = 0 ;
6912 int res1 = 0 ;
6913 PyObject *swig_obj[1] ;
6914
6915 if (!args) SWIG_fail;
6916 swig_obj[0] = args;
6917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6918 if (!SWIG_IsOK(res1)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6920 }
6921 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (bool)(arg1)->GetCaretLineVisible();
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 {
6929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6930 }
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj = 0;
6939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6940 bool arg2 ;
6941 void *argp1 = 0 ;
6942 int res1 = 0 ;
6943 bool val2 ;
6944 int ecode2 = 0 ;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 char * kwnames[] = {
6948 (char *) "self",(char *) "show", NULL
6949 };
6950
6951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
6952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6953 if (!SWIG_IsOK(res1)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6955 }
6956 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6958 if (!SWIG_IsOK(ecode2)) {
6959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineVisible" "', expected argument " "2"" of type '" "bool""'");
6960 }
6961 arg2 = static_cast< bool >(val2);
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->SetCaretLineVisible(arg2);
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_Py_Void();
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6976 PyObject *resultobj = 0;
6977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6978 wxColour result;
6979 void *argp1 = 0 ;
6980 int res1 = 0 ;
6981 PyObject *swig_obj[1] ;
6982
6983 if (!args) SWIG_fail;
6984 swig_obj[0] = args;
6985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
6986 if (!SWIG_IsOK(res1)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
6988 }
6989 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 result = (arg1)->GetCaretLineBackground();
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj = 0;
7005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7006 wxColour *arg2 = 0 ;
7007 void *argp1 = 0 ;
7008 int res1 = 0 ;
7009 wxColour temp2 ;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 char * kwnames[] = {
7013 (char *) "self",(char *) "back", NULL
7014 };
7015
7016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackground",kwnames,&obj0,&obj1)) SWIG_fail;
7017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7018 if (!SWIG_IsOK(res1)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7020 }
7021 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7022 {
7023 arg2 = &temp2;
7024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7025 }
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 (arg1)->SetCaretLineBackground((wxColour const &)*arg2);
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 resultobj = SWIG_Py_Void();
7033 return resultobj;
7034 fail:
7035 return NULL;
7036 }
7037
7038
7039 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj = 0;
7041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7042 int arg2 ;
7043 bool arg3 ;
7044 void *argp1 = 0 ;
7045 int res1 = 0 ;
7046 int val2 ;
7047 int ecode2 = 0 ;
7048 bool val3 ;
7049 int ecode3 = 0 ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 char * kwnames[] = {
7054 (char *) "self",(char *) "style",(char *) "changeable", NULL
7055 };
7056
7057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7059 if (!SWIG_IsOK(res1)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7061 }
7062 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7063 ecode2 = SWIG_AsVal_int(obj1, &val2);
7064 if (!SWIG_IsOK(ecode2)) {
7065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "2"" of type '" "int""'");
7066 }
7067 arg2 = static_cast< int >(val2);
7068 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7069 if (!SWIG_IsOK(ecode3)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetChangeable" "', expected argument " "3"" of type '" "bool""'");
7071 }
7072 arg3 = static_cast< bool >(val3);
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 (arg1)->StyleSetChangeable(arg2,arg3);
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 resultobj = SWIG_Py_Void();
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj = 0;
7088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7089 int arg2 ;
7090 wxString *arg3 = 0 ;
7091 void *argp1 = 0 ;
7092 int res1 = 0 ;
7093 int val2 ;
7094 int ecode2 = 0 ;
7095 bool temp3 = false ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 PyObject * obj2 = 0 ;
7099 char * kwnames[] = {
7100 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
7101 };
7102
7103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7105 if (!SWIG_IsOK(res1)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7107 }
7108 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7109 ecode2 = SWIG_AsVal_int(obj1, &val2);
7110 if (!SWIG_IsOK(ecode2)) {
7111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompShow" "', expected argument " "2"" of type '" "int""'");
7112 }
7113 arg2 = static_cast< int >(val2);
7114 {
7115 arg3 = wxString_in_helper(obj2);
7116 if (arg3 == NULL) SWIG_fail;
7117 temp3 = true;
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 resultobj = SWIG_Py_Void();
7126 {
7127 if (temp3)
7128 delete arg3;
7129 }
7130 return resultobj;
7131 fail:
7132 {
7133 if (temp3)
7134 delete arg3;
7135 }
7136 return NULL;
7137 }
7138
7139
7140 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7141 PyObject *resultobj = 0;
7142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7143 void *argp1 = 0 ;
7144 int res1 = 0 ;
7145 PyObject *swig_obj[1] ;
7146
7147 if (!args) SWIG_fail;
7148 swig_obj[0] = args;
7149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7150 if (!SWIG_IsOK(res1)) {
7151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7152 }
7153 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->AutoCompCancel();
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7168 PyObject *resultobj = 0;
7169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7170 bool result;
7171 void *argp1 = 0 ;
7172 int res1 = 0 ;
7173 PyObject *swig_obj[1] ;
7174
7175 if (!args) SWIG_fail;
7176 swig_obj[0] = args;
7177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7178 if (!SWIG_IsOK(res1)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7180 }
7181 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (bool)(arg1)->AutoCompActive();
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 {
7189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7190 }
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7198 PyObject *resultobj = 0;
7199 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7200 int result;
7201 void *argp1 = 0 ;
7202 int res1 = 0 ;
7203 PyObject *swig_obj[1] ;
7204
7205 if (!args) SWIG_fail;
7206 swig_obj[0] = args;
7207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7208 if (!SWIG_IsOK(res1)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompPosStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7210 }
7211 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (int)(arg1)->AutoCompPosStart();
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 resultobj = SWIG_From_int(static_cast< int >(result));
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7226 PyObject *resultobj = 0;
7227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7228 void *argp1 = 0 ;
7229 int res1 = 0 ;
7230 PyObject *swig_obj[1] ;
7231
7232 if (!args) SWIG_fail;
7233 swig_obj[0] = args;
7234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7235 if (!SWIG_IsOK(res1)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompComplete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7237 }
7238 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 (arg1)->AutoCompComplete();
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = SWIG_Py_Void();
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj = 0;
7254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7255 wxString *arg2 = 0 ;
7256 void *argp1 = 0 ;
7257 int res1 = 0 ;
7258 bool temp2 = false ;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char * kwnames[] = {
7262 (char *) "self",(char *) "characterSet", NULL
7263 };
7264
7265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) SWIG_fail;
7266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7267 if (!SWIG_IsOK(res1)) {
7268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompStops" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7269 }
7270 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7271 {
7272 arg2 = wxString_in_helper(obj1);
7273 if (arg2 == NULL) SWIG_fail;
7274 temp2 = true;
7275 }
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 (arg1)->AutoCompStops((wxString const &)*arg2);
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 resultobj = SWIG_Py_Void();
7283 {
7284 if (temp2)
7285 delete arg2;
7286 }
7287 return resultobj;
7288 fail:
7289 {
7290 if (temp2)
7291 delete arg2;
7292 }
7293 return NULL;
7294 }
7295
7296
7297 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj = 0;
7299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7300 int arg2 ;
7301 void *argp1 = 0 ;
7302 int res1 = 0 ;
7303 int val2 ;
7304 int ecode2 = 0 ;
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 char * kwnames[] = {
7308 (char *) "self",(char *) "separatorCharacter", NULL
7309 };
7310
7311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7313 if (!SWIG_IsOK(res1)) {
7314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7315 }
7316 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7317 ecode2 = SWIG_AsVal_int(obj1, &val2);
7318 if (!SWIG_IsOK(ecode2)) {
7319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetSeparator" "', expected argument " "2"" of type '" "int""'");
7320 }
7321 arg2 = static_cast< int >(val2);
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 (arg1)->AutoCompSetSeparator(arg2);
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 resultobj = SWIG_Py_Void();
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7336 PyObject *resultobj = 0;
7337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7338 int result;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 PyObject *swig_obj[1] ;
7342
7343 if (!args) SWIG_fail;
7344 swig_obj[0] = args;
7345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7346 if (!SWIG_IsOK(res1)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7348 }
7349 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (int)(arg1)->AutoCompGetSeparator();
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = SWIG_From_int(static_cast< int >(result));
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj = 0;
7365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7366 wxString *arg2 = 0 ;
7367 void *argp1 = 0 ;
7368 int res1 = 0 ;
7369 bool temp2 = false ;
7370 PyObject * obj0 = 0 ;
7371 PyObject * obj1 = 0 ;
7372 char * kwnames[] = {
7373 (char *) "self",(char *) "text", NULL
7374 };
7375
7376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) SWIG_fail;
7377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7378 if (!SWIG_IsOK(res1)) {
7379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSelect" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7380 }
7381 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7382 {
7383 arg2 = wxString_in_helper(obj1);
7384 if (arg2 == NULL) SWIG_fail;
7385 temp2 = true;
7386 }
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 (arg1)->AutoCompSelect((wxString const &)*arg2);
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = SWIG_Py_Void();
7394 {
7395 if (temp2)
7396 delete arg2;
7397 }
7398 return resultobj;
7399 fail:
7400 {
7401 if (temp2)
7402 delete arg2;
7403 }
7404 return NULL;
7405 }
7406
7407
7408 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj = 0;
7410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7411 bool arg2 ;
7412 void *argp1 = 0 ;
7413 int res1 = 0 ;
7414 bool val2 ;
7415 int ecode2 = 0 ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 char * kwnames[] = {
7419 (char *) "self",(char *) "cancel", NULL
7420 };
7421
7422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) SWIG_fail;
7423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7424 if (!SWIG_IsOK(res1)) {
7425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7426 }
7427 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7428 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7429 if (!SWIG_IsOK(ecode2)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetCancelAtStart" "', expected argument " "2"" of type '" "bool""'");
7431 }
7432 arg2 = static_cast< bool >(val2);
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 (arg1)->AutoCompSetCancelAtStart(arg2);
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = SWIG_Py_Void();
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7447 PyObject *resultobj = 0;
7448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7449 bool result;
7450 void *argp1 = 0 ;
7451 int res1 = 0 ;
7452 PyObject *swig_obj[1] ;
7453
7454 if (!args) SWIG_fail;
7455 swig_obj[0] = args;
7456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7457 if (!SWIG_IsOK(res1)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCancelAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7459 }
7460 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (bool)(arg1)->AutoCompGetCancelAtStart();
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 {
7468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7469 }
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj = 0;
7478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7479 wxString *arg2 = 0 ;
7480 void *argp1 = 0 ;
7481 int res1 = 0 ;
7482 bool temp2 = false ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char * kwnames[] = {
7486 (char *) "self",(char *) "characterSet", NULL
7487 };
7488
7489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) SWIG_fail;
7490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7491 if (!SWIG_IsOK(res1)) {
7492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetFillUps" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7493 }
7494 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7495 {
7496 arg2 = wxString_in_helper(obj1);
7497 if (arg2 == NULL) SWIG_fail;
7498 temp2 = true;
7499 }
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 resultobj = SWIG_Py_Void();
7507 {
7508 if (temp2)
7509 delete arg2;
7510 }
7511 return resultobj;
7512 fail:
7513 {
7514 if (temp2)
7515 delete arg2;
7516 }
7517 return NULL;
7518 }
7519
7520
7521 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj = 0;
7523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7524 bool arg2 ;
7525 void *argp1 = 0 ;
7526 int res1 = 0 ;
7527 bool val2 ;
7528 int ecode2 = 0 ;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char * kwnames[] = {
7532 (char *) "self",(char *) "chooseSingle", NULL
7533 };
7534
7535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) SWIG_fail;
7536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7537 if (!SWIG_IsOK(res1)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7539 }
7540 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7541 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7542 if (!SWIG_IsOK(ecode2)) {
7543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetChooseSingle" "', expected argument " "2"" of type '" "bool""'");
7544 }
7545 arg2 = static_cast< bool >(val2);
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 (arg1)->AutoCompSetChooseSingle(arg2);
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 resultobj = SWIG_Py_Void();
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7560 PyObject *resultobj = 0;
7561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7562 bool result;
7563 void *argp1 = 0 ;
7564 int res1 = 0 ;
7565 PyObject *swig_obj[1] ;
7566
7567 if (!args) SWIG_fail;
7568 swig_obj[0] = args;
7569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7570 if (!SWIG_IsOK(res1)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetChooseSingle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7572 }
7573 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (bool)(arg1)->AutoCompGetChooseSingle();
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 {
7581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7582 }
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj = 0;
7591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7592 bool arg2 ;
7593 void *argp1 = 0 ;
7594 int res1 = 0 ;
7595 bool val2 ;
7596 int ecode2 = 0 ;
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 char * kwnames[] = {
7600 (char *) "self",(char *) "ignoreCase", NULL
7601 };
7602
7603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) SWIG_fail;
7604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7605 if (!SWIG_IsOK(res1)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7607 }
7608 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7609 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7610 if (!SWIG_IsOK(ecode2)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetIgnoreCase" "', expected argument " "2"" of type '" "bool""'");
7612 }
7613 arg2 = static_cast< bool >(val2);
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 (arg1)->AutoCompSetIgnoreCase(arg2);
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 resultobj = SWIG_Py_Void();
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7628 PyObject *resultobj = 0;
7629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7630 bool result;
7631 void *argp1 = 0 ;
7632 int res1 = 0 ;
7633 PyObject *swig_obj[1] ;
7634
7635 if (!args) SWIG_fail;
7636 swig_obj[0] = args;
7637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7638 if (!SWIG_IsOK(res1)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetIgnoreCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7640 }
7641 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (bool)(arg1)->AutoCompGetIgnoreCase();
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 {
7649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7650 }
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj = 0;
7659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7660 int arg2 ;
7661 wxString *arg3 = 0 ;
7662 void *argp1 = 0 ;
7663 int res1 = 0 ;
7664 int val2 ;
7665 int ecode2 = 0 ;
7666 bool temp3 = false ;
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 PyObject * obj2 = 0 ;
7670 char * kwnames[] = {
7671 (char *) "self",(char *) "listType",(char *) "itemList", NULL
7672 };
7673
7674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7676 if (!SWIG_IsOK(res1)) {
7677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7678 }
7679 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7680 ecode2 = SWIG_AsVal_int(obj1, &val2);
7681 if (!SWIG_IsOK(ecode2)) {
7682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UserListShow" "', expected argument " "2"" of type '" "int""'");
7683 }
7684 arg2 = static_cast< int >(val2);
7685 {
7686 arg3 = wxString_in_helper(obj2);
7687 if (arg3 == NULL) SWIG_fail;
7688 temp3 = true;
7689 }
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 resultobj = SWIG_Py_Void();
7697 {
7698 if (temp3)
7699 delete arg3;
7700 }
7701 return resultobj;
7702 fail:
7703 {
7704 if (temp3)
7705 delete arg3;
7706 }
7707 return NULL;
7708 }
7709
7710
7711 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj = 0;
7713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7714 bool arg2 ;
7715 void *argp1 = 0 ;
7716 int res1 = 0 ;
7717 bool val2 ;
7718 int ecode2 = 0 ;
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char * kwnames[] = {
7722 (char *) "self",(char *) "autoHide", NULL
7723 };
7724
7725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) SWIG_fail;
7726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7727 if (!SWIG_IsOK(res1)) {
7728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7729 }
7730 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7731 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7732 if (!SWIG_IsOK(ecode2)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetAutoHide" "', expected argument " "2"" of type '" "bool""'");
7734 }
7735 arg2 = static_cast< bool >(val2);
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 (arg1)->AutoCompSetAutoHide(arg2);
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = SWIG_Py_Void();
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7750 PyObject *resultobj = 0;
7751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7752 bool result;
7753 void *argp1 = 0 ;
7754 int res1 = 0 ;
7755 PyObject *swig_obj[1] ;
7756
7757 if (!args) SWIG_fail;
7758 swig_obj[0] = args;
7759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7760 if (!SWIG_IsOK(res1)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetAutoHide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7762 }
7763 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 result = (bool)(arg1)->AutoCompGetAutoHide();
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
7771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776 }
7777
7778
7779 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj = 0;
7781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7782 bool arg2 ;
7783 void *argp1 = 0 ;
7784 int res1 = 0 ;
7785 bool val2 ;
7786 int ecode2 = 0 ;
7787 PyObject * obj0 = 0 ;
7788 PyObject * obj1 = 0 ;
7789 char * kwnames[] = {
7790 (char *) "self",(char *) "dropRestOfWord", NULL
7791 };
7792
7793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) SWIG_fail;
7794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7795 if (!SWIG_IsOK(res1)) {
7796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7797 }
7798 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7799 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7800 if (!SWIG_IsOK(ecode2)) {
7801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetDropRestOfWord" "', expected argument " "2"" of type '" "bool""'");
7802 }
7803 arg2 = static_cast< bool >(val2);
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->AutoCompSetDropRestOfWord(arg2);
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 resultobj = SWIG_Py_Void();
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7818 PyObject *resultobj = 0;
7819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7820 bool result;
7821 void *argp1 = 0 ;
7822 int res1 = 0 ;
7823 PyObject *swig_obj[1] ;
7824
7825 if (!args) SWIG_fail;
7826 swig_obj[0] = args;
7827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7828 if (!SWIG_IsOK(res1)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetDropRestOfWord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7830 }
7831 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 {
7839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7840 }
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 SWIGINTERN PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj = 0;
7849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7850 int arg2 ;
7851 wxBitmap *arg3 = 0 ;
7852 void *argp1 = 0 ;
7853 int res1 = 0 ;
7854 int val2 ;
7855 int ecode2 = 0 ;
7856 void *argp3 = 0 ;
7857 int res3 = 0 ;
7858 PyObject * obj0 = 0 ;
7859 PyObject * obj1 = 0 ;
7860 PyObject * obj2 = 0 ;
7861 char * kwnames[] = {
7862 (char *) "self",(char *) "type",(char *) "bmp", NULL
7863 };
7864
7865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7867 if (!SWIG_IsOK(res1)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7869 }
7870 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7871 ecode2 = SWIG_AsVal_int(obj1, &val2);
7872 if (!SWIG_IsOK(ecode2)) {
7873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "2"" of type '" "int""'");
7874 }
7875 arg2 = static_cast< int >(val2);
7876 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
7877 if (!SWIG_IsOK(res3)) {
7878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7879 }
7880 if (!argp3) {
7881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_RegisterImage" "', expected argument " "3"" of type '" "wxBitmap const &""'");
7882 }
7883 arg3 = reinterpret_cast< wxBitmap * >(argp3);
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 resultobj = SWIG_Py_Void();
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7898 PyObject *resultobj = 0;
7899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7900 void *argp1 = 0 ;
7901 int res1 = 0 ;
7902 PyObject *swig_obj[1] ;
7903
7904 if (!args) SWIG_fail;
7905 swig_obj[0] = args;
7906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7907 if (!SWIG_IsOK(res1)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ClearRegisteredImages" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7909 }
7910 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 (arg1)->ClearRegisteredImages();
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_Py_Void();
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7925 PyObject *resultobj = 0;
7926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7927 int result;
7928 void *argp1 = 0 ;
7929 int res1 = 0 ;
7930 PyObject *swig_obj[1] ;
7931
7932 if (!args) SWIG_fail;
7933 swig_obj[0] = args;
7934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7935 if (!SWIG_IsOK(res1)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7937 }
7938 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (int)(arg1)->AutoCompGetTypeSeparator();
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 resultobj = SWIG_From_int(static_cast< int >(result));
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj = 0;
7954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7955 int arg2 ;
7956 void *argp1 = 0 ;
7957 int res1 = 0 ;
7958 int val2 ;
7959 int ecode2 = 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 char * kwnames[] = {
7963 (char *) "self",(char *) "separatorCharacter", NULL
7964 };
7965
7966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
7967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
7968 if (!SWIG_IsOK(res1)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
7970 }
7971 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
7972 ecode2 = SWIG_AsVal_int(obj1, &val2);
7973 if (!SWIG_IsOK(ecode2)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetTypeSeparator" "', expected argument " "2"" of type '" "int""'");
7975 }
7976 arg2 = static_cast< int >(val2);
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->AutoCompSetTypeSeparator(arg2);
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_Py_Void();
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj = 0;
7992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7993 int arg2 ;
7994 void *argp1 = 0 ;
7995 int res1 = 0 ;
7996 int val2 ;
7997 int ecode2 = 0 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char * kwnames[] = {
8001 (char *) "self",(char *) "characterCount", NULL
8002 };
8003
8004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxWidth",kwnames,&obj0,&obj1)) SWIG_fail;
8005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8006 if (!SWIG_IsOK(res1)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8008 }
8009 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8010 ecode2 = SWIG_AsVal_int(obj1, &val2);
8011 if (!SWIG_IsOK(ecode2)) {
8012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxWidth" "', expected argument " "2"" of type '" "int""'");
8013 }
8014 arg2 = static_cast< int >(val2);
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->AutoCompSetMaxWidth(arg2);
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_Py_Void();
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *resultobj = 0;
8030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8031 int result;
8032 void *argp1 = 0 ;
8033 int res1 = 0 ;
8034 PyObject *swig_obj[1] ;
8035
8036 if (!args) SWIG_fail;
8037 swig_obj[0] = args;
8038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8039 if (!SWIG_IsOK(res1)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8041 }
8042 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (int)(arg1)->AutoCompGetMaxWidth();
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = SWIG_From_int(static_cast< int >(result));
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj = 0;
8058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8059 int arg2 ;
8060 void *argp1 = 0 ;
8061 int res1 = 0 ;
8062 int val2 ;
8063 int ecode2 = 0 ;
8064 PyObject * obj0 = 0 ;
8065 PyObject * obj1 = 0 ;
8066 char * kwnames[] = {
8067 (char *) "self",(char *) "rowCount", NULL
8068 };
8069
8070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetMaxHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8072 if (!SWIG_IsOK(res1)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8074 }
8075 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8076 ecode2 = SWIG_AsVal_int(obj1, &val2);
8077 if (!SWIG_IsOK(ecode2)) {
8078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_AutoCompSetMaxHeight" "', expected argument " "2"" of type '" "int""'");
8079 }
8080 arg2 = static_cast< int >(val2);
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 (arg1)->AutoCompSetMaxHeight(arg2);
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 resultobj = SWIG_Py_Void();
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8095 PyObject *resultobj = 0;
8096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8097 int result;
8098 void *argp1 = 0 ;
8099 int res1 = 0 ;
8100 PyObject *swig_obj[1] ;
8101
8102 if (!args) SWIG_fail;
8103 swig_obj[0] = args;
8104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8105 if (!SWIG_IsOK(res1)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetMaxHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8107 }
8108 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (int)(arg1)->AutoCompGetMaxHeight();
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 resultobj = SWIG_From_int(static_cast< int >(result));
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj = 0;
8124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8125 int arg2 ;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 int val2 ;
8129 int ecode2 = 0 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char * kwnames[] = {
8133 (char *) "self",(char *) "indentSize", NULL
8134 };
8135
8136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8138 if (!SWIG_IsOK(res1)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8140 }
8141 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8142 ecode2 = SWIG_AsVal_int(obj1, &val2);
8143 if (!SWIG_IsOK(ecode2)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndent" "', expected argument " "2"" of type '" "int""'");
8145 }
8146 arg2 = static_cast< int >(val2);
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 (arg1)->SetIndent(arg2);
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 resultobj = SWIG_Py_Void();
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8161 PyObject *resultobj = 0;
8162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8163 int result;
8164 void *argp1 = 0 ;
8165 int res1 = 0 ;
8166 PyObject *swig_obj[1] ;
8167
8168 if (!args) SWIG_fail;
8169 swig_obj[0] = args;
8170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8171 if (!SWIG_IsOK(res1)) {
8172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8173 }
8174 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (int)(arg1)->GetIndent();
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = SWIG_From_int(static_cast< int >(result));
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj = 0;
8190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8191 bool arg2 ;
8192 void *argp1 = 0 ;
8193 int res1 = 0 ;
8194 bool val2 ;
8195 int ecode2 = 0 ;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 char * kwnames[] = {
8199 (char *) "self",(char *) "useTabs", NULL
8200 };
8201
8202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) SWIG_fail;
8203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8204 if (!SWIG_IsOK(res1)) {
8205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8206 }
8207 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8208 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8209 if (!SWIG_IsOK(ecode2)) {
8210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseTabs" "', expected argument " "2"" of type '" "bool""'");
8211 }
8212 arg2 = static_cast< bool >(val2);
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 (arg1)->SetUseTabs(arg2);
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 resultobj = SWIG_Py_Void();
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8227 PyObject *resultobj = 0;
8228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8229 bool result;
8230 void *argp1 = 0 ;
8231 int res1 = 0 ;
8232 PyObject *swig_obj[1] ;
8233
8234 if (!args) SWIG_fail;
8235 swig_obj[0] = args;
8236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8237 if (!SWIG_IsOK(res1)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseTabs" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8239 }
8240 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (bool)(arg1)->GetUseTabs();
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 {
8248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8249 }
8250 return resultobj;
8251 fail:
8252 return NULL;
8253 }
8254
8255
8256 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj = 0;
8258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8259 int arg2 ;
8260 int arg3 ;
8261 void *argp1 = 0 ;
8262 int res1 = 0 ;
8263 int val2 ;
8264 int ecode2 = 0 ;
8265 int val3 ;
8266 int ecode3 = 0 ;
8267 PyObject * obj0 = 0 ;
8268 PyObject * obj1 = 0 ;
8269 PyObject * obj2 = 0 ;
8270 char * kwnames[] = {
8271 (char *) "self",(char *) "line",(char *) "indentSize", NULL
8272 };
8273
8274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8276 if (!SWIG_IsOK(res1)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8278 }
8279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8280 ecode2 = SWIG_AsVal_int(obj1, &val2);
8281 if (!SWIG_IsOK(ecode2)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8283 }
8284 arg2 = static_cast< int >(val2);
8285 ecode3 = SWIG_AsVal_int(obj2, &val3);
8286 if (!SWIG_IsOK(ecode3)) {
8287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetLineIndentation" "', expected argument " "3"" of type '" "int""'");
8288 }
8289 arg3 = static_cast< int >(val3);
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 (arg1)->SetLineIndentation(arg2,arg3);
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 resultobj = SWIG_Py_Void();
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj = 0;
8305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8306 int arg2 ;
8307 int result;
8308 void *argp1 = 0 ;
8309 int res1 = 0 ;
8310 int val2 ;
8311 int ecode2 = 0 ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char * kwnames[] = {
8315 (char *) "self",(char *) "line", NULL
8316 };
8317
8318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) SWIG_fail;
8319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8320 if (!SWIG_IsOK(res1)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8322 }
8323 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8324 ecode2 = SWIG_AsVal_int(obj1, &val2);
8325 if (!SWIG_IsOK(ecode2)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentation" "', expected argument " "2"" of type '" "int""'");
8327 }
8328 arg2 = static_cast< int >(val2);
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (int)(arg1)->GetLineIndentation(arg2);
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 resultobj = SWIG_From_int(static_cast< int >(result));
8336 return resultobj;
8337 fail:
8338 return NULL;
8339 }
8340
8341
8342 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj = 0;
8344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8345 int arg2 ;
8346 int result;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 int val2 ;
8350 int ecode2 = 0 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char * kwnames[] = {
8354 (char *) "self",(char *) "line", NULL
8355 };
8356
8357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8359 if (!SWIG_IsOK(res1)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8361 }
8362 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8363 ecode2 = SWIG_AsVal_int(obj1, &val2);
8364 if (!SWIG_IsOK(ecode2)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineIndentPosition" "', expected argument " "2"" of type '" "int""'");
8366 }
8367 arg2 = static_cast< int >(val2);
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (int)(arg1)->GetLineIndentPosition(arg2);
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = SWIG_From_int(static_cast< int >(result));
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj = 0;
8383 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8384 int arg2 ;
8385 int result;
8386 void *argp1 = 0 ;
8387 int res1 = 0 ;
8388 int val2 ;
8389 int ecode2 = 0 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char * kwnames[] = {
8393 (char *) "self",(char *) "pos", NULL
8394 };
8395
8396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
8397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8398 if (!SWIG_IsOK(res1)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8400 }
8401 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8402 ecode2 = SWIG_AsVal_int(obj1, &val2);
8403 if (!SWIG_IsOK(ecode2)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
8405 }
8406 arg2 = static_cast< int >(val2);
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (int)(arg1)->GetColumn(arg2);
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_From_int(static_cast< int >(result));
8414 return resultobj;
8415 fail:
8416 return NULL;
8417 }
8418
8419
8420 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj = 0;
8422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8423 bool arg2 ;
8424 void *argp1 = 0 ;
8425 int res1 = 0 ;
8426 bool val2 ;
8427 int ecode2 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "self",(char *) "show", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8438 }
8439 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8440 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8441 if (!SWIG_IsOK(ecode2)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseHorizontalScrollBar" "', expected argument " "2"" of type '" "bool""'");
8443 }
8444 arg2 = static_cast< bool >(val2);
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->SetUseHorizontalScrollBar(arg2);
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_Py_Void();
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8459 PyObject *resultobj = 0;
8460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8461 bool result;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 PyObject *swig_obj[1] ;
8465
8466 if (!args) SWIG_fail;
8467 swig_obj[0] = args;
8468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8469 if (!SWIG_IsOK(res1)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseHorizontalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8471 }
8472 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (bool)(arg1)->GetUseHorizontalScrollBar();
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 {
8480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8481 }
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj = 0;
8490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8491 bool arg2 ;
8492 void *argp1 = 0 ;
8493 int res1 = 0 ;
8494 bool val2 ;
8495 int ecode2 = 0 ;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char * kwnames[] = {
8499 (char *) "self",(char *) "show", NULL
8500 };
8501
8502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) SWIG_fail;
8503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8506 }
8507 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8508 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8509 if (!SWIG_IsOK(ecode2)) {
8510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetIndentationGuides" "', expected argument " "2"" of type '" "bool""'");
8511 }
8512 arg2 = static_cast< bool >(val2);
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 (arg1)->SetIndentationGuides(arg2);
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 resultobj = SWIG_Py_Void();
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8527 PyObject *resultobj = 0;
8528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8529 bool result;
8530 void *argp1 = 0 ;
8531 int res1 = 0 ;
8532 PyObject *swig_obj[1] ;
8533
8534 if (!args) SWIG_fail;
8535 swig_obj[0] = args;
8536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8537 if (!SWIG_IsOK(res1)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetIndentationGuides" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8539 }
8540 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (bool)(arg1)->GetIndentationGuides();
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 {
8548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8549 }
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj = 0;
8558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8559 int arg2 ;
8560 void *argp1 = 0 ;
8561 int res1 = 0 ;
8562 int val2 ;
8563 int ecode2 = 0 ;
8564 PyObject * obj0 = 0 ;
8565 PyObject * obj1 = 0 ;
8566 char * kwnames[] = {
8567 (char *) "self",(char *) "column", NULL
8568 };
8569
8570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) SWIG_fail;
8571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8572 if (!SWIG_IsOK(res1)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8574 }
8575 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8576 ecode2 = SWIG_AsVal_int(obj1, &val2);
8577 if (!SWIG_IsOK(ecode2)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHighlightGuide" "', expected argument " "2"" of type '" "int""'");
8579 }
8580 arg2 = static_cast< int >(val2);
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 (arg1)->SetHighlightGuide(arg2);
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = SWIG_Py_Void();
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8595 PyObject *resultobj = 0;
8596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8597 int result;
8598 void *argp1 = 0 ;
8599 int res1 = 0 ;
8600 PyObject *swig_obj[1] ;
8601
8602 if (!args) SWIG_fail;
8603 swig_obj[0] = args;
8604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8605 if (!SWIG_IsOK(res1)) {
8606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetHighlightGuide" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8607 }
8608 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 result = (int)(arg1)->GetHighlightGuide();
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 resultobj = SWIG_From_int(static_cast< int >(result));
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj = 0;
8624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8625 int arg2 ;
8626 int result;
8627 void *argp1 = 0 ;
8628 int res1 = 0 ;
8629 int val2 ;
8630 int ecode2 = 0 ;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 char * kwnames[] = {
8634 (char *) "self",(char *) "line", NULL
8635 };
8636
8637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
8638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8639 if (!SWIG_IsOK(res1)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8641 }
8642 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8643 ecode2 = SWIG_AsVal_int(obj1, &val2);
8644 if (!SWIG_IsOK(ecode2)) {
8645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineEndPosition" "', expected argument " "2"" of type '" "int""'");
8646 }
8647 arg2 = static_cast< int >(val2);
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (int)(arg1)->GetLineEndPosition(arg2);
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_From_int(static_cast< int >(result));
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8662 PyObject *resultobj = 0;
8663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8664 int result;
8665 void *argp1 = 0 ;
8666 int res1 = 0 ;
8667 PyObject *swig_obj[1] ;
8668
8669 if (!args) SWIG_fail;
8670 swig_obj[0] = args;
8671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8672 if (!SWIG_IsOK(res1)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCodePage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8674 }
8675 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = (int)(arg1)->GetCodePage();
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 resultobj = SWIG_From_int(static_cast< int >(result));
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8690 PyObject *resultobj = 0;
8691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8692 wxColour result;
8693 void *argp1 = 0 ;
8694 int res1 = 0 ;
8695 PyObject *swig_obj[1] ;
8696
8697 if (!args) SWIG_fail;
8698 swig_obj[0] = args;
8699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8700 if (!SWIG_IsOK(res1)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8702 }
8703 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 result = (arg1)->GetCaretForeground();
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8718 PyObject *resultobj = 0;
8719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8720 bool result;
8721 void *argp1 = 0 ;
8722 int res1 = 0 ;
8723 PyObject *swig_obj[1] ;
8724
8725 if (!args) SWIG_fail;
8726 swig_obj[0] = args;
8727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8728 if (!SWIG_IsOK(res1)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8730 }
8731 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = (bool)(arg1)->GetReadOnly();
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 {
8739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8740 }
8741 return resultobj;
8742 fail:
8743 return NULL;
8744 }
8745
8746
8747 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj = 0;
8749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8750 int arg2 ;
8751 void *argp1 = 0 ;
8752 int res1 = 0 ;
8753 int val2 ;
8754 int ecode2 = 0 ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char * kwnames[] = {
8758 (char *) "self",(char *) "pos", NULL
8759 };
8760
8761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) SWIG_fail;
8762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8763 if (!SWIG_IsOK(res1)) {
8764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8765 }
8766 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8767 ecode2 = SWIG_AsVal_int(obj1, &val2);
8768 if (!SWIG_IsOK(ecode2)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCurrentPos" "', expected argument " "2"" of type '" "int""'");
8770 }
8771 arg2 = static_cast< int >(val2);
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 (arg1)->SetCurrentPos(arg2);
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = SWIG_Py_Void();
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj = 0;
8787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8788 int arg2 ;
8789 void *argp1 = 0 ;
8790 int res1 = 0 ;
8791 int val2 ;
8792 int ecode2 = 0 ;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 char * kwnames[] = {
8796 (char *) "self",(char *) "pos", NULL
8797 };
8798
8799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) SWIG_fail;
8800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8801 if (!SWIG_IsOK(res1)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8803 }
8804 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8805 ecode2 = SWIG_AsVal_int(obj1, &val2);
8806 if (!SWIG_IsOK(ecode2)) {
8807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionStart" "', expected argument " "2"" of type '" "int""'");
8808 }
8809 arg2 = static_cast< int >(val2);
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetSelectionStart(arg2);
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 resultobj = SWIG_Py_Void();
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8824 PyObject *resultobj = 0;
8825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8826 int result;
8827 void *argp1 = 0 ;
8828 int res1 = 0 ;
8829 PyObject *swig_obj[1] ;
8830
8831 if (!args) SWIG_fail;
8832 swig_obj[0] = args;
8833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8834 if (!SWIG_IsOK(res1)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8836 }
8837 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (int)(arg1)->GetSelectionStart();
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 resultobj = SWIG_From_int(static_cast< int >(result));
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj = 0;
8853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8854 int arg2 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 int val2 ;
8858 int ecode2 = 0 ;
8859 PyObject * obj0 = 0 ;
8860 PyObject * obj1 = 0 ;
8861 char * kwnames[] = {
8862 (char *) "self",(char *) "pos", NULL
8863 };
8864
8865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) SWIG_fail;
8866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8867 if (!SWIG_IsOK(res1)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8869 }
8870 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8871 ecode2 = SWIG_AsVal_int(obj1, &val2);
8872 if (!SWIG_IsOK(ecode2)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionEnd" "', expected argument " "2"" of type '" "int""'");
8874 }
8875 arg2 = static_cast< int >(val2);
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->SetSelectionEnd(arg2);
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_Py_Void();
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8890 PyObject *resultobj = 0;
8891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8892 int result;
8893 void *argp1 = 0 ;
8894 int res1 = 0 ;
8895 PyObject *swig_obj[1] ;
8896
8897 if (!args) SWIG_fail;
8898 swig_obj[0] = args;
8899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectionEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8902 }
8903 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (int)(arg1)->GetSelectionEnd();
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_From_int(static_cast< int >(result));
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj = 0;
8919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8920 int arg2 ;
8921 void *argp1 = 0 ;
8922 int res1 = 0 ;
8923 int val2 ;
8924 int ecode2 = 0 ;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 char * kwnames[] = {
8928 (char *) "self",(char *) "magnification", NULL
8929 };
8930
8931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) SWIG_fail;
8932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8933 if (!SWIG_IsOK(res1)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8935 }
8936 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8937 ecode2 = SWIG_AsVal_int(obj1, &val2);
8938 if (!SWIG_IsOK(ecode2)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintMagnification" "', expected argument " "2"" of type '" "int""'");
8940 }
8941 arg2 = static_cast< int >(val2);
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 (arg1)->SetPrintMagnification(arg2);
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 resultobj = SWIG_Py_Void();
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8956 PyObject *resultobj = 0;
8957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8958 int result;
8959 void *argp1 = 0 ;
8960 int res1 = 0 ;
8961 PyObject *swig_obj[1] ;
8962
8963 if (!args) SWIG_fail;
8964 swig_obj[0] = args;
8965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8966 if (!SWIG_IsOK(res1)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintMagnification" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
8968 }
8969 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = (int)(arg1)->GetPrintMagnification();
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 resultobj = SWIG_From_int(static_cast< int >(result));
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj = 0;
8985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8986 int arg2 ;
8987 void *argp1 = 0 ;
8988 int res1 = 0 ;
8989 int val2 ;
8990 int ecode2 = 0 ;
8991 PyObject * obj0 = 0 ;
8992 PyObject * obj1 = 0 ;
8993 char * kwnames[] = {
8994 (char *) "self",(char *) "mode", NULL
8995 };
8996
8997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) SWIG_fail;
8998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
8999 if (!SWIG_IsOK(res1)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9001 }
9002 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9003 ecode2 = SWIG_AsVal_int(obj1, &val2);
9004 if (!SWIG_IsOK(ecode2)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintColourMode" "', expected argument " "2"" of type '" "int""'");
9006 }
9007 arg2 = static_cast< int >(val2);
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetPrintColourMode(arg2);
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 resultobj = SWIG_Py_Void();
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9022 PyObject *resultobj = 0;
9023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9024 int result;
9025 void *argp1 = 0 ;
9026 int res1 = 0 ;
9027 PyObject *swig_obj[1] ;
9028
9029 if (!args) SWIG_fail;
9030 swig_obj[0] = args;
9031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9032 if (!SWIG_IsOK(res1)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintColourMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9034 }
9035 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (int)(arg1)->GetPrintColourMode();
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 resultobj = SWIG_From_int(static_cast< int >(result));
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj = 0;
9051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9052 int arg2 ;
9053 int arg3 ;
9054 wxString *arg4 = 0 ;
9055 int arg5 = (int) 0 ;
9056 int result;
9057 void *argp1 = 0 ;
9058 int res1 = 0 ;
9059 int val2 ;
9060 int ecode2 = 0 ;
9061 int val3 ;
9062 int ecode3 = 0 ;
9063 bool temp4 = false ;
9064 int val5 ;
9065 int ecode5 = 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 PyObject * obj2 = 0 ;
9069 PyObject * obj3 = 0 ;
9070 PyObject * obj4 = 0 ;
9071 char * kwnames[] = {
9072 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
9073 };
9074
9075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9077 if (!SWIG_IsOK(res1)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9079 }
9080 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9081 ecode2 = SWIG_AsVal_int(obj1, &val2);
9082 if (!SWIG_IsOK(ecode2)) {
9083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindText" "', expected argument " "2"" of type '" "int""'");
9084 }
9085 arg2 = static_cast< int >(val2);
9086 ecode3 = SWIG_AsVal_int(obj2, &val3);
9087 if (!SWIG_IsOK(ecode3)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindText" "', expected argument " "3"" of type '" "int""'");
9089 }
9090 arg3 = static_cast< int >(val3);
9091 {
9092 arg4 = wxString_in_helper(obj3);
9093 if (arg4 == NULL) SWIG_fail;
9094 temp4 = true;
9095 }
9096 if (obj4) {
9097 ecode5 = SWIG_AsVal_int(obj4, &val5);
9098 if (!SWIG_IsOK(ecode5)) {
9099 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_FindText" "', expected argument " "5"" of type '" "int""'");
9100 }
9101 arg5 = static_cast< int >(val5);
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_From_int(static_cast< int >(result));
9110 {
9111 if (temp4)
9112 delete arg4;
9113 }
9114 return resultobj;
9115 fail:
9116 {
9117 if (temp4)
9118 delete arg4;
9119 }
9120 return NULL;
9121 }
9122
9123
9124 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj = 0;
9126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9127 bool arg2 ;
9128 int arg3 ;
9129 int arg4 ;
9130 wxDC *arg5 = (wxDC *) 0 ;
9131 wxDC *arg6 = (wxDC *) 0 ;
9132 wxRect arg7 ;
9133 wxRect arg8 ;
9134 int result;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 bool val2 ;
9138 int ecode2 = 0 ;
9139 int val3 ;
9140 int ecode3 = 0 ;
9141 int val4 ;
9142 int ecode4 = 0 ;
9143 void *argp5 = 0 ;
9144 int res5 = 0 ;
9145 void *argp6 = 0 ;
9146 int res6 = 0 ;
9147 void *argp7 ;
9148 int res7 = 0 ;
9149 void *argp8 ;
9150 int res8 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 PyObject * obj4 = 0 ;
9156 PyObject * obj5 = 0 ;
9157 PyObject * obj6 = 0 ;
9158 PyObject * obj7 = 0 ;
9159 char * kwnames[] = {
9160 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
9161 };
9162
9163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9165 if (!SWIG_IsOK(res1)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9167 }
9168 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9169 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9170 if (!SWIG_IsOK(ecode2)) {
9171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "2"" of type '" "bool""'");
9172 }
9173 arg2 = static_cast< bool >(val2);
9174 ecode3 = SWIG_AsVal_int(obj2, &val3);
9175 if (!SWIG_IsOK(ecode3)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "3"" of type '" "int""'");
9177 }
9178 arg3 = static_cast< int >(val3);
9179 ecode4 = SWIG_AsVal_int(obj3, &val4);
9180 if (!SWIG_IsOK(ecode4)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "4"" of type '" "int""'");
9182 }
9183 arg4 = static_cast< int >(val4);
9184 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxDC, 0 | 0 );
9185 if (!SWIG_IsOK(res5)) {
9186 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "5"" of type '" "wxDC *""'");
9187 }
9188 arg5 = reinterpret_cast< wxDC * >(argp5);
9189 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxDC, 0 | 0 );
9190 if (!SWIG_IsOK(res6)) {
9191 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "6"" of type '" "wxDC *""'");
9192 }
9193 arg6 = reinterpret_cast< wxDC * >(argp6);
9194 {
9195 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxRect, 0 | 0);
9196 if (!SWIG_IsOK(res7)) {
9197 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9198 }
9199 if (!argp7) {
9200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "7"" of type '" "wxRect""'");
9201 } else {
9202 wxRect * temp = reinterpret_cast< wxRect * >(argp7);
9203 arg7 = *temp;
9204 if (SWIG_IsNewObj(res7)) delete temp;
9205 }
9206 }
9207 {
9208 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxRect, 0 | 0);
9209 if (!SWIG_IsOK(res8)) {
9210 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9211 }
9212 if (!argp8) {
9213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_FormatRange" "', expected argument " "8"" of type '" "wxRect""'");
9214 } else {
9215 wxRect * temp = reinterpret_cast< wxRect * >(argp8);
9216 arg8 = *temp;
9217 if (SWIG_IsNewObj(res8)) delete temp;
9218 }
9219 }
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 resultobj = SWIG_From_int(static_cast< int >(result));
9227 return resultobj;
9228 fail:
9229 return NULL;
9230 }
9231
9232
9233 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9234 PyObject *resultobj = 0;
9235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9236 int result;
9237 void *argp1 = 0 ;
9238 int res1 = 0 ;
9239 PyObject *swig_obj[1] ;
9240
9241 if (!args) SWIG_fail;
9242 swig_obj[0] = args;
9243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9244 if (!SWIG_IsOK(res1)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9246 }
9247 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 result = (int)(arg1)->GetFirstVisibleLine();
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 resultobj = SWIG_From_int(static_cast< int >(result));
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj = 0;
9263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9264 int arg2 ;
9265 wxString result;
9266 void *argp1 = 0 ;
9267 int res1 = 0 ;
9268 int val2 ;
9269 int ecode2 = 0 ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char * kwnames[] = {
9273 (char *) "self",(char *) "line", NULL
9274 };
9275
9276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) SWIG_fail;
9277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9280 }
9281 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9282 ecode2 = SWIG_AsVal_int(obj1, &val2);
9283 if (!SWIG_IsOK(ecode2)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLine" "', expected argument " "2"" of type '" "int""'");
9285 }
9286 arg2 = static_cast< int >(val2);
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (arg1)->GetLine(arg2);
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 {
9294 #if wxUSE_UNICODE
9295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9296 #else
9297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9298 #endif
9299 }
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9307 PyObject *resultobj = 0;
9308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9309 int result;
9310 void *argp1 = 0 ;
9311 int res1 = 0 ;
9312 PyObject *swig_obj[1] ;
9313
9314 if (!args) SWIG_fail;
9315 swig_obj[0] = args;
9316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9319 }
9320 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)(arg1)->GetLineCount();
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = SWIG_From_int(static_cast< int >(result));
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj = 0;
9336 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9337 int arg2 ;
9338 void *argp1 = 0 ;
9339 int res1 = 0 ;
9340 int val2 ;
9341 int ecode2 = 0 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 char * kwnames[] = {
9345 (char *) "self",(char *) "pixelWidth", NULL
9346 };
9347
9348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) SWIG_fail;
9349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9350 if (!SWIG_IsOK(res1)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9352 }
9353 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9354 ecode2 = SWIG_AsVal_int(obj1, &val2);
9355 if (!SWIG_IsOK(ecode2)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginLeft" "', expected argument " "2"" of type '" "int""'");
9357 }
9358 arg2 = static_cast< int >(val2);
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 (arg1)->SetMarginLeft(arg2);
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = SWIG_Py_Void();
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9373 PyObject *resultobj = 0;
9374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9375 int result;
9376 void *argp1 = 0 ;
9377 int res1 = 0 ;
9378 PyObject *swig_obj[1] ;
9379
9380 if (!args) SWIG_fail;
9381 swig_obj[0] = args;
9382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9383 if (!SWIG_IsOK(res1)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9385 }
9386 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (int)(arg1)->GetMarginLeft();
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = SWIG_From_int(static_cast< int >(result));
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj = 0;
9402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9403 int arg2 ;
9404 void *argp1 = 0 ;
9405 int res1 = 0 ;
9406 int val2 ;
9407 int ecode2 = 0 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 char * kwnames[] = {
9411 (char *) "self",(char *) "pixelWidth", NULL
9412 };
9413
9414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) SWIG_fail;
9415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9416 if (!SWIG_IsOK(res1)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9418 }
9419 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9420 ecode2 = SWIG_AsVal_int(obj1, &val2);
9421 if (!SWIG_IsOK(ecode2)) {
9422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMarginRight" "', expected argument " "2"" of type '" "int""'");
9423 }
9424 arg2 = static_cast< int >(val2);
9425 {
9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
9427 (arg1)->SetMarginRight(arg2);
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = SWIG_Py_Void();
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9439 PyObject *resultobj = 0;
9440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9441 int result;
9442 void *argp1 = 0 ;
9443 int res1 = 0 ;
9444 PyObject *swig_obj[1] ;
9445
9446 if (!args) SWIG_fail;
9447 swig_obj[0] = args;
9448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9449 if (!SWIG_IsOK(res1)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMarginRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9451 }
9452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (int)(arg1)->GetMarginRight();
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = SWIG_From_int(static_cast< int >(result));
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9467 PyObject *resultobj = 0;
9468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9469 bool result;
9470 void *argp1 = 0 ;
9471 int res1 = 0 ;
9472 PyObject *swig_obj[1] ;
9473
9474 if (!args) SWIG_fail;
9475 swig_obj[0] = args;
9476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9477 if (!SWIG_IsOK(res1)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModify" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9479 }
9480 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (bool)(arg1)->GetModify();
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9489 }
9490 return resultobj;
9491 fail:
9492 return NULL;
9493 }
9494
9495
9496 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = 0;
9498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9499 int arg2 ;
9500 int arg3 ;
9501 void *argp1 = 0 ;
9502 int res1 = 0 ;
9503 int val2 ;
9504 int ecode2 = 0 ;
9505 int val3 ;
9506 int ecode3 = 0 ;
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 PyObject * obj2 = 0 ;
9510 char * kwnames[] = {
9511 (char *) "self",(char *) "start",(char *) "end", NULL
9512 };
9513
9514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9516 if (!SWIG_IsOK(res1)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9518 }
9519 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9520 ecode2 = SWIG_AsVal_int(obj1, &val2);
9521 if (!SWIG_IsOK(ecode2)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "2"" of type '" "int""'");
9523 }
9524 arg2 = static_cast< int >(val2);
9525 ecode3 = SWIG_AsVal_int(obj2, &val3);
9526 if (!SWIG_IsOK(ecode3)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetSelection" "', expected argument " "3"" of type '" "int""'");
9528 }
9529 arg3 = static_cast< int >(val3);
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 (arg1)->SetSelection(arg2,arg3);
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = SWIG_Py_Void();
9537 return resultobj;
9538 fail:
9539 return NULL;
9540 }
9541
9542
9543 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9544 PyObject *resultobj = 0;
9545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9546 wxString result;
9547 void *argp1 = 0 ;
9548 int res1 = 0 ;
9549 PyObject *swig_obj[1] ;
9550
9551 if (!args) SWIG_fail;
9552 swig_obj[0] = args;
9553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9554 if (!SWIG_IsOK(res1)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9556 }
9557 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (arg1)->GetSelectedText();
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 {
9565 #if wxUSE_UNICODE
9566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9567 #else
9568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9569 #endif
9570 }
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj = 0;
9579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9580 int arg2 ;
9581 int arg3 ;
9582 wxString result;
9583 void *argp1 = 0 ;
9584 int res1 = 0 ;
9585 int val2 ;
9586 int ecode2 = 0 ;
9587 int val3 ;
9588 int ecode3 = 0 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9591 PyObject * obj2 = 0 ;
9592 char * kwnames[] = {
9593 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
9594 };
9595
9596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9598 if (!SWIG_IsOK(res1)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9600 }
9601 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9602 ecode2 = SWIG_AsVal_int(obj1, &val2);
9603 if (!SWIG_IsOK(ecode2)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "2"" of type '" "int""'");
9605 }
9606 arg2 = static_cast< int >(val2);
9607 ecode3 = SWIG_AsVal_int(obj2, &val3);
9608 if (!SWIG_IsOK(ecode3)) {
9609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRange" "', expected argument " "3"" of type '" "int""'");
9610 }
9611 arg3 = static_cast< int >(val3);
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (arg1)->GetTextRange(arg2,arg3);
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 {
9619 #if wxUSE_UNICODE
9620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9621 #else
9622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9623 #endif
9624 }
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9632 PyObject *resultobj = 0;
9633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9634 bool arg2 ;
9635 void *argp1 = 0 ;
9636 int res1 = 0 ;
9637 bool val2 ;
9638 int ecode2 = 0 ;
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 char * kwnames[] = {
9642 (char *) "self",(char *) "normal", NULL
9643 };
9644
9645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9647 if (!SWIG_IsOK(res1)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9649 }
9650 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9651 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9652 if (!SWIG_IsOK(ecode2)) {
9653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideSelection" "', expected argument " "2"" of type '" "bool""'");
9654 }
9655 arg2 = static_cast< bool >(val2);
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 (arg1)->HideSelection(arg2);
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = SWIG_Py_Void();
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj = 0;
9671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9672 int arg2 ;
9673 int result;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 int val2 ;
9677 int ecode2 = 0 ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 char * kwnames[] = {
9681 (char *) "self",(char *) "pos", NULL
9682 };
9683
9684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9686 if (!SWIG_IsOK(res1)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9688 }
9689 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9690 ecode2 = SWIG_AsVal_int(obj1, &val2);
9691 if (!SWIG_IsOK(ecode2)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineFromPosition" "', expected argument " "2"" of type '" "int""'");
9693 }
9694 arg2 = static_cast< int >(val2);
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (int)(arg1)->LineFromPosition(arg2);
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_From_int(static_cast< int >(result));
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = 0;
9710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9711 int arg2 ;
9712 int result;
9713 void *argp1 = 0 ;
9714 int res1 = 0 ;
9715 int val2 ;
9716 int ecode2 = 0 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char * kwnames[] = {
9720 (char *) "self",(char *) "line", NULL
9721 };
9722
9723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) SWIG_fail;
9724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9725 if (!SWIG_IsOK(res1)) {
9726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9727 }
9728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9729 ecode2 = SWIG_AsVal_int(obj1, &val2);
9730 if (!SWIG_IsOK(ecode2)) {
9731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionFromLine" "', expected argument " "2"" of type '" "int""'");
9732 }
9733 arg2 = static_cast< int >(val2);
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 result = (int)(arg1)->PositionFromLine(arg2);
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 resultobj = SWIG_From_int(static_cast< int >(result));
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj = 0;
9749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9750 int arg2 ;
9751 int arg3 ;
9752 void *argp1 = 0 ;
9753 int res1 = 0 ;
9754 int val2 ;
9755 int ecode2 = 0 ;
9756 int val3 ;
9757 int ecode3 = 0 ;
9758 PyObject * obj0 = 0 ;
9759 PyObject * obj1 = 0 ;
9760 PyObject * obj2 = 0 ;
9761 char * kwnames[] = {
9762 (char *) "self",(char *) "columns",(char *) "lines", NULL
9763 };
9764
9765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9767 if (!SWIG_IsOK(res1)) {
9768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9769 }
9770 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9771 ecode2 = SWIG_AsVal_int(obj1, &val2);
9772 if (!SWIG_IsOK(ecode2)) {
9773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "2"" of type '" "int""'");
9774 }
9775 arg2 = static_cast< int >(val2);
9776 ecode3 = SWIG_AsVal_int(obj2, &val3);
9777 if (!SWIG_IsOK(ecode3)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_LineScroll" "', expected argument " "3"" of type '" "int""'");
9779 }
9780 arg3 = static_cast< int >(val3);
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 (arg1)->LineScroll(arg2,arg3);
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 resultobj = SWIG_Py_Void();
9788 return resultobj;
9789 fail:
9790 return NULL;
9791 }
9792
9793
9794 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9795 PyObject *resultobj = 0;
9796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9797 void *argp1 = 0 ;
9798 int res1 = 0 ;
9799 PyObject *swig_obj[1] ;
9800
9801 if (!args) SWIG_fail;
9802 swig_obj[0] = args;
9803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9804 if (!SWIG_IsOK(res1)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureCaretVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9806 }
9807 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 (arg1)->EnsureCaretVisible();
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
9814 resultobj = SWIG_Py_Void();
9815 return resultobj;
9816 fail:
9817 return NULL;
9818 }
9819
9820
9821 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9822 PyObject *resultobj = 0;
9823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9824 wxString *arg2 = 0 ;
9825 void *argp1 = 0 ;
9826 int res1 = 0 ;
9827 bool temp2 = false ;
9828 PyObject * obj0 = 0 ;
9829 PyObject * obj1 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "text", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9838 }
9839 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9840 {
9841 arg2 = wxString_in_helper(obj1);
9842 if (arg2 == NULL) SWIG_fail;
9843 temp2 = true;
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 (arg1)->ReplaceSelection((wxString const &)*arg2);
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = SWIG_Py_Void();
9852 {
9853 if (temp2)
9854 delete arg2;
9855 }
9856 return resultobj;
9857 fail:
9858 {
9859 if (temp2)
9860 delete arg2;
9861 }
9862 return NULL;
9863 }
9864
9865
9866 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj = 0;
9868 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9869 bool arg2 ;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 bool val2 ;
9873 int ecode2 = 0 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char * kwnames[] = {
9877 (char *) "self",(char *) "readOnly", NULL
9878 };
9879
9880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) SWIG_fail;
9881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9884 }
9885 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9887 if (!SWIG_IsOK(ecode2)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetReadOnly" "', expected argument " "2"" of type '" "bool""'");
9889 }
9890 arg2 = static_cast< bool >(val2);
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetReadOnly(arg2);
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_Py_Void();
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9905 PyObject *resultobj = 0;
9906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9907 bool result;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 PyObject *swig_obj[1] ;
9911
9912 if (!args) SWIG_fail;
9913 swig_obj[0] = args;
9914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9915 if (!SWIG_IsOK(res1)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9917 }
9918 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (bool)(arg1)->CanPaste();
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9927 }
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9935 PyObject *resultobj = 0;
9936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9937 bool result;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 PyObject *swig_obj[1] ;
9941
9942 if (!args) SWIG_fail;
9943 swig_obj[0] = args;
9944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9945 if (!SWIG_IsOK(res1)) {
9946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9947 }
9948 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = (bool)(arg1)->CanUndo();
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 {
9956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9957 }
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9965 PyObject *resultobj = 0;
9966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9967 void *argp1 = 0 ;
9968 int res1 = 0 ;
9969 PyObject *swig_obj[1] ;
9970
9971 if (!args) SWIG_fail;
9972 swig_obj[0] = args;
9973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
9974 if (!SWIG_IsOK(res1)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EmptyUndoBuffer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
9976 }
9977 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->EmptyUndoBuffer();
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_Py_Void();
9985 return resultobj;
9986 fail:
9987 return NULL;
9988 }
9989
9990
9991 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9992 PyObject *resultobj = 0;
9993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 PyObject *swig_obj[1] ;
9997
9998 if (!args) SWIG_fail;
9999 swig_obj[0] = args;
10000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10001 if (!SWIG_IsOK(res1)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Undo" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10003 }
10004 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 (arg1)->Undo();
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_Py_Void();
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10019 PyObject *resultobj = 0;
10020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10021 void *argp1 = 0 ;
10022 int res1 = 0 ;
10023 PyObject *swig_obj[1] ;
10024
10025 if (!args) SWIG_fail;
10026 swig_obj[0] = args;
10027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10028 if (!SWIG_IsOK(res1)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10030 }
10031 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->Cut();
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_Py_Void();
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10046 PyObject *resultobj = 0;
10047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10048 void *argp1 = 0 ;
10049 int res1 = 0 ;
10050 PyObject *swig_obj[1] ;
10051
10052 if (!args) SWIG_fail;
10053 swig_obj[0] = args;
10054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10055 if (!SWIG_IsOK(res1)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Copy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10057 }
10058 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 (arg1)->Copy();
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 resultobj = SWIG_Py_Void();
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10073 PyObject *resultobj = 0;
10074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10075 void *argp1 = 0 ;
10076 int res1 = 0 ;
10077 PyObject *swig_obj[1] ;
10078
10079 if (!args) SWIG_fail;
10080 swig_obj[0] = args;
10081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10082 if (!SWIG_IsOK(res1)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Paste" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10084 }
10085 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 (arg1)->Paste();
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 resultobj = SWIG_Py_Void();
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10100 PyObject *resultobj = 0;
10101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10102 void *argp1 = 0 ;
10103 int res1 = 0 ;
10104 PyObject *swig_obj[1] ;
10105
10106 if (!args) SWIG_fail;
10107 swig_obj[0] = args;
10108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10109 if (!SWIG_IsOK(res1)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Clear" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10111 }
10112 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->Clear();
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = SWIG_Py_Void();
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj = 0;
10128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10129 wxString *arg2 = 0 ;
10130 void *argp1 = 0 ;
10131 int res1 = 0 ;
10132 bool temp2 = false ;
10133 PyObject * obj0 = 0 ;
10134 PyObject * obj1 = 0 ;
10135 char * kwnames[] = {
10136 (char *) "self",(char *) "text", NULL
10137 };
10138
10139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
10140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10141 if (!SWIG_IsOK(res1)) {
10142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10143 }
10144 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10145 {
10146 arg2 = wxString_in_helper(obj1);
10147 if (arg2 == NULL) SWIG_fail;
10148 temp2 = true;
10149 }
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->SetText((wxString const &)*arg2);
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = SWIG_Py_Void();
10157 {
10158 if (temp2)
10159 delete arg2;
10160 }
10161 return resultobj;
10162 fail:
10163 {
10164 if (temp2)
10165 delete arg2;
10166 }
10167 return NULL;
10168 }
10169
10170
10171 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10172 PyObject *resultobj = 0;
10173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10174 wxString result;
10175 void *argp1 = 0 ;
10176 int res1 = 0 ;
10177 PyObject *swig_obj[1] ;
10178
10179 if (!args) SWIG_fail;
10180 swig_obj[0] = args;
10181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10182 if (!SWIG_IsOK(res1)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10184 }
10185 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (arg1)->GetText();
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 {
10193 #if wxUSE_UNICODE
10194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10195 #else
10196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10197 #endif
10198 }
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10206 PyObject *resultobj = 0;
10207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10208 int result;
10209 void *argp1 = 0 ;
10210 int res1 = 0 ;
10211 PyObject *swig_obj[1] ;
10212
10213 if (!args) SWIG_fail;
10214 swig_obj[0] = args;
10215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10216 if (!SWIG_IsOK(res1)) {
10217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10218 }
10219 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 result = (int)(arg1)->GetTextLength();
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_From_int(static_cast< int >(result));
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj = 0;
10235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10236 bool arg2 ;
10237 void *argp1 = 0 ;
10238 int res1 = 0 ;
10239 bool val2 ;
10240 int ecode2 = 0 ;
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 char * kwnames[] = {
10244 (char *) "self",(char *) "overtype", NULL
10245 };
10246
10247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) SWIG_fail;
10248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10249 if (!SWIG_IsOK(res1)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10251 }
10252 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10253 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10254 if (!SWIG_IsOK(ecode2)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetOvertype" "', expected argument " "2"" of type '" "bool""'");
10256 }
10257 arg2 = static_cast< bool >(val2);
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 (arg1)->SetOvertype(arg2);
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_Py_Void();
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10272 PyObject *resultobj = 0;
10273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10274 bool result;
10275 void *argp1 = 0 ;
10276 int res1 = 0 ;
10277 PyObject *swig_obj[1] ;
10278
10279 if (!args) SWIG_fail;
10280 swig_obj[0] = args;
10281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10282 if (!SWIG_IsOK(res1)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10284 }
10285 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (bool)(arg1)->GetOvertype();
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 {
10293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10294 }
10295 return resultobj;
10296 fail:
10297 return NULL;
10298 }
10299
10300
10301 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj = 0;
10303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10304 int arg2 ;
10305 void *argp1 = 0 ;
10306 int res1 = 0 ;
10307 int val2 ;
10308 int ecode2 = 0 ;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 char * kwnames[] = {
10312 (char *) "self",(char *) "pixelWidth", NULL
10313 };
10314
10315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) SWIG_fail;
10316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10317 if (!SWIG_IsOK(res1)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10319 }
10320 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10321 ecode2 = SWIG_AsVal_int(obj1, &val2);
10322 if (!SWIG_IsOK(ecode2)) {
10323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretWidth" "', expected argument " "2"" of type '" "int""'");
10324 }
10325 arg2 = static_cast< int >(val2);
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 (arg1)->SetCaretWidth(arg2);
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 resultobj = SWIG_Py_Void();
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10340 PyObject *resultobj = 0;
10341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10342 int result;
10343 void *argp1 = 0 ;
10344 int res1 = 0 ;
10345 PyObject *swig_obj[1] ;
10346
10347 if (!args) SWIG_fail;
10348 swig_obj[0] = args;
10349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10350 if (!SWIG_IsOK(res1)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10352 }
10353 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 result = (int)(arg1)->GetCaretWidth();
10357 wxPyEndAllowThreads(__tstate);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
10360 resultobj = SWIG_From_int(static_cast< int >(result));
10361 return resultobj;
10362 fail:
10363 return NULL;
10364 }
10365
10366
10367 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj = 0;
10369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10370 int arg2 ;
10371 void *argp1 = 0 ;
10372 int res1 = 0 ;
10373 int val2 ;
10374 int ecode2 = 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 char * kwnames[] = {
10378 (char *) "self",(char *) "pos", NULL
10379 };
10380
10381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) SWIG_fail;
10382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10383 if (!SWIG_IsOK(res1)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10385 }
10386 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10387 ecode2 = SWIG_AsVal_int(obj1, &val2);
10388 if (!SWIG_IsOK(ecode2)) {
10389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetStart" "', expected argument " "2"" of type '" "int""'");
10390 }
10391 arg2 = static_cast< int >(val2);
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 (arg1)->SetTargetStart(arg2);
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_Py_Void();
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10406 PyObject *resultobj = 0;
10407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10408 int result;
10409 void *argp1 = 0 ;
10410 int res1 = 0 ;
10411 PyObject *swig_obj[1] ;
10412
10413 if (!args) SWIG_fail;
10414 swig_obj[0] = args;
10415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10416 if (!SWIG_IsOK(res1)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10418 }
10419 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 result = (int)(arg1)->GetTargetStart();
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = SWIG_From_int(static_cast< int >(result));
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj = 0;
10435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10436 int arg2 ;
10437 void *argp1 = 0 ;
10438 int res1 = 0 ;
10439 int val2 ;
10440 int ecode2 = 0 ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 char * kwnames[] = {
10444 (char *) "self",(char *) "pos", NULL
10445 };
10446
10447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) SWIG_fail;
10448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10451 }
10452 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10453 ecode2 = SWIG_AsVal_int(obj1, &val2);
10454 if (!SWIG_IsOK(ecode2)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTargetEnd" "', expected argument " "2"" of type '" "int""'");
10456 }
10457 arg2 = static_cast< int >(val2);
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->SetTargetEnd(arg2);
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 resultobj = SWIG_Py_Void();
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10472 PyObject *resultobj = 0;
10473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10474 int result;
10475 void *argp1 = 0 ;
10476 int res1 = 0 ;
10477 PyObject *swig_obj[1] ;
10478
10479 if (!args) SWIG_fail;
10480 swig_obj[0] = args;
10481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10482 if (!SWIG_IsOK(res1)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTargetEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10484 }
10485 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (int)(arg1)->GetTargetEnd();
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 resultobj = SWIG_From_int(static_cast< int >(result));
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj = 0;
10501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10502 wxString *arg2 = 0 ;
10503 int result;
10504 void *argp1 = 0 ;
10505 int res1 = 0 ;
10506 bool temp2 = false ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char * kwnames[] = {
10510 (char *) "self",(char *) "text", NULL
10511 };
10512
10513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10515 if (!SWIG_IsOK(res1)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10517 }
10518 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10519 {
10520 arg2 = wxString_in_helper(obj1);
10521 if (arg2 == NULL) SWIG_fail;
10522 temp2 = true;
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 resultobj = SWIG_From_int(static_cast< int >(result));
10531 {
10532 if (temp2)
10533 delete arg2;
10534 }
10535 return resultobj;
10536 fail:
10537 {
10538 if (temp2)
10539 delete arg2;
10540 }
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj = 0;
10547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10548 wxString *arg2 = 0 ;
10549 int result;
10550 void *argp1 = 0 ;
10551 int res1 = 0 ;
10552 bool temp2 = false ;
10553 PyObject * obj0 = 0 ;
10554 PyObject * obj1 = 0 ;
10555 char * kwnames[] = {
10556 (char *) "self",(char *) "text", NULL
10557 };
10558
10559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) SWIG_fail;
10560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReplaceTargetRE" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10563 }
10564 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10565 {
10566 arg2 = wxString_in_helper(obj1);
10567 if (arg2 == NULL) SWIG_fail;
10568 temp2 = true;
10569 }
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = SWIG_From_int(static_cast< int >(result));
10577 {
10578 if (temp2)
10579 delete arg2;
10580 }
10581 return resultobj;
10582 fail:
10583 {
10584 if (temp2)
10585 delete arg2;
10586 }
10587 return NULL;
10588 }
10589
10590
10591 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj = 0;
10593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10594 wxString *arg2 = 0 ;
10595 int result;
10596 void *argp1 = 0 ;
10597 int res1 = 0 ;
10598 bool temp2 = false ;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 char * kwnames[] = {
10602 (char *) "self",(char *) "text", NULL
10603 };
10604
10605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) SWIG_fail;
10606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10607 if (!SWIG_IsOK(res1)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchInTarget" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10609 }
10610 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10611 {
10612 arg2 = wxString_in_helper(obj1);
10613 if (arg2 == NULL) SWIG_fail;
10614 temp2 = true;
10615 }
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 resultobj = SWIG_From_int(static_cast< int >(result));
10623 {
10624 if (temp2)
10625 delete arg2;
10626 }
10627 return resultobj;
10628 fail:
10629 {
10630 if (temp2)
10631 delete arg2;
10632 }
10633 return NULL;
10634 }
10635
10636
10637 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj = 0;
10639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10640 int arg2 ;
10641 void *argp1 = 0 ;
10642 int res1 = 0 ;
10643 int val2 ;
10644 int ecode2 = 0 ;
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 char * kwnames[] = {
10648 (char *) "self",(char *) "flags", NULL
10649 };
10650
10651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10653 if (!SWIG_IsOK(res1)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10655 }
10656 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10657 ecode2 = SWIG_AsVal_int(obj1, &val2);
10658 if (!SWIG_IsOK(ecode2)) {
10659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSearchFlags" "', expected argument " "2"" of type '" "int""'");
10660 }
10661 arg2 = static_cast< int >(val2);
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 (arg1)->SetSearchFlags(arg2);
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_Py_Void();
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10676 PyObject *resultobj = 0;
10677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10678 int result;
10679 void *argp1 = 0 ;
10680 int res1 = 0 ;
10681 PyObject *swig_obj[1] ;
10682
10683 if (!args) SWIG_fail;
10684 swig_obj[0] = args;
10685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10686 if (!SWIG_IsOK(res1)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSearchFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10688 }
10689 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 result = (int)(arg1)->GetSearchFlags();
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 resultobj = SWIG_From_int(static_cast< int >(result));
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj = 0;
10705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10706 int arg2 ;
10707 wxString *arg3 = 0 ;
10708 void *argp1 = 0 ;
10709 int res1 = 0 ;
10710 int val2 ;
10711 int ecode2 = 0 ;
10712 bool temp3 = false ;
10713 PyObject * obj0 = 0 ;
10714 PyObject * obj1 = 0 ;
10715 PyObject * obj2 = 0 ;
10716 char * kwnames[] = {
10717 (char *) "self",(char *) "pos",(char *) "definition", NULL
10718 };
10719
10720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10722 if (!SWIG_IsOK(res1)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10724 }
10725 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10726 ecode2 = SWIG_AsVal_int(obj1, &val2);
10727 if (!SWIG_IsOK(ecode2)) {
10728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipShow" "', expected argument " "2"" of type '" "int""'");
10729 }
10730 arg2 = static_cast< int >(val2);
10731 {
10732 arg3 = wxString_in_helper(obj2);
10733 if (arg3 == NULL) SWIG_fail;
10734 temp3 = true;
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = SWIG_Py_Void();
10743 {
10744 if (temp3)
10745 delete arg3;
10746 }
10747 return resultobj;
10748 fail:
10749 {
10750 if (temp3)
10751 delete arg3;
10752 }
10753 return NULL;
10754 }
10755
10756
10757 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10758 PyObject *resultobj = 0;
10759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10760 void *argp1 = 0 ;
10761 int res1 = 0 ;
10762 PyObject *swig_obj[1] ;
10763
10764 if (!args) SWIG_fail;
10765 swig_obj[0] = args;
10766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10767 if (!SWIG_IsOK(res1)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipCancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10769 }
10770 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 (arg1)->CallTipCancel();
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_Py_Void();
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10785 PyObject *resultobj = 0;
10786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10787 bool result;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 PyObject *swig_obj[1] ;
10791
10792 if (!args) SWIG_fail;
10793 swig_obj[0] = args;
10794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10795 if (!SWIG_IsOK(res1)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipActive" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10797 }
10798 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (bool)(arg1)->CallTipActive();
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 {
10806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10807 }
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10815 PyObject *resultobj = 0;
10816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10817 int result;
10818 void *argp1 = 0 ;
10819 int res1 = 0 ;
10820 PyObject *swig_obj[1] ;
10821
10822 if (!args) SWIG_fail;
10823 swig_obj[0] = args;
10824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10825 if (!SWIG_IsOK(res1)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipPosAtStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10827 }
10828 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = (int)(arg1)->CallTipPosAtStart();
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 resultobj = SWIG_From_int(static_cast< int >(result));
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj = 0;
10844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10845 int arg2 ;
10846 int arg3 ;
10847 void *argp1 = 0 ;
10848 int res1 = 0 ;
10849 int val2 ;
10850 int ecode2 = 0 ;
10851 int val3 ;
10852 int ecode3 = 0 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 PyObject * obj2 = 0 ;
10856 char * kwnames[] = {
10857 (char *) "self",(char *) "start",(char *) "end", NULL
10858 };
10859
10860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10862 if (!SWIG_IsOK(res1)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10864 }
10865 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10866 ecode2 = SWIG_AsVal_int(obj1, &val2);
10867 if (!SWIG_IsOK(ecode2)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "2"" of type '" "int""'");
10869 }
10870 arg2 = static_cast< int >(val2);
10871 ecode3 = SWIG_AsVal_int(obj2, &val3);
10872 if (!SWIG_IsOK(ecode3)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CallTipSetHighlight" "', expected argument " "3"" of type '" "int""'");
10874 }
10875 arg3 = static_cast< int >(val3);
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 (arg1)->CallTipSetHighlight(arg2,arg3);
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_Py_Void();
10883 return resultobj;
10884 fail:
10885 return NULL;
10886 }
10887
10888
10889 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj = 0;
10891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10892 wxColour *arg2 = 0 ;
10893 void *argp1 = 0 ;
10894 int res1 = 0 ;
10895 wxColour temp2 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char * kwnames[] = {
10899 (char *) "self",(char *) "back", NULL
10900 };
10901
10902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) SWIG_fail;
10903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10904 if (!SWIG_IsOK(res1)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10906 }
10907 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10908 {
10909 arg2 = &temp2;
10910 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10911 }
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_Py_Void();
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj = 0;
10927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10928 wxColour *arg2 = 0 ;
10929 void *argp1 = 0 ;
10930 int res1 = 0 ;
10931 wxColour temp2 ;
10932 PyObject * obj0 = 0 ;
10933 PyObject * obj1 = 0 ;
10934 char * kwnames[] = {
10935 (char *) "self",(char *) "fore", NULL
10936 };
10937
10938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) SWIG_fail;
10939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10940 if (!SWIG_IsOK(res1)) {
10941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10942 }
10943 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10944 {
10945 arg2 = &temp2;
10946 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10947 }
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 resultobj = SWIG_Py_Void();
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj = 0;
10963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10964 wxColour *arg2 = 0 ;
10965 void *argp1 = 0 ;
10966 int res1 = 0 ;
10967 wxColour temp2 ;
10968 PyObject * obj0 = 0 ;
10969 PyObject * obj1 = 0 ;
10970 char * kwnames[] = {
10971 (char *) "self",(char *) "fore", NULL
10972 };
10973
10974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) SWIG_fail;
10975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
10976 if (!SWIG_IsOK(res1)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CallTipSetForegroundHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
10978 }
10979 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
10980 {
10981 arg2 = &temp2;
10982 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10983 }
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 resultobj = SWIG_Py_Void();
10991 return resultobj;
10992 fail:
10993 return NULL;
10994 }
10995
10996
10997 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CallTipUseStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj = 0;
10999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11000 int arg2 ;
11001 void *argp1 = 0 ;
11002 int res1 = 0 ;
11003 int val2 ;
11004 int ecode2 = 0 ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 char * kwnames[] = {
11008 (char *) "self",(char *) "tabSize", NULL
11009 };
11010
11011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipUseStyle",kwnames,&obj0,&obj1)) 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_CallTipUseStyle" "', 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_CallTipUseStyle" "', expected argument " "2"" of type '" "int""'");
11020 }
11021 arg2 = static_cast< int >(val2);
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 (arg1)->CallTipUseStyle(arg2);
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = SWIG_Py_Void();
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj = 0;
11037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11038 int arg2 ;
11039 int result;
11040 void *argp1 = 0 ;
11041 int res1 = 0 ;
11042 int val2 ;
11043 int ecode2 = 0 ;
11044 PyObject * obj0 = 0 ;
11045 PyObject * obj1 = 0 ;
11046 char * kwnames[] = {
11047 (char *) "self",(char *) "line", NULL
11048 };
11049
11050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) SWIG_fail;
11051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11052 if (!SWIG_IsOK(res1)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11054 }
11055 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11056 ecode2 = SWIG_AsVal_int(obj1, &val2);
11057 if (!SWIG_IsOK(ecode2)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_VisibleFromDocLine" "', expected argument " "2"" of type '" "int""'");
11059 }
11060 arg2 = static_cast< int >(val2);
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (int)(arg1)->VisibleFromDocLine(arg2);
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 resultobj = SWIG_From_int(static_cast< int >(result));
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj = 0;
11076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11077 int arg2 ;
11078 int result;
11079 void *argp1 = 0 ;
11080 int res1 = 0 ;
11081 int val2 ;
11082 int ecode2 = 0 ;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 char * kwnames[] = {
11086 (char *) "self",(char *) "lineDisplay", NULL
11087 };
11088
11089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11091 if (!SWIG_IsOK(res1)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11093 }
11094 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11095 ecode2 = SWIG_AsVal_int(obj1, &val2);
11096 if (!SWIG_IsOK(ecode2)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DocLineFromVisible" "', expected argument " "2"" of type '" "int""'");
11098 }
11099 arg2 = static_cast< int >(val2);
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (int)(arg1)->DocLineFromVisible(arg2);
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = SWIG_From_int(static_cast< int >(result));
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WrapCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj = 0;
11115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11116 int arg2 ;
11117 int result;
11118 void *argp1 = 0 ;
11119 int res1 = 0 ;
11120 int val2 ;
11121 int ecode2 = 0 ;
11122 PyObject * obj0 = 0 ;
11123 PyObject * obj1 = 0 ;
11124 char * kwnames[] = {
11125 (char *) "self",(char *) "line", NULL
11126 };
11127
11128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_WrapCount",kwnames,&obj0,&obj1)) SWIG_fail;
11129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11130 if (!SWIG_IsOK(res1)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11132 }
11133 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11134 ecode2 = SWIG_AsVal_int(obj1, &val2);
11135 if (!SWIG_IsOK(ecode2)) {
11136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WrapCount" "', expected argument " "2"" of type '" "int""'");
11137 }
11138 arg2 = static_cast< int >(val2);
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (int)(arg1)->WrapCount(arg2);
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 resultobj = SWIG_From_int(static_cast< int >(result));
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj = 0;
11154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11155 int arg2 ;
11156 int arg3 ;
11157 void *argp1 = 0 ;
11158 int res1 = 0 ;
11159 int val2 ;
11160 int ecode2 = 0 ;
11161 int val3 ;
11162 int ecode3 = 0 ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 PyObject * obj2 = 0 ;
11166 char * kwnames[] = {
11167 (char *) "self",(char *) "line",(char *) "level", NULL
11168 };
11169
11170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11172 if (!SWIG_IsOK(res1)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11174 }
11175 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11176 ecode2 = SWIG_AsVal_int(obj1, &val2);
11177 if (!SWIG_IsOK(ecode2)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11179 }
11180 arg2 = static_cast< int >(val2);
11181 ecode3 = SWIG_AsVal_int(obj2, &val3);
11182 if (!SWIG_IsOK(ecode3)) {
11183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldLevel" "', expected argument " "3"" of type '" "int""'");
11184 }
11185 arg3 = static_cast< int >(val3);
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 (arg1)->SetFoldLevel(arg2,arg3);
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 resultobj = SWIG_Py_Void();
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj = 0;
11201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11202 int arg2 ;
11203 int result;
11204 void *argp1 = 0 ;
11205 int res1 = 0 ;
11206 int val2 ;
11207 int ecode2 = 0 ;
11208 PyObject * obj0 = 0 ;
11209 PyObject * obj1 = 0 ;
11210 char * kwnames[] = {
11211 (char *) "self",(char *) "line", NULL
11212 };
11213
11214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) SWIG_fail;
11215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11216 if (!SWIG_IsOK(res1)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11218 }
11219 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11220 ecode2 = SWIG_AsVal_int(obj1, &val2);
11221 if (!SWIG_IsOK(ecode2)) {
11222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldLevel" "', expected argument " "2"" of type '" "int""'");
11223 }
11224 arg2 = static_cast< int >(val2);
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (int)(arg1)->GetFoldLevel(arg2);
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = SWIG_From_int(static_cast< int >(result));
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj = 0;
11240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11241 int arg2 ;
11242 int arg3 ;
11243 int result;
11244 void *argp1 = 0 ;
11245 int res1 = 0 ;
11246 int val2 ;
11247 int ecode2 = 0 ;
11248 int val3 ;
11249 int ecode3 = 0 ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 PyObject * obj2 = 0 ;
11253 char * kwnames[] = {
11254 (char *) "self",(char *) "line",(char *) "level", NULL
11255 };
11256
11257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11259 if (!SWIG_IsOK(res1)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11261 }
11262 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11263 ecode2 = SWIG_AsVal_int(obj1, &val2);
11264 if (!SWIG_IsOK(ecode2)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "2"" of type '" "int""'");
11266 }
11267 arg2 = static_cast< int >(val2);
11268 ecode3 = SWIG_AsVal_int(obj2, &val3);
11269 if (!SWIG_IsOK(ecode3)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetLastChild" "', expected argument " "3"" of type '" "int""'");
11271 }
11272 arg3 = static_cast< int >(val3);
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 result = (int)(arg1)->GetLastChild(arg2,arg3);
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 resultobj = SWIG_From_int(static_cast< int >(result));
11280 return resultobj;
11281 fail:
11282 return NULL;
11283 }
11284
11285
11286 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11287 PyObject *resultobj = 0;
11288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11289 int arg2 ;
11290 int result;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 int val2 ;
11294 int ecode2 = 0 ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char * kwnames[] = {
11298 (char *) "self",(char *) "line", NULL
11299 };
11300
11301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) SWIG_fail;
11302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11303 if (!SWIG_IsOK(res1)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11305 }
11306 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11307 ecode2 = SWIG_AsVal_int(obj1, &val2);
11308 if (!SWIG_IsOK(ecode2)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldParent" "', expected argument " "2"" of type '" "int""'");
11310 }
11311 arg2 = static_cast< int >(val2);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (int)(arg1)->GetFoldParent(arg2);
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_From_int(static_cast< int >(result));
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj = 0;
11327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11328 int arg2 ;
11329 int arg3 ;
11330 void *argp1 = 0 ;
11331 int res1 = 0 ;
11332 int val2 ;
11333 int ecode2 = 0 ;
11334 int val3 ;
11335 int ecode3 = 0 ;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 PyObject * obj2 = 0 ;
11339 char * kwnames[] = {
11340 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11341 };
11342
11343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11345 if (!SWIG_IsOK(res1)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11347 }
11348 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11349 ecode2 = SWIG_AsVal_int(obj1, &val2);
11350 if (!SWIG_IsOK(ecode2)) {
11351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "2"" of type '" "int""'");
11352 }
11353 arg2 = static_cast< int >(val2);
11354 ecode3 = SWIG_AsVal_int(obj2, &val3);
11355 if (!SWIG_IsOK(ecode3)) {
11356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_ShowLines" "', expected argument " "3"" of type '" "int""'");
11357 }
11358 arg3 = static_cast< int >(val3);
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 (arg1)->ShowLines(arg2,arg3);
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = SWIG_Py_Void();
11366 return resultobj;
11367 fail:
11368 return NULL;
11369 }
11370
11371
11372 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11373 PyObject *resultobj = 0;
11374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11375 int arg2 ;
11376 int arg3 ;
11377 void *argp1 = 0 ;
11378 int res1 = 0 ;
11379 int val2 ;
11380 int ecode2 = 0 ;
11381 int val3 ;
11382 int ecode3 = 0 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 char * kwnames[] = {
11387 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
11388 };
11389
11390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11392 if (!SWIG_IsOK(res1)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11394 }
11395 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11396 ecode2 = SWIG_AsVal_int(obj1, &val2);
11397 if (!SWIG_IsOK(ecode2)) {
11398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "2"" of type '" "int""'");
11399 }
11400 arg2 = static_cast< int >(val2);
11401 ecode3 = SWIG_AsVal_int(obj2, &val3);
11402 if (!SWIG_IsOK(ecode3)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_HideLines" "', expected argument " "3"" of type '" "int""'");
11404 }
11405 arg3 = static_cast< int >(val3);
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 (arg1)->HideLines(arg2,arg3);
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_Py_Void();
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj = 0;
11421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11422 int arg2 ;
11423 bool result;
11424 void *argp1 = 0 ;
11425 int res1 = 0 ;
11426 int val2 ;
11427 int ecode2 = 0 ;
11428 PyObject * obj0 = 0 ;
11429 PyObject * obj1 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "line", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11438 }
11439 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineVisible" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (bool)(arg1)->GetLineVisible(arg2);
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11453 }
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj = 0;
11462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11463 int arg2 ;
11464 bool arg3 ;
11465 void *argp1 = 0 ;
11466 int res1 = 0 ;
11467 int val2 ;
11468 int ecode2 = 0 ;
11469 bool val3 ;
11470 int ecode3 = 0 ;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 PyObject * obj2 = 0 ;
11474 char * kwnames[] = {
11475 (char *) "self",(char *) "line",(char *) "expanded", NULL
11476 };
11477
11478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11482 }
11483 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11484 ecode2 = SWIG_AsVal_int(obj1, &val2);
11485 if (!SWIG_IsOK(ecode2)) {
11486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11487 }
11488 arg2 = static_cast< int >(val2);
11489 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11490 if (!SWIG_IsOK(ecode3)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetFoldExpanded" "', expected argument " "3"" of type '" "bool""'");
11492 }
11493 arg3 = static_cast< bool >(val3);
11494 {
11495 PyThreadState* __tstate = wxPyBeginAllowThreads();
11496 (arg1)->SetFoldExpanded(arg2,arg3);
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = SWIG_Py_Void();
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11508 PyObject *resultobj = 0;
11509 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11510 int arg2 ;
11511 bool result;
11512 void *argp1 = 0 ;
11513 int res1 = 0 ;
11514 int val2 ;
11515 int ecode2 = 0 ;
11516 PyObject * obj0 = 0 ;
11517 PyObject * obj1 = 0 ;
11518 char * kwnames[] = {
11519 (char *) "self",(char *) "line", NULL
11520 };
11521
11522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
11523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11524 if (!SWIG_IsOK(res1)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11526 }
11527 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11528 ecode2 = SWIG_AsVal_int(obj1, &val2);
11529 if (!SWIG_IsOK(ecode2)) {
11530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetFoldExpanded" "', expected argument " "2"" of type '" "int""'");
11531 }
11532 arg2 = static_cast< int >(val2);
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (bool)(arg1)->GetFoldExpanded(arg2);
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj = 0;
11550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11551 int arg2 ;
11552 void *argp1 = 0 ;
11553 int res1 = 0 ;
11554 int val2 ;
11555 int ecode2 = 0 ;
11556 PyObject * obj0 = 0 ;
11557 PyObject * obj1 = 0 ;
11558 char * kwnames[] = {
11559 (char *) "self",(char *) "line", NULL
11560 };
11561
11562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) SWIG_fail;
11563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11564 if (!SWIG_IsOK(res1)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11566 }
11567 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11568 ecode2 = SWIG_AsVal_int(obj1, &val2);
11569 if (!SWIG_IsOK(ecode2)) {
11570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ToggleFold" "', expected argument " "2"" of type '" "int""'");
11571 }
11572 arg2 = static_cast< int >(val2);
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 (arg1)->ToggleFold(arg2);
11576 wxPyEndAllowThreads(__tstate);
11577 if (PyErr_Occurred()) SWIG_fail;
11578 }
11579 resultobj = SWIG_Py_Void();
11580 return resultobj;
11581 fail:
11582 return NULL;
11583 }
11584
11585
11586 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj = 0;
11588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11589 int arg2 ;
11590 void *argp1 = 0 ;
11591 int res1 = 0 ;
11592 int val2 ;
11593 int ecode2 = 0 ;
11594 PyObject * obj0 = 0 ;
11595 PyObject * obj1 = 0 ;
11596 char * kwnames[] = {
11597 (char *) "self",(char *) "line", NULL
11598 };
11599
11600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11602 if (!SWIG_IsOK(res1)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11604 }
11605 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11606 ecode2 = SWIG_AsVal_int(obj1, &val2);
11607 if (!SWIG_IsOK(ecode2)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
11609 }
11610 arg2 = static_cast< int >(val2);
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 (arg1)->EnsureVisible(arg2);
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 resultobj = SWIG_Py_Void();
11618 return resultobj;
11619 fail:
11620 return NULL;
11621 }
11622
11623
11624 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj = 0;
11626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11627 int arg2 ;
11628 void *argp1 = 0 ;
11629 int res1 = 0 ;
11630 int val2 ;
11631 int ecode2 = 0 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 char * kwnames[] = {
11635 (char *) "self",(char *) "flags", NULL
11636 };
11637
11638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11642 }
11643 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11644 ecode2 = SWIG_AsVal_int(obj1, &val2);
11645 if (!SWIG_IsOK(ecode2)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldFlags" "', expected argument " "2"" of type '" "int""'");
11647 }
11648 arg2 = static_cast< int >(val2);
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 (arg1)->SetFoldFlags(arg2);
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_Py_Void();
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj = 0;
11664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11665 int arg2 ;
11666 void *argp1 = 0 ;
11667 int res1 = 0 ;
11668 int val2 ;
11669 int ecode2 = 0 ;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char * kwnames[] = {
11673 (char *) "self",(char *) "line", NULL
11674 };
11675
11676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) SWIG_fail;
11677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11678 if (!SWIG_IsOK(res1)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11680 }
11681 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11682 ecode2 = SWIG_AsVal_int(obj1, &val2);
11683 if (!SWIG_IsOK(ecode2)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_EnsureVisibleEnforcePolicy" "', expected argument " "2"" of type '" "int""'");
11685 }
11686 arg2 = static_cast< int >(val2);
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->EnsureVisibleEnforcePolicy(arg2);
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 resultobj = SWIG_Py_Void();
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj = 0;
11702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11703 bool arg2 ;
11704 void *argp1 = 0 ;
11705 int res1 = 0 ;
11706 bool val2 ;
11707 int ecode2 = 0 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char * kwnames[] = {
11711 (char *) "self",(char *) "tabIndents", NULL
11712 };
11713
11714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11716 if (!SWIG_IsOK(res1)) {
11717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11718 }
11719 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11720 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11721 if (!SWIG_IsOK(ecode2)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTabIndents" "', expected argument " "2"" of type '" "bool""'");
11723 }
11724 arg2 = static_cast< bool >(val2);
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 (arg1)->SetTabIndents(arg2);
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 resultobj = SWIG_Py_Void();
11732 return resultobj;
11733 fail:
11734 return NULL;
11735 }
11736
11737
11738 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11739 PyObject *resultobj = 0;
11740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11741 bool result;
11742 void *argp1 = 0 ;
11743 int res1 = 0 ;
11744 PyObject *swig_obj[1] ;
11745
11746 if (!args) SWIG_fail;
11747 swig_obj[0] = args;
11748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11749 if (!SWIG_IsOK(res1)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTabIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11751 }
11752 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 result = (bool)(arg1)->GetTabIndents();
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11761 }
11762 return resultobj;
11763 fail:
11764 return NULL;
11765 }
11766
11767
11768 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj = 0;
11770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11771 bool arg2 ;
11772 void *argp1 = 0 ;
11773 int res1 = 0 ;
11774 bool val2 ;
11775 int ecode2 = 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char * kwnames[] = {
11779 (char *) "self",(char *) "bsUnIndents", NULL
11780 };
11781
11782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) SWIG_fail;
11783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11784 if (!SWIG_IsOK(res1)) {
11785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11786 }
11787 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11788 ecode2 = SWIG_AsVal_bool(obj1, &val2);
11789 if (!SWIG_IsOK(ecode2)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetBackSpaceUnIndents" "', expected argument " "2"" of type '" "bool""'");
11791 }
11792 arg2 = static_cast< bool >(val2);
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 (arg1)->SetBackSpaceUnIndents(arg2);
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 resultobj = SWIG_Py_Void();
11800 return resultobj;
11801 fail:
11802 return NULL;
11803 }
11804
11805
11806 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11807 PyObject *resultobj = 0;
11808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11809 bool result;
11810 void *argp1 = 0 ;
11811 int res1 = 0 ;
11812 PyObject *swig_obj[1] ;
11813
11814 if (!args) SWIG_fail;
11815 swig_obj[0] = args;
11816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11817 if (!SWIG_IsOK(res1)) {
11818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetBackSpaceUnIndents" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11819 }
11820 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (bool)(arg1)->GetBackSpaceUnIndents();
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 {
11828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11829 }
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj = 0;
11838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11839 int arg2 ;
11840 void *argp1 = 0 ;
11841 int res1 = 0 ;
11842 int val2 ;
11843 int ecode2 = 0 ;
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 char * kwnames[] = {
11847 (char *) "self",(char *) "periodMilliseconds", NULL
11848 };
11849
11850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) SWIG_fail;
11851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11852 if (!SWIG_IsOK(res1)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11854 }
11855 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11856 ecode2 = SWIG_AsVal_int(obj1, &val2);
11857 if (!SWIG_IsOK(ecode2)) {
11858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDwellTime" "', expected argument " "2"" of type '" "int""'");
11859 }
11860 arg2 = static_cast< int >(val2);
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 (arg1)->SetMouseDwellTime(arg2);
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 resultobj = SWIG_Py_Void();
11868 return resultobj;
11869 fail:
11870 return NULL;
11871 }
11872
11873
11874 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11875 PyObject *resultobj = 0;
11876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11877 int result;
11878 void *argp1 = 0 ;
11879 int res1 = 0 ;
11880 PyObject *swig_obj[1] ;
11881
11882 if (!args) SWIG_fail;
11883 swig_obj[0] = args;
11884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11885 if (!SWIG_IsOK(res1)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDwellTime" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11887 }
11888 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 result = (int)(arg1)->GetMouseDwellTime();
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 resultobj = SWIG_From_int(static_cast< int >(result));
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj = 0;
11904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11905 int arg2 ;
11906 bool arg3 ;
11907 int result;
11908 void *argp1 = 0 ;
11909 int res1 = 0 ;
11910 int val2 ;
11911 int ecode2 = 0 ;
11912 bool val3 ;
11913 int ecode3 = 0 ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 char * kwnames[] = {
11918 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11919 };
11920
11921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11923 if (!SWIG_IsOK(res1)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11925 }
11926 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11927 ecode2 = SWIG_AsVal_int(obj1, &val2);
11928 if (!SWIG_IsOK(ecode2)) {
11929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "2"" of type '" "int""'");
11930 }
11931 arg2 = static_cast< int >(val2);
11932 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11933 if (!SWIG_IsOK(ecode3)) {
11934 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordStartPosition" "', expected argument " "3"" of type '" "bool""'");
11935 }
11936 arg3 = static_cast< bool >(val3);
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 result = (int)(arg1)->WordStartPosition(arg2,arg3);
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 resultobj = SWIG_From_int(static_cast< int >(result));
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11951 PyObject *resultobj = 0;
11952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11953 int arg2 ;
11954 bool arg3 ;
11955 int result;
11956 void *argp1 = 0 ;
11957 int res1 = 0 ;
11958 int val2 ;
11959 int ecode2 = 0 ;
11960 bool val3 ;
11961 int ecode3 = 0 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 PyObject * obj2 = 0 ;
11965 char * kwnames[] = {
11966 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
11967 };
11968
11969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
11973 }
11974 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
11975 ecode2 = SWIG_AsVal_int(obj1, &val2);
11976 if (!SWIG_IsOK(ecode2)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "2"" of type '" "int""'");
11978 }
11979 arg2 = static_cast< int >(val2);
11980 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11981 if (!SWIG_IsOK(ecode3)) {
11982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_WordEndPosition" "', expected argument " "3"" of type '" "bool""'");
11983 }
11984 arg3 = static_cast< bool >(val3);
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (int)(arg1)->WordEndPosition(arg2,arg3);
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_From_int(static_cast< int >(result));
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj = 0;
12000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12001 int arg2 ;
12002 void *argp1 = 0 ;
12003 int res1 = 0 ;
12004 int val2 ;
12005 int ecode2 = 0 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char * kwnames[] = {
12009 (char *) "self",(char *) "mode", NULL
12010 };
12011
12012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
12013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12014 if (!SWIG_IsOK(res1)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12016 }
12017 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12018 ecode2 = SWIG_AsVal_int(obj1, &val2);
12019 if (!SWIG_IsOK(ecode2)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapMode" "', expected argument " "2"" of type '" "int""'");
12021 }
12022 arg2 = static_cast< int >(val2);
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->SetWrapMode(arg2);
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 resultobj = SWIG_Py_Void();
12030 return resultobj;
12031 fail:
12032 return NULL;
12033 }
12034
12035
12036 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12037 PyObject *resultobj = 0;
12038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12039 int result;
12040 void *argp1 = 0 ;
12041 int res1 = 0 ;
12042 PyObject *swig_obj[1] ;
12043
12044 if (!args) SWIG_fail;
12045 swig_obj[0] = args;
12046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12047 if (!SWIG_IsOK(res1)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12049 }
12050 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)(arg1)->GetWrapMode();
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_From_int(static_cast< int >(result));
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12067 int arg2 ;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 int val2 ;
12071 int ecode2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char * kwnames[] = {
12075 (char *) "self",(char *) "wrapVisualFlags", NULL
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12082 }
12083 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12084 ecode2 = SWIG_AsVal_int(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlags" "', expected argument " "2"" of type '" "int""'");
12087 }
12088 arg2 = static_cast< int >(val2);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetWrapVisualFlags(arg2);
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_Py_Void();
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12103 PyObject *resultobj = 0;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 int result;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 PyObject *swig_obj[1] ;
12109
12110 if (!args) SWIG_fail;
12111 swig_obj[0] = args;
12112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlags" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12115 }
12116 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)(arg1)->GetWrapVisualFlags();
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_From_int(static_cast< int >(result));
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12133 int arg2 ;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 int val2 ;
12137 int ecode2 = 0 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char * kwnames[] = {
12141 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
12142 };
12143
12144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) SWIG_fail;
12145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12148 }
12149 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12150 ecode2 = SWIG_AsVal_int(obj1, &val2);
12151 if (!SWIG_IsOK(ecode2)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapVisualFlagsLocation" "', expected argument " "2"" of type '" "int""'");
12153 }
12154 arg2 = static_cast< int >(val2);
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetWrapVisualFlagsLocation(arg2);
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_Py_Void();
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12169 PyObject *resultobj = 0;
12170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12171 int result;
12172 void *argp1 = 0 ;
12173 int res1 = 0 ;
12174 PyObject *swig_obj[1] ;
12175
12176 if (!args) SWIG_fail;
12177 swig_obj[0] = args;
12178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12179 if (!SWIG_IsOK(res1)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapVisualFlagsLocation" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12181 }
12182 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = (int)(arg1)->GetWrapVisualFlagsLocation();
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_From_int(static_cast< int >(result));
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = 0;
12198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12199 int arg2 ;
12200 void *argp1 = 0 ;
12201 int res1 = 0 ;
12202 int val2 ;
12203 int ecode2 = 0 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char * kwnames[] = {
12207 (char *) "self",(char *) "indent", NULL
12208 };
12209
12210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) SWIG_fail;
12211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12212 if (!SWIG_IsOK(res1)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12214 }
12215 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12216 ecode2 = SWIG_AsVal_int(obj1, &val2);
12217 if (!SWIG_IsOK(ecode2)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetWrapStartIndent" "', expected argument " "2"" of type '" "int""'");
12219 }
12220 arg2 = static_cast< int >(val2);
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetWrapStartIndent(arg2);
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_Py_Void();
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12235 PyObject *resultobj = 0;
12236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12237 int result;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 PyObject *swig_obj[1] ;
12241
12242 if (!args) SWIG_fail;
12243 swig_obj[0] = args;
12244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12245 if (!SWIG_IsOK(res1)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetWrapStartIndent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12247 }
12248 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (int)(arg1)->GetWrapStartIndent();
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_From_int(static_cast< int >(result));
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj = 0;
12264 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12265 int arg2 ;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 int val2 ;
12269 int ecode2 = 0 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char * kwnames[] = {
12273 (char *) "self",(char *) "mode", NULL
12274 };
12275
12276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) SWIG_fail;
12277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12278 if (!SWIG_IsOK(res1)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12280 }
12281 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12282 ecode2 = SWIG_AsVal_int(obj1, &val2);
12283 if (!SWIG_IsOK(ecode2)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLayoutCache" "', expected argument " "2"" of type '" "int""'");
12285 }
12286 arg2 = static_cast< int >(val2);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 (arg1)->SetLayoutCache(arg2);
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_Py_Void();
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *resultobj = 0;
12302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12303 int result;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 PyObject *swig_obj[1] ;
12307
12308 if (!args) SWIG_fail;
12309 swig_obj[0] = args;
12310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLayoutCache" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12313 }
12314 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (int)(arg1)->GetLayoutCache();
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_From_int(static_cast< int >(result));
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj = 0;
12330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12331 int arg2 ;
12332 void *argp1 = 0 ;
12333 int res1 = 0 ;
12334 int val2 ;
12335 int ecode2 = 0 ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 char * kwnames[] = {
12339 (char *) "self",(char *) "pixelWidth", NULL
12340 };
12341
12342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) SWIG_fail;
12343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12346 }
12347 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12348 ecode2 = SWIG_AsVal_int(obj1, &val2);
12349 if (!SWIG_IsOK(ecode2)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetScrollWidth" "', expected argument " "2"" of type '" "int""'");
12351 }
12352 arg2 = static_cast< int >(val2);
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->SetScrollWidth(arg2);
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_Py_Void();
12360 return resultobj;
12361 fail:
12362 return NULL;
12363 }
12364
12365
12366 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12367 PyObject *resultobj = 0;
12368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12369 int result;
12370 void *argp1 = 0 ;
12371 int res1 = 0 ;
12372 PyObject *swig_obj[1] ;
12373
12374 if (!args) SWIG_fail;
12375 swig_obj[0] = args;
12376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12377 if (!SWIG_IsOK(res1)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetScrollWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12379 }
12380 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (int)(arg1)->GetScrollWidth();
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 resultobj = SWIG_From_int(static_cast< int >(result));
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj = 0;
12396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12397 int arg2 ;
12398 wxString *arg3 = 0 ;
12399 int result;
12400 void *argp1 = 0 ;
12401 int res1 = 0 ;
12402 int val2 ;
12403 int ecode2 = 0 ;
12404 bool temp3 = false ;
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 PyObject * obj2 = 0 ;
12408 char * kwnames[] = {
12409 (char *) "self",(char *) "style",(char *) "text", NULL
12410 };
12411
12412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12414 if (!SWIG_IsOK(res1)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12416 }
12417 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12418 ecode2 = SWIG_AsVal_int(obj1, &val2);
12419 if (!SWIG_IsOK(ecode2)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextWidth" "', expected argument " "2"" of type '" "int""'");
12421 }
12422 arg2 = static_cast< int >(val2);
12423 {
12424 arg3 = wxString_in_helper(obj2);
12425 if (arg3 == NULL) SWIG_fail;
12426 temp3 = true;
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_From_int(static_cast< int >(result));
12435 {
12436 if (temp3)
12437 delete arg3;
12438 }
12439 return resultobj;
12440 fail:
12441 {
12442 if (temp3)
12443 delete arg3;
12444 }
12445 return NULL;
12446 }
12447
12448
12449 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12450 PyObject *resultobj = 0;
12451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12452 bool arg2 ;
12453 void *argp1 = 0 ;
12454 int res1 = 0 ;
12455 bool val2 ;
12456 int ecode2 = 0 ;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 char * kwnames[] = {
12460 (char *) "self",(char *) "endAtLastLine", NULL
12461 };
12462
12463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) SWIG_fail;
12464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12465 if (!SWIG_IsOK(res1)) {
12466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12467 }
12468 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12469 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12470 if (!SWIG_IsOK(ecode2)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEndAtLastLine" "', expected argument " "2"" of type '" "bool""'");
12472 }
12473 arg2 = static_cast< bool >(val2);
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 (arg1)->SetEndAtLastLine(arg2);
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_Py_Void();
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12488 PyObject *resultobj = 0;
12489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12490 bool result;
12491 void *argp1 = 0 ;
12492 int res1 = 0 ;
12493 PyObject *swig_obj[1] ;
12494
12495 if (!args) SWIG_fail;
12496 swig_obj[0] = args;
12497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12498 if (!SWIG_IsOK(res1)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEndAtLastLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12500 }
12501 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (bool)(arg1)->GetEndAtLastLine();
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 {
12509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12510 }
12511 return resultobj;
12512 fail:
12513 return NULL;
12514 }
12515
12516
12517 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12518 PyObject *resultobj = 0;
12519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12520 int arg2 ;
12521 int result;
12522 void *argp1 = 0 ;
12523 int res1 = 0 ;
12524 int val2 ;
12525 int ecode2 = 0 ;
12526 PyObject * obj0 = 0 ;
12527 PyObject * obj1 = 0 ;
12528 char * kwnames[] = {
12529 (char *) "self",(char *) "line", NULL
12530 };
12531
12532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) SWIG_fail;
12533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12534 if (!SWIG_IsOK(res1)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12536 }
12537 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12538 ecode2 = SWIG_AsVal_int(obj1, &val2);
12539 if (!SWIG_IsOK(ecode2)) {
12540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_TextHeight" "', expected argument " "2"" of type '" "int""'");
12541 }
12542 arg2 = static_cast< int >(val2);
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 result = (int)(arg1)->TextHeight(arg2);
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 }
12549 resultobj = SWIG_From_int(static_cast< int >(result));
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj = 0;
12558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12559 bool arg2 ;
12560 void *argp1 = 0 ;
12561 int res1 = 0 ;
12562 bool val2 ;
12563 int ecode2 = 0 ;
12564 PyObject * obj0 = 0 ;
12565 PyObject * obj1 = 0 ;
12566 char * kwnames[] = {
12567 (char *) "self",(char *) "show", NULL
12568 };
12569
12570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
12571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12572 if (!SWIG_IsOK(res1)) {
12573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12574 }
12575 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12576 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12577 if (!SWIG_IsOK(ecode2)) {
12578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseVerticalScrollBar" "', expected argument " "2"" of type '" "bool""'");
12579 }
12580 arg2 = static_cast< bool >(val2);
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 (arg1)->SetUseVerticalScrollBar(arg2);
12584 wxPyEndAllowThreads(__tstate);
12585 if (PyErr_Occurred()) SWIG_fail;
12586 }
12587 resultobj = SWIG_Py_Void();
12588 return resultobj;
12589 fail:
12590 return NULL;
12591 }
12592
12593
12594 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12595 PyObject *resultobj = 0;
12596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12597 bool result;
12598 void *argp1 = 0 ;
12599 int res1 = 0 ;
12600 PyObject *swig_obj[1] ;
12601
12602 if (!args) SWIG_fail;
12603 swig_obj[0] = args;
12604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12605 if (!SWIG_IsOK(res1)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseVerticalScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12607 }
12608 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (bool)(arg1)->GetUseVerticalScrollBar();
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 {
12616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12617 }
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj = 0;
12626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12627 wxString *arg2 = 0 ;
12628 void *argp1 = 0 ;
12629 int res1 = 0 ;
12630 bool temp2 = false ;
12631 PyObject * obj0 = 0 ;
12632 PyObject * obj1 = 0 ;
12633 char * kwnames[] = {
12634 (char *) "self",(char *) "text", NULL
12635 };
12636
12637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12639 if (!SWIG_IsOK(res1)) {
12640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12641 }
12642 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12643 {
12644 arg2 = wxString_in_helper(obj1);
12645 if (arg2 == NULL) SWIG_fail;
12646 temp2 = true;
12647 }
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 (arg1)->AppendText((wxString const &)*arg2);
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
12654 resultobj = SWIG_Py_Void();
12655 {
12656 if (temp2)
12657 delete arg2;
12658 }
12659 return resultobj;
12660 fail:
12661 {
12662 if (temp2)
12663 delete arg2;
12664 }
12665 return NULL;
12666 }
12667
12668
12669 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12670 PyObject *resultobj = 0;
12671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12672 bool result;
12673 void *argp1 = 0 ;
12674 int res1 = 0 ;
12675 PyObject *swig_obj[1] ;
12676
12677 if (!args) SWIG_fail;
12678 swig_obj[0] = args;
12679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12680 if (!SWIG_IsOK(res1)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12682 }
12683 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (bool)(arg1)->GetTwoPhaseDraw();
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 {
12691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12692 }
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj = 0;
12701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12702 bool arg2 ;
12703 void *argp1 = 0 ;
12704 int res1 = 0 ;
12705 bool val2 ;
12706 int ecode2 = 0 ;
12707 PyObject * obj0 = 0 ;
12708 PyObject * obj1 = 0 ;
12709 char * kwnames[] = {
12710 (char *) "self",(char *) "twoPhase", NULL
12711 };
12712
12713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) SWIG_fail;
12714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12715 if (!SWIG_IsOK(res1)) {
12716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12717 }
12718 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12720 if (!SWIG_IsOK(ecode2)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetTwoPhaseDraw" "', expected argument " "2"" of type '" "bool""'");
12722 }
12723 arg2 = static_cast< bool >(val2);
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 (arg1)->SetTwoPhaseDraw(arg2);
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 resultobj = SWIG_Py_Void();
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 SWIGINTERN PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12738 PyObject *resultobj = 0;
12739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12740 void *argp1 = 0 ;
12741 int res1 = 0 ;
12742 PyObject *swig_obj[1] ;
12743
12744 if (!args) SWIG_fail;
12745 swig_obj[0] = args;
12746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12747 if (!SWIG_IsOK(res1)) {
12748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_TargetFromSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12749 }
12750 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 (arg1)->TargetFromSelection();
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 resultobj = SWIG_Py_Void();
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12765 PyObject *resultobj = 0;
12766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12767 void *argp1 = 0 ;
12768 int res1 = 0 ;
12769 PyObject *swig_obj[1] ;
12770
12771 if (!args) SWIG_fail;
12772 swig_obj[0] = args;
12773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12774 if (!SWIG_IsOK(res1)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesJoin" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12776 }
12777 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 (arg1)->LinesJoin();
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_Py_Void();
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj = 0;
12793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12794 int arg2 ;
12795 void *argp1 = 0 ;
12796 int res1 = 0 ;
12797 int val2 ;
12798 int ecode2 = 0 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 char * kwnames[] = {
12802 (char *) "self",(char *) "pixelWidth", NULL
12803 };
12804
12805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) SWIG_fail;
12806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12807 if (!SWIG_IsOK(res1)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12809 }
12810 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12811 ecode2 = SWIG_AsVal_int(obj1, &val2);
12812 if (!SWIG_IsOK(ecode2)) {
12813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LinesSplit" "', expected argument " "2"" of type '" "int""'");
12814 }
12815 arg2 = static_cast< int >(val2);
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 (arg1)->LinesSplit(arg2);
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 resultobj = SWIG_Py_Void();
12823 return resultobj;
12824 fail:
12825 return NULL;
12826 }
12827
12828
12829 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj = 0;
12831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12832 bool arg2 ;
12833 wxColour *arg3 = 0 ;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 bool val2 ;
12837 int ecode2 = 0 ;
12838 wxColour temp3 ;
12839 PyObject * obj0 = 0 ;
12840 PyObject * obj1 = 0 ;
12841 PyObject * obj2 = 0 ;
12842 char * kwnames[] = {
12843 (char *) "self",(char *) "useSetting",(char *) "back", NULL
12844 };
12845
12846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12848 if (!SWIG_IsOK(res1)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12850 }
12851 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12852 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12853 if (!SWIG_IsOK(ecode2)) {
12854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginColour" "', expected argument " "2"" of type '" "bool""'");
12855 }
12856 arg2 = static_cast< bool >(val2);
12857 {
12858 arg3 = &temp3;
12859 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12860 }
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 resultobj = SWIG_Py_Void();
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj = 0;
12876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12877 bool arg2 ;
12878 wxColour *arg3 = 0 ;
12879 void *argp1 = 0 ;
12880 int res1 = 0 ;
12881 bool val2 ;
12882 int ecode2 = 0 ;
12883 wxColour temp3 ;
12884 PyObject * obj0 = 0 ;
12885 PyObject * obj1 = 0 ;
12886 PyObject * obj2 = 0 ;
12887 char * kwnames[] = {
12888 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
12889 };
12890
12891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12893 if (!SWIG_IsOK(res1)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12895 }
12896 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12897 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12898 if (!SWIG_IsOK(ecode2)) {
12899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetFoldMarginHiColour" "', expected argument " "2"" of type '" "bool""'");
12900 }
12901 arg2 = static_cast< bool >(val2);
12902 {
12903 arg3 = &temp3;
12904 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12905 }
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = SWIG_Py_Void();
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12920 PyObject *resultobj = 0;
12921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12922 void *argp1 = 0 ;
12923 int res1 = 0 ;
12924 PyObject *swig_obj[1] ;
12925
12926 if (!args) SWIG_fail;
12927 swig_obj[0] = args;
12928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12929 if (!SWIG_IsOK(res1)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12931 }
12932 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 (arg1)->LineDown();
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 resultobj = SWIG_Py_Void();
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12947 PyObject *resultobj = 0;
12948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12949 void *argp1 = 0 ;
12950 int res1 = 0 ;
12951 PyObject *swig_obj[1] ;
12952
12953 if (!args) SWIG_fail;
12954 swig_obj[0] = args;
12955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12956 if (!SWIG_IsOK(res1)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12958 }
12959 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 (arg1)->LineDownExtend();
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = SWIG_Py_Void();
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12974 PyObject *resultobj = 0;
12975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12976 void *argp1 = 0 ;
12977 int res1 = 0 ;
12978 PyObject *swig_obj[1] ;
12979
12980 if (!args) SWIG_fail;
12981 swig_obj[0] = args;
12982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
12983 if (!SWIG_IsOK(res1)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
12985 }
12986 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 (arg1)->LineUp();
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 resultobj = SWIG_Py_Void();
12994 return resultobj;
12995 fail:
12996 return NULL;
12997 }
12998
12999
13000 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13001 PyObject *resultobj = 0;
13002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13003 void *argp1 = 0 ;
13004 int res1 = 0 ;
13005 PyObject *swig_obj[1] ;
13006
13007 if (!args) SWIG_fail;
13008 swig_obj[0] = args;
13009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13010 if (!SWIG_IsOK(res1)) {
13011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13012 }
13013 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 (arg1)->LineUpExtend();
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_Py_Void();
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 PyObject *resultobj = 0;
13029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13030 void *argp1 = 0 ;
13031 int res1 = 0 ;
13032 PyObject *swig_obj[1] ;
13033
13034 if (!args) SWIG_fail;
13035 swig_obj[0] = args;
13036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13037 if (!SWIG_IsOK(res1)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13039 }
13040 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 (arg1)->CharLeft();
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 resultobj = SWIG_Py_Void();
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13055 PyObject *resultobj = 0;
13056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13057 void *argp1 = 0 ;
13058 int res1 = 0 ;
13059 PyObject *swig_obj[1] ;
13060
13061 if (!args) SWIG_fail;
13062 swig_obj[0] = args;
13063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13064 if (!SWIG_IsOK(res1)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13066 }
13067 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->CharLeftExtend();
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 resultobj = SWIG_Py_Void();
13075 return resultobj;
13076 fail:
13077 return NULL;
13078 }
13079
13080
13081 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13082 PyObject *resultobj = 0;
13083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13084 void *argp1 = 0 ;
13085 int res1 = 0 ;
13086 PyObject *swig_obj[1] ;
13087
13088 if (!args) SWIG_fail;
13089 swig_obj[0] = args;
13090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13091 if (!SWIG_IsOK(res1)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13093 }
13094 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 (arg1)->CharRight();
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 resultobj = SWIG_Py_Void();
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13109 PyObject *resultobj = 0;
13110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13111 void *argp1 = 0 ;
13112 int res1 = 0 ;
13113 PyObject *swig_obj[1] ;
13114
13115 if (!args) SWIG_fail;
13116 swig_obj[0] = args;
13117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13118 if (!SWIG_IsOK(res1)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13120 }
13121 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 (arg1)->CharRightExtend();
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 resultobj = SWIG_Py_Void();
13129 return resultobj;
13130 fail:
13131 return NULL;
13132 }
13133
13134
13135 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13136 PyObject *resultobj = 0;
13137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13138 void *argp1 = 0 ;
13139 int res1 = 0 ;
13140 PyObject *swig_obj[1] ;
13141
13142 if (!args) SWIG_fail;
13143 swig_obj[0] = args;
13144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13145 if (!SWIG_IsOK(res1)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13147 }
13148 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 (arg1)->WordLeft();
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_Py_Void();
13156 return resultobj;
13157 fail:
13158 return NULL;
13159 }
13160
13161
13162 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 PyObject *resultobj = 0;
13164 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13165 void *argp1 = 0 ;
13166 int res1 = 0 ;
13167 PyObject *swig_obj[1] ;
13168
13169 if (!args) SWIG_fail;
13170 swig_obj[0] = args;
13171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13172 if (!SWIG_IsOK(res1)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13174 }
13175 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 (arg1)->WordLeftExtend();
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 resultobj = SWIG_Py_Void();
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13190 PyObject *resultobj = 0;
13191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13192 void *argp1 = 0 ;
13193 int res1 = 0 ;
13194 PyObject *swig_obj[1] ;
13195
13196 if (!args) SWIG_fail;
13197 swig_obj[0] = args;
13198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13199 if (!SWIG_IsOK(res1)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13201 }
13202 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 (arg1)->WordRight();
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = SWIG_Py_Void();
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13217 PyObject *resultobj = 0;
13218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13219 void *argp1 = 0 ;
13220 int res1 = 0 ;
13221 PyObject *swig_obj[1] ;
13222
13223 if (!args) SWIG_fail;
13224 swig_obj[0] = args;
13225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13226 if (!SWIG_IsOK(res1)) {
13227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13228 }
13229 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 (arg1)->WordRightExtend();
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 resultobj = SWIG_Py_Void();
13237 return resultobj;
13238 fail:
13239 return NULL;
13240 }
13241
13242
13243 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Home(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13244 PyObject *resultobj = 0;
13245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13246 void *argp1 = 0 ;
13247 int res1 = 0 ;
13248 PyObject *swig_obj[1] ;
13249
13250 if (!args) SWIG_fail;
13251 swig_obj[0] = args;
13252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Home" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13255 }
13256 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 (arg1)->Home();
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 resultobj = SWIG_Py_Void();
13264 return resultobj;
13265 fail:
13266 return NULL;
13267 }
13268
13269
13270 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13271 PyObject *resultobj = 0;
13272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13273 void *argp1 = 0 ;
13274 int res1 = 0 ;
13275 PyObject *swig_obj[1] ;
13276
13277 if (!args) SWIG_fail;
13278 swig_obj[0] = args;
13279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13280 if (!SWIG_IsOK(res1)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13282 }
13283 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 (arg1)->HomeExtend();
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 resultobj = SWIG_Py_Void();
13291 return resultobj;
13292 fail:
13293 return NULL;
13294 }
13295
13296
13297 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13298 PyObject *resultobj = 0;
13299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13300 void *argp1 = 0 ;
13301 int res1 = 0 ;
13302 PyObject *swig_obj[1] ;
13303
13304 if (!args) SWIG_fail;
13305 swig_obj[0] = args;
13306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13307 if (!SWIG_IsOK(res1)) {
13308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13309 }
13310 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 (arg1)->LineEnd();
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 resultobj = SWIG_Py_Void();
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13325 PyObject *resultobj = 0;
13326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13327 void *argp1 = 0 ;
13328 int res1 = 0 ;
13329 PyObject *swig_obj[1] ;
13330
13331 if (!args) SWIG_fail;
13332 swig_obj[0] = args;
13333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13334 if (!SWIG_IsOK(res1)) {
13335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13336 }
13337 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 (arg1)->LineEndExtend();
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 resultobj = SWIG_Py_Void();
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13352 PyObject *resultobj = 0;
13353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13354 void *argp1 = 0 ;
13355 int res1 = 0 ;
13356 PyObject *swig_obj[1] ;
13357
13358 if (!args) SWIG_fail;
13359 swig_obj[0] = args;
13360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13361 if (!SWIG_IsOK(res1)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStart" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13363 }
13364 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->DocumentStart();
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_Py_Void();
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13379 PyObject *resultobj = 0;
13380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13381 void *argp1 = 0 ;
13382 int res1 = 0 ;
13383 PyObject *swig_obj[1] ;
13384
13385 if (!args) SWIG_fail;
13386 swig_obj[0] = args;
13387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13388 if (!SWIG_IsOK(res1)) {
13389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentStartExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13390 }
13391 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 (arg1)->DocumentStartExtend();
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 resultobj = SWIG_Py_Void();
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13406 PyObject *resultobj = 0;
13407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13408 void *argp1 = 0 ;
13409 int res1 = 0 ;
13410 PyObject *swig_obj[1] ;
13411
13412 if (!args) SWIG_fail;
13413 swig_obj[0] = args;
13414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13415 if (!SWIG_IsOK(res1)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13417 }
13418 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 (arg1)->DocumentEnd();
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 resultobj = SWIG_Py_Void();
13426 return resultobj;
13427 fail:
13428 return NULL;
13429 }
13430
13431
13432 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13433 PyObject *resultobj = 0;
13434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13435 void *argp1 = 0 ;
13436 int res1 = 0 ;
13437 PyObject *swig_obj[1] ;
13438
13439 if (!args) SWIG_fail;
13440 swig_obj[0] = args;
13441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13442 if (!SWIG_IsOK(res1)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DocumentEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13444 }
13445 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 (arg1)->DocumentEndExtend();
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 resultobj = SWIG_Py_Void();
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13460 PyObject *resultobj = 0;
13461 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13462 void *argp1 = 0 ;
13463 int res1 = 0 ;
13464 PyObject *swig_obj[1] ;
13465
13466 if (!args) SWIG_fail;
13467 swig_obj[0] = args;
13468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13469 if (!SWIG_IsOK(res1)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13471 }
13472 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->PageUp();
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 resultobj = SWIG_Py_Void();
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13487 PyObject *resultobj = 0;
13488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13489 void *argp1 = 0 ;
13490 int res1 = 0 ;
13491 PyObject *swig_obj[1] ;
13492
13493 if (!args) SWIG_fail;
13494 swig_obj[0] = args;
13495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13496 if (!SWIG_IsOK(res1)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13498 }
13499 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->PageUpExtend();
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_Py_Void();
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13514 PyObject *resultobj = 0;
13515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13516 void *argp1 = 0 ;
13517 int res1 = 0 ;
13518 PyObject *swig_obj[1] ;
13519
13520 if (!args) SWIG_fail;
13521 swig_obj[0] = args;
13522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13523 if (!SWIG_IsOK(res1)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13525 }
13526 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->PageDown();
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 }
13533 resultobj = SWIG_Py_Void();
13534 return resultobj;
13535 fail:
13536 return NULL;
13537 }
13538
13539
13540 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13541 PyObject *resultobj = 0;
13542 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13543 void *argp1 = 0 ;
13544 int res1 = 0 ;
13545 PyObject *swig_obj[1] ;
13546
13547 if (!args) SWIG_fail;
13548 swig_obj[0] = args;
13549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13550 if (!SWIG_IsOK(res1)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13552 }
13553 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 (arg1)->PageDownExtend();
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 resultobj = SWIG_Py_Void();
13561 return resultobj;
13562 fail:
13563 return NULL;
13564 }
13565
13566
13567 SWIGINTERN PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13568 PyObject *resultobj = 0;
13569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13570 void *argp1 = 0 ;
13571 int res1 = 0 ;
13572 PyObject *swig_obj[1] ;
13573
13574 if (!args) SWIG_fail;
13575 swig_obj[0] = args;
13576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13577 if (!SWIG_IsOK(res1)) {
13578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_EditToggleOvertype" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13579 }
13580 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->EditToggleOvertype();
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 resultobj = SWIG_Py_Void();
13588 return resultobj;
13589 fail:
13590 return NULL;
13591 }
13592
13593
13594 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13595 PyObject *resultobj = 0;
13596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13597 void *argp1 = 0 ;
13598 int res1 = 0 ;
13599 PyObject *swig_obj[1] ;
13600
13601 if (!args) SWIG_fail;
13602 swig_obj[0] = args;
13603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13604 if (!SWIG_IsOK(res1)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Cancel" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13606 }
13607 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->Cancel();
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_Py_Void();
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13622 PyObject *resultobj = 0;
13623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13624 void *argp1 = 0 ;
13625 int res1 = 0 ;
13626 PyObject *swig_obj[1] ;
13627
13628 if (!args) SWIG_fail;
13629 swig_obj[0] = args;
13630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13631 if (!SWIG_IsOK(res1)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBack" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13633 }
13634 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 (arg1)->DeleteBack();
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 resultobj = SWIG_Py_Void();
13642 return resultobj;
13643 fail:
13644 return NULL;
13645 }
13646
13647
13648 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13649 PyObject *resultobj = 0;
13650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13651 void *argp1 = 0 ;
13652 int res1 = 0 ;
13653 PyObject *swig_obj[1] ;
13654
13655 if (!args) SWIG_fail;
13656 swig_obj[0] = args;
13657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13658 if (!SWIG_IsOK(res1)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Tab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13660 }
13661 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 (arg1)->Tab();
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 resultobj = SWIG_Py_Void();
13669 return resultobj;
13670 fail:
13671 return NULL;
13672 }
13673
13674
13675 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13676 PyObject *resultobj = 0;
13677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13678 void *argp1 = 0 ;
13679 int res1 = 0 ;
13680 PyObject *swig_obj[1] ;
13681
13682 if (!args) SWIG_fail;
13683 swig_obj[0] = args;
13684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13685 if (!SWIG_IsOK(res1)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BackTab" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13687 }
13688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 (arg1)->BackTab();
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 resultobj = SWIG_Py_Void();
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 SWIGINTERN PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13703 PyObject *resultobj = 0;
13704 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13705 void *argp1 = 0 ;
13706 int res1 = 0 ;
13707 PyObject *swig_obj[1] ;
13708
13709 if (!args) SWIG_fail;
13710 swig_obj[0] = args;
13711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13712 if (!SWIG_IsOK(res1)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_NewLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13714 }
13715 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 (arg1)->NewLine();
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 resultobj = SWIG_Py_Void();
13723 return resultobj;
13724 fail:
13725 return NULL;
13726 }
13727
13728
13729 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13730 PyObject *resultobj = 0;
13731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13732 void *argp1 = 0 ;
13733 int res1 = 0 ;
13734 PyObject *swig_obj[1] ;
13735
13736 if (!args) SWIG_fail;
13737 swig_obj[0] = args;
13738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13739 if (!SWIG_IsOK(res1)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FormFeed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13741 }
13742 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->FormFeed();
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_Py_Void();
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13757 PyObject *resultobj = 0;
13758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13759 void *argp1 = 0 ;
13760 int res1 = 0 ;
13761 PyObject *swig_obj[1] ;
13762
13763 if (!args) SWIG_fail;
13764 swig_obj[0] = args;
13765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13766 if (!SWIG_IsOK(res1)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHome" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13768 }
13769 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 (arg1)->VCHome();
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 resultobj = SWIG_Py_Void();
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13784 PyObject *resultobj = 0;
13785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13786 void *argp1 = 0 ;
13787 int res1 = 0 ;
13788 PyObject *swig_obj[1] ;
13789
13790 if (!args) SWIG_fail;
13791 swig_obj[0] = args;
13792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13793 if (!SWIG_IsOK(res1)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13795 }
13796 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 (arg1)->VCHomeExtend();
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 resultobj = SWIG_Py_Void();
13804 return resultobj;
13805 fail:
13806 return NULL;
13807 }
13808
13809
13810 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13811 PyObject *resultobj = 0;
13812 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13813 void *argp1 = 0 ;
13814 int res1 = 0 ;
13815 PyObject *swig_obj[1] ;
13816
13817 if (!args) SWIG_fail;
13818 swig_obj[0] = args;
13819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13820 if (!SWIG_IsOK(res1)) {
13821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomIn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13822 }
13823 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 (arg1)->ZoomIn();
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 resultobj = SWIG_Py_Void();
13831 return resultobj;
13832 fail:
13833 return NULL;
13834 }
13835
13836
13837 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13838 PyObject *resultobj = 0;
13839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13840 void *argp1 = 0 ;
13841 int res1 = 0 ;
13842 PyObject *swig_obj[1] ;
13843
13844 if (!args) SWIG_fail;
13845 swig_obj[0] = args;
13846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13847 if (!SWIG_IsOK(res1)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ZoomOut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13849 }
13850 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 (arg1)->ZoomOut();
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 resultobj = SWIG_Py_Void();
13858 return resultobj;
13859 fail:
13860 return NULL;
13861 }
13862
13863
13864 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13865 PyObject *resultobj = 0;
13866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13867 void *argp1 = 0 ;
13868 int res1 = 0 ;
13869 PyObject *swig_obj[1] ;
13870
13871 if (!args) SWIG_fail;
13872 swig_obj[0] = args;
13873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13874 if (!SWIG_IsOK(res1)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13876 }
13877 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 (arg1)->DelWordLeft();
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 resultobj = SWIG_Py_Void();
13885 return resultobj;
13886 fail:
13887 return NULL;
13888 }
13889
13890
13891 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13892 PyObject *resultobj = 0;
13893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13894 void *argp1 = 0 ;
13895 int res1 = 0 ;
13896 PyObject *swig_obj[1] ;
13897
13898 if (!args) SWIG_fail;
13899 swig_obj[0] = args;
13900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13901 if (!SWIG_IsOK(res1)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelWordRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13903 }
13904 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->DelWordRight();
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 resultobj = SWIG_Py_Void();
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13919 PyObject *resultobj = 0;
13920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13921 void *argp1 = 0 ;
13922 int res1 = 0 ;
13923 PyObject *swig_obj[1] ;
13924
13925 if (!args) SWIG_fail;
13926 swig_obj[0] = args;
13927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13928 if (!SWIG_IsOK(res1)) {
13929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCut" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13930 }
13931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 (arg1)->LineCut();
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 resultobj = SWIG_Py_Void();
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13946 PyObject *resultobj = 0;
13947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13948 void *argp1 = 0 ;
13949 int res1 = 0 ;
13950 PyObject *swig_obj[1] ;
13951
13952 if (!args) SWIG_fail;
13953 swig_obj[0] = args;
13954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13955 if (!SWIG_IsOK(res1)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDelete" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13957 }
13958 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->LineDelete();
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = SWIG_Py_Void();
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13973 PyObject *resultobj = 0;
13974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13975 void *argp1 = 0 ;
13976 int res1 = 0 ;
13977 PyObject *swig_obj[1] ;
13978
13979 if (!args) SWIG_fail;
13980 swig_obj[0] = args;
13981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
13982 if (!SWIG_IsOK(res1)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineTranspose" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
13984 }
13985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 (arg1)->LineTranspose();
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = SWIG_Py_Void();
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14000 PyObject *resultobj = 0;
14001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14002 void *argp1 = 0 ;
14003 int res1 = 0 ;
14004 PyObject *swig_obj[1] ;
14005
14006 if (!args) SWIG_fail;
14007 swig_obj[0] = args;
14008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14009 if (!SWIG_IsOK(res1)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14011 }
14012 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 (arg1)->LineDuplicate();
14016 wxPyEndAllowThreads(__tstate);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
14019 resultobj = SWIG_Py_Void();
14020 return resultobj;
14021 fail:
14022 return NULL;
14023 }
14024
14025
14026 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14027 PyObject *resultobj = 0;
14028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14029 void *argp1 = 0 ;
14030 int res1 = 0 ;
14031 PyObject *swig_obj[1] ;
14032
14033 if (!args) SWIG_fail;
14034 swig_obj[0] = args;
14035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14036 if (!SWIG_IsOK(res1)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LowerCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14038 }
14039 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 (arg1)->LowerCase();
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_Py_Void();
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14054 PyObject *resultobj = 0;
14055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14056 void *argp1 = 0 ;
14057 int res1 = 0 ;
14058 PyObject *swig_obj[1] ;
14059
14060 if (!args) SWIG_fail;
14061 swig_obj[0] = args;
14062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14063 if (!SWIG_IsOK(res1)) {
14064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UpperCase" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14065 }
14066 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 (arg1)->UpperCase();
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = SWIG_Py_Void();
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14081 PyObject *resultobj = 0;
14082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14083 void *argp1 = 0 ;
14084 int res1 = 0 ;
14085 PyObject *swig_obj[1] ;
14086
14087 if (!args) SWIG_fail;
14088 swig_obj[0] = args;
14089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14090 if (!SWIG_IsOK(res1)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14092 }
14093 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 (arg1)->LineScrollDown();
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 resultobj = SWIG_Py_Void();
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14108 PyObject *resultobj = 0;
14109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14110 void *argp1 = 0 ;
14111 int res1 = 0 ;
14112 PyObject *swig_obj[1] ;
14113
14114 if (!args) SWIG_fail;
14115 swig_obj[0] = args;
14116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14117 if (!SWIG_IsOK(res1)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineScrollUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14119 }
14120 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 (arg1)->LineScrollUp();
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_Py_Void();
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14135 PyObject *resultobj = 0;
14136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14137 void *argp1 = 0 ;
14138 int res1 = 0 ;
14139 PyObject *swig_obj[1] ;
14140
14141 if (!args) SWIG_fail;
14142 swig_obj[0] = args;
14143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14144 if (!SWIG_IsOK(res1)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DeleteBackNotLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14146 }
14147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 (arg1)->DeleteBackNotLine();
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 resultobj = SWIG_Py_Void();
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14162 PyObject *resultobj = 0;
14163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14164 void *argp1 = 0 ;
14165 int res1 = 0 ;
14166 PyObject *swig_obj[1] ;
14167
14168 if (!args) SWIG_fail;
14169 swig_obj[0] = args;
14170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14171 if (!SWIG_IsOK(res1)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14173 }
14174 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 (arg1)->HomeDisplay();
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
14181 resultobj = SWIG_Py_Void();
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14189 PyObject *resultobj = 0;
14190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14191 void *argp1 = 0 ;
14192 int res1 = 0 ;
14193 PyObject *swig_obj[1] ;
14194
14195 if (!args) SWIG_fail;
14196 swig_obj[0] = args;
14197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14198 if (!SWIG_IsOK(res1)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14200 }
14201 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 (arg1)->HomeDisplayExtend();
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 resultobj = SWIG_Py_Void();
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14216 PyObject *resultobj = 0;
14217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14218 void *argp1 = 0 ;
14219 int res1 = 0 ;
14220 PyObject *swig_obj[1] ;
14221
14222 if (!args) SWIG_fail;
14223 swig_obj[0] = args;
14224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14225 if (!SWIG_IsOK(res1)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplay" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14227 }
14228 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 (arg1)->LineEndDisplay();
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 resultobj = SWIG_Py_Void();
14236 return resultobj;
14237 fail:
14238 return NULL;
14239 }
14240
14241
14242 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14243 PyObject *resultobj = 0;
14244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14245 void *argp1 = 0 ;
14246 int res1 = 0 ;
14247 PyObject *swig_obj[1] ;
14248
14249 if (!args) SWIG_fail;
14250 swig_obj[0] = args;
14251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14252 if (!SWIG_IsOK(res1)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndDisplayExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14254 }
14255 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 (arg1)->LineEndDisplayExtend();
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 resultobj = SWIG_Py_Void();
14263 return resultobj;
14264 fail:
14265 return NULL;
14266 }
14267
14268
14269 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14270 PyObject *resultobj = 0;
14271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14272 void *argp1 = 0 ;
14273 int res1 = 0 ;
14274 PyObject *swig_obj[1] ;
14275
14276 if (!args) SWIG_fail;
14277 swig_obj[0] = args;
14278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14279 if (!SWIG_IsOK(res1)) {
14280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14281 }
14282 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 (arg1)->HomeWrap();
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 resultobj = SWIG_Py_Void();
14290 return resultobj;
14291 fail:
14292 return NULL;
14293 }
14294
14295
14296 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14297 PyObject *resultobj = 0;
14298 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14299 void *argp1 = 0 ;
14300 int res1 = 0 ;
14301 PyObject *swig_obj[1] ;
14302
14303 if (!args) SWIG_fail;
14304 swig_obj[0] = args;
14305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14306 if (!SWIG_IsOK(res1)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14308 }
14309 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 (arg1)->HomeWrapExtend();
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 resultobj = SWIG_Py_Void();
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14324 PyObject *resultobj = 0;
14325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14326 void *argp1 = 0 ;
14327 int res1 = 0 ;
14328 PyObject *swig_obj[1] ;
14329
14330 if (!args) SWIG_fail;
14331 swig_obj[0] = args;
14332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14333 if (!SWIG_IsOK(res1)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14335 }
14336 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->LineEndWrap();
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 resultobj = SWIG_Py_Void();
14344 return resultobj;
14345 fail:
14346 return NULL;
14347 }
14348
14349
14350 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14351 PyObject *resultobj = 0;
14352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14353 void *argp1 = 0 ;
14354 int res1 = 0 ;
14355 PyObject *swig_obj[1] ;
14356
14357 if (!args) SWIG_fail;
14358 swig_obj[0] = args;
14359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14360 if (!SWIG_IsOK(res1)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14362 }
14363 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 (arg1)->LineEndWrapExtend();
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 resultobj = SWIG_Py_Void();
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14378 PyObject *resultobj = 0;
14379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14380 void *argp1 = 0 ;
14381 int res1 = 0 ;
14382 PyObject *swig_obj[1] ;
14383
14384 if (!args) SWIG_fail;
14385 swig_obj[0] = args;
14386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14387 if (!SWIG_IsOK(res1)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrap" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14389 }
14390 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 (arg1)->VCHomeWrap();
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = SWIG_Py_Void();
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14405 PyObject *resultobj = 0;
14406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14407 void *argp1 = 0 ;
14408 int res1 = 0 ;
14409 PyObject *swig_obj[1] ;
14410
14411 if (!args) SWIG_fail;
14412 swig_obj[0] = args;
14413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14414 if (!SWIG_IsOK(res1)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeWrapExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14416 }
14417 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 (arg1)->VCHomeWrapExtend();
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 resultobj = SWIG_Py_Void();
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14432 PyObject *resultobj = 0;
14433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14434 void *argp1 = 0 ;
14435 int res1 = 0 ;
14436 PyObject *swig_obj[1] ;
14437
14438 if (!args) SWIG_fail;
14439 swig_obj[0] = args;
14440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineCopy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14443 }
14444 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 (arg1)->LineCopy();
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 resultobj = SWIG_Py_Void();
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 SWIGINTERN PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14459 PyObject *resultobj = 0;
14460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14461 void *argp1 = 0 ;
14462 int res1 = 0 ;
14463 PyObject *swig_obj[1] ;
14464
14465 if (!args) SWIG_fail;
14466 swig_obj[0] = args;
14467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14468 if (!SWIG_IsOK(res1)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_MoveCaretInsideView" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14470 }
14471 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->MoveCaretInsideView();
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 resultobj = SWIG_Py_Void();
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj = 0;
14487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14488 int arg2 ;
14489 int result;
14490 void *argp1 = 0 ;
14491 int res1 = 0 ;
14492 int val2 ;
14493 int ecode2 = 0 ;
14494 PyObject * obj0 = 0 ;
14495 PyObject * obj1 = 0 ;
14496 char * kwnames[] = {
14497 (char *) "self",(char *) "line", NULL
14498 };
14499
14500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) SWIG_fail;
14501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14502 if (!SWIG_IsOK(res1)) {
14503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14504 }
14505 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14506 ecode2 = SWIG_AsVal_int(obj1, &val2);
14507 if (!SWIG_IsOK(ecode2)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_LineLength" "', expected argument " "2"" of type '" "int""'");
14509 }
14510 arg2 = static_cast< int >(val2);
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (int)(arg1)->LineLength(arg2);
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 resultobj = SWIG_From_int(static_cast< int >(result));
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj = 0;
14526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14527 int arg2 ;
14528 int arg3 ;
14529 void *argp1 = 0 ;
14530 int res1 = 0 ;
14531 int val2 ;
14532 int ecode2 = 0 ;
14533 int val3 ;
14534 int ecode3 = 0 ;
14535 PyObject * obj0 = 0 ;
14536 PyObject * obj1 = 0 ;
14537 PyObject * obj2 = 0 ;
14538 char * kwnames[] = {
14539 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
14540 };
14541
14542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14544 if (!SWIG_IsOK(res1)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14546 }
14547 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14548 ecode2 = SWIG_AsVal_int(obj1, &val2);
14549 if (!SWIG_IsOK(ecode2)) {
14550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "2"" of type '" "int""'");
14551 }
14552 arg2 = static_cast< int >(val2);
14553 ecode3 = SWIG_AsVal_int(obj2, &val3);
14554 if (!SWIG_IsOK(ecode3)) {
14555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_BraceHighlight" "', expected argument " "3"" of type '" "int""'");
14556 }
14557 arg3 = static_cast< int >(val3);
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 (arg1)->BraceHighlight(arg2,arg3);
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 resultobj = SWIG_Py_Void();
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj = 0;
14573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14574 int arg2 ;
14575 void *argp1 = 0 ;
14576 int res1 = 0 ;
14577 int val2 ;
14578 int ecode2 = 0 ;
14579 PyObject * obj0 = 0 ;
14580 PyObject * obj1 = 0 ;
14581 char * kwnames[] = {
14582 (char *) "self",(char *) "pos", NULL
14583 };
14584
14585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) SWIG_fail;
14586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14587 if (!SWIG_IsOK(res1)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14589 }
14590 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14591 ecode2 = SWIG_AsVal_int(obj1, &val2);
14592 if (!SWIG_IsOK(ecode2)) {
14593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceBadLight" "', expected argument " "2"" of type '" "int""'");
14594 }
14595 arg2 = static_cast< int >(val2);
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 (arg1)->BraceBadLight(arg2);
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = SWIG_Py_Void();
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 SWIGINTERN PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj = 0;
14611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14612 int arg2 ;
14613 int result;
14614 void *argp1 = 0 ;
14615 int res1 = 0 ;
14616 int val2 ;
14617 int ecode2 = 0 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char * kwnames[] = {
14621 (char *) "self",(char *) "pos", NULL
14622 };
14623
14624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) SWIG_fail;
14625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14626 if (!SWIG_IsOK(res1)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14628 }
14629 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14630 ecode2 = SWIG_AsVal_int(obj1, &val2);
14631 if (!SWIG_IsOK(ecode2)) {
14632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_BraceMatch" "', expected argument " "2"" of type '" "int""'");
14633 }
14634 arg2 = static_cast< int >(val2);
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (int)(arg1)->BraceMatch(arg2);
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 resultobj = SWIG_From_int(static_cast< int >(result));
14642 return resultobj;
14643 fail:
14644 return NULL;
14645 }
14646
14647
14648 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14649 PyObject *resultobj = 0;
14650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14651 bool result;
14652 void *argp1 = 0 ;
14653 int res1 = 0 ;
14654 PyObject *swig_obj[1] ;
14655
14656 if (!args) SWIG_fail;
14657 swig_obj[0] = args;
14658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14659 if (!SWIG_IsOK(res1)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14661 }
14662 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (bool)(arg1)->GetViewEOL();
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj = 0;
14680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14681 bool arg2 ;
14682 void *argp1 = 0 ;
14683 int res1 = 0 ;
14684 bool val2 ;
14685 int ecode2 = 0 ;
14686 PyObject * obj0 = 0 ;
14687 PyObject * obj1 = 0 ;
14688 char * kwnames[] = {
14689 (char *) "self",(char *) "visible", NULL
14690 };
14691
14692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) SWIG_fail;
14693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14694 if (!SWIG_IsOK(res1)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14696 }
14697 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14698 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14699 if (!SWIG_IsOK(ecode2)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetViewEOL" "', expected argument " "2"" of type '" "bool""'");
14701 }
14702 arg2 = static_cast< bool >(val2);
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 (arg1)->SetViewEOL(arg2);
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 resultobj = SWIG_Py_Void();
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14717 PyObject *resultobj = 0;
14718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14719 void *result = 0 ;
14720 void *argp1 = 0 ;
14721 int res1 = 0 ;
14722 PyObject *swig_obj[1] ;
14723
14724 if (!args) SWIG_fail;
14725 swig_obj[0] = args;
14726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14727 if (!SWIG_IsOK(res1)) {
14728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14729 }
14730 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = (void *)(arg1)->GetDocPointer();
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj = 0;
14746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14747 void *arg2 = (void *) 0 ;
14748 void *argp1 = 0 ;
14749 int res1 = 0 ;
14750 int res2 ;
14751 PyObject * obj0 = 0 ;
14752 PyObject * obj1 = 0 ;
14753 char * kwnames[] = {
14754 (char *) "self",(char *) "docPointer", NULL
14755 };
14756
14757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) SWIG_fail;
14758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14759 if (!SWIG_IsOK(res1)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14761 }
14762 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14763 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
14764 if (!SWIG_IsOK(res2)) {
14765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetDocPointer" "', expected argument " "2"" of type '" "void *""'");
14766 }
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 (arg1)->SetDocPointer(arg2);
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 resultobj = SWIG_Py_Void();
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj = 0;
14782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14783 int arg2 ;
14784 void *argp1 = 0 ;
14785 int res1 = 0 ;
14786 int val2 ;
14787 int ecode2 = 0 ;
14788 PyObject * obj0 = 0 ;
14789 PyObject * obj1 = 0 ;
14790 char * kwnames[] = {
14791 (char *) "self",(char *) "mask", NULL
14792 };
14793
14794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) SWIG_fail;
14795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14796 if (!SWIG_IsOK(res1)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14798 }
14799 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14800 ecode2 = SWIG_AsVal_int(obj1, &val2);
14801 if (!SWIG_IsOK(ecode2)) {
14802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetModEventMask" "', expected argument " "2"" of type '" "int""'");
14803 }
14804 arg2 = static_cast< int >(val2);
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 (arg1)->SetModEventMask(arg2);
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 resultobj = SWIG_Py_Void();
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14819 PyObject *resultobj = 0;
14820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14821 int result;
14822 void *argp1 = 0 ;
14823 int res1 = 0 ;
14824 PyObject *swig_obj[1] ;
14825
14826 if (!args) SWIG_fail;
14827 swig_obj[0] = args;
14828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14829 if (!SWIG_IsOK(res1)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14831 }
14832 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (int)(arg1)->GetEdgeColumn();
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 resultobj = SWIG_From_int(static_cast< int >(result));
14840 return resultobj;
14841 fail:
14842 return NULL;
14843 }
14844
14845
14846 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj = 0;
14848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14849 int arg2 ;
14850 void *argp1 = 0 ;
14851 int res1 = 0 ;
14852 int val2 ;
14853 int ecode2 = 0 ;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 char * kwnames[] = {
14857 (char *) "self",(char *) "column", NULL
14858 };
14859
14860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14862 if (!SWIG_IsOK(res1)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14864 }
14865 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14866 ecode2 = SWIG_AsVal_int(obj1, &val2);
14867 if (!SWIG_IsOK(ecode2)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeColumn" "', expected argument " "2"" of type '" "int""'");
14869 }
14870 arg2 = static_cast< int >(val2);
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 (arg1)->SetEdgeColumn(arg2);
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = SWIG_Py_Void();
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14885 PyObject *resultobj = 0;
14886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14887 int result;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 PyObject *swig_obj[1] ;
14891
14892 if (!args) SWIG_fail;
14893 swig_obj[0] = args;
14894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14895 if (!SWIG_IsOK(res1)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14897 }
14898 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (int)(arg1)->GetEdgeMode();
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_From_int(static_cast< int >(result));
14906 return resultobj;
14907 fail:
14908 return NULL;
14909 }
14910
14911
14912 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj = 0;
14914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14915 int arg2 ;
14916 void *argp1 = 0 ;
14917 int res1 = 0 ;
14918 int val2 ;
14919 int ecode2 = 0 ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char * kwnames[] = {
14923 (char *) "self",(char *) "mode", NULL
14924 };
14925
14926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) SWIG_fail;
14927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14928 if (!SWIG_IsOK(res1)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14930 }
14931 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14932 ecode2 = SWIG_AsVal_int(obj1, &val2);
14933 if (!SWIG_IsOK(ecode2)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetEdgeMode" "', expected argument " "2"" of type '" "int""'");
14935 }
14936 arg2 = static_cast< int >(val2);
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 (arg1)->SetEdgeMode(arg2);
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 resultobj = SWIG_Py_Void();
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14951 PyObject *resultobj = 0;
14952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14953 wxColour result;
14954 void *argp1 = 0 ;
14955 int res1 = 0 ;
14956 PyObject *swig_obj[1] ;
14957
14958 if (!args) SWIG_fail;
14959 swig_obj[0] = args;
14960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14963 }
14964 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 result = (arg1)->GetEdgeColour();
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj = 0;
14980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14981 wxColour *arg2 = 0 ;
14982 void *argp1 = 0 ;
14983 int res1 = 0 ;
14984 wxColour temp2 ;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
14987 char * kwnames[] = {
14988 (char *) "self",(char *) "edgeColour", NULL
14989 };
14990
14991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) SWIG_fail;
14992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
14993 if (!SWIG_IsOK(res1)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetEdgeColour" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
14995 }
14996 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
14997 {
14998 arg2 = &temp2;
14999 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15000 }
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 (arg1)->SetEdgeColour((wxColour const &)*arg2);
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 resultobj = SWIG_Py_Void();
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15015 PyObject *resultobj = 0;
15016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15017 void *argp1 = 0 ;
15018 int res1 = 0 ;
15019 PyObject *swig_obj[1] ;
15020
15021 if (!args) SWIG_fail;
15022 swig_obj[0] = args;
15023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15024 if (!SWIG_IsOK(res1)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchAnchor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15026 }
15027 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->SearchAnchor();
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 resultobj = SWIG_Py_Void();
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj = 0;
15043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15044 int arg2 ;
15045 wxString *arg3 = 0 ;
15046 int result;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 int val2 ;
15050 int ecode2 = 0 ;
15051 bool temp3 = false ;
15052 PyObject * obj0 = 0 ;
15053 PyObject * obj1 = 0 ;
15054 PyObject * obj2 = 0 ;
15055 char * kwnames[] = {
15056 (char *) "self",(char *) "flags",(char *) "text", NULL
15057 };
15058
15059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15061 if (!SWIG_IsOK(res1)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15063 }
15064 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15065 ecode2 = SWIG_AsVal_int(obj1, &val2);
15066 if (!SWIG_IsOK(ecode2)) {
15067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchNext" "', expected argument " "2"" of type '" "int""'");
15068 }
15069 arg2 = static_cast< int >(val2);
15070 {
15071 arg3 = wxString_in_helper(obj2);
15072 if (arg3 == NULL) SWIG_fail;
15073 temp3 = true;
15074 }
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 resultobj = SWIG_From_int(static_cast< int >(result));
15082 {
15083 if (temp3)
15084 delete arg3;
15085 }
15086 return resultobj;
15087 fail:
15088 {
15089 if (temp3)
15090 delete arg3;
15091 }
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj = 0;
15098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15099 int arg2 ;
15100 wxString *arg3 = 0 ;
15101 int result;
15102 void *argp1 = 0 ;
15103 int res1 = 0 ;
15104 int val2 ;
15105 int ecode2 = 0 ;
15106 bool temp3 = false ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 char * kwnames[] = {
15111 (char *) "self",(char *) "flags",(char *) "text", NULL
15112 };
15113
15114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15116 if (!SWIG_IsOK(res1)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15118 }
15119 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15120 ecode2 = SWIG_AsVal_int(obj1, &val2);
15121 if (!SWIG_IsOK(ecode2)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SearchPrev" "', expected argument " "2"" of type '" "int""'");
15123 }
15124 arg2 = static_cast< int >(val2);
15125 {
15126 arg3 = wxString_in_helper(obj2);
15127 if (arg3 == NULL) SWIG_fail;
15128 temp3 = true;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_From_int(static_cast< int >(result));
15137 {
15138 if (temp3)
15139 delete arg3;
15140 }
15141 return resultobj;
15142 fail:
15143 {
15144 if (temp3)
15145 delete arg3;
15146 }
15147 return NULL;
15148 }
15149
15150
15151 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15152 PyObject *resultobj = 0;
15153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15154 int result;
15155 void *argp1 = 0 ;
15156 int res1 = 0 ;
15157 PyObject *swig_obj[1] ;
15158
15159 if (!args) SWIG_fail;
15160 swig_obj[0] = args;
15161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15162 if (!SWIG_IsOK(res1)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LinesOnScreen" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15164 }
15165 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (int)(arg1)->LinesOnScreen();
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 resultobj = SWIG_From_int(static_cast< int >(result));
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 SWIGINTERN PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj = 0;
15181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15182 bool arg2 ;
15183 void *argp1 = 0 ;
15184 int res1 = 0 ;
15185 bool val2 ;
15186 int ecode2 = 0 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char * kwnames[] = {
15190 (char *) "self",(char *) "allowPopUp", NULL
15191 };
15192
15193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) SWIG_fail;
15194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15195 if (!SWIG_IsOK(res1)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15197 }
15198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15199 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15200 if (!SWIG_IsOK(ecode2)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_UsePopUp" "', expected argument " "2"" of type '" "bool""'");
15202 }
15203 arg2 = static_cast< bool >(val2);
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->UsePopUp(arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15218 PyObject *resultobj = 0;
15219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15220 bool result;
15221 void *argp1 = 0 ;
15222 int res1 = 0 ;
15223 PyObject *swig_obj[1] ;
15224
15225 if (!args) SWIG_fail;
15226 swig_obj[0] = args;
15227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15228 if (!SWIG_IsOK(res1)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionIsRectangle" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15230 }
15231 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 result = (bool)(arg1)->SelectionIsRectangle();
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 {
15239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj = 0;
15249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15250 int arg2 ;
15251 void *argp1 = 0 ;
15252 int res1 = 0 ;
15253 int val2 ;
15254 int ecode2 = 0 ;
15255 PyObject * obj0 = 0 ;
15256 PyObject * obj1 = 0 ;
15257 char * kwnames[] = {
15258 (char *) "self",(char *) "zoom", NULL
15259 };
15260
15261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
15262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15263 if (!SWIG_IsOK(res1)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15265 }
15266 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15267 ecode2 = SWIG_AsVal_int(obj1, &val2);
15268 if (!SWIG_IsOK(ecode2)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetZoom" "', expected argument " "2"" of type '" "int""'");
15270 }
15271 arg2 = static_cast< int >(val2);
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 (arg1)->SetZoom(arg2);
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = SWIG_Py_Void();
15279 return resultobj;
15280 fail:
15281 return NULL;
15282 }
15283
15284
15285 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15286 PyObject *resultobj = 0;
15287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15288 int result;
15289 void *argp1 = 0 ;
15290 int res1 = 0 ;
15291 PyObject *swig_obj[1] ;
15292
15293 if (!args) SWIG_fail;
15294 swig_obj[0] = args;
15295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15296 if (!SWIG_IsOK(res1)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetZoom" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15298 }
15299 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (int)(arg1)->GetZoom();
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = SWIG_From_int(static_cast< int >(result));
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15314 PyObject *resultobj = 0;
15315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15316 void *result = 0 ;
15317 void *argp1 = 0 ;
15318 int res1 = 0 ;
15319 PyObject *swig_obj[1] ;
15320
15321 if (!args) SWIG_fail;
15322 swig_obj[0] = args;
15323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15324 if (!SWIG_IsOK(res1)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CreateDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15326 }
15327 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (void *)(arg1)->CreateDocument();
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj = 0;
15343 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15344 void *arg2 = (void *) 0 ;
15345 void *argp1 = 0 ;
15346 int res1 = 0 ;
15347 int res2 ;
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 char * kwnames[] = {
15351 (char *) "self",(char *) "docPointer", NULL
15352 };
15353
15354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15356 if (!SWIG_IsOK(res1)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15358 }
15359 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15360 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15361 if (!SWIG_IsOK(res2)) {
15362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddRefDocument" "', expected argument " "2"" of type '" "void *""'");
15363 }
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->AddRefDocument(arg2);
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 resultobj = SWIG_Py_Void();
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj = 0;
15379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15380 void *arg2 = (void *) 0 ;
15381 void *argp1 = 0 ;
15382 int res1 = 0 ;
15383 int res2 ;
15384 PyObject * obj0 = 0 ;
15385 PyObject * obj1 = 0 ;
15386 char * kwnames[] = {
15387 (char *) "self",(char *) "docPointer", NULL
15388 };
15389
15390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) SWIG_fail;
15391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15392 if (!SWIG_IsOK(res1)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15394 }
15395 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15396 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
15397 if (!SWIG_IsOK(res2)) {
15398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_ReleaseDocument" "', expected argument " "2"" of type '" "void *""'");
15399 }
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 (arg1)->ReleaseDocument(arg2);
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 resultobj = SWIG_Py_Void();
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15414 PyObject *resultobj = 0;
15415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15416 int result;
15417 void *argp1 = 0 ;
15418 int res1 = 0 ;
15419 PyObject *swig_obj[1] ;
15420
15421 if (!args) SWIG_fail;
15422 swig_obj[0] = args;
15423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15424 if (!SWIG_IsOK(res1)) {
15425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetModEventMask" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15426 }
15427 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = (int)(arg1)->GetModEventMask();
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = SWIG_From_int(static_cast< int >(result));
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj = 0;
15443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15444 bool arg2 ;
15445 void *argp1 = 0 ;
15446 int res1 = 0 ;
15447 bool val2 ;
15448 int ecode2 = 0 ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "self",(char *) "focus", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15459 }
15460 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15461 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15462 if (!SWIG_IsOK(ecode2)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCFocus" "', expected argument " "2"" of type '" "bool""'");
15464 }
15465 arg2 = static_cast< bool >(val2);
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->SetSTCFocus(arg2);
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 resultobj = SWIG_Py_Void();
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15480 PyObject *resultobj = 0;
15481 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15482 bool result;
15483 void *argp1 = 0 ;
15484 int res1 = 0 ;
15485 PyObject *swig_obj[1] ;
15486
15487 if (!args) SWIG_fail;
15488 swig_obj[0] = args;
15489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15490 if (!SWIG_IsOK(res1)) {
15491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCFocus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15492 }
15493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->GetSTCFocus();
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 {
15501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15502 }
15503 return resultobj;
15504 fail:
15505 return NULL;
15506 }
15507
15508
15509 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15510 PyObject *resultobj = 0;
15511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15512 int arg2 ;
15513 void *argp1 = 0 ;
15514 int res1 = 0 ;
15515 int val2 ;
15516 int ecode2 = 0 ;
15517 PyObject * obj0 = 0 ;
15518 PyObject * obj1 = 0 ;
15519 char * kwnames[] = {
15520 (char *) "self",(char *) "statusCode", NULL
15521 };
15522
15523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) SWIG_fail;
15524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15525 if (!SWIG_IsOK(res1)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15527 }
15528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15529 ecode2 = SWIG_AsVal_int(obj1, &val2);
15530 if (!SWIG_IsOK(ecode2)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetStatus" "', expected argument " "2"" of type '" "int""'");
15532 }
15533 arg2 = static_cast< int >(val2);
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 (arg1)->SetStatus(arg2);
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 resultobj = SWIG_Py_Void();
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15548 PyObject *resultobj = 0;
15549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15550 int result;
15551 void *argp1 = 0 ;
15552 int res1 = 0 ;
15553 PyObject *swig_obj[1] ;
15554
15555 if (!args) SWIG_fail;
15556 swig_obj[0] = args;
15557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15558 if (!SWIG_IsOK(res1)) {
15559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStatus" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15560 }
15561 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (int)(arg1)->GetStatus();
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 resultobj = SWIG_From_int(static_cast< int >(result));
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj = 0;
15577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15578 bool arg2 ;
15579 void *argp1 = 0 ;
15580 int res1 = 0 ;
15581 bool val2 ;
15582 int ecode2 = 0 ;
15583 PyObject * obj0 = 0 ;
15584 PyObject * obj1 = 0 ;
15585 char * kwnames[] = {
15586 (char *) "self",(char *) "captures", NULL
15587 };
15588
15589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) SWIG_fail;
15590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15591 if (!SWIG_IsOK(res1)) {
15592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15593 }
15594 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15596 if (!SWIG_IsOK(ecode2)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMouseDownCaptures" "', expected argument " "2"" of type '" "bool""'");
15598 }
15599 arg2 = static_cast< bool >(val2);
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetMouseDownCaptures(arg2);
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = SWIG_Py_Void();
15607 return resultobj;
15608 fail:
15609 return NULL;
15610 }
15611
15612
15613 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15614 PyObject *resultobj = 0;
15615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15616 bool result;
15617 void *argp1 = 0 ;
15618 int res1 = 0 ;
15619 PyObject *swig_obj[1] ;
15620
15621 if (!args) SWIG_fail;
15622 swig_obj[0] = args;
15623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15624 if (!SWIG_IsOK(res1)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetMouseDownCaptures" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15626 }
15627 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
15630 result = (bool)(arg1)->GetMouseDownCaptures();
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
15634 {
15635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15636 }
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj = 0;
15645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15646 int arg2 ;
15647 void *argp1 = 0 ;
15648 int res1 = 0 ;
15649 int val2 ;
15650 int ecode2 = 0 ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 char * kwnames[] = {
15654 (char *) "self",(char *) "cursorType", NULL
15655 };
15656
15657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) SWIG_fail;
15658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15659 if (!SWIG_IsOK(res1)) {
15660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15661 }
15662 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15663 ecode2 = SWIG_AsVal_int(obj1, &val2);
15664 if (!SWIG_IsOK(ecode2)) {
15665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSTCCursor" "', expected argument " "2"" of type '" "int""'");
15666 }
15667 arg2 = static_cast< int >(val2);
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 (arg1)->SetSTCCursor(arg2);
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = SWIG_Py_Void();
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15682 PyObject *resultobj = 0;
15683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15684 int result;
15685 void *argp1 = 0 ;
15686 int res1 = 0 ;
15687 PyObject *swig_obj[1] ;
15688
15689 if (!args) SWIG_fail;
15690 swig_obj[0] = args;
15691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15692 if (!SWIG_IsOK(res1)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSTCCursor" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15694 }
15695 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (int)(arg1)->GetSTCCursor();
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 resultobj = SWIG_From_int(static_cast< int >(result));
15703 return resultobj;
15704 fail:
15705 return NULL;
15706 }
15707
15708
15709 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15710 PyObject *resultobj = 0;
15711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15712 int arg2 ;
15713 void *argp1 = 0 ;
15714 int res1 = 0 ;
15715 int val2 ;
15716 int ecode2 = 0 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 char * kwnames[] = {
15720 (char *) "self",(char *) "symbol", NULL
15721 };
15722
15723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) SWIG_fail;
15724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15725 if (!SWIG_IsOK(res1)) {
15726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15727 }
15728 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15729 ecode2 = SWIG_AsVal_int(obj1, &val2);
15730 if (!SWIG_IsOK(ecode2)) {
15731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetControlCharSymbol" "', expected argument " "2"" of type '" "int""'");
15732 }
15733 arg2 = static_cast< int >(val2);
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 (arg1)->SetControlCharSymbol(arg2);
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 resultobj = SWIG_Py_Void();
15741 return resultobj;
15742 fail:
15743 return NULL;
15744 }
15745
15746
15747 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15748 PyObject *resultobj = 0;
15749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15750 int result;
15751 void *argp1 = 0 ;
15752 int res1 = 0 ;
15753 PyObject *swig_obj[1] ;
15754
15755 if (!args) SWIG_fail;
15756 swig_obj[0] = args;
15757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15758 if (!SWIG_IsOK(res1)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetControlCharSymbol" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15760 }
15761 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 result = (int)(arg1)->GetControlCharSymbol();
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_From_int(static_cast< int >(result));
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15776 PyObject *resultobj = 0;
15777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 PyObject *swig_obj[1] ;
15781
15782 if (!args) SWIG_fail;
15783 swig_obj[0] = args;
15784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15785 if (!SWIG_IsOK(res1)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15787 }
15788 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 (arg1)->WordPartLeft();
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 resultobj = SWIG_Py_Void();
15796 return resultobj;
15797 fail:
15798 return NULL;
15799 }
15800
15801
15802 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15803 PyObject *resultobj = 0;
15804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15805 void *argp1 = 0 ;
15806 int res1 = 0 ;
15807 PyObject *swig_obj[1] ;
15808
15809 if (!args) SWIG_fail;
15810 swig_obj[0] = args;
15811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15812 if (!SWIG_IsOK(res1)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartLeftExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15814 }
15815 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 (arg1)->WordPartLeftExtend();
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 resultobj = SWIG_Py_Void();
15823 return resultobj;
15824 fail:
15825 return NULL;
15826 }
15827
15828
15829 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15830 PyObject *resultobj = 0;
15831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15832 void *argp1 = 0 ;
15833 int res1 = 0 ;
15834 PyObject *swig_obj[1] ;
15835
15836 if (!args) SWIG_fail;
15837 swig_obj[0] = args;
15838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15839 if (!SWIG_IsOK(res1)) {
15840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15841 }
15842 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 (arg1)->WordPartRight();
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_Py_Void();
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15857 PyObject *resultobj = 0;
15858 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15859 void *argp1 = 0 ;
15860 int res1 = 0 ;
15861 PyObject *swig_obj[1] ;
15862
15863 if (!args) SWIG_fail;
15864 swig_obj[0] = args;
15865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15866 if (!SWIG_IsOK(res1)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordPartRightExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15868 }
15869 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 (arg1)->WordPartRightExtend();
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 resultobj = SWIG_Py_Void();
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj = 0;
15885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15886 int arg2 ;
15887 int arg3 ;
15888 void *argp1 = 0 ;
15889 int res1 = 0 ;
15890 int val2 ;
15891 int ecode2 = 0 ;
15892 int val3 ;
15893 int ecode3 = 0 ;
15894 PyObject * obj0 = 0 ;
15895 PyObject * obj1 = 0 ;
15896 PyObject * obj2 = 0 ;
15897 char * kwnames[] = {
15898 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
15899 };
15900
15901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15903 if (!SWIG_IsOK(res1)) {
15904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15905 }
15906 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15907 ecode2 = SWIG_AsVal_int(obj1, &val2);
15908 if (!SWIG_IsOK(ecode2)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "2"" of type '" "int""'");
15910 }
15911 arg2 = static_cast< int >(val2);
15912 ecode3 = SWIG_AsVal_int(obj2, &val3);
15913 if (!SWIG_IsOK(ecode3)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetVisiblePolicy" "', expected argument " "3"" of type '" "int""'");
15915 }
15916 arg3 = static_cast< int >(val3);
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 (arg1)->SetVisiblePolicy(arg2,arg3);
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 resultobj = SWIG_Py_Void();
15924 return resultobj;
15925 fail:
15926 return NULL;
15927 }
15928
15929
15930 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15931 PyObject *resultobj = 0;
15932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15933 void *argp1 = 0 ;
15934 int res1 = 0 ;
15935 PyObject *swig_obj[1] ;
15936
15937 if (!args) SWIG_fail;
15938 swig_obj[0] = args;
15939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15940 if (!SWIG_IsOK(res1)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineLeft" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15942 }
15943 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 (arg1)->DelLineLeft();
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 resultobj = SWIG_Py_Void();
15951 return resultobj;
15952 fail:
15953 return NULL;
15954 }
15955
15956
15957 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15958 PyObject *resultobj = 0;
15959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15960 void *argp1 = 0 ;
15961 int res1 = 0 ;
15962 PyObject *swig_obj[1] ;
15963
15964 if (!args) SWIG_fail;
15965 swig_obj[0] = args;
15966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
15967 if (!SWIG_IsOK(res1)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DelLineRight" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
15969 }
15970 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->DelLineRight();
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = SWIG_Py_Void();
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj = 0;
15986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15987 int arg2 ;
15988 void *argp1 = 0 ;
15989 int res1 = 0 ;
15990 int val2 ;
15991 int ecode2 = 0 ;
15992 PyObject * obj0 = 0 ;
15993 PyObject * obj1 = 0 ;
15994 char * kwnames[] = {
15995 (char *) "self",(char *) "newOffset", NULL
15996 };
15997
15998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) SWIG_fail;
15999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16000 if (!SWIG_IsOK(res1)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16002 }
16003 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16004 ecode2 = SWIG_AsVal_int(obj1, &val2);
16005 if (!SWIG_IsOK(ecode2)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXOffset" "', expected argument " "2"" of type '" "int""'");
16007 }
16008 arg2 = static_cast< int >(val2);
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->SetXOffset(arg2);
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_Py_Void();
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16023 PyObject *resultobj = 0;
16024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16025 int result;
16026 void *argp1 = 0 ;
16027 int res1 = 0 ;
16028 PyObject *swig_obj[1] ;
16029
16030 if (!args) SWIG_fail;
16031 swig_obj[0] = args;
16032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16033 if (!SWIG_IsOK(res1)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetXOffset" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16035 }
16036 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 result = (int)(arg1)->GetXOffset();
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 resultobj = SWIG_From_int(static_cast< int >(result));
16044 return resultobj;
16045 fail:
16046 return NULL;
16047 }
16048
16049
16050 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16051 PyObject *resultobj = 0;
16052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 PyObject *swig_obj[1] ;
16056
16057 if (!args) SWIG_fail;
16058 swig_obj[0] = args;
16059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16060 if (!SWIG_IsOK(res1)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ChooseCaretX" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16062 }
16063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 (arg1)->ChooseCaretX();
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 resultobj = SWIG_Py_Void();
16071 return resultobj;
16072 fail:
16073 return NULL;
16074 }
16075
16076
16077 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj = 0;
16079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16080 int arg2 ;
16081 int arg3 ;
16082 void *argp1 = 0 ;
16083 int res1 = 0 ;
16084 int val2 ;
16085 int ecode2 = 0 ;
16086 int val3 ;
16087 int ecode3 = 0 ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 PyObject * obj2 = 0 ;
16091 char * kwnames[] = {
16092 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16093 };
16094
16095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",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_SetXCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16099 }
16100 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16101 ecode2 = SWIG_AsVal_int(obj1, &val2);
16102 if (!SWIG_IsOK(ecode2)) {
16103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16104 }
16105 arg2 = static_cast< int >(val2);
16106 ecode3 = SWIG_AsVal_int(obj2, &val3);
16107 if (!SWIG_IsOK(ecode3)) {
16108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetXCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16109 }
16110 arg3 = static_cast< int >(val3);
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->SetXCaretPolicy(arg2,arg3);
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_Py_Void();
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj = 0;
16126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16127 int arg2 ;
16128 int arg3 ;
16129 void *argp1 = 0 ;
16130 int res1 = 0 ;
16131 int val2 ;
16132 int ecode2 = 0 ;
16133 int val3 ;
16134 int ecode3 = 0 ;
16135 PyObject * obj0 = 0 ;
16136 PyObject * obj1 = 0 ;
16137 PyObject * obj2 = 0 ;
16138 char * kwnames[] = {
16139 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
16140 };
16141
16142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16144 if (!SWIG_IsOK(res1)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16146 }
16147 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16148 ecode2 = SWIG_AsVal_int(obj1, &val2);
16149 if (!SWIG_IsOK(ecode2)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "2"" of type '" "int""'");
16151 }
16152 arg2 = static_cast< int >(val2);
16153 ecode3 = SWIG_AsVal_int(obj2, &val3);
16154 if (!SWIG_IsOK(ecode3)) {
16155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetYCaretPolicy" "', expected argument " "3"" of type '" "int""'");
16156 }
16157 arg3 = static_cast< int >(val3);
16158 {
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 (arg1)->SetYCaretPolicy(arg2,arg3);
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 resultobj = SWIG_Py_Void();
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj = 0;
16173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16174 int arg2 ;
16175 void *argp1 = 0 ;
16176 int res1 = 0 ;
16177 int val2 ;
16178 int ecode2 = 0 ;
16179 PyObject * obj0 = 0 ;
16180 PyObject * obj1 = 0 ;
16181 char * kwnames[] = {
16182 (char *) "self",(char *) "mode", NULL
16183 };
16184
16185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) SWIG_fail;
16186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16187 if (!SWIG_IsOK(res1)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16189 }
16190 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16191 ecode2 = SWIG_AsVal_int(obj1, &val2);
16192 if (!SWIG_IsOK(ecode2)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPrintWrapMode" "', expected argument " "2"" of type '" "int""'");
16194 }
16195 arg2 = static_cast< int >(val2);
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 (arg1)->SetPrintWrapMode(arg2);
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 resultobj = SWIG_Py_Void();
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16210 PyObject *resultobj = 0;
16211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16212 int result;
16213 void *argp1 = 0 ;
16214 int res1 = 0 ;
16215 PyObject *swig_obj[1] ;
16216
16217 if (!args) SWIG_fail;
16218 swig_obj[0] = args;
16219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16220 if (!SWIG_IsOK(res1)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPrintWrapMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16222 }
16223 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 result = (int)(arg1)->GetPrintWrapMode();
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 resultobj = SWIG_From_int(static_cast< int >(result));
16231 return resultobj;
16232 fail:
16233 return NULL;
16234 }
16235
16236
16237 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj = 0;
16239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16240 bool arg2 ;
16241 wxColour *arg3 = 0 ;
16242 void *argp1 = 0 ;
16243 int res1 = 0 ;
16244 bool val2 ;
16245 int ecode2 = 0 ;
16246 wxColour temp3 ;
16247 PyObject * obj0 = 0 ;
16248 PyObject * obj1 = 0 ;
16249 PyObject * obj2 = 0 ;
16250 char * kwnames[] = {
16251 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
16252 };
16253
16254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16256 if (!SWIG_IsOK(res1)) {
16257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16258 }
16259 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16260 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16261 if (!SWIG_IsOK(ecode2)) {
16262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveForeground" "', expected argument " "2"" of type '" "bool""'");
16263 }
16264 arg2 = static_cast< bool >(val2);
16265 {
16266 arg3 = &temp3;
16267 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16268 }
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 resultobj = SWIG_Py_Void();
16276 return resultobj;
16277 fail:
16278 return NULL;
16279 }
16280
16281
16282 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj = 0;
16284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16285 bool arg2 ;
16286 wxColour *arg3 = 0 ;
16287 void *argp1 = 0 ;
16288 int res1 = 0 ;
16289 bool val2 ;
16290 int ecode2 = 0 ;
16291 wxColour temp3 ;
16292 PyObject * obj0 = 0 ;
16293 PyObject * obj1 = 0 ;
16294 PyObject * obj2 = 0 ;
16295 char * kwnames[] = {
16296 (char *) "self",(char *) "useSetting",(char *) "back", NULL
16297 };
16298
16299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16301 if (!SWIG_IsOK(res1)) {
16302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16303 }
16304 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16306 if (!SWIG_IsOK(ecode2)) {
16307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveBackground" "', expected argument " "2"" of type '" "bool""'");
16308 }
16309 arg2 = static_cast< bool >(val2);
16310 {
16311 arg3 = &temp3;
16312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16313 }
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_Py_Void();
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj = 0;
16329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16330 bool arg2 ;
16331 void *argp1 = 0 ;
16332 int res1 = 0 ;
16333 bool val2 ;
16334 int ecode2 = 0 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 char * kwnames[] = {
16338 (char *) "self",(char *) "underline", NULL
16339 };
16340
16341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) SWIG_fail;
16342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16343 if (!SWIG_IsOK(res1)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16345 }
16346 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16347 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16348 if (!SWIG_IsOK(ecode2)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotActiveUnderline" "', expected argument " "2"" of type '" "bool""'");
16350 }
16351 arg2 = static_cast< bool >(val2);
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 (arg1)->SetHotspotActiveUnderline(arg2);
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 resultobj = SWIG_Py_Void();
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj = 0;
16367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16368 bool arg2 ;
16369 void *argp1 = 0 ;
16370 int res1 = 0 ;
16371 bool val2 ;
16372 int ecode2 = 0 ;
16373 PyObject * obj0 = 0 ;
16374 PyObject * obj1 = 0 ;
16375 char * kwnames[] = {
16376 (char *) "self",(char *) "singleLine", NULL
16377 };
16378
16379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) SWIG_fail;
16380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16381 if (!SWIG_IsOK(res1)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16383 }
16384 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16385 ecode2 = SWIG_AsVal_bool(obj1, &val2);
16386 if (!SWIG_IsOK(ecode2)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetHotspotSingleLine" "', expected argument " "2"" of type '" "bool""'");
16388 }
16389 arg2 = static_cast< bool >(val2);
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->SetHotspotSingleLine(arg2);
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 resultobj = SWIG_Py_Void();
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16404 PyObject *resultobj = 0;
16405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16406 void *argp1 = 0 ;
16407 int res1 = 0 ;
16408 PyObject *swig_obj[1] ;
16409
16410 if (!args) SWIG_fail;
16411 swig_obj[0] = args;
16412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16413 if (!SWIG_IsOK(res1)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16415 }
16416 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 (arg1)->ParaDown();
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_Py_Void();
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16431 PyObject *resultobj = 0;
16432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16433 void *argp1 = 0 ;
16434 int res1 = 0 ;
16435 PyObject *swig_obj[1] ;
16436
16437 if (!args) SWIG_fail;
16438 swig_obj[0] = args;
16439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16440 if (!SWIG_IsOK(res1)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16442 }
16443 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 (arg1)->ParaDownExtend();
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 resultobj = SWIG_Py_Void();
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16458 PyObject *resultobj = 0;
16459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16460 void *argp1 = 0 ;
16461 int res1 = 0 ;
16462 PyObject *swig_obj[1] ;
16463
16464 if (!args) SWIG_fail;
16465 swig_obj[0] = args;
16466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16467 if (!SWIG_IsOK(res1)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16469 }
16470 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 (arg1)->ParaUp();
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 resultobj = SWIG_Py_Void();
16478 return resultobj;
16479 fail:
16480 return NULL;
16481 }
16482
16483
16484 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16485 PyObject *resultobj = 0;
16486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16487 void *argp1 = 0 ;
16488 int res1 = 0 ;
16489 PyObject *swig_obj[1] ;
16490
16491 if (!args) SWIG_fail;
16492 swig_obj[0] = args;
16493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16494 if (!SWIG_IsOK(res1)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ParaUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16496 }
16497 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 (arg1)->ParaUpExtend();
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 resultobj = SWIG_Py_Void();
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj = 0;
16513 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16514 int arg2 ;
16515 int result;
16516 void *argp1 = 0 ;
16517 int res1 = 0 ;
16518 int val2 ;
16519 int ecode2 = 0 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char * kwnames[] = {
16523 (char *) "self",(char *) "pos", NULL
16524 };
16525
16526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) SWIG_fail;
16527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16528 if (!SWIG_IsOK(res1)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16530 }
16531 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16532 ecode2 = SWIG_AsVal_int(obj1, &val2);
16533 if (!SWIG_IsOK(ecode2)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionBefore" "', expected argument " "2"" of type '" "int""'");
16535 }
16536 arg2 = static_cast< int >(val2);
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (int)(arg1)->PositionBefore(arg2);
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = SWIG_From_int(static_cast< int >(result));
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj = 0;
16552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16553 int arg2 ;
16554 int result;
16555 void *argp1 = 0 ;
16556 int res1 = 0 ;
16557 int val2 ;
16558 int ecode2 = 0 ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char * kwnames[] = {
16562 (char *) "self",(char *) "pos", NULL
16563 };
16564
16565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) SWIG_fail;
16566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16567 if (!SWIG_IsOK(res1)) {
16568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16569 }
16570 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16571 ecode2 = SWIG_AsVal_int(obj1, &val2);
16572 if (!SWIG_IsOK(ecode2)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PositionAfter" "', expected argument " "2"" of type '" "int""'");
16574 }
16575 arg2 = static_cast< int >(val2);
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (int)(arg1)->PositionAfter(arg2);
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 resultobj = SWIG_From_int(static_cast< int >(result));
16583 return resultobj;
16584 fail:
16585 return NULL;
16586 }
16587
16588
16589 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj = 0;
16591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16592 int arg2 ;
16593 int arg3 ;
16594 void *argp1 = 0 ;
16595 int res1 = 0 ;
16596 int val2 ;
16597 int ecode2 = 0 ;
16598 int val3 ;
16599 int ecode3 = 0 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 PyObject * obj2 = 0 ;
16603 char * kwnames[] = {
16604 (char *) "self",(char *) "start",(char *) "end", NULL
16605 };
16606
16607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16609 if (!SWIG_IsOK(res1)) {
16610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16611 }
16612 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16613 ecode2 = SWIG_AsVal_int(obj1, &val2);
16614 if (!SWIG_IsOK(ecode2)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "2"" of type '" "int""'");
16616 }
16617 arg2 = static_cast< int >(val2);
16618 ecode3 = SWIG_AsVal_int(obj2, &val3);
16619 if (!SWIG_IsOK(ecode3)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_CopyRange" "', expected argument " "3"" of type '" "int""'");
16621 }
16622 arg3 = static_cast< int >(val3);
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 (arg1)->CopyRange(arg2,arg3);
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 resultobj = SWIG_Py_Void();
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj = 0;
16638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16639 int arg2 ;
16640 wxString *arg3 = 0 ;
16641 void *argp1 = 0 ;
16642 int res1 = 0 ;
16643 int val2 ;
16644 int ecode2 = 0 ;
16645 bool temp3 = false ;
16646 PyObject * obj0 = 0 ;
16647 PyObject * obj1 = 0 ;
16648 PyObject * obj2 = 0 ;
16649 char * kwnames[] = {
16650 (char *) "self",(char *) "length",(char *) "text", NULL
16651 };
16652
16653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16655 if (!SWIG_IsOK(res1)) {
16656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16657 }
16658 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16659 ecode2 = SWIG_AsVal_int(obj1, &val2);
16660 if (!SWIG_IsOK(ecode2)) {
16661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CopyText" "', expected argument " "2"" of type '" "int""'");
16662 }
16663 arg2 = static_cast< int >(val2);
16664 {
16665 arg3 = wxString_in_helper(obj2);
16666 if (arg3 == NULL) SWIG_fail;
16667 temp3 = true;
16668 }
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 (arg1)->CopyText(arg2,(wxString const &)*arg3);
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 resultobj = SWIG_Py_Void();
16676 {
16677 if (temp3)
16678 delete arg3;
16679 }
16680 return resultobj;
16681 fail:
16682 {
16683 if (temp3)
16684 delete arg3;
16685 }
16686 return NULL;
16687 }
16688
16689
16690 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj = 0;
16692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16693 int arg2 ;
16694 void *argp1 = 0 ;
16695 int res1 = 0 ;
16696 int val2 ;
16697 int ecode2 = 0 ;
16698 PyObject * obj0 = 0 ;
16699 PyObject * obj1 = 0 ;
16700 char * kwnames[] = {
16701 (char *) "self",(char *) "mode", NULL
16702 };
16703
16704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) SWIG_fail;
16705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16706 if (!SWIG_IsOK(res1)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16708 }
16709 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16710 ecode2 = SWIG_AsVal_int(obj1, &val2);
16711 if (!SWIG_IsOK(ecode2)) {
16712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetSelectionMode" "', expected argument " "2"" of type '" "int""'");
16713 }
16714 arg2 = static_cast< int >(val2);
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->SetSelectionMode(arg2);
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 resultobj = SWIG_Py_Void();
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16729 PyObject *resultobj = 0;
16730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16731 int result;
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_GetSelectionMode" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16741 }
16742 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 result = (int)(arg1)->GetSelectionMode();
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 resultobj = SWIG_From_int(static_cast< int >(result));
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj = 0;
16758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16759 int arg2 ;
16760 int result;
16761 void *argp1 = 0 ;
16762 int res1 = 0 ;
16763 int val2 ;
16764 int ecode2 = 0 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char * kwnames[] = {
16768 (char *) "self",(char *) "line", NULL
16769 };
16770
16771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16773 if (!SWIG_IsOK(res1)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16775 }
16776 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16777 ecode2 = SWIG_AsVal_int(obj1, &val2);
16778 if (!SWIG_IsOK(ecode2)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelStartPosition" "', expected argument " "2"" of type '" "int""'");
16780 }
16781 arg2 = static_cast< int >(val2);
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 result = (int)(arg1)->GetLineSelStartPosition(arg2);
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = SWIG_From_int(static_cast< int >(result));
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj = 0;
16797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16798 int arg2 ;
16799 int result;
16800 void *argp1 = 0 ;
16801 int res1 = 0 ;
16802 int val2 ;
16803 int ecode2 = 0 ;
16804 PyObject * obj0 = 0 ;
16805 PyObject * obj1 = 0 ;
16806 char * kwnames[] = {
16807 (char *) "self",(char *) "line", NULL
16808 };
16809
16810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16812 if (!SWIG_IsOK(res1)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16814 }
16815 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16816 ecode2 = SWIG_AsVal_int(obj1, &val2);
16817 if (!SWIG_IsOK(ecode2)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineSelEndPosition" "', expected argument " "2"" of type '" "int""'");
16819 }
16820 arg2 = static_cast< int >(val2);
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = (int)(arg1)->GetLineSelEndPosition(arg2);
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_From_int(static_cast< int >(result));
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16835 PyObject *resultobj = 0;
16836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16837 void *argp1 = 0 ;
16838 int res1 = 0 ;
16839 PyObject *swig_obj[1] ;
16840
16841 if (!args) SWIG_fail;
16842 swig_obj[0] = args;
16843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16844 if (!SWIG_IsOK(res1)) {
16845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16846 }
16847 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 (arg1)->LineDownRectExtend();
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 resultobj = SWIG_Py_Void();
16855 return resultobj;
16856 fail:
16857 return NULL;
16858 }
16859
16860
16861 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16862 PyObject *resultobj = 0;
16863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16864 void *argp1 = 0 ;
16865 int res1 = 0 ;
16866 PyObject *swig_obj[1] ;
16867
16868 if (!args) SWIG_fail;
16869 swig_obj[0] = args;
16870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16871 if (!SWIG_IsOK(res1)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16873 }
16874 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 (arg1)->LineUpRectExtend();
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 resultobj = SWIG_Py_Void();
16882 return resultobj;
16883 fail:
16884 return NULL;
16885 }
16886
16887
16888 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16889 PyObject *resultobj = 0;
16890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16891 void *argp1 = 0 ;
16892 int res1 = 0 ;
16893 PyObject *swig_obj[1] ;
16894
16895 if (!args) SWIG_fail;
16896 swig_obj[0] = args;
16897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16898 if (!SWIG_IsOK(res1)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharLeftRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16900 }
16901 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 (arg1)->CharLeftRectExtend();
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 resultobj = SWIG_Py_Void();
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16916 PyObject *resultobj = 0;
16917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16918 void *argp1 = 0 ;
16919 int res1 = 0 ;
16920 PyObject *swig_obj[1] ;
16921
16922 if (!args) SWIG_fail;
16923 swig_obj[0] = args;
16924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16925 if (!SWIG_IsOK(res1)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CharRightRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16927 }
16928 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 (arg1)->CharRightRectExtend();
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_Py_Void();
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 SWIGINTERN PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16943 PyObject *resultobj = 0;
16944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16945 void *argp1 = 0 ;
16946 int res1 = 0 ;
16947 PyObject *swig_obj[1] ;
16948
16949 if (!args) SWIG_fail;
16950 swig_obj[0] = args;
16951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16952 if (!SWIG_IsOK(res1)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_HomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16954 }
16955 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 (arg1)->HomeRectExtend();
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 resultobj = SWIG_Py_Void();
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 SWIGINTERN PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16970 PyObject *resultobj = 0;
16971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16972 void *argp1 = 0 ;
16973 int res1 = 0 ;
16974 PyObject *swig_obj[1] ;
16975
16976 if (!args) SWIG_fail;
16977 swig_obj[0] = args;
16978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
16979 if (!SWIG_IsOK(res1)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_VCHomeRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
16981 }
16982 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 (arg1)->VCHomeRectExtend();
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 resultobj = SWIG_Py_Void();
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16997 PyObject *resultobj = 0;
16998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
16999 void *argp1 = 0 ;
17000 int res1 = 0 ;
17001 PyObject *swig_obj[1] ;
17002
17003 if (!args) SWIG_fail;
17004 swig_obj[0] = args;
17005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17006 if (!SWIG_IsOK(res1)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LineEndRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17008 }
17009 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 (arg1)->LineEndRectExtend();
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 resultobj = SWIG_Py_Void();
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17024 PyObject *resultobj = 0;
17025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17026 void *argp1 = 0 ;
17027 int res1 = 0 ;
17028 PyObject *swig_obj[1] ;
17029
17030 if (!args) SWIG_fail;
17031 swig_obj[0] = args;
17032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17033 if (!SWIG_IsOK(res1)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageUpRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17035 }
17036 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 (arg1)->PageUpRectExtend();
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = SWIG_Py_Void();
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17051 PyObject *resultobj = 0;
17052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17053 void *argp1 = 0 ;
17054 int res1 = 0 ;
17055 PyObject *swig_obj[1] ;
17056
17057 if (!args) SWIG_fail;
17058 swig_obj[0] = args;
17059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17060 if (!SWIG_IsOK(res1)) {
17061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PageDownRectExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17062 }
17063 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 (arg1)->PageDownRectExtend();
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = SWIG_Py_Void();
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17078 PyObject *resultobj = 0;
17079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17080 void *argp1 = 0 ;
17081 int res1 = 0 ;
17082 PyObject *swig_obj[1] ;
17083
17084 if (!args) SWIG_fail;
17085 swig_obj[0] = args;
17086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17087 if (!SWIG_IsOK(res1)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUp" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17089 }
17090 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 (arg1)->StutteredPageUp();
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 resultobj = SWIG_Py_Void();
17098 return resultobj;
17099 fail:
17100 return NULL;
17101 }
17102
17103
17104 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17105 PyObject *resultobj = 0;
17106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17107 void *argp1 = 0 ;
17108 int res1 = 0 ;
17109 PyObject *swig_obj[1] ;
17110
17111 if (!args) SWIG_fail;
17112 swig_obj[0] = args;
17113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17114 if (!SWIG_IsOK(res1)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageUpExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17116 }
17117 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->StutteredPageUpExtend();
17121 wxPyEndAllowThreads(__tstate);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 }
17124 resultobj = SWIG_Py_Void();
17125 return resultobj;
17126 fail:
17127 return NULL;
17128 }
17129
17130
17131 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17132 PyObject *resultobj = 0;
17133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17134 void *argp1 = 0 ;
17135 int res1 = 0 ;
17136 PyObject *swig_obj[1] ;
17137
17138 if (!args) SWIG_fail;
17139 swig_obj[0] = args;
17140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17141 if (!SWIG_IsOK(res1)) {
17142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDown" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17143 }
17144 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 (arg1)->StutteredPageDown();
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 resultobj = SWIG_Py_Void();
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17159 PyObject *resultobj = 0;
17160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17161 void *argp1 = 0 ;
17162 int res1 = 0 ;
17163 PyObject *swig_obj[1] ;
17164
17165 if (!args) SWIG_fail;
17166 swig_obj[0] = args;
17167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17168 if (!SWIG_IsOK(res1)) {
17169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StutteredPageDownExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17170 }
17171 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 (arg1)->StutteredPageDownExtend();
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 resultobj = SWIG_Py_Void();
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17186 PyObject *resultobj = 0;
17187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17188 void *argp1 = 0 ;
17189 int res1 = 0 ;
17190 PyObject *swig_obj[1] ;
17191
17192 if (!args) SWIG_fail;
17193 swig_obj[0] = args;
17194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17195 if (!SWIG_IsOK(res1)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17197 }
17198 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 (arg1)->WordLeftEnd();
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 resultobj = SWIG_Py_Void();
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17213 PyObject *resultobj = 0;
17214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17215 void *argp1 = 0 ;
17216 int res1 = 0 ;
17217 PyObject *swig_obj[1] ;
17218
17219 if (!args) SWIG_fail;
17220 swig_obj[0] = args;
17221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17222 if (!SWIG_IsOK(res1)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordLeftEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17224 }
17225 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 (arg1)->WordLeftEndExtend();
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_Py_Void();
17233 return resultobj;
17234 fail:
17235 return NULL;
17236 }
17237
17238
17239 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17240 PyObject *resultobj = 0;
17241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17242 void *argp1 = 0 ;
17243 int res1 = 0 ;
17244 PyObject *swig_obj[1] ;
17245
17246 if (!args) SWIG_fail;
17247 swig_obj[0] = args;
17248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17249 if (!SWIG_IsOK(res1)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEnd" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17251 }
17252 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->WordRightEnd();
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 resultobj = SWIG_Py_Void();
17260 return resultobj;
17261 fail:
17262 return NULL;
17263 }
17264
17265
17266 SWIGINTERN PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17267 PyObject *resultobj = 0;
17268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17269 void *argp1 = 0 ;
17270 int res1 = 0 ;
17271 PyObject *swig_obj[1] ;
17272
17273 if (!args) SWIG_fail;
17274 swig_obj[0] = args;
17275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17276 if (!SWIG_IsOK(res1)) {
17277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_WordRightEndExtend" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17278 }
17279 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->WordRightEndExtend();
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_Py_Void();
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj = 0;
17295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17296 wxString *arg2 = 0 ;
17297 void *argp1 = 0 ;
17298 int res1 = 0 ;
17299 bool temp2 = false ;
17300 PyObject * obj0 = 0 ;
17301 PyObject * obj1 = 0 ;
17302 char * kwnames[] = {
17303 (char *) "self",(char *) "characters", NULL
17304 };
17305
17306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) SWIG_fail;
17307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17308 if (!SWIG_IsOK(res1)) {
17309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetWhitespaceChars" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17310 }
17311 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17312 {
17313 arg2 = wxString_in_helper(obj1);
17314 if (arg2 == NULL) SWIG_fail;
17315 temp2 = true;
17316 }
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 resultobj = SWIG_Py_Void();
17324 {
17325 if (temp2)
17326 delete arg2;
17327 }
17328 return resultobj;
17329 fail:
17330 {
17331 if (temp2)
17332 delete arg2;
17333 }
17334 return NULL;
17335 }
17336
17337
17338 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17339 PyObject *resultobj = 0;
17340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17341 void *argp1 = 0 ;
17342 int res1 = 0 ;
17343 PyObject *swig_obj[1] ;
17344
17345 if (!args) SWIG_fail;
17346 swig_obj[0] = args;
17347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17348 if (!SWIG_IsOK(res1)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCharsDefault" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17350 }
17351 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetCharsDefault();
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 resultobj = SWIG_Py_Void();
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17366 PyObject *resultobj = 0;
17367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17368 int result;
17369 void *argp1 = 0 ;
17370 int res1 = 0 ;
17371 PyObject *swig_obj[1] ;
17372
17373 if (!args) SWIG_fail;
17374 swig_obj[0] = args;
17375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17376 if (!SWIG_IsOK(res1)) {
17377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AutoCompGetCurrent" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17378 }
17379 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (int)(arg1)->AutoCompGetCurrent();
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 resultobj = SWIG_From_int(static_cast< int >(result));
17387 return resultobj;
17388 fail:
17389 return NULL;
17390 }
17391
17392
17393 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj = 0;
17395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17396 int arg2 ;
17397 void *argp1 = 0 ;
17398 int res1 = 0 ;
17399 int val2 ;
17400 int ecode2 = 0 ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 char * kwnames[] = {
17404 (char *) "self",(char *) "bytes", NULL
17405 };
17406
17407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) SWIG_fail;
17408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17409 if (!SWIG_IsOK(res1)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17411 }
17412 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17413 ecode2 = SWIG_AsVal_int(obj1, &val2);
17414 if (!SWIG_IsOK(ecode2)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Allocate" "', expected argument " "2"" of type '" "int""'");
17416 }
17417 arg2 = static_cast< int >(val2);
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 (arg1)->Allocate(arg2);
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 resultobj = SWIG_Py_Void();
17425 return resultobj;
17426 fail:
17427 return NULL;
17428 }
17429
17430
17431 SWIGINTERN PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj = 0;
17433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17434 int arg2 ;
17435 int arg3 ;
17436 int result;
17437 void *argp1 = 0 ;
17438 int res1 = 0 ;
17439 int val2 ;
17440 int ecode2 = 0 ;
17441 int val3 ;
17442 int ecode3 = 0 ;
17443 PyObject * obj0 = 0 ;
17444 PyObject * obj1 = 0 ;
17445 PyObject * obj2 = 0 ;
17446 char * kwnames[] = {
17447 (char *) "self",(char *) "line",(char *) "column", NULL
17448 };
17449
17450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17452 if (!SWIG_IsOK(res1)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17454 }
17455 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17456 ecode2 = SWIG_AsVal_int(obj1, &val2);
17457 if (!SWIG_IsOK(ecode2)) {
17458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "2"" of type '" "int""'");
17459 }
17460 arg2 = static_cast< int >(val2);
17461 ecode3 = SWIG_AsVal_int(obj2, &val3);
17462 if (!SWIG_IsOK(ecode3)) {
17463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_FindColumn" "', expected argument " "3"" of type '" "int""'");
17464 }
17465 arg3 = static_cast< int >(val3);
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (int)(arg1)->FindColumn(arg2,arg3);
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 resultobj = SWIG_From_int(static_cast< int >(result));
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17480 PyObject *resultobj = 0;
17481 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17482 bool result;
17483 void *argp1 = 0 ;
17484 int res1 = 0 ;
17485 PyObject *swig_obj[1] ;
17486
17487 if (!args) SWIG_fail;
17488 swig_obj[0] = args;
17489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17490 if (!SWIG_IsOK(res1)) {
17491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17492 }
17493 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (bool)(arg1)->GetCaretSticky();
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj = 0;
17511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17512 bool arg2 ;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 bool val2 ;
17516 int ecode2 = 0 ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char * kwnames[] = {
17520 (char *) "self",(char *) "useCaretStickyBehaviour", NULL
17521 };
17522
17523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretSticky",kwnames,&obj0,&obj1)) SWIG_fail;
17524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17525 if (!SWIG_IsOK(res1)) {
17526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17527 }
17528 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17530 if (!SWIG_IsOK(ecode2)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretSticky" "', expected argument " "2"" of type '" "bool""'");
17532 }
17533 arg2 = static_cast< bool >(val2);
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 (arg1)->SetCaretSticky(arg2);
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = SWIG_Py_Void();
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17548 PyObject *resultobj = 0;
17549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17550 void *argp1 = 0 ;
17551 int res1 = 0 ;
17552 PyObject *swig_obj[1] ;
17553
17554 if (!args) SWIG_fail;
17555 swig_obj[0] = args;
17556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17557 if (!SWIG_IsOK(res1)) {
17558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ToggleCaretSticky" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17559 }
17560 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 (arg1)->ToggleCaretSticky();
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = SWIG_Py_Void();
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj = 0;
17576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17577 bool arg2 ;
17578 void *argp1 = 0 ;
17579 int res1 = 0 ;
17580 bool val2 ;
17581 int ecode2 = 0 ;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 char * kwnames[] = {
17585 (char *) "self",(char *) "convert", NULL
17586 };
17587
17588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPasteConvertEndings",kwnames,&obj0,&obj1)) SWIG_fail;
17589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17590 if (!SWIG_IsOK(res1)) {
17591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17592 }
17593 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17595 if (!SWIG_IsOK(ecode2)) {
17596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetPasteConvertEndings" "', expected argument " "2"" of type '" "bool""'");
17597 }
17598 arg2 = static_cast< bool >(val2);
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 (arg1)->SetPasteConvertEndings(arg2);
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = SWIG_Py_Void();
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17613 PyObject *resultobj = 0;
17614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17615 bool result;
17616 void *argp1 = 0 ;
17617 int res1 = 0 ;
17618 PyObject *swig_obj[1] ;
17619
17620 if (!args) SWIG_fail;
17621 swig_obj[0] = args;
17622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17623 if (!SWIG_IsOK(res1)) {
17624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPasteConvertEndings" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17625 }
17626 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (bool)(arg1)->GetPasteConvertEndings();
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 {
17634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17635 }
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SelectionDuplicate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17643 PyObject *resultobj = 0;
17644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17645 void *argp1 = 0 ;
17646 int res1 = 0 ;
17647 PyObject *swig_obj[1] ;
17648
17649 if (!args) SWIG_fail;
17650 swig_obj[0] = args;
17651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17652 if (!SWIG_IsOK(res1)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SelectionDuplicate" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17654 }
17655 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 (arg1)->SelectionDuplicate();
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 resultobj = SWIG_Py_Void();
17663 return resultobj;
17664 fail:
17665 return NULL;
17666 }
17667
17668
17669 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj = 0;
17671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17672 int arg2 ;
17673 void *argp1 = 0 ;
17674 int res1 = 0 ;
17675 int val2 ;
17676 int ecode2 = 0 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char * kwnames[] = {
17680 (char *) "self",(char *) "alpha", NULL
17681 };
17682
17683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBackAlpha",kwnames,&obj0,&obj1)) SWIG_fail;
17684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17685 if (!SWIG_IsOK(res1)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17687 }
17688 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17689 ecode2 = SWIG_AsVal_int(obj1, &val2);
17690 if (!SWIG_IsOK(ecode2)) {
17691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetCaretLineBackAlpha" "', expected argument " "2"" of type '" "int""'");
17692 }
17693 arg2 = static_cast< int >(val2);
17694 {
17695 PyThreadState* __tstate = wxPyBeginAllowThreads();
17696 (arg1)->SetCaretLineBackAlpha(arg2);
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 resultobj = SWIG_Py_Void();
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCaretLineBackAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17708 PyObject *resultobj = 0;
17709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17710 int result;
17711 void *argp1 = 0 ;
17712 int res1 = 0 ;
17713 PyObject *swig_obj[1] ;
17714
17715 if (!args) SWIG_fail;
17716 swig_obj[0] = args;
17717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17718 if (!SWIG_IsOK(res1)) {
17719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCaretLineBackAlpha" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17720 }
17721 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 result = (int)(arg1)->GetCaretLineBackAlpha();
17725 wxPyEndAllowThreads(__tstate);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 resultobj = SWIG_From_int(static_cast< int >(result));
17729 return resultobj;
17730 fail:
17731 return NULL;
17732 }
17733
17734
17735 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17736 PyObject *resultobj = 0;
17737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17738 void *argp1 = 0 ;
17739 int res1 = 0 ;
17740 PyObject *swig_obj[1] ;
17741
17742 if (!args) SWIG_fail;
17743 swig_obj[0] = args;
17744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17745 if (!SWIG_IsOK(res1)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StartRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17747 }
17748 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 (arg1)->StartRecord();
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 resultobj = SWIG_Py_Void();
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17763 PyObject *resultobj = 0;
17764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 PyObject *swig_obj[1] ;
17768
17769 if (!args) SWIG_fail;
17770 swig_obj[0] = args;
17771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17772 if (!SWIG_IsOK(res1)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StopRecord" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17774 }
17775 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->StopRecord();
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 resultobj = SWIG_Py_Void();
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj = 0;
17791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17792 int arg2 ;
17793 void *argp1 = 0 ;
17794 int res1 = 0 ;
17795 int val2 ;
17796 int ecode2 = 0 ;
17797 PyObject * obj0 = 0 ;
17798 PyObject * obj1 = 0 ;
17799 char * kwnames[] = {
17800 (char *) "self",(char *) "lexer", NULL
17801 };
17802
17803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) SWIG_fail;
17804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17805 if (!SWIG_IsOK(res1)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17807 }
17808 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17809 ecode2 = SWIG_AsVal_int(obj1, &val2);
17810 if (!SWIG_IsOK(ecode2)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLexer" "', expected argument " "2"" of type '" "int""'");
17812 }
17813 arg2 = static_cast< int >(val2);
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->SetLexer(arg2);
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 resultobj = SWIG_Py_Void();
17821 return resultobj;
17822 fail:
17823 return NULL;
17824 }
17825
17826
17827 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17828 PyObject *resultobj = 0;
17829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17830 int result;
17831 void *argp1 = 0 ;
17832 int res1 = 0 ;
17833 PyObject *swig_obj[1] ;
17834
17835 if (!args) SWIG_fail;
17836 swig_obj[0] = args;
17837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17838 if (!SWIG_IsOK(res1)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLexer" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17840 }
17841 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 result = (int)(arg1)->GetLexer();
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 resultobj = SWIG_From_int(static_cast< int >(result));
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 SWIGINTERN PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj = 0;
17857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17858 int arg2 ;
17859 int arg3 ;
17860 void *argp1 = 0 ;
17861 int res1 = 0 ;
17862 int val2 ;
17863 int ecode2 = 0 ;
17864 int val3 ;
17865 int ecode3 = 0 ;
17866 PyObject * obj0 = 0 ;
17867 PyObject * obj1 = 0 ;
17868 PyObject * obj2 = 0 ;
17869 char * kwnames[] = {
17870 (char *) "self",(char *) "start",(char *) "end", NULL
17871 };
17872
17873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17875 if (!SWIG_IsOK(res1)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17877 }
17878 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17879 ecode2 = SWIG_AsVal_int(obj1, &val2);
17880 if (!SWIG_IsOK(ecode2)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "2"" of type '" "int""'");
17882 }
17883 arg2 = static_cast< int >(val2);
17884 ecode3 = SWIG_AsVal_int(obj2, &val3);
17885 if (!SWIG_IsOK(ecode3)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_Colourise" "', expected argument " "3"" of type '" "int""'");
17887 }
17888 arg3 = static_cast< int >(val3);
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 (arg1)->Colourise(arg2,arg3);
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_Py_Void();
17896 return resultobj;
17897 fail:
17898 return NULL;
17899 }
17900
17901
17902 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj = 0;
17904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17905 wxString *arg2 = 0 ;
17906 wxString *arg3 = 0 ;
17907 void *argp1 = 0 ;
17908 int res1 = 0 ;
17909 bool temp2 = false ;
17910 bool temp3 = false ;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 PyObject * obj2 = 0 ;
17914 char * kwnames[] = {
17915 (char *) "self",(char *) "key",(char *) "value", NULL
17916 };
17917
17918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17920 if (!SWIG_IsOK(res1)) {
17921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17922 }
17923 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17924 {
17925 arg2 = wxString_in_helper(obj1);
17926 if (arg2 == NULL) SWIG_fail;
17927 temp2 = true;
17928 }
17929 {
17930 arg3 = wxString_in_helper(obj2);
17931 if (arg3 == NULL) SWIG_fail;
17932 temp3 = true;
17933 }
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = SWIG_Py_Void();
17941 {
17942 if (temp2)
17943 delete arg2;
17944 }
17945 {
17946 if (temp3)
17947 delete arg3;
17948 }
17949 return resultobj;
17950 fail:
17951 {
17952 if (temp2)
17953 delete arg2;
17954 }
17955 {
17956 if (temp3)
17957 delete arg3;
17958 }
17959 return NULL;
17960 }
17961
17962
17963 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj = 0;
17965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
17966 int arg2 ;
17967 wxString *arg3 = 0 ;
17968 void *argp1 = 0 ;
17969 int res1 = 0 ;
17970 int val2 ;
17971 int ecode2 = 0 ;
17972 bool temp3 = false ;
17973 PyObject * obj0 = 0 ;
17974 PyObject * obj1 = 0 ;
17975 PyObject * obj2 = 0 ;
17976 char * kwnames[] = {
17977 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
17978 };
17979
17980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
17982 if (!SWIG_IsOK(res1)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
17984 }
17985 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
17986 ecode2 = SWIG_AsVal_int(obj1, &val2);
17987 if (!SWIG_IsOK(ecode2)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetKeyWords" "', expected argument " "2"" of type '" "int""'");
17989 }
17990 arg2 = static_cast< int >(val2);
17991 {
17992 arg3 = wxString_in_helper(obj2);
17993 if (arg3 == NULL) SWIG_fail;
17994 temp3 = true;
17995 }
17996 {
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_Py_Void();
18003 {
18004 if (temp3)
18005 delete arg3;
18006 }
18007 return resultobj;
18008 fail:
18009 {
18010 if (temp3)
18011 delete arg3;
18012 }
18013 return NULL;
18014 }
18015
18016
18017 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj = 0;
18019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18020 wxString *arg2 = 0 ;
18021 void *argp1 = 0 ;
18022 int res1 = 0 ;
18023 bool temp2 = false ;
18024 PyObject * obj0 = 0 ;
18025 PyObject * obj1 = 0 ;
18026 char * kwnames[] = {
18027 (char *) "self",(char *) "language", NULL
18028 };
18029
18030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) SWIG_fail;
18031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18032 if (!SWIG_IsOK(res1)) {
18033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLexerLanguage" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18034 }
18035 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18036 {
18037 arg2 = wxString_in_helper(obj1);
18038 if (arg2 == NULL) SWIG_fail;
18039 temp2 = true;
18040 }
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 (arg1)->SetLexerLanguage((wxString const &)*arg2);
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = SWIG_Py_Void();
18048 {
18049 if (temp2)
18050 delete arg2;
18051 }
18052 return resultobj;
18053 fail:
18054 {
18055 if (temp2)
18056 delete arg2;
18057 }
18058 return NULL;
18059 }
18060
18061
18062 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj = 0;
18064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18065 wxString *arg2 = 0 ;
18066 wxString result;
18067 void *argp1 = 0 ;
18068 int res1 = 0 ;
18069 bool temp2 = false ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char * kwnames[] = {
18073 (char *) "self",(char *) "key", NULL
18074 };
18075
18076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetProperty",kwnames,&obj0,&obj1)) SWIG_fail;
18077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18078 if (!SWIG_IsOK(res1)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetProperty" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18080 }
18081 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18082 {
18083 arg2 = wxString_in_helper(obj1);
18084 if (arg2 == NULL) SWIG_fail;
18085 temp2 = true;
18086 }
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (arg1)->GetProperty((wxString const &)*arg2);
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 {
18094 #if wxUSE_UNICODE
18095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18096 #else
18097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18098 #endif
18099 }
18100 {
18101 if (temp2)
18102 delete arg2;
18103 }
18104 return resultobj;
18105 fail:
18106 {
18107 if (temp2)
18108 delete arg2;
18109 }
18110 return NULL;
18111 }
18112
18113
18114 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj = 0;
18116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18117 wxString *arg2 = 0 ;
18118 wxString result;
18119 void *argp1 = 0 ;
18120 int res1 = 0 ;
18121 bool temp2 = false ;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 char * kwnames[] = {
18125 (char *) "self",(char *) "key", NULL
18126 };
18127
18128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
18129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18130 if (!SWIG_IsOK(res1)) {
18131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyExpanded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18132 }
18133 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18134 {
18135 arg2 = wxString_in_helper(obj1);
18136 if (arg2 == NULL) SWIG_fail;
18137 temp2 = true;
18138 }
18139 {
18140 PyThreadState* __tstate = wxPyBeginAllowThreads();
18141 result = (arg1)->GetPropertyExpanded((wxString const &)*arg2);
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 {
18146 #if wxUSE_UNICODE
18147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18148 #else
18149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18150 #endif
18151 }
18152 {
18153 if (temp2)
18154 delete arg2;
18155 }
18156 return resultobj;
18157 fail:
18158 {
18159 if (temp2)
18160 delete arg2;
18161 }
18162 return NULL;
18163 }
18164
18165
18166 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetPropertyInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj = 0;
18168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18169 wxString *arg2 = 0 ;
18170 int result;
18171 void *argp1 = 0 ;
18172 int res1 = 0 ;
18173 bool temp2 = false ;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 char * kwnames[] = {
18177 (char *) "self",(char *) "key", NULL
18178 };
18179
18180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetPropertyInt",kwnames,&obj0,&obj1)) SWIG_fail;
18181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18182 if (!SWIG_IsOK(res1)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetPropertyInt" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18184 }
18185 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18186 {
18187 arg2 = wxString_in_helper(obj1);
18188 if (arg2 == NULL) SWIG_fail;
18189 temp2 = true;
18190 }
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (int)(arg1)->GetPropertyInt((wxString const &)*arg2);
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_From_int(static_cast< int >(result));
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 return resultobj;
18203 fail:
18204 {
18205 if (temp2)
18206 delete arg2;
18207 }
18208 return NULL;
18209 }
18210
18211
18212 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18213 PyObject *resultobj = 0;
18214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18215 int result;
18216 void *argp1 = 0 ;
18217 int res1 = 0 ;
18218 PyObject *swig_obj[1] ;
18219
18220 if (!args) SWIG_fail;
18221 swig_obj[0] = args;
18222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18223 if (!SWIG_IsOK(res1)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetStyleBitsNeeded" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18225 }
18226 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = (int)(arg1)->GetStyleBitsNeeded();
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_From_int(static_cast< int >(result));
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18241 PyObject *resultobj = 0;
18242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18243 int result;
18244 void *argp1 = 0 ;
18245 int res1 = 0 ;
18246 PyObject *swig_obj[1] ;
18247
18248 if (!args) SWIG_fail;
18249 swig_obj[0] = args;
18250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18251 if (!SWIG_IsOK(res1)) {
18252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurrentLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18253 }
18254 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = (int)(arg1)->GetCurrentLine();
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 resultobj = SWIG_From_int(static_cast< int >(result));
18262 return resultobj;
18263 fail:
18264 return NULL;
18265 }
18266
18267
18268 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj = 0;
18270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18271 int arg2 ;
18272 wxString *arg3 = 0 ;
18273 void *argp1 = 0 ;
18274 int res1 = 0 ;
18275 int val2 ;
18276 int ecode2 = 0 ;
18277 bool temp3 = false ;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 PyObject * obj2 = 0 ;
18281 char * kwnames[] = {
18282 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
18283 };
18284
18285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18287 if (!SWIG_IsOK(res1)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18289 }
18290 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18291 ecode2 = SWIG_AsVal_int(obj1, &val2);
18292 if (!SWIG_IsOK(ecode2)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetSpec" "', expected argument " "2"" of type '" "int""'");
18294 }
18295 arg2 = static_cast< int >(val2);
18296 {
18297 arg3 = wxString_in_helper(obj2);
18298 if (arg3 == NULL) SWIG_fail;
18299 temp3 = true;
18300 }
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 resultobj = SWIG_Py_Void();
18308 {
18309 if (temp3)
18310 delete arg3;
18311 }
18312 return resultobj;
18313 fail:
18314 {
18315 if (temp3)
18316 delete arg3;
18317 }
18318 return NULL;
18319 }
18320
18321
18322 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj = 0;
18324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18325 int arg2 ;
18326 wxFont *arg3 = 0 ;
18327 void *argp1 = 0 ;
18328 int res1 = 0 ;
18329 int val2 ;
18330 int ecode2 = 0 ;
18331 void *argp3 = 0 ;
18332 int res3 = 0 ;
18333 PyObject * obj0 = 0 ;
18334 PyObject * obj1 = 0 ;
18335 PyObject * obj2 = 0 ;
18336 char * kwnames[] = {
18337 (char *) "self",(char *) "styleNum",(char *) "font", NULL
18338 };
18339
18340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18342 if (!SWIG_IsOK(res1)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18344 }
18345 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18346 ecode2 = SWIG_AsVal_int(obj1, &val2);
18347 if (!SWIG_IsOK(ecode2)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "2"" of type '" "int""'");
18349 }
18350 arg2 = static_cast< int >(val2);
18351 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 );
18352 if (!SWIG_IsOK(res3)) {
18353 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18354 }
18355 if (!argp3) {
18356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StyledTextCtrl_StyleSetFont" "', expected argument " "3"" of type '" "wxFont &""'");
18357 }
18358 arg3 = reinterpret_cast< wxFont * >(argp3);
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 (arg1)->StyleSetFont(arg2,*arg3);
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = SWIG_Py_Void();
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj = 0;
18374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18375 int arg2 ;
18376 int arg3 ;
18377 wxString *arg4 = 0 ;
18378 bool arg5 ;
18379 bool arg6 ;
18380 bool arg7 ;
18381 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
18382 void *argp1 = 0 ;
18383 int res1 = 0 ;
18384 int val2 ;
18385 int ecode2 = 0 ;
18386 int val3 ;
18387 int ecode3 = 0 ;
18388 bool temp4 = false ;
18389 bool val5 ;
18390 int ecode5 = 0 ;
18391 bool val6 ;
18392 int ecode6 = 0 ;
18393 bool val7 ;
18394 int ecode7 = 0 ;
18395 int val8 ;
18396 int ecode8 = 0 ;
18397 PyObject * obj0 = 0 ;
18398 PyObject * obj1 = 0 ;
18399 PyObject * obj2 = 0 ;
18400 PyObject * obj3 = 0 ;
18401 PyObject * obj4 = 0 ;
18402 PyObject * obj5 = 0 ;
18403 PyObject * obj6 = 0 ;
18404 PyObject * obj7 = 0 ;
18405 char * kwnames[] = {
18406 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
18407 };
18408
18409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18411 if (!SWIG_IsOK(res1)) {
18412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18413 }
18414 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18415 ecode2 = SWIG_AsVal_int(obj1, &val2);
18416 if (!SWIG_IsOK(ecode2)) {
18417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "2"" of type '" "int""'");
18418 }
18419 arg2 = static_cast< int >(val2);
18420 ecode3 = SWIG_AsVal_int(obj2, &val3);
18421 if (!SWIG_IsOK(ecode3)) {
18422 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "3"" of type '" "int""'");
18423 }
18424 arg3 = static_cast< int >(val3);
18425 {
18426 arg4 = wxString_in_helper(obj3);
18427 if (arg4 == NULL) SWIG_fail;
18428 temp4 = true;
18429 }
18430 ecode5 = SWIG_AsVal_bool(obj4, &val5);
18431 if (!SWIG_IsOK(ecode5)) {
18432 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "5"" of type '" "bool""'");
18433 }
18434 arg5 = static_cast< bool >(val5);
18435 ecode6 = SWIG_AsVal_bool(obj5, &val6);
18436 if (!SWIG_IsOK(ecode6)) {
18437 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "6"" of type '" "bool""'");
18438 }
18439 arg6 = static_cast< bool >(val6);
18440 ecode7 = SWIG_AsVal_bool(obj6, &val7);
18441 if (!SWIG_IsOK(ecode7)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "7"" of type '" "bool""'");
18443 }
18444 arg7 = static_cast< bool >(val7);
18445 if (obj7) {
18446 ecode8 = SWIG_AsVal_int(obj7, &val8);
18447 if (!SWIG_IsOK(ecode8)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "StyledTextCtrl_StyleSetFontAttr" "', expected argument " "8"" of type '" "wxFontEncoding""'");
18449 }
18450 arg8 = static_cast< wxFontEncoding >(val8);
18451 }
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_Py_Void();
18459 {
18460 if (temp4)
18461 delete arg4;
18462 }
18463 return resultobj;
18464 fail:
18465 {
18466 if (temp4)
18467 delete arg4;
18468 }
18469 return NULL;
18470 }
18471
18472
18473 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj = 0;
18475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18476 int arg2 ;
18477 int arg3 ;
18478 void *argp1 = 0 ;
18479 int res1 = 0 ;
18480 int val2 ;
18481 int ecode2 = 0 ;
18482 int val3 ;
18483 int ecode3 = 0 ;
18484 PyObject * obj0 = 0 ;
18485 PyObject * obj1 = 0 ;
18486 PyObject * obj2 = 0 ;
18487 char * kwnames[] = {
18488 (char *) "self",(char *) "style",(char *) "characterSet", NULL
18489 };
18490
18491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18493 if (!SWIG_IsOK(res1)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18495 }
18496 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18497 ecode2 = SWIG_AsVal_int(obj1, &val2);
18498 if (!SWIG_IsOK(ecode2)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "2"" of type '" "int""'");
18500 }
18501 arg2 = static_cast< int >(val2);
18502 ecode3 = SWIG_AsVal_int(obj2, &val3);
18503 if (!SWIG_IsOK(ecode3)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetCharacterSet" "', expected argument " "3"" of type '" "int""'");
18505 }
18506 arg3 = static_cast< int >(val3);
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->StyleSetCharacterSet(arg2,arg3);
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_Py_Void();
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 SWIGINTERN PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj = 0;
18522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18523 int arg2 ;
18524 wxFontEncoding arg3 ;
18525 void *argp1 = 0 ;
18526 int res1 = 0 ;
18527 int val2 ;
18528 int ecode2 = 0 ;
18529 int val3 ;
18530 int ecode3 = 0 ;
18531 PyObject * obj0 = 0 ;
18532 PyObject * obj1 = 0 ;
18533 PyObject * obj2 = 0 ;
18534 char * kwnames[] = {
18535 (char *) "self",(char *) "style",(char *) "encoding", NULL
18536 };
18537
18538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18540 if (!SWIG_IsOK(res1)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18542 }
18543 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18544 ecode2 = SWIG_AsVal_int(obj1, &val2);
18545 if (!SWIG_IsOK(ecode2)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "2"" of type '" "int""'");
18547 }
18548 arg2 = static_cast< int >(val2);
18549 ecode3 = SWIG_AsVal_int(obj2, &val3);
18550 if (!SWIG_IsOK(ecode3)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_StyleSetFontEncoding" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18552 }
18553 arg3 = static_cast< wxFontEncoding >(val3);
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 (arg1)->StyleSetFontEncoding(arg2,arg3);
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 resultobj = SWIG_Py_Void();
18561 return resultobj;
18562 fail:
18563 return NULL;
18564 }
18565
18566
18567 SWIGINTERN PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj = 0;
18569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18570 int arg2 ;
18571 void *argp1 = 0 ;
18572 int res1 = 0 ;
18573 int val2 ;
18574 int ecode2 = 0 ;
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 char * kwnames[] = {
18578 (char *) "self",(char *) "cmd", NULL
18579 };
18580
18581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) SWIG_fail;
18582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18583 if (!SWIG_IsOK(res1)) {
18584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18585 }
18586 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18587 ecode2 = SWIG_AsVal_int(obj1, &val2);
18588 if (!SWIG_IsOK(ecode2)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_CmdKeyExecute" "', expected argument " "2"" of type '" "int""'");
18590 }
18591 arg2 = static_cast< int >(val2);
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 (arg1)->CmdKeyExecute(arg2);
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = SWIG_Py_Void();
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj = 0;
18607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18608 int arg2 ;
18609 int arg3 ;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 int val2 ;
18613 int ecode2 = 0 ;
18614 int val3 ;
18615 int ecode3 = 0 ;
18616 PyObject * obj0 = 0 ;
18617 PyObject * obj1 = 0 ;
18618 PyObject * obj2 = 0 ;
18619 char * kwnames[] = {
18620 (char *) "self",(char *) "left",(char *) "right", NULL
18621 };
18622
18623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18625 if (!SWIG_IsOK(res1)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18627 }
18628 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18629 ecode2 = SWIG_AsVal_int(obj1, &val2);
18630 if (!SWIG_IsOK(ecode2)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "2"" of type '" "int""'");
18632 }
18633 arg2 = static_cast< int >(val2);
18634 ecode3 = SWIG_AsVal_int(obj2, &val3);
18635 if (!SWIG_IsOK(ecode3)) {
18636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SetMargins" "', expected argument " "3"" of type '" "int""'");
18637 }
18638 arg3 = static_cast< int >(val3);
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 (arg1)->SetMargins(arg2,arg3);
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 resultobj = SWIG_Py_Void();
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18653 PyObject *resultobj = 0;
18654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18655 int *arg2 = (int *) 0 ;
18656 int *arg3 = (int *) 0 ;
18657 void *argp1 = 0 ;
18658 int res1 = 0 ;
18659 int temp2 ;
18660 int res2 = SWIG_TMPOBJ ;
18661 int temp3 ;
18662 int res3 = SWIG_TMPOBJ ;
18663 PyObject *swig_obj[1] ;
18664
18665 arg2 = &temp2;
18666 arg3 = &temp3;
18667 if (!args) SWIG_fail;
18668 swig_obj[0] = args;
18669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18670 if (!SWIG_IsOK(res1)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18672 }
18673 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->GetSelection(arg2,arg3);
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 resultobj = SWIG_Py_Void();
18681 if (SWIG_IsTmpObj(res2)) {
18682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
18683 } else {
18684 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18685 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18686 }
18687 if (SWIG_IsTmpObj(res3)) {
18688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
18689 } else {
18690 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18692 }
18693 return resultobj;
18694 fail:
18695 return NULL;
18696 }
18697
18698
18699 SWIGINTERN PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj = 0;
18701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18702 int arg2 ;
18703 wxPoint result;
18704 void *argp1 = 0 ;
18705 int res1 = 0 ;
18706 int val2 ;
18707 int ecode2 = 0 ;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710 char * kwnames[] = {
18711 (char *) "self",(char *) "pos", NULL
18712 };
18713
18714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) SWIG_fail;
18715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18716 if (!SWIG_IsOK(res1)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18718 }
18719 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18720 ecode2 = SWIG_AsVal_int(obj1, &val2);
18721 if (!SWIG_IsOK(ecode2)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_PointFromPosition" "', expected argument " "2"" of type '" "int""'");
18723 }
18724 arg2 = static_cast< int >(val2);
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 result = (arg1)->PointFromPosition(arg2);
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj = 0;
18740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18741 int arg2 ;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 int val2 ;
18745 int ecode2 = 0 ;
18746 PyObject * obj0 = 0 ;
18747 PyObject * obj1 = 0 ;
18748 char * kwnames[] = {
18749 (char *) "self",(char *) "line", NULL
18750 };
18751
18752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
18753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18754 if (!SWIG_IsOK(res1)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18756 }
18757 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18758 ecode2 = SWIG_AsVal_int(obj1, &val2);
18759 if (!SWIG_IsOK(ecode2)) {
18760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
18761 }
18762 arg2 = static_cast< int >(val2);
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 (arg1)->ScrollToLine(arg2);
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 resultobj = SWIG_Py_Void();
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 SWIGINTERN PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj = 0;
18778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18779 int arg2 ;
18780 void *argp1 = 0 ;
18781 int res1 = 0 ;
18782 int val2 ;
18783 int ecode2 = 0 ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 char * kwnames[] = {
18787 (char *) "self",(char *) "column", NULL
18788 };
18789
18790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
18791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18792 if (!SWIG_IsOK(res1)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18794 }
18795 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18796 ecode2 = SWIG_AsVal_int(obj1, &val2);
18797 if (!SWIG_IsOK(ecode2)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_ScrollToColumn" "', expected argument " "2"" of type '" "int""'");
18799 }
18800 arg2 = static_cast< int >(val2);
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 (arg1)->ScrollToColumn(arg2);
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 resultobj = SWIG_Py_Void();
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj = 0;
18816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18817 int arg2 ;
18818 long arg3 = (long) 0 ;
18819 long arg4 = (long) 0 ;
18820 long result;
18821 void *argp1 = 0 ;
18822 int res1 = 0 ;
18823 int val2 ;
18824 int ecode2 = 0 ;
18825 long val3 ;
18826 int ecode3 = 0 ;
18827 long val4 ;
18828 int ecode4 = 0 ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 PyObject * obj2 = 0 ;
18832 PyObject * obj3 = 0 ;
18833 char * kwnames[] = {
18834 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
18835 };
18836
18837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18839 if (!SWIG_IsOK(res1)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18841 }
18842 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18843 ecode2 = SWIG_AsVal_int(obj1, &val2);
18844 if (!SWIG_IsOK(ecode2)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "2"" of type '" "int""'");
18846 }
18847 arg2 = static_cast< int >(val2);
18848 if (obj2) {
18849 ecode3 = SWIG_AsVal_long(obj2, &val3);
18850 if (!SWIG_IsOK(ecode3)) {
18851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "3"" of type '" "long""'");
18852 }
18853 arg3 = static_cast< long >(val3);
18854 }
18855 if (obj3) {
18856 ecode4 = SWIG_AsVal_long(obj3, &val4);
18857 if (!SWIG_IsOK(ecode4)) {
18858 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_SendMsg" "', expected argument " "4"" of type '" "long""'");
18859 }
18860 arg4 = static_cast< long >(val4);
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = SWIG_From_long(static_cast< long >(result));
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj = 0;
18877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18878 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18879 void *argp1 = 0 ;
18880 int res1 = 0 ;
18881 void *argp2 = 0 ;
18882 int res2 = 0 ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 char * kwnames[] = {
18886 (char *) "self",(char *) "bar", NULL
18887 };
18888
18889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18891 if (!SWIG_IsOK(res1)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18893 }
18894 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18896 if (!SWIG_IsOK(res2)) {
18897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetVScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18898 }
18899 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 (arg1)->SetVScrollBar(arg2);
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 resultobj = SWIG_Py_Void();
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj = 0;
18915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18916 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
18917 void *argp1 = 0 ;
18918 int res1 = 0 ;
18919 void *argp2 = 0 ;
18920 int res2 = 0 ;
18921 PyObject * obj0 = 0 ;
18922 PyObject * obj1 = 0 ;
18923 char * kwnames[] = {
18924 (char *) "self",(char *) "bar", NULL
18925 };
18926
18927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
18928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18929 if (!SWIG_IsOK(res1)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18931 }
18932 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18933 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxScrollBar, 0 | 0 );
18934 if (!SWIG_IsOK(res2)) {
18935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetHScrollBar" "', expected argument " "2"" of type '" "wxScrollBar *""'");
18936 }
18937 arg2 = reinterpret_cast< wxScrollBar * >(argp2);
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 (arg1)->SetHScrollBar(arg2);
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = SWIG_Py_Void();
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18952 PyObject *resultobj = 0;
18953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18954 bool result;
18955 void *argp1 = 0 ;
18956 int res1 = 0 ;
18957 PyObject *swig_obj[1] ;
18958
18959 if (!args) SWIG_fail;
18960 swig_obj[0] = args;
18961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18962 if (!SWIG_IsOK(res1)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18964 }
18965 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 result = (bool)(arg1)->GetLastKeydownProcessed();
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 {
18973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18974 }
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj = 0;
18983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
18984 bool arg2 ;
18985 void *argp1 = 0 ;
18986 int res1 = 0 ;
18987 bool val2 ;
18988 int ecode2 = 0 ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char * kwnames[] = {
18992 (char *) "self",(char *) "val", NULL
18993 };
18994
18995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) SWIG_fail;
18996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
18997 if (!SWIG_IsOK(res1)) {
18998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
18999 }
19000 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19001 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19002 if (!SWIG_IsOK(ecode2)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetLastKeydownProcessed" "', expected argument " "2"" of type '" "bool""'");
19004 }
19005 arg2 = static_cast< bool >(val2);
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 (arg1)->SetLastKeydownProcessed(arg2);
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = SWIG_Py_Void();
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj = 0;
19021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19022 wxString *arg2 = 0 ;
19023 bool result;
19024 void *argp1 = 0 ;
19025 int res1 = 0 ;
19026 bool temp2 = false ;
19027 PyObject * obj0 = 0 ;
19028 PyObject * obj1 = 0 ;
19029 char * kwnames[] = {
19030 (char *) "self",(char *) "filename", NULL
19031 };
19032
19033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
19034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19035 if (!SWIG_IsOK(res1)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19037 }
19038 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19039 {
19040 arg2 = wxString_in_helper(obj1);
19041 if (arg2 == NULL) SWIG_fail;
19042 temp2 = true;
19043 }
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
19046 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 {
19051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19052 }
19053 {
19054 if (temp2)
19055 delete arg2;
19056 }
19057 return resultobj;
19058 fail:
19059 {
19060 if (temp2)
19061 delete arg2;
19062 }
19063 return NULL;
19064 }
19065
19066
19067 SWIGINTERN PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj = 0;
19069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19070 wxString *arg2 = 0 ;
19071 bool result;
19072 void *argp1 = 0 ;
19073 int res1 = 0 ;
19074 bool temp2 = false ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 char * kwnames[] = {
19078 (char *) "self",(char *) "filename", NULL
19079 };
19080
19081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
19082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19083 if (!SWIG_IsOK(res1)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19085 }
19086 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19087 {
19088 arg2 = wxString_in_helper(obj1);
19089 if (arg2 == NULL) SWIG_fail;
19090 temp2 = true;
19091 }
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
19095 wxPyEndAllowThreads(__tstate);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 }
19098 {
19099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19100 }
19101 {
19102 if (temp2)
19103 delete arg2;
19104 }
19105 return resultobj;
19106 fail:
19107 {
19108 if (temp2)
19109 delete arg2;
19110 }
19111 return NULL;
19112 }
19113
19114
19115 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj = 0;
19117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19118 int arg2 ;
19119 int arg3 ;
19120 wxDragResult arg4 ;
19121 wxDragResult result;
19122 void *argp1 = 0 ;
19123 int res1 = 0 ;
19124 int val2 ;
19125 int ecode2 = 0 ;
19126 int val3 ;
19127 int ecode3 = 0 ;
19128 int val4 ;
19129 int ecode4 = 0 ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 PyObject * obj2 = 0 ;
19133 PyObject * obj3 = 0 ;
19134 char * kwnames[] = {
19135 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
19136 };
19137
19138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19140 if (!SWIG_IsOK(res1)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19142 }
19143 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19144 ecode2 = SWIG_AsVal_int(obj1, &val2);
19145 if (!SWIG_IsOK(ecode2)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "2"" of type '" "int""'");
19147 }
19148 arg2 = static_cast< int >(val2);
19149 ecode3 = SWIG_AsVal_int(obj2, &val3);
19150 if (!SWIG_IsOK(ecode3)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "3"" of type '" "int""'");
19152 }
19153 arg3 = static_cast< int >(val3);
19154 ecode4 = SWIG_AsVal_int(obj3, &val4);
19155 if (!SWIG_IsOK(ecode4)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StyledTextCtrl_DoDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
19157 }
19158 arg4 = static_cast< wxDragResult >(val4);
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 resultobj = SWIG_From_int(static_cast< int >(result));
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 SWIGINTERN PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj = 0;
19174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19175 long arg2 ;
19176 long arg3 ;
19177 wxString *arg4 = 0 ;
19178 bool result;
19179 void *argp1 = 0 ;
19180 int res1 = 0 ;
19181 long val2 ;
19182 int ecode2 = 0 ;
19183 long val3 ;
19184 int ecode3 = 0 ;
19185 bool temp4 = false ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 PyObject * obj2 = 0 ;
19189 PyObject * obj3 = 0 ;
19190 char * kwnames[] = {
19191 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
19192 };
19193
19194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19196 if (!SWIG_IsOK(res1)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19198 }
19199 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19200 ecode2 = SWIG_AsVal_long(obj1, &val2);
19201 if (!SWIG_IsOK(ecode2)) {
19202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "2"" of type '" "long""'");
19203 }
19204 arg2 = static_cast< long >(val2);
19205 ecode3 = SWIG_AsVal_long(obj2, &val3);
19206 if (!SWIG_IsOK(ecode3)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_DoDropText" "', expected argument " "3"" of type '" "long""'");
19208 }
19209 arg3 = static_cast< long >(val3);
19210 {
19211 arg4 = wxString_in_helper(obj3);
19212 if (arg4 == NULL) SWIG_fail;
19213 temp4 = true;
19214 }
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 {
19222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19223 }
19224 {
19225 if (temp4)
19226 delete arg4;
19227 }
19228 return resultobj;
19229 fail:
19230 {
19231 if (temp4)
19232 delete arg4;
19233 }
19234 return NULL;
19235 }
19236
19237
19238 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj = 0;
19240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19241 bool arg2 ;
19242 void *argp1 = 0 ;
19243 int res1 = 0 ;
19244 bool val2 ;
19245 int ecode2 = 0 ;
19246 PyObject * obj0 = 0 ;
19247 PyObject * obj1 = 0 ;
19248 char * kwnames[] = {
19249 (char *) "self",(char *) "useAA", NULL
19250 };
19251
19252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) SWIG_fail;
19253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19254 if (!SWIG_IsOK(res1)) {
19255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19256 }
19257 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19259 if (!SWIG_IsOK(ecode2)) {
19260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_SetUseAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
19261 }
19262 arg2 = static_cast< bool >(val2);
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 (arg1)->SetUseAntiAliasing(arg2);
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 resultobj = SWIG_Py_Void();
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19277 PyObject *resultobj = 0;
19278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19279 bool result;
19280 void *argp1 = 0 ;
19281 int res1 = 0 ;
19282 PyObject *swig_obj[1] ;
19283
19284 if (!args) SWIG_fail;
19285 swig_obj[0] = args;
19286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19287 if (!SWIG_IsOK(res1)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetUseAntiAliasing" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19289 }
19290 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = (bool)(arg1)->GetUseAntiAliasing();
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 {
19298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19299 }
19300 return resultobj;
19301 fail:
19302 return NULL;
19303 }
19304
19305
19306 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj = 0;
19308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19309 char *arg2 = (char *) 0 ;
19310 void *argp1 = 0 ;
19311 int res1 = 0 ;
19312 int res2 ;
19313 char *buf2 = 0 ;
19314 int alloc2 = 0 ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char * kwnames[] = {
19318 (char *) "self",(char *) "text", NULL
19319 };
19320
19321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19323 if (!SWIG_IsOK(res1)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19325 }
19326 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19327 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19328 if (!SWIG_IsOK(res2)) {
19329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AddTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19330 }
19331 arg2 = buf2;
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 (arg1)->AddTextRaw((char const *)arg2);
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 resultobj = SWIG_Py_Void();
19339 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19340 return resultobj;
19341 fail:
19342 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19343 return NULL;
19344 }
19345
19346
19347 SWIGINTERN PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj = 0;
19349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19350 int arg2 ;
19351 char *arg3 = (char *) 0 ;
19352 void *argp1 = 0 ;
19353 int res1 = 0 ;
19354 int val2 ;
19355 int ecode2 = 0 ;
19356 int res3 ;
19357 char *buf3 = 0 ;
19358 int alloc3 = 0 ;
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 PyObject * obj2 = 0 ;
19362 char * kwnames[] = {
19363 (char *) "self",(char *) "pos",(char *) "text", NULL
19364 };
19365
19366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19368 if (!SWIG_IsOK(res1)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19370 }
19371 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19372 ecode2 = SWIG_AsVal_int(obj1, &val2);
19373 if (!SWIG_IsOK(ecode2)) {
19374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "2"" of type '" "int""'");
19375 }
19376 arg2 = static_cast< int >(val2);
19377 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
19378 if (!SWIG_IsOK(res3)) {
19379 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StyledTextCtrl_InsertTextRaw" "', expected argument " "3"" of type '" "char const *""'");
19380 }
19381 arg3 = buf3;
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 resultobj = SWIG_Py_Void();
19389 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19390 return resultobj;
19391 fail:
19392 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
19393 return NULL;
19394 }
19395
19396
19397 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19398 PyObject *resultobj = 0;
19399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19400 int *arg2 = (int *) 0 ;
19401 wxCharBuffer result;
19402 void *argp1 = 0 ;
19403 int res1 = 0 ;
19404 int temp2 ;
19405 int res2 = SWIG_TMPOBJ ;
19406 PyObject *swig_obj[1] ;
19407
19408 arg2 = &temp2;
19409 if (!args) SWIG_fail;
19410 swig_obj[0] = args;
19411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19412 if (!SWIG_IsOK(res1)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetCurLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19414 }
19415 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 result = (arg1)->GetCurLineRaw(arg2);
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 {
19423 if ((&result)->data())
19424 resultobj = PyString_FromString((char*)(&result)->data());
19425 else
19426 resultobj = PyString_FromString("");
19427 }
19428 if (SWIG_IsTmpObj(res2)) {
19429 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
19430 } else {
19431 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19432 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19433 }
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj = 0;
19442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19443 int arg2 ;
19444 wxCharBuffer result;
19445 void *argp1 = 0 ;
19446 int res1 = 0 ;
19447 int val2 ;
19448 int ecode2 = 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 char * kwnames[] = {
19452 (char *) "self",(char *) "line", NULL
19453 };
19454
19455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19457 if (!SWIG_IsOK(res1)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19459 }
19460 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19461 ecode2 = SWIG_AsVal_int(obj1, &val2);
19462 if (!SWIG_IsOK(ecode2)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetLineRaw" "', expected argument " "2"" of type '" "int""'");
19464 }
19465 arg2 = static_cast< int >(val2);
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (arg1)->GetLineRaw(arg2);
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 {
19473 if ((&result)->data())
19474 resultobj = PyString_FromString((char*)(&result)->data());
19475 else
19476 resultobj = PyString_FromString("");
19477 }
19478 return resultobj;
19479 fail:
19480 return NULL;
19481 }
19482
19483
19484 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19485 PyObject *resultobj = 0;
19486 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19487 wxCharBuffer result;
19488 void *argp1 = 0 ;
19489 int res1 = 0 ;
19490 PyObject *swig_obj[1] ;
19491
19492 if (!args) SWIG_fail;
19493 swig_obj[0] = args;
19494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19495 if (!SWIG_IsOK(res1)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetSelectedTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19497 }
19498 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (arg1)->GetSelectedTextRaw();
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
19505 {
19506 if ((&result)->data())
19507 resultobj = PyString_FromString((char*)(&result)->data());
19508 else
19509 resultobj = PyString_FromString("");
19510 }
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj = 0;
19519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19520 int arg2 ;
19521 int arg3 ;
19522 wxCharBuffer result;
19523 void *argp1 = 0 ;
19524 int res1 = 0 ;
19525 int val2 ;
19526 int ecode2 = 0 ;
19527 int val3 ;
19528 int ecode3 = 0 ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 PyObject * obj2 = 0 ;
19532 char * kwnames[] = {
19533 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
19534 };
19535
19536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19538 if (!SWIG_IsOK(res1)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19540 }
19541 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19542 ecode2 = SWIG_AsVal_int(obj1, &val2);
19543 if (!SWIG_IsOK(ecode2)) {
19544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "2"" of type '" "int""'");
19545 }
19546 arg2 = static_cast< int >(val2);
19547 ecode3 = SWIG_AsVal_int(obj2, &val3);
19548 if (!SWIG_IsOK(ecode3)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StyledTextCtrl_GetTextRangeRaw" "', expected argument " "3"" of type '" "int""'");
19550 }
19551 arg3 = static_cast< int >(val3);
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 result = (arg1)->GetTextRangeRaw(arg2,arg3);
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 {
19559 if ((&result)->data())
19560 resultobj = PyString_FromString((char*)(&result)->data());
19561 else
19562 resultobj = PyString_FromString("");
19563 }
19564 return resultobj;
19565 fail:
19566 return NULL;
19567 }
19568
19569
19570 SWIGINTERN PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj = 0;
19572 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19573 char *arg2 = (char *) 0 ;
19574 void *argp1 = 0 ;
19575 int res1 = 0 ;
19576 int res2 ;
19577 char *buf2 = 0 ;
19578 int alloc2 = 0 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char * kwnames[] = {
19582 (char *) "self",(char *) "text", NULL
19583 };
19584
19585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19587 if (!SWIG_IsOK(res1)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19589 }
19590 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19591 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19592 if (!SWIG_IsOK(res2)) {
19593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_SetTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19594 }
19595 arg2 = buf2;
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 (arg1)->SetTextRaw((char const *)arg2);
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 resultobj = SWIG_Py_Void();
19603 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19604 return resultobj;
19605 fail:
19606 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19607 return NULL;
19608 }
19609
19610
19611 SWIGINTERN PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19612 PyObject *resultobj = 0;
19613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19614 wxCharBuffer result;
19615 void *argp1 = 0 ;
19616 int res1 = 0 ;
19617 PyObject *swig_obj[1] ;
19618
19619 if (!args) SWIG_fail;
19620 swig_obj[0] = args;
19621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19622 if (!SWIG_IsOK(res1)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_GetTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19624 }
19625 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (arg1)->GetTextRaw();
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
19633 if ((&result)->data())
19634 resultobj = PyString_FromString((char*)(&result)->data());
19635 else
19636 resultobj = PyString_FromString("");
19637 }
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 SWIGINTERN PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj = 0;
19646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
19647 char *arg2 = (char *) 0 ;
19648 void *argp1 = 0 ;
19649 int res1 = 0 ;
19650 int res2 ;
19651 char *buf2 = 0 ;
19652 int alloc2 = 0 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char * kwnames[] = {
19656 (char *) "self",(char *) "text", NULL
19657 };
19658
19659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) SWIG_fail;
19660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextCtrl, 0 | 0 );
19661 if (!SWIG_IsOK(res1)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "1"" of type '" "wxStyledTextCtrl *""'");
19663 }
19664 arg1 = reinterpret_cast< wxStyledTextCtrl * >(argp1);
19665 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
19666 if (!SWIG_IsOK(res2)) {
19667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StyledTextCtrl_AppendTextRaw" "', expected argument " "2"" of type '" "char const *""'");
19668 }
19669 arg2 = buf2;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 (arg1)->AppendTextRaw((char const *)arg2);
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = SWIG_Py_Void();
19677 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19678 return resultobj;
19679 fail:
19680 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
19681 return NULL;
19682 }
19683
19684
19685 SWIGINTERN PyObject *StyledTextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19686 PyObject *obj;
19687 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19688 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextCtrl, SWIG_NewClientData(obj));
19689 return SWIG_Py_Void();
19690 }
19691
19692 SWIGINTERN PyObject *StyledTextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19693 return SWIG_Python_InitShadowInstance(args);
19694 }
19695
19696 SWIGINTERN PyObject *_wrap_new_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj = 0;
19698 wxEventType arg1 = (wxEventType) 0 ;
19699 int arg2 = (int) 0 ;
19700 wxStyledTextEvent *result = 0 ;
19701 int val1 ;
19702 int ecode1 = 0 ;
19703 int val2 ;
19704 int ecode2 = 0 ;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char * kwnames[] = {
19708 (char *) "commandType",(char *) "id", NULL
19709 };
19710
19711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19712 if (obj0) {
19713 ecode1 = SWIG_AsVal_int(obj0, &val1);
19714 if (!SWIG_IsOK(ecode1)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StyledTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19716 }
19717 arg1 = static_cast< wxEventType >(val1);
19718 }
19719 if (obj1) {
19720 ecode2 = SWIG_AsVal_int(obj1, &val2);
19721 if (!SWIG_IsOK(ecode2)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StyledTextEvent" "', expected argument " "2"" of type '" "int""'");
19723 }
19724 arg2 = static_cast< int >(val2);
19725 }
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_NEW | 0 );
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 SWIGINTERN PyObject *_wrap_delete_StyledTextEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19740 PyObject *resultobj = 0;
19741 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19742 void *argp1 = 0 ;
19743 int res1 = 0 ;
19744 PyObject *swig_obj[1] ;
19745
19746 if (!args) SWIG_fail;
19747 swig_obj[0] = args;
19748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_DISOWN | 0 );
19749 if (!SWIG_IsOK(res1)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StyledTextEvent" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19751 }
19752 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 delete arg1;
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = SWIG_Py_Void();
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj = 0;
19769 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19770 int arg2 ;
19771 void *argp1 = 0 ;
19772 int res1 = 0 ;
19773 int val2 ;
19774 int ecode2 = 0 ;
19775 PyObject * obj0 = 0 ;
19776 PyObject * obj1 = 0 ;
19777 char * kwnames[] = {
19778 (char *) "self",(char *) "pos", NULL
19779 };
19780
19781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
19782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19783 if (!SWIG_IsOK(res1)) {
19784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19785 }
19786 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19787 ecode2 = SWIG_AsVal_int(obj1, &val2);
19788 if (!SWIG_IsOK(ecode2)) {
19789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19790 }
19791 arg2 = static_cast< int >(val2);
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 (arg1)->SetPosition(arg2);
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 resultobj = SWIG_Py_Void();
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj = 0;
19807 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19808 int arg2 ;
19809 void *argp1 = 0 ;
19810 int res1 = 0 ;
19811 int val2 ;
19812 int ecode2 = 0 ;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 char * kwnames[] = {
19816 (char *) "self",(char *) "k", NULL
19817 };
19818
19819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) SWIG_fail;
19820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19821 if (!SWIG_IsOK(res1)) {
19822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19823 }
19824 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19825 ecode2 = SWIG_AsVal_int(obj1, &val2);
19826 if (!SWIG_IsOK(ecode2)) {
19827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetKey" "', expected argument " "2"" of type '" "int""'");
19828 }
19829 arg2 = static_cast< int >(val2);
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 (arg1)->SetKey(arg2);
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 resultobj = SWIG_Py_Void();
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj = 0;
19845 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19846 int arg2 ;
19847 void *argp1 = 0 ;
19848 int res1 = 0 ;
19849 int val2 ;
19850 int ecode2 = 0 ;
19851 PyObject * obj0 = 0 ;
19852 PyObject * obj1 = 0 ;
19853 char * kwnames[] = {
19854 (char *) "self",(char *) "m", NULL
19855 };
19856
19857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) SWIG_fail;
19858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19859 if (!SWIG_IsOK(res1)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19861 }
19862 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19863 ecode2 = SWIG_AsVal_int(obj1, &val2);
19864 if (!SWIG_IsOK(ecode2)) {
19865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModifiers" "', expected argument " "2"" of type '" "int""'");
19866 }
19867 arg2 = static_cast< int >(val2);
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 (arg1)->SetModifiers(arg2);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_Py_Void();
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj = 0;
19883 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19884 int arg2 ;
19885 void *argp1 = 0 ;
19886 int res1 = 0 ;
19887 int val2 ;
19888 int ecode2 = 0 ;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 char * kwnames[] = {
19892 (char *) "self",(char *) "t", NULL
19893 };
19894
19895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) SWIG_fail;
19896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19897 if (!SWIG_IsOK(res1)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19899 }
19900 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19901 ecode2 = SWIG_AsVal_int(obj1, &val2);
19902 if (!SWIG_IsOK(ecode2)) {
19903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetModificationType" "', expected argument " "2"" of type '" "int""'");
19904 }
19905 arg2 = static_cast< int >(val2);
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->SetModificationType(arg2);
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 resultobj = SWIG_Py_Void();
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj = 0;
19921 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19922 wxString *arg2 = 0 ;
19923 void *argp1 = 0 ;
19924 int res1 = 0 ;
19925 bool temp2 = false ;
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj1 = 0 ;
19928 char * kwnames[] = {
19929 (char *) "self",(char *) "t", NULL
19930 };
19931
19932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
19933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19934 if (!SWIG_IsOK(res1)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19936 }
19937 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19938 {
19939 arg2 = wxString_in_helper(obj1);
19940 if (arg2 == NULL) SWIG_fail;
19941 temp2 = true;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 (arg1)->SetText((wxString const &)*arg2);
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 resultobj = SWIG_Py_Void();
19950 {
19951 if (temp2)
19952 delete arg2;
19953 }
19954 return resultobj;
19955 fail:
19956 {
19957 if (temp2)
19958 delete arg2;
19959 }
19960 return NULL;
19961 }
19962
19963
19964 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj = 0;
19966 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
19967 int arg2 ;
19968 void *argp1 = 0 ;
19969 int res1 = 0 ;
19970 int val2 ;
19971 int ecode2 = 0 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char * kwnames[] = {
19975 (char *) "self",(char *) "len", NULL
19976 };
19977
19978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) SWIG_fail;
19979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
19980 if (!SWIG_IsOK(res1)) {
19981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
19982 }
19983 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
19984 ecode2 = SWIG_AsVal_int(obj1, &val2);
19985 if (!SWIG_IsOK(ecode2)) {
19986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLength" "', expected argument " "2"" of type '" "int""'");
19987 }
19988 arg2 = static_cast< int >(val2);
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->SetLength(arg2);
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = SWIG_Py_Void();
19996 return resultobj;
19997 fail:
19998 return NULL;
19999 }
20000
20001
20002 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj = 0;
20004 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20005 int arg2 ;
20006 void *argp1 = 0 ;
20007 int res1 = 0 ;
20008 int val2 ;
20009 int ecode2 = 0 ;
20010 PyObject * obj0 = 0 ;
20011 PyObject * obj1 = 0 ;
20012 char * kwnames[] = {
20013 (char *) "self",(char *) "num", NULL
20014 };
20015
20016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) SWIG_fail;
20017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20018 if (!SWIG_IsOK(res1)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20020 }
20021 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20022 ecode2 = SWIG_AsVal_int(obj1, &val2);
20023 if (!SWIG_IsOK(ecode2)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLinesAdded" "', expected argument " "2"" of type '" "int""'");
20025 }
20026 arg2 = static_cast< int >(val2);
20027 {
20028 PyThreadState* __tstate = wxPyBeginAllowThreads();
20029 (arg1)->SetLinesAdded(arg2);
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = SWIG_Py_Void();
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj = 0;
20042 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20043 int arg2 ;
20044 void *argp1 = 0 ;
20045 int res1 = 0 ;
20046 int val2 ;
20047 int ecode2 = 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 char * kwnames[] = {
20051 (char *) "self",(char *) "val", NULL
20052 };
20053
20054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) SWIG_fail;
20055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20056 if (!SWIG_IsOK(res1)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20058 }
20059 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20060 ecode2 = SWIG_AsVal_int(obj1, &val2);
20061 if (!SWIG_IsOK(ecode2)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLine" "', expected argument " "2"" of type '" "int""'");
20063 }
20064 arg2 = static_cast< int >(val2);
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 (arg1)->SetLine(arg2);
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 resultobj = SWIG_Py_Void();
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj = 0;
20080 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20081 int arg2 ;
20082 void *argp1 = 0 ;
20083 int res1 = 0 ;
20084 int val2 ;
20085 int ecode2 = 0 ;
20086 PyObject * obj0 = 0 ;
20087 PyObject * obj1 = 0 ;
20088 char * kwnames[] = {
20089 (char *) "self",(char *) "val", NULL
20090 };
20091
20092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) SWIG_fail;
20093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20094 if (!SWIG_IsOK(res1)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20096 }
20097 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20098 ecode2 = SWIG_AsVal_int(obj1, &val2);
20099 if (!SWIG_IsOK(ecode2)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelNow" "', expected argument " "2"" of type '" "int""'");
20101 }
20102 arg2 = static_cast< int >(val2);
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 (arg1)->SetFoldLevelNow(arg2);
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 resultobj = SWIG_Py_Void();
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj = 0;
20118 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20119 int arg2 ;
20120 void *argp1 = 0 ;
20121 int res1 = 0 ;
20122 int val2 ;
20123 int ecode2 = 0 ;
20124 PyObject * obj0 = 0 ;
20125 PyObject * obj1 = 0 ;
20126 char * kwnames[] = {
20127 (char *) "self",(char *) "val", NULL
20128 };
20129
20130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) SWIG_fail;
20131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20132 if (!SWIG_IsOK(res1)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20134 }
20135 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20136 ecode2 = SWIG_AsVal_int(obj1, &val2);
20137 if (!SWIG_IsOK(ecode2)) {
20138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetFoldLevelPrev" "', expected argument " "2"" of type '" "int""'");
20139 }
20140 arg2 = static_cast< int >(val2);
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 (arg1)->SetFoldLevelPrev(arg2);
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 resultobj = SWIG_Py_Void();
20148 return resultobj;
20149 fail:
20150 return NULL;
20151 }
20152
20153
20154 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20155 PyObject *resultobj = 0;
20156 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20157 int arg2 ;
20158 void *argp1 = 0 ;
20159 int res1 = 0 ;
20160 int val2 ;
20161 int ecode2 = 0 ;
20162 PyObject * obj0 = 0 ;
20163 PyObject * obj1 = 0 ;
20164 char * kwnames[] = {
20165 (char *) "self",(char *) "val", NULL
20166 };
20167
20168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) SWIG_fail;
20169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20170 if (!SWIG_IsOK(res1)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20172 }
20173 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20174 ecode2 = SWIG_AsVal_int(obj1, &val2);
20175 if (!SWIG_IsOK(ecode2)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMargin" "', expected argument " "2"" of type '" "int""'");
20177 }
20178 arg2 = static_cast< int >(val2);
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->SetMargin(arg2);
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = SWIG_Py_Void();
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj = 0;
20194 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20195 int arg2 ;
20196 void *argp1 = 0 ;
20197 int res1 = 0 ;
20198 int val2 ;
20199 int ecode2 = 0 ;
20200 PyObject * obj0 = 0 ;
20201 PyObject * obj1 = 0 ;
20202 char * kwnames[] = {
20203 (char *) "self",(char *) "val", NULL
20204 };
20205
20206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
20207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20208 if (!SWIG_IsOK(res1)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20210 }
20211 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20212 ecode2 = SWIG_AsVal_int(obj1, &val2);
20213 if (!SWIG_IsOK(ecode2)) {
20214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetMessage" "', expected argument " "2"" of type '" "int""'");
20215 }
20216 arg2 = static_cast< int >(val2);
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->SetMessage(arg2);
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 resultobj = SWIG_Py_Void();
20224 return resultobj;
20225 fail:
20226 return NULL;
20227 }
20228
20229
20230 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20231 PyObject *resultobj = 0;
20232 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20233 int arg2 ;
20234 void *argp1 = 0 ;
20235 int res1 = 0 ;
20236 int val2 ;
20237 int ecode2 = 0 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char * kwnames[] = {
20241 (char *) "self",(char *) "val", NULL
20242 };
20243
20244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) SWIG_fail;
20245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20246 if (!SWIG_IsOK(res1)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20248 }
20249 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20250 ecode2 = SWIG_AsVal_int(obj1, &val2);
20251 if (!SWIG_IsOK(ecode2)) {
20252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetWParam" "', expected argument " "2"" of type '" "int""'");
20253 }
20254 arg2 = static_cast< int >(val2);
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 (arg1)->SetWParam(arg2);
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
20261 resultobj = SWIG_Py_Void();
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20269 PyObject *resultobj = 0;
20270 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20271 int arg2 ;
20272 void *argp1 = 0 ;
20273 int res1 = 0 ;
20274 int val2 ;
20275 int ecode2 = 0 ;
20276 PyObject * obj0 = 0 ;
20277 PyObject * obj1 = 0 ;
20278 char * kwnames[] = {
20279 (char *) "self",(char *) "val", NULL
20280 };
20281
20282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) SWIG_fail;
20283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20284 if (!SWIG_IsOK(res1)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20286 }
20287 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20288 ecode2 = SWIG_AsVal_int(obj1, &val2);
20289 if (!SWIG_IsOK(ecode2)) {
20290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetLParam" "', expected argument " "2"" of type '" "int""'");
20291 }
20292 arg2 = static_cast< int >(val2);
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 (arg1)->SetLParam(arg2);
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 resultobj = SWIG_Py_Void();
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj = 0;
20308 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20309 int arg2 ;
20310 void *argp1 = 0 ;
20311 int res1 = 0 ;
20312 int val2 ;
20313 int ecode2 = 0 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char * kwnames[] = {
20317 (char *) "self",(char *) "val", NULL
20318 };
20319
20320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) SWIG_fail;
20321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20322 if (!SWIG_IsOK(res1)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20324 }
20325 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20326 ecode2 = SWIG_AsVal_int(obj1, &val2);
20327 if (!SWIG_IsOK(ecode2)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetListType" "', expected argument " "2"" of type '" "int""'");
20329 }
20330 arg2 = static_cast< int >(val2);
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 (arg1)->SetListType(arg2);
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 resultobj = SWIG_Py_Void();
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj = 0;
20346 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20347 int arg2 ;
20348 void *argp1 = 0 ;
20349 int res1 = 0 ;
20350 int val2 ;
20351 int ecode2 = 0 ;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 char * kwnames[] = {
20355 (char *) "self",(char *) "val", NULL
20356 };
20357
20358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) SWIG_fail;
20359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20360 if (!SWIG_IsOK(res1)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetX" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20362 }
20363 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20364 ecode2 = SWIG_AsVal_int(obj1, &val2);
20365 if (!SWIG_IsOK(ecode2)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetX" "', expected argument " "2"" of type '" "int""'");
20367 }
20368 arg2 = static_cast< int >(val2);
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 (arg1)->SetX(arg2);
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 resultobj = SWIG_Py_Void();
20376 return resultobj;
20377 fail:
20378 return NULL;
20379 }
20380
20381
20382 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj = 0;
20384 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20385 int arg2 ;
20386 void *argp1 = 0 ;
20387 int res1 = 0 ;
20388 int val2 ;
20389 int ecode2 = 0 ;
20390 PyObject * obj0 = 0 ;
20391 PyObject * obj1 = 0 ;
20392 char * kwnames[] = {
20393 (char *) "self",(char *) "val", NULL
20394 };
20395
20396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) SWIG_fail;
20397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20398 if (!SWIG_IsOK(res1)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetY" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20400 }
20401 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20402 ecode2 = SWIG_AsVal_int(obj1, &val2);
20403 if (!SWIG_IsOK(ecode2)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetY" "', expected argument " "2"" of type '" "int""'");
20405 }
20406 arg2 = static_cast< int >(val2);
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 (arg1)->SetY(arg2);
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = SWIG_Py_Void();
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj = 0;
20422 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20423 wxString *arg2 = 0 ;
20424 void *argp1 = 0 ;
20425 int res1 = 0 ;
20426 bool temp2 = false ;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 char * kwnames[] = {
20430 (char *) "self",(char *) "val", NULL
20431 };
20432
20433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) SWIG_fail;
20434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20435 if (!SWIG_IsOK(res1)) {
20436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20437 }
20438 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20439 {
20440 arg2 = wxString_in_helper(obj1);
20441 if (arg2 == NULL) SWIG_fail;
20442 temp2 = true;
20443 }
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 (arg1)->SetDragText((wxString const &)*arg2);
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 resultobj = SWIG_Py_Void();
20451 {
20452 if (temp2)
20453 delete arg2;
20454 }
20455 return resultobj;
20456 fail:
20457 {
20458 if (temp2)
20459 delete arg2;
20460 }
20461 return NULL;
20462 }
20463
20464
20465 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj = 0;
20467 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20468 bool arg2 ;
20469 void *argp1 = 0 ;
20470 int res1 = 0 ;
20471 bool val2 ;
20472 int ecode2 = 0 ;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char * kwnames[] = {
20476 (char *) "self",(char *) "val", NULL
20477 };
20478
20479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) SWIG_fail;
20480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20481 if (!SWIG_IsOK(res1)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20483 }
20484 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20485 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20486 if (!SWIG_IsOK(ecode2)) {
20487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragAllowMove" "', expected argument " "2"" of type '" "bool""'");
20488 }
20489 arg2 = static_cast< bool >(val2);
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 (arg1)->SetDragAllowMove(arg2);
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = SWIG_Py_Void();
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 SWIGINTERN PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj = 0;
20505 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20506 wxDragResult arg2 ;
20507 void *argp1 = 0 ;
20508 int res1 = 0 ;
20509 int val2 ;
20510 int ecode2 = 0 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char * kwnames[] = {
20514 (char *) "self",(char *) "val", NULL
20515 };
20516
20517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) SWIG_fail;
20518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20519 if (!SWIG_IsOK(res1)) {
20520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
20521 }
20522 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20523 ecode2 = SWIG_AsVal_int(obj1, &val2);
20524 if (!SWIG_IsOK(ecode2)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StyledTextEvent_SetDragResult" "', expected argument " "2"" of type '" "wxDragResult""'");
20526 }
20527 arg2 = static_cast< wxDragResult >(val2);
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetDragResult(arg2);
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 resultobj = SWIG_Py_Void();
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20542 PyObject *resultobj = 0;
20543 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20544 int result;
20545 void *argp1 = 0 ;
20546 int res1 = 0 ;
20547 PyObject *swig_obj[1] ;
20548
20549 if (!args) SWIG_fail;
20550 swig_obj[0] = args;
20551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20552 if (!SWIG_IsOK(res1)) {
20553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetPosition" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20554 }
20555 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 resultobj = SWIG_From_int(static_cast< int >(result));
20563 return resultobj;
20564 fail:
20565 return NULL;
20566 }
20567
20568
20569 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20570 PyObject *resultobj = 0;
20571 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20572 int result;
20573 void *argp1 = 0 ;
20574 int res1 = 0 ;
20575 PyObject *swig_obj[1] ;
20576
20577 if (!args) SWIG_fail;
20578 swig_obj[0] = args;
20579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20580 if (!SWIG_IsOK(res1)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetKey" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20582 }
20583 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 resultobj = SWIG_From_int(static_cast< int >(result));
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20598 PyObject *resultobj = 0;
20599 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20600 int result;
20601 void *argp1 = 0 ;
20602 int res1 = 0 ;
20603 PyObject *swig_obj[1] ;
20604
20605 if (!args) SWIG_fail;
20606 swig_obj[0] = args;
20607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20608 if (!SWIG_IsOK(res1)) {
20609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModifiers" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20610 }
20611 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 resultobj = SWIG_From_int(static_cast< int >(result));
20619 return resultobj;
20620 fail:
20621 return NULL;
20622 }
20623
20624
20625 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20626 PyObject *resultobj = 0;
20627 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20628 int result;
20629 void *argp1 = 0 ;
20630 int res1 = 0 ;
20631 PyObject *swig_obj[1] ;
20632
20633 if (!args) SWIG_fail;
20634 swig_obj[0] = args;
20635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20636 if (!SWIG_IsOK(res1)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetModificationType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20638 }
20639 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
20643 wxPyEndAllowThreads(__tstate);
20644 if (PyErr_Occurred()) SWIG_fail;
20645 }
20646 resultobj = SWIG_From_int(static_cast< int >(result));
20647 return resultobj;
20648 fail:
20649 return NULL;
20650 }
20651
20652
20653 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20654 PyObject *resultobj = 0;
20655 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20656 wxString result;
20657 void *argp1 = 0 ;
20658 int res1 = 0 ;
20659 PyObject *swig_obj[1] ;
20660
20661 if (!args) SWIG_fail;
20662 swig_obj[0] = args;
20663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20664 if (!SWIG_IsOK(res1)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetText" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20666 }
20667 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = ((wxStyledTextEvent const *)arg1)->GetText();
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 {
20675 #if wxUSE_UNICODE
20676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20677 #else
20678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20679 #endif
20680 }
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20688 PyObject *resultobj = 0;
20689 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20690 int result;
20691 void *argp1 = 0 ;
20692 int res1 = 0 ;
20693 PyObject *swig_obj[1] ;
20694
20695 if (!args) SWIG_fail;
20696 swig_obj[0] = args;
20697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20698 if (!SWIG_IsOK(res1)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLength" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20700 }
20701 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 resultobj = SWIG_From_int(static_cast< int >(result));
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20716 PyObject *resultobj = 0;
20717 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20718 int result;
20719 void *argp1 = 0 ;
20720 int res1 = 0 ;
20721 PyObject *swig_obj[1] ;
20722
20723 if (!args) SWIG_fail;
20724 swig_obj[0] = args;
20725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20726 if (!SWIG_IsOK(res1)) {
20727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLinesAdded" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20728 }
20729 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = SWIG_From_int(static_cast< int >(result));
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20744 PyObject *resultobj = 0;
20745 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20746 int result;
20747 void *argp1 = 0 ;
20748 int res1 = 0 ;
20749 PyObject *swig_obj[1] ;
20750
20751 if (!args) SWIG_fail;
20752 swig_obj[0] = args;
20753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20754 if (!SWIG_IsOK(res1)) {
20755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLine" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20756 }
20757 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 resultobj = SWIG_From_int(static_cast< int >(result));
20765 return resultobj;
20766 fail:
20767 return NULL;
20768 }
20769
20770
20771 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20772 PyObject *resultobj = 0;
20773 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20774 int result;
20775 void *argp1 = 0 ;
20776 int res1 = 0 ;
20777 PyObject *swig_obj[1] ;
20778
20779 if (!args) SWIG_fail;
20780 swig_obj[0] = args;
20781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20782 if (!SWIG_IsOK(res1)) {
20783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelNow" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20784 }
20785 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = SWIG_From_int(static_cast< int >(result));
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20800 PyObject *resultobj = 0;
20801 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20802 int result;
20803 void *argp1 = 0 ;
20804 int res1 = 0 ;
20805 PyObject *swig_obj[1] ;
20806
20807 if (!args) SWIG_fail;
20808 swig_obj[0] = args;
20809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20810 if (!SWIG_IsOK(res1)) {
20811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetFoldLevelPrev" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20812 }
20813 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 resultobj = SWIG_From_int(static_cast< int >(result));
20821 return resultobj;
20822 fail:
20823 return NULL;
20824 }
20825
20826
20827 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20828 PyObject *resultobj = 0;
20829 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20830 int result;
20831 void *argp1 = 0 ;
20832 int res1 = 0 ;
20833 PyObject *swig_obj[1] ;
20834
20835 if (!args) SWIG_fail;
20836 swig_obj[0] = args;
20837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20838 if (!SWIG_IsOK(res1)) {
20839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMargin" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20840 }
20841 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_From_int(static_cast< int >(result));
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20856 PyObject *resultobj = 0;
20857 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20858 int result;
20859 void *argp1 = 0 ;
20860 int res1 = 0 ;
20861 PyObject *swig_obj[1] ;
20862
20863 if (!args) SWIG_fail;
20864 swig_obj[0] = args;
20865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20866 if (!SWIG_IsOK(res1)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetMessage" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20868 }
20869 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20870 {
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 resultobj = SWIG_From_int(static_cast< int >(result));
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20884 PyObject *resultobj = 0;
20885 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20886 int result;
20887 void *argp1 = 0 ;
20888 int res1 = 0 ;
20889 PyObject *swig_obj[1] ;
20890
20891 if (!args) SWIG_fail;
20892 swig_obj[0] = args;
20893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20894 if (!SWIG_IsOK(res1)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetWParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20896 }
20897 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_From_int(static_cast< int >(result));
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20912 PyObject *resultobj = 0;
20913 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20914 int result;
20915 void *argp1 = 0 ;
20916 int res1 = 0 ;
20917 PyObject *swig_obj[1] ;
20918
20919 if (!args) SWIG_fail;
20920 swig_obj[0] = args;
20921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20922 if (!SWIG_IsOK(res1)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetLParam" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20924 }
20925 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 resultobj = SWIG_From_int(static_cast< int >(result));
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetListType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20940 PyObject *resultobj = 0;
20941 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20942 int result;
20943 void *argp1 = 0 ;
20944 int res1 = 0 ;
20945 PyObject *swig_obj[1] ;
20946
20947 if (!args) SWIG_fail;
20948 swig_obj[0] = args;
20949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20950 if (!SWIG_IsOK(res1)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetListType" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20952 }
20953 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_From_int(static_cast< int >(result));
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20968 PyObject *resultobj = 0;
20969 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20970 int result;
20971 void *argp1 = 0 ;
20972 int res1 = 0 ;
20973 PyObject *swig_obj[1] ;
20974
20975 if (!args) SWIG_fail;
20976 swig_obj[0] = args;
20977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
20978 if (!SWIG_IsOK(res1)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetX" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
20980 }
20981 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 resultobj = SWIG_From_int(static_cast< int >(result));
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20996 PyObject *resultobj = 0;
20997 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
20998 int result;
20999 void *argp1 = 0 ;
21000 int res1 = 0 ;
21001 PyObject *swig_obj[1] ;
21002
21003 if (!args) SWIG_fail;
21004 swig_obj[0] = args;
21005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21006 if (!SWIG_IsOK(res1)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetY" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21008 }
21009 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 resultobj = SWIG_From_int(static_cast< int >(result));
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21024 PyObject *resultobj = 0;
21025 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21026 wxString result;
21027 void *argp1 = 0 ;
21028 int res1 = 0 ;
21029 PyObject *swig_obj[1] ;
21030
21031 if (!args) SWIG_fail;
21032 swig_obj[0] = args;
21033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21034 if (!SWIG_IsOK(res1)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragText" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21036 }
21037 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (arg1)->GetDragText();
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 {
21045 #if wxUSE_UNICODE
21046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21047 #else
21048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21049 #endif
21050 }
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21058 PyObject *resultobj = 0;
21059 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21060 bool result;
21061 void *argp1 = 0 ;
21062 int res1 = 0 ;
21063 PyObject *swig_obj[1] ;
21064
21065 if (!args) SWIG_fail;
21066 swig_obj[0] = args;
21067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21068 if (!SWIG_IsOK(res1)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragAllowMove" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21070 }
21071 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (bool)(arg1)->GetDragAllowMove();
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21080 }
21081 return resultobj;
21082 fail:
21083 return NULL;
21084 }
21085
21086
21087 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21088 PyObject *resultobj = 0;
21089 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21090 wxDragResult result;
21091 void *argp1 = 0 ;
21092 int res1 = 0 ;
21093 PyObject *swig_obj[1] ;
21094
21095 if (!args) SWIG_fail;
21096 swig_obj[0] = args;
21097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21098 if (!SWIG_IsOK(res1)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetDragResult" "', expected argument " "1"" of type '" "wxStyledTextEvent *""'");
21100 }
21101 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (wxDragResult)(arg1)->GetDragResult();
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 resultobj = SWIG_From_int(static_cast< int >(result));
21109 return resultobj;
21110 fail:
21111 return NULL;
21112 }
21113
21114
21115 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21116 PyObject *resultobj = 0;
21117 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21118 bool result;
21119 void *argp1 = 0 ;
21120 int res1 = 0 ;
21121 PyObject *swig_obj[1] ;
21122
21123 if (!args) SWIG_fail;
21124 swig_obj[0] = args;
21125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21126 if (!SWIG_IsOK(res1)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetShift" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21128 }
21129 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 {
21137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21138 }
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21146 PyObject *resultobj = 0;
21147 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21148 bool result;
21149 void *argp1 = 0 ;
21150 int res1 = 0 ;
21151 PyObject *swig_obj[1] ;
21152
21153 if (!args) SWIG_fail;
21154 swig_obj[0] = args;
21155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21156 if (!SWIG_IsOK(res1)) {
21157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetControl" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21158 }
21159 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 {
21167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21168 }
21169 return resultobj;
21170 fail:
21171 return NULL;
21172 }
21173
21174
21175 SWIGINTERN PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21176 PyObject *resultobj = 0;
21177 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
21178 bool result;
21179 void *argp1 = 0 ;
21180 int res1 = 0 ;
21181 PyObject *swig_obj[1] ;
21182
21183 if (!args) SWIG_fail;
21184 swig_obj[0] = args;
21185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStyledTextEvent, 0 | 0 );
21186 if (!SWIG_IsOK(res1)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StyledTextEvent_GetAlt" "', expected argument " "1"" of type '" "wxStyledTextEvent const *""'");
21188 }
21189 arg1 = reinterpret_cast< wxStyledTextEvent * >(argp1);
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 {
21197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 SWIGINTERN PyObject *StyledTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21206 PyObject *obj;
21207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21208 SWIG_TypeNewClientData(SWIGTYPE_p_wxStyledTextEvent, SWIG_NewClientData(obj));
21209 return SWIG_Py_Void();
21210 }
21211
21212 SWIGINTERN PyObject *StyledTextEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21213 return SWIG_Python_InitShadowInstance(args);
21214 }
21215
21216 static PyMethodDef SwigMethods[] = {
21217 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
21218 { (char *)"new_PreStyledTextCtrl", (PyCFunction)_wrap_new_PreStyledTextCtrl, METH_NOARGS, NULL},
21219 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
21220 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
21221 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21222 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
21223 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction)_wrap_StyledTextCtrl_ClearAll, METH_O, NULL},
21224 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction)_wrap_StyledTextCtrl_ClearDocumentStyle, METH_O, NULL},
21225 { (char *)"StyledTextCtrl_GetLength", (PyCFunction)_wrap_StyledTextCtrl_GetLength, METH_O, NULL},
21226 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
21227 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentPos, METH_O, NULL},
21228 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction)_wrap_StyledTextCtrl_GetAnchor, METH_O, NULL},
21229 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
21230 { (char *)"StyledTextCtrl_Redo", (PyCFunction)_wrap_StyledTextCtrl_Redo, METH_O, NULL},
21231 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
21232 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction)_wrap_StyledTextCtrl_SelectAll, METH_O, NULL},
21233 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction)_wrap_StyledTextCtrl_SetSavePoint, METH_O, NULL},
21234 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
21235 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction)_wrap_StyledTextCtrl_CanRedo, METH_O, NULL},
21236 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21237 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
21238 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction)_wrap_StyledTextCtrl_GetUndoCollection, METH_O, NULL},
21239 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction)_wrap_StyledTextCtrl_GetViewWhiteSpace, METH_O, NULL},
21240 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
21241 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21242 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
21243 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
21244 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
21245 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
21246 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurLine, METH_O, NULL},
21247 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction)_wrap_StyledTextCtrl_GetEndStyled, METH_O, NULL},
21248 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
21249 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction)_wrap_StyledTextCtrl_GetEOLMode, METH_O, NULL},
21250 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
21251 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21252 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
21253 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction)_wrap_StyledTextCtrl_GetBufferedDraw, METH_O, NULL},
21254 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21255 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21256 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction)_wrap_StyledTextCtrl_GetTabWidth, METH_O, NULL},
21257 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
21258 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
21259 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21260 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21261 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
21262 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
21263 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
21264 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
21265 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
21266 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
21267 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21268 { (char *)"StyledTextCtrl_MarkerAddSet", (PyCFunction) _wrap_StyledTextCtrl_MarkerAddSet, METH_VARARGS | METH_KEYWORDS, NULL},
21269 { (char *)"StyledTextCtrl_MarkerSetAlpha", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21270 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21271 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
21272 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21273 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21274 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21275 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
21276 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21277 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
21278 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction)_wrap_StyledTextCtrl_StyleClearAll, METH_O, NULL},
21279 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21280 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21281 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
21282 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
21283 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21284 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21285 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
21286 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction)_wrap_StyledTextCtrl_StyleResetDefault, METH_O, NULL},
21287 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21288 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
21289 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
21290 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21291 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21292 { (char *)"StyledTextCtrl_GetSelAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetSelAlpha, METH_O, NULL},
21293 { (char *)"StyledTextCtrl_SetSelAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetSelAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21294 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21295 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
21296 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
21297 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction)_wrap_StyledTextCtrl_CmdKeyClearAll, METH_O, NULL},
21298 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
21299 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21300 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction)_wrap_StyledTextCtrl_GetCaretPeriod, METH_O, NULL},
21301 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
21302 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
21303 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction)_wrap_StyledTextCtrl_BeginUndoAction, METH_O, NULL},
21304 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction)_wrap_StyledTextCtrl_EndUndoAction, METH_O, NULL},
21305 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21306 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21307 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21308 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21309 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21310 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21311 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
21312 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBits, METH_O, NULL},
21313 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21314 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
21315 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction)_wrap_StyledTextCtrl_GetMaxLineState, METH_O, NULL},
21316 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineVisible, METH_O, NULL},
21317 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21318 { (char *)"StyledTextCtrl_GetCaretLineBackground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackground, METH_O, NULL},
21319 { (char *)"StyledTextCtrl_SetCaretLineBackground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21320 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
21321 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
21322 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction)_wrap_StyledTextCtrl_AutoCompCancel, METH_O, NULL},
21323 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction)_wrap_StyledTextCtrl_AutoCompActive, METH_O, NULL},
21324 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompPosStart, METH_O, NULL},
21325 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction)_wrap_StyledTextCtrl_AutoCompComplete, METH_O, NULL},
21326 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
21327 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21328 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetSeparator, METH_O, NULL},
21329 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
21330 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
21331 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_O, NULL},
21332 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
21333 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
21334 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_O, NULL},
21335 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
21336 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_O, NULL},
21337 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
21338 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
21339 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_O, NULL},
21340 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
21341 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_O, NULL},
21342 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
21343 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction)_wrap_StyledTextCtrl_ClearRegisteredImages, METH_O, NULL},
21344 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_O, NULL},
21345 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
21346 { (char *)"StyledTextCtrl_AutoCompSetMaxWidth", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21347 { (char *)"StyledTextCtrl_AutoCompGetMaxWidth", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxWidth, METH_O, NULL},
21348 { (char *)"StyledTextCtrl_AutoCompSetMaxHeight", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21349 { (char *)"StyledTextCtrl_AutoCompGetMaxHeight", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetMaxHeight, METH_O, NULL},
21350 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21351 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction)_wrap_StyledTextCtrl_GetIndent, METH_O, NULL},
21352 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
21353 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction)_wrap_StyledTextCtrl_GetUseTabs, METH_O, NULL},
21354 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21355 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
21356 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21357 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21358 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21359 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_O, NULL},
21360 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
21361 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction)_wrap_StyledTextCtrl_GetIndentationGuides, METH_O, NULL},
21362 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
21363 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction)_wrap_StyledTextCtrl_GetHighlightGuide, METH_O, NULL},
21364 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21365 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction)_wrap_StyledTextCtrl_GetCodePage, METH_O, NULL},
21366 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction)_wrap_StyledTextCtrl_GetCaretForeground, METH_O, NULL},
21367 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction)_wrap_StyledTextCtrl_GetReadOnly, METH_O, NULL},
21368 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
21369 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
21370 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionStart, METH_O, NULL},
21371 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21372 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionEnd, METH_O, NULL},
21373 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
21374 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction)_wrap_StyledTextCtrl_GetPrintMagnification, METH_O, NULL},
21375 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
21376 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintColourMode, METH_O, NULL},
21377 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
21378 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
21379 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction)_wrap_StyledTextCtrl_GetFirstVisibleLine, METH_O, NULL},
21380 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21381 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction)_wrap_StyledTextCtrl_GetLineCount, METH_O, NULL},
21382 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
21383 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction)_wrap_StyledTextCtrl_GetMarginLeft, METH_O, NULL},
21384 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
21385 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction)_wrap_StyledTextCtrl_GetMarginRight, METH_O, NULL},
21386 { (char *)"StyledTextCtrl_GetModify", (PyCFunction)_wrap_StyledTextCtrl_GetModify, METH_O, NULL},
21387 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21388 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedText, METH_O, NULL},
21389 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
21390 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21391 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21392 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
21393 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
21394 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction)_wrap_StyledTextCtrl_EnsureCaretVisible, METH_O, NULL},
21395 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
21396 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
21397 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction)_wrap_StyledTextCtrl_CanPaste, METH_O, NULL},
21398 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction)_wrap_StyledTextCtrl_CanUndo, METH_O, NULL},
21399 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction)_wrap_StyledTextCtrl_EmptyUndoBuffer, METH_O, NULL},
21400 { (char *)"StyledTextCtrl_Undo", (PyCFunction)_wrap_StyledTextCtrl_Undo, METH_O, NULL},
21401 { (char *)"StyledTextCtrl_Cut", (PyCFunction)_wrap_StyledTextCtrl_Cut, METH_O, NULL},
21402 { (char *)"StyledTextCtrl_Copy", (PyCFunction)_wrap_StyledTextCtrl_Copy, METH_O, NULL},
21403 { (char *)"StyledTextCtrl_Paste", (PyCFunction)_wrap_StyledTextCtrl_Paste, METH_O, NULL},
21404 { (char *)"StyledTextCtrl_Clear", (PyCFunction)_wrap_StyledTextCtrl_Clear, METH_O, NULL},
21405 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21406 { (char *)"StyledTextCtrl_GetText", (PyCFunction)_wrap_StyledTextCtrl_GetText, METH_O, NULL},
21407 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction)_wrap_StyledTextCtrl_GetTextLength, METH_O, NULL},
21408 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
21409 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction)_wrap_StyledTextCtrl_GetOvertype, METH_O, NULL},
21410 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21411 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction)_wrap_StyledTextCtrl_GetCaretWidth, METH_O, NULL},
21412 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
21413 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction)_wrap_StyledTextCtrl_GetTargetStart, METH_O, NULL},
21414 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
21415 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction)_wrap_StyledTextCtrl_GetTargetEnd, METH_O, NULL},
21416 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21417 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
21418 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
21419 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21420 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction)_wrap_StyledTextCtrl_GetSearchFlags, METH_O, NULL},
21421 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
21422 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction)_wrap_StyledTextCtrl_CallTipCancel, METH_O, NULL},
21423 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction)_wrap_StyledTextCtrl_CallTipActive, METH_O, NULL},
21424 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction)_wrap_StyledTextCtrl_CallTipPosAtStart, METH_O, NULL},
21425 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21426 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21427 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21428 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21429 { (char *)"StyledTextCtrl_CallTipUseStyle", (PyCFunction) _wrap_StyledTextCtrl_CallTipUseStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21430 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
21431 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21432 { (char *)"StyledTextCtrl_WrapCount", (PyCFunction) _wrap_StyledTextCtrl_WrapCount, METH_VARARGS | METH_KEYWORDS, NULL},
21433 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21434 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
21435 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
21436 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
21437 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
21438 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
21439 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21440 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21441 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21442 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
21443 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21444 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21445 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21446 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21447 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction)_wrap_StyledTextCtrl_GetTabIndents, METH_O, NULL},
21448 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
21449 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction)_wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_O, NULL},
21450 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
21451 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDwellTime, METH_O, NULL},
21452 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21453 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21454 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21455 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetWrapMode, METH_O, NULL},
21456 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
21457 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlags, METH_O, NULL},
21458 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21459 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction)_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_O, NULL},
21460 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
21461 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction)_wrap_StyledTextCtrl_GetWrapStartIndent, METH_O, NULL},
21462 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
21463 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction)_wrap_StyledTextCtrl_GetLayoutCache, METH_O, NULL},
21464 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21465 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction)_wrap_StyledTextCtrl_GetScrollWidth, METH_O, NULL},
21466 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21467 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
21468 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction)_wrap_StyledTextCtrl_GetEndAtLastLine, METH_O, NULL},
21469 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21470 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21471 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction)_wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_O, NULL},
21472 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
21473 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction)_wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_O, NULL},
21474 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
21475 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction)_wrap_StyledTextCtrl_TargetFromSelection, METH_O, NULL},
21476 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction)_wrap_StyledTextCtrl_LinesJoin, METH_O, NULL},
21477 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
21478 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
21479 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
21480 { (char *)"StyledTextCtrl_LineDown", (PyCFunction)_wrap_StyledTextCtrl_LineDown, METH_O, NULL},
21481 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownExtend, METH_O, NULL},
21482 { (char *)"StyledTextCtrl_LineUp", (PyCFunction)_wrap_StyledTextCtrl_LineUp, METH_O, NULL},
21483 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpExtend, METH_O, NULL},
21484 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction)_wrap_StyledTextCtrl_CharLeft, METH_O, NULL},
21485 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftExtend, METH_O, NULL},
21486 { (char *)"StyledTextCtrl_CharRight", (PyCFunction)_wrap_StyledTextCtrl_CharRight, METH_O, NULL},
21487 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightExtend, METH_O, NULL},
21488 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction)_wrap_StyledTextCtrl_WordLeft, METH_O, NULL},
21489 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftExtend, METH_O, NULL},
21490 { (char *)"StyledTextCtrl_WordRight", (PyCFunction)_wrap_StyledTextCtrl_WordRight, METH_O, NULL},
21491 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightExtend, METH_O, NULL},
21492 { (char *)"StyledTextCtrl_Home", (PyCFunction)_wrap_StyledTextCtrl_Home, METH_O, NULL},
21493 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeExtend, METH_O, NULL},
21494 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction)_wrap_StyledTextCtrl_LineEnd, METH_O, NULL},
21495 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndExtend, METH_O, NULL},
21496 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction)_wrap_StyledTextCtrl_DocumentStart, METH_O, NULL},
21497 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentStartExtend, METH_O, NULL},
21498 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction)_wrap_StyledTextCtrl_DocumentEnd, METH_O, NULL},
21499 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction)_wrap_StyledTextCtrl_DocumentEndExtend, METH_O, NULL},
21500 { (char *)"StyledTextCtrl_PageUp", (PyCFunction)_wrap_StyledTextCtrl_PageUp, METH_O, NULL},
21501 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpExtend, METH_O, NULL},
21502 { (char *)"StyledTextCtrl_PageDown", (PyCFunction)_wrap_StyledTextCtrl_PageDown, METH_O, NULL},
21503 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownExtend, METH_O, NULL},
21504 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction)_wrap_StyledTextCtrl_EditToggleOvertype, METH_O, NULL},
21505 { (char *)"StyledTextCtrl_Cancel", (PyCFunction)_wrap_StyledTextCtrl_Cancel, METH_O, NULL},
21506 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction)_wrap_StyledTextCtrl_DeleteBack, METH_O, NULL},
21507 { (char *)"StyledTextCtrl_Tab", (PyCFunction)_wrap_StyledTextCtrl_Tab, METH_O, NULL},
21508 { (char *)"StyledTextCtrl_BackTab", (PyCFunction)_wrap_StyledTextCtrl_BackTab, METH_O, NULL},
21509 { (char *)"StyledTextCtrl_NewLine", (PyCFunction)_wrap_StyledTextCtrl_NewLine, METH_O, NULL},
21510 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction)_wrap_StyledTextCtrl_FormFeed, METH_O, NULL},
21511 { (char *)"StyledTextCtrl_VCHome", (PyCFunction)_wrap_StyledTextCtrl_VCHome, METH_O, NULL},
21512 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeExtend, METH_O, NULL},
21513 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction)_wrap_StyledTextCtrl_ZoomIn, METH_O, NULL},
21514 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction)_wrap_StyledTextCtrl_ZoomOut, METH_O, NULL},
21515 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction)_wrap_StyledTextCtrl_DelWordLeft, METH_O, NULL},
21516 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction)_wrap_StyledTextCtrl_DelWordRight, METH_O, NULL},
21517 { (char *)"StyledTextCtrl_LineCut", (PyCFunction)_wrap_StyledTextCtrl_LineCut, METH_O, NULL},
21518 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction)_wrap_StyledTextCtrl_LineDelete, METH_O, NULL},
21519 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction)_wrap_StyledTextCtrl_LineTranspose, METH_O, NULL},
21520 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction)_wrap_StyledTextCtrl_LineDuplicate, METH_O, NULL},
21521 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction)_wrap_StyledTextCtrl_LowerCase, METH_O, NULL},
21522 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction)_wrap_StyledTextCtrl_UpperCase, METH_O, NULL},
21523 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction)_wrap_StyledTextCtrl_LineScrollDown, METH_O, NULL},
21524 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction)_wrap_StyledTextCtrl_LineScrollUp, METH_O, NULL},
21525 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction)_wrap_StyledTextCtrl_DeleteBackNotLine, METH_O, NULL},
21526 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplay, METH_O, NULL},
21527 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeDisplayExtend, METH_O, NULL},
21528 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplay, METH_O, NULL},
21529 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndDisplayExtend, METH_O, NULL},
21530 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction)_wrap_StyledTextCtrl_HomeWrap, METH_O, NULL},
21531 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeWrapExtend, METH_O, NULL},
21532 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrap, METH_O, NULL},
21533 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndWrapExtend, METH_O, NULL},
21534 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrap, METH_O, NULL},
21535 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeWrapExtend, METH_O, NULL},
21536 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction)_wrap_StyledTextCtrl_LineCopy, METH_O, NULL},
21537 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction)_wrap_StyledTextCtrl_MoveCaretInsideView, METH_O, NULL},
21538 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
21539 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
21540 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
21541 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
21542 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction)_wrap_StyledTextCtrl_GetViewEOL, METH_O, NULL},
21543 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
21544 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction)_wrap_StyledTextCtrl_GetDocPointer, METH_O, NULL},
21545 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
21546 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
21547 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColumn, METH_O, NULL},
21548 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21549 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeMode, METH_O, NULL},
21550 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
21551 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction)_wrap_StyledTextCtrl_GetEdgeColour, METH_O, NULL},
21552 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
21553 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction)_wrap_StyledTextCtrl_SearchAnchor, METH_O, NULL},
21554 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
21555 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21556 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction)_wrap_StyledTextCtrl_LinesOnScreen, METH_O, NULL},
21557 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
21558 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction)_wrap_StyledTextCtrl_SelectionIsRectangle, METH_O, NULL},
21559 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
21560 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction)_wrap_StyledTextCtrl_GetZoom, METH_O, NULL},
21561 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction)_wrap_StyledTextCtrl_CreateDocument, METH_O, NULL},
21562 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21563 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
21564 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction)_wrap_StyledTextCtrl_GetModEventMask, METH_O, NULL},
21565 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
21566 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction)_wrap_StyledTextCtrl_GetSTCFocus, METH_O, NULL},
21567 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
21568 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction)_wrap_StyledTextCtrl_GetStatus, METH_O, NULL},
21569 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
21570 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction)_wrap_StyledTextCtrl_GetMouseDownCaptures, METH_O, NULL},
21571 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21572 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction)_wrap_StyledTextCtrl_GetSTCCursor, METH_O, NULL},
21573 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
21574 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction)_wrap_StyledTextCtrl_GetControlCharSymbol, METH_O, NULL},
21575 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeft, METH_O, NULL},
21576 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartLeftExtend, METH_O, NULL},
21577 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction)_wrap_StyledTextCtrl_WordPartRight, METH_O, NULL},
21578 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction)_wrap_StyledTextCtrl_WordPartRightExtend, METH_O, NULL},
21579 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21580 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction)_wrap_StyledTextCtrl_DelLineLeft, METH_O, NULL},
21581 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction)_wrap_StyledTextCtrl_DelLineRight, METH_O, NULL},
21582 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
21583 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction)_wrap_StyledTextCtrl_GetXOffset, METH_O, NULL},
21584 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction)_wrap_StyledTextCtrl_ChooseCaretX, METH_O, NULL},
21585 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21586 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
21587 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
21588 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction)_wrap_StyledTextCtrl_GetPrintWrapMode, METH_O, NULL},
21589 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21590 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21591 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
21592 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
21593 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction)_wrap_StyledTextCtrl_ParaDown, METH_O, NULL},
21594 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaDownExtend, METH_O, NULL},
21595 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction)_wrap_StyledTextCtrl_ParaUp, METH_O, NULL},
21596 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction)_wrap_StyledTextCtrl_ParaUpExtend, METH_O, NULL},
21597 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
21598 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
21599 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
21600 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
21601 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
21602 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction)_wrap_StyledTextCtrl_GetSelectionMode, METH_O, NULL},
21603 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21604 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21605 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineDownRectExtend, METH_O, NULL},
21606 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineUpRectExtend, METH_O, NULL},
21607 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharLeftRectExtend, METH_O, NULL},
21608 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction)_wrap_StyledTextCtrl_CharRightRectExtend, METH_O, NULL},
21609 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_HomeRectExtend, METH_O, NULL},
21610 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction)_wrap_StyledTextCtrl_VCHomeRectExtend, METH_O, NULL},
21611 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction)_wrap_StyledTextCtrl_LineEndRectExtend, METH_O, NULL},
21612 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageUpRectExtend, METH_O, NULL},
21613 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction)_wrap_StyledTextCtrl_PageDownRectExtend, METH_O, NULL},
21614 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUp, METH_O, NULL},
21615 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageUpExtend, METH_O, NULL},
21616 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDown, METH_O, NULL},
21617 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction)_wrap_StyledTextCtrl_StutteredPageDownExtend, METH_O, NULL},
21618 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEnd, METH_O, NULL},
21619 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordLeftEndExtend, METH_O, NULL},
21620 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction)_wrap_StyledTextCtrl_WordRightEnd, METH_O, NULL},
21621 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction)_wrap_StyledTextCtrl_WordRightEndExtend, METH_O, NULL},
21622 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
21623 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction)_wrap_StyledTextCtrl_SetCharsDefault, METH_O, NULL},
21624 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction)_wrap_StyledTextCtrl_AutoCompGetCurrent, METH_O, NULL},
21625 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
21626 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21627 { (char *)"StyledTextCtrl_GetCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_GetCaretSticky, METH_O, NULL},
21628 { (char *)"StyledTextCtrl_SetCaretSticky", (PyCFunction) _wrap_StyledTextCtrl_SetCaretSticky, METH_VARARGS | METH_KEYWORDS, NULL},
21629 { (char *)"StyledTextCtrl_ToggleCaretSticky", (PyCFunction)_wrap_StyledTextCtrl_ToggleCaretSticky, METH_O, NULL},
21630 { (char *)"StyledTextCtrl_SetPasteConvertEndings", (PyCFunction) _wrap_StyledTextCtrl_SetPasteConvertEndings, METH_VARARGS | METH_KEYWORDS, NULL},
21631 { (char *)"StyledTextCtrl_GetPasteConvertEndings", (PyCFunction)_wrap_StyledTextCtrl_GetPasteConvertEndings, METH_O, NULL},
21632 { (char *)"StyledTextCtrl_SelectionDuplicate", (PyCFunction)_wrap_StyledTextCtrl_SelectionDuplicate, METH_O, NULL},
21633 { (char *)"StyledTextCtrl_SetCaretLineBackAlpha", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBackAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
21634 { (char *)"StyledTextCtrl_GetCaretLineBackAlpha", (PyCFunction)_wrap_StyledTextCtrl_GetCaretLineBackAlpha, METH_O, NULL},
21635 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction)_wrap_StyledTextCtrl_StartRecord, METH_O, NULL},
21636 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction)_wrap_StyledTextCtrl_StopRecord, METH_O, NULL},
21637 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
21638 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction)_wrap_StyledTextCtrl_GetLexer, METH_O, NULL},
21639 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
21640 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21641 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
21642 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21643 { (char *)"StyledTextCtrl_GetProperty", (PyCFunction) _wrap_StyledTextCtrl_GetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
21644 { (char *)"StyledTextCtrl_GetPropertyExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
21645 { (char *)"StyledTextCtrl_GetPropertyInt", (PyCFunction) _wrap_StyledTextCtrl_GetPropertyInt, METH_VARARGS | METH_KEYWORDS, NULL},
21646 { (char *)"StyledTextCtrl_GetStyleBitsNeeded", (PyCFunction)_wrap_StyledTextCtrl_GetStyleBitsNeeded, METH_O, NULL},
21647 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction)_wrap_StyledTextCtrl_GetCurrentLine, METH_O, NULL},
21648 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
21649 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21650 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
21651 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
21652 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21653 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
21654 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
21655 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction)_wrap_StyledTextCtrl_GetSelection, METH_O, NULL},
21656 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21657 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
21658 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
21659 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
21660 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21661 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
21662 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction)_wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_O, NULL},
21663 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
21664 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21665 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21666 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
21667 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
21668 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21669 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction)_wrap_StyledTextCtrl_GetUseAntiAliasing, METH_O, NULL},
21670 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21671 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21672 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction)_wrap_StyledTextCtrl_GetCurLineRaw, METH_O, NULL},
21673 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21674 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetSelectedTextRaw, METH_O, NULL},
21675 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21676 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21677 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction)_wrap_StyledTextCtrl_GetTextRaw, METH_O, NULL},
21678 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
21679 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
21680 { (char *)"StyledTextCtrl_swiginit", StyledTextCtrl_swiginit, METH_VARARGS, NULL},
21681 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
21682 { (char *)"delete_StyledTextEvent", (PyCFunction)_wrap_delete_StyledTextEvent, METH_O, NULL},
21683 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
21684 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
21685 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
21686 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
21687 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
21688 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
21689 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
21690 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
21691 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
21692 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
21693 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
21694 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
21695 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
21696 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
21697 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
21698 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
21699 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
21700 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
21701 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
21702 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
21703 { (char *)"StyledTextEvent_GetPosition", (PyCFunction)_wrap_StyledTextEvent_GetPosition, METH_O, NULL},
21704 { (char *)"StyledTextEvent_GetKey", (PyCFunction)_wrap_StyledTextEvent_GetKey, METH_O, NULL},
21705 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction)_wrap_StyledTextEvent_GetModifiers, METH_O, NULL},
21706 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction)_wrap_StyledTextEvent_GetModificationType, METH_O, NULL},
21707 { (char *)"StyledTextEvent_GetText", (PyCFunction)_wrap_StyledTextEvent_GetText, METH_O, NULL},
21708 { (char *)"StyledTextEvent_GetLength", (PyCFunction)_wrap_StyledTextEvent_GetLength, METH_O, NULL},
21709 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction)_wrap_StyledTextEvent_GetLinesAdded, METH_O, NULL},
21710 { (char *)"StyledTextEvent_GetLine", (PyCFunction)_wrap_StyledTextEvent_GetLine, METH_O, NULL},
21711 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelNow, METH_O, NULL},
21712 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction)_wrap_StyledTextEvent_GetFoldLevelPrev, METH_O, NULL},
21713 { (char *)"StyledTextEvent_GetMargin", (PyCFunction)_wrap_StyledTextEvent_GetMargin, METH_O, NULL},
21714 { (char *)"StyledTextEvent_GetMessage", (PyCFunction)_wrap_StyledTextEvent_GetMessage, METH_O, NULL},
21715 { (char *)"StyledTextEvent_GetWParam", (PyCFunction)_wrap_StyledTextEvent_GetWParam, METH_O, NULL},
21716 { (char *)"StyledTextEvent_GetLParam", (PyCFunction)_wrap_StyledTextEvent_GetLParam, METH_O, NULL},
21717 { (char *)"StyledTextEvent_GetListType", (PyCFunction)_wrap_StyledTextEvent_GetListType, METH_O, NULL},
21718 { (char *)"StyledTextEvent_GetX", (PyCFunction)_wrap_StyledTextEvent_GetX, METH_O, NULL},
21719 { (char *)"StyledTextEvent_GetY", (PyCFunction)_wrap_StyledTextEvent_GetY, METH_O, NULL},
21720 { (char *)"StyledTextEvent_GetDragText", (PyCFunction)_wrap_StyledTextEvent_GetDragText, METH_O, NULL},
21721 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction)_wrap_StyledTextEvent_GetDragAllowMove, METH_O, NULL},
21722 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction)_wrap_StyledTextEvent_GetDragResult, METH_O, NULL},
21723 { (char *)"StyledTextEvent_GetShift", (PyCFunction)_wrap_StyledTextEvent_GetShift, METH_O, NULL},
21724 { (char *)"StyledTextEvent_GetControl", (PyCFunction)_wrap_StyledTextEvent_GetControl, METH_O, NULL},
21725 { (char *)"StyledTextEvent_GetAlt", (PyCFunction)_wrap_StyledTextEvent_GetAlt, METH_O, NULL},
21726 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
21727 { (char *)"StyledTextEvent_swiginit", StyledTextEvent_swiginit, METH_VARARGS, NULL},
21728 { NULL, NULL, 0, NULL }
21729 };
21730
21731
21732 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21733
21734 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21736 }
21737 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
21739 }
21740 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) ((wxSizerItem *) x));
21742 }
21743 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21745 }
21746 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21748 }
21749 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21751 }
21752 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21754 }
21755 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21757 }
21758 static void *_p_wxSizerTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) ((wxSizer *) x));
21760 }
21761 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21763 }
21764 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) ((wxFileHistory *) x));
21766 }
21767 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21769 }
21770 static void *_p_wxEventTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) ((wxEvent *) x));
21772 }
21773 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21775 }
21776 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21778 }
21779 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21781 }
21782 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
21784 }
21785 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21787 }
21788 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21790 }
21791 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
21793 }
21794 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21796 }
21797 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21799 }
21800 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21802 }
21803 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21805 }
21806 static void *_p_wxControlTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21808 }
21809 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21811 }
21812 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
21814 }
21815 static void *_p_wxPowerEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxPowerEvent *) x));
21817 }
21818 static void *_p_wxFSFileTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) ((wxFSFile *) x));
21820 }
21821 static void *_p_wxClipboardTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) ((wxClipboard *) x));
21823 }
21824 static void *_p_wxPySizerTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21826 }
21827 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
21829 }
21830 static void *_p_wxPyEventTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21832 }
21833 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21835 }
21836 static void *_p_wxShowEventTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21838 }
21839 static void *_p_wxToolTipTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) ((wxToolTip *) x));
21841 }
21842 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) ((wxMenuItem *) x));
21844 }
21845 static void *_p_wxDateEventTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
21847 }
21848 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21850 }
21851 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21853 }
21854 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21856 }
21857 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21859 }
21860 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21862 }
21863 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21865 }
21866 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21868 }
21869 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21871 }
21872 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21874 }
21875 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21877 }
21878 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21880 }
21881 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21883 }
21884 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21886 }
21887 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21889 }
21890 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21892 }
21893 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21895 }
21896 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21898 }
21899 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
21901 }
21902 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) ((wxImageHandler *) x));
21904 }
21905 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21907 }
21908 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21910 }
21911 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
21913 }
21914 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) ((wxEvtHandler *) x));
21916 }
21917 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
21919 }
21920 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21922 }
21923 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
21925 }
21926 static void *_p_wxImageTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) ((wxImage *) x));
21928 }
21929 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21931 }
21932 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) ((wxSystemOptions *) x));
21934 }
21935 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
21937 }
21938 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21940 }
21941 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21943 }
21944 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21946 }
21947 static void *_p_wxWindowTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21949 }
21950 static void *_p_wxMenuTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21952 }
21953 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21955 }
21956 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
21958 }
21959 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) ((wxFileSystem *) x));
21961 }
21962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21964 }
21965 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21967 }
21968 static void *_p_wxPyAppTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21970 }
21971 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
21973 }
21974 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
21976 }
21977 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
21979 }
21980 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) ((wxBusyInfo *) x));
21982 }
21983 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
21985 }
21986 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
21988 }
21989 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
21991 }
21992 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
21994 }
21995 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
21997 }
21998 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
22000 }
22001 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22003 }
22004 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22006 }
22007 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22009 }
22010 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
22012 }
22013 static void *_p_wxControlTo_p_wxWindow(void *x) {
22014 return (void *)((wxWindow *) ((wxControl *) x));
22015 }
22016 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22017 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22018 }
22019 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
22020 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
22021 }
22022 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22023 return (void *)((wxWindow *) ((wxMenuBar *) x));
22024 }
22025 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22026 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22027 }
22028 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22029 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22030 }
22031 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22032 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22033 }
22034 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
22035 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
22036 }
22037 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22038 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22039 }
22040 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
22041 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
22042 }
22043 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
22044 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
22045 }
22046 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22047 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22048 }
22049 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22050 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22051 }
22052 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22053 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22054 }
22055 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22056 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22057 }
22058 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
22059 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
22060 }
22061 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
22062 return (void *)((wxEvtHandler *) ((wxWindow *) x));
22063 }
22064 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
22065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22066 }
22067 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
22068 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
22069 }
22070 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
22071 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
22072 }
22073 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
22074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
22075 }
22076 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
22077 return (void *)((wxEvtHandler *) ((wxValidator *) x));
22078 }
22079 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
22080 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
22081 }
22082 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
22083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
22084 }
22085 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
22086 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
22087 }
22088 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
22089 return (void *)((wxEvtHandler *) ((wxMenu *) x));
22090 }
22091 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
22092 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
22093 }
22094 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
22095 return (void *)((wxControl *) ((wxControlWithItems *) x));
22096 }
22097 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
22098 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
22099 }
22100 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
22101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
22102 }
22103 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
22104 return (void *)((wxEvent *) ((wxMenuEvent *) x));
22105 }
22106 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
22107 return (void *)((wxEvent *) ((wxCloseEvent *) x));
22108 }
22109 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
22110 return (void *)((wxEvent *) ((wxMouseEvent *) x));
22111 }
22112 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
22113 return (void *)((wxEvent *) ((wxEraseEvent *) x));
22114 }
22115 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
22116 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
22117 }
22118 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
22119 return (void *)((wxEvent *) ((wxTimerEvent *) x));
22120 }
22121 static void *_p_wxPowerEventTo_p_wxEvent(void *x) {
22122 return (void *)((wxEvent *) ((wxPowerEvent *) x));
22123 }
22124 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
22125 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
22126 }
22127 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
22128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
22129 }
22130 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
22131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
22132 }
22133 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
22134 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
22135 }
22136 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
22137 return (void *)((wxEvent *) ((wxPyEvent *) x));
22138 }
22139 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
22140 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
22141 }
22142 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
22143 return (void *)((wxEvent *) ((wxIdleEvent *) x));
22144 }
22145 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
22146 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
22147 }
22148 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
22149 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
22150 }
22151 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
22152 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
22153 }
22154 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
22155 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
22156 }
22157 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
22158 return (void *)((wxEvent *) ((wxActivateEvent *) x));
22159 }
22160 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
22161 return (void *)((wxEvent *) ((wxSizeEvent *) x));
22162 }
22163 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
22164 return (void *)((wxEvent *) ((wxMoveEvent *) x));
22165 }
22166 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
22167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
22168 }
22169 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
22170 return (void *)((wxEvent *) ((wxPaintEvent *) x));
22171 }
22172 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
22173 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
22174 }
22175 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
22176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
22177 }
22178 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
22179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
22180 }
22181 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
22182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
22183 }
22184 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
22185 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
22186 }
22187 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
22188 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
22189 }
22190 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
22191 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22192 }
22193 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
22194 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
22195 }
22196 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
22197 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
22198 }
22199 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
22200 return (void *)((wxEvent *) ((wxFocusEvent *) x));
22201 }
22202 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
22203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
22204 }
22205 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
22206 return (void *)((wxEvent *) ((wxProcessEvent *) x));
22207 }
22208 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
22209 return (void *)((wxEvent *) ((wxShowEvent *) x));
22210 }
22211 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
22212 return (void *)((wxEvent *) ((wxCommandEvent *) x));
22213 }
22214 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
22215 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
22216 }
22217 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
22218 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22219 }
22220 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
22221 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
22222 }
22223 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
22224 return (void *)((wxEvent *) ((wxKeyEvent *) x));
22225 }
22226 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
22227 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
22228 }
22229 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
22230 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};
22231 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
22232 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
22233 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
22234 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
22235 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
22236 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
22237 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
22238 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
22239 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
22240 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
22241 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
22242 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
22243 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
22244 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
22245 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
22246 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
22247 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
22248 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
22249 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
22250 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
22251 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
22252 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
22253 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
22254 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
22255 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
22256 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
22257 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
22258 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
22259 static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0, 0};
22260 static swig_type_info _swigt__p_wxPowerEvent = {"_p_wxPowerEvent", 0, 0, 0, 0, 0};
22261 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
22262 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
22263 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
22264 static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0, 0};
22265 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
22266 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
22267 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
22268 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
22269 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
22270 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
22271 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
22272 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
22273 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
22274 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
22275 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
22276 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
22277 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
22278 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
22279 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
22280 static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0, 0};
22281 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
22282 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
22283 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
22284 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
22285 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
22286 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
22287 static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0, 0};
22288 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
22289 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
22290 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
22291 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
22292 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
22293 static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0, 0};
22294 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
22295 static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, (void*)0, 0};
22296 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
22297 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
22298 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
22299 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
22300 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
22301 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
22302 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
22303 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
22304 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
22305 static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0, 0};
22306 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
22307 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
22308 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
22309 static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0, 0};
22310 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
22311 static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0, 0};
22312 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
22313 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
22314 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
22315 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
22316 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
22317 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
22318 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
22319 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
22320 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
22321 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
22322 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
22323 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
22324 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
22325 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
22326 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
22327 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
22328 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
22329 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
22330 static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0, 0};
22331 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
22332 static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0, 0};
22333 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
22334 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
22335 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
22336 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
22337 static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, (void*)0, 0};
22338 static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, (void*)0, 0};
22339 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
22340
22341 static swig_type_info *swig_type_initial[] = {
22342 &_swigt__p_char,
22343 &_swigt__p_form_ops_t,
22344 &_swigt__p_int,
22345 &_swigt__p_unsigned_char,
22346 &_swigt__p_unsigned_int,
22347 &_swigt__p_unsigned_long,
22348 &_swigt__p_void,
22349 &_swigt__p_wxANIHandler,
22350 &_swigt__p_wxAcceleratorTable,
22351 &_swigt__p_wxActivateEvent,
22352 &_swigt__p_wxBMPHandler,
22353 &_swigt__p_wxBitmap,
22354 &_swigt__p_wxBoxSizer,
22355 &_swigt__p_wxBusyInfo,
22356 &_swigt__p_wxCURHandler,
22357 &_swigt__p_wxChildFocusEvent,
22358 &_swigt__p_wxClipboard,
22359 &_swigt__p_wxClipboardTextEvent,
22360 &_swigt__p_wxCloseEvent,
22361 &_swigt__p_wxColour,
22362 &_swigt__p_wxCommandEvent,
22363 &_swigt__p_wxContextMenuEvent,
22364 &_swigt__p_wxControl,
22365 &_swigt__p_wxControlWithItems,
22366 &_swigt__p_wxDC,
22367 &_swigt__p_wxDateEvent,
22368 &_swigt__p_wxDisplayChangedEvent,
22369 &_swigt__p_wxDropFilesEvent,
22370 &_swigt__p_wxDuplexMode,
22371 &_swigt__p_wxEraseEvent,
22372 &_swigt__p_wxEvent,
22373 &_swigt__p_wxEventBlocker,
22374 &_swigt__p_wxEvtHandler,
22375 &_swigt__p_wxFSFile,
22376 &_swigt__p_wxFileHistory,
22377 &_swigt__p_wxFileSystem,
22378 &_swigt__p_wxFlexGridSizer,
22379 &_swigt__p_wxFocusEvent,
22380 &_swigt__p_wxFont,
22381 &_swigt__p_wxGBSizerItem,
22382 &_swigt__p_wxGIFHandler,
22383 &_swigt__p_wxGridBagSizer,
22384 &_swigt__p_wxGridSizer,
22385 &_swigt__p_wxICOHandler,
22386 &_swigt__p_wxIconizeEvent,
22387 &_swigt__p_wxIdleEvent,
22388 &_swigt__p_wxImage,
22389 &_swigt__p_wxImageHandler,
22390 &_swigt__p_wxIndividualLayoutConstraint,
22391 &_swigt__p_wxInitDialogEvent,
22392 &_swigt__p_wxJPEGHandler,
22393 &_swigt__p_wxJoystickEvent,
22394 &_swigt__p_wxKeyEvent,
22395 &_swigt__p_wxLayoutConstraints,
22396 &_swigt__p_wxMaximizeEvent,
22397 &_swigt__p_wxMemoryBuffer,
22398 &_swigt__p_wxMenu,
22399 &_swigt__p_wxMenuBar,
22400 &_swigt__p_wxMenuEvent,
22401 &_swigt__p_wxMenuItem,
22402 &_swigt__p_wxMouseCaptureChangedEvent,
22403 &_swigt__p_wxMouseCaptureLostEvent,
22404 &_swigt__p_wxMouseEvent,
22405 &_swigt__p_wxMoveEvent,
22406 &_swigt__p_wxNavigationKeyEvent,
22407 &_swigt__p_wxNcPaintEvent,
22408 &_swigt__p_wxNotifyEvent,
22409 &_swigt__p_wxObject,
22410 &_swigt__p_wxPCXHandler,
22411 &_swigt__p_wxPNGHandler,
22412 &_swigt__p_wxPNMHandler,
22413 &_swigt__p_wxPaintEvent,
22414 &_swigt__p_wxPaletteChangedEvent,
22415 &_swigt__p_wxPaperSize,
22416 &_swigt__p_wxPoint,
22417 &_swigt__p_wxPowerEvent,
22418 &_swigt__p_wxProcessEvent,
22419 &_swigt__p_wxPyApp,
22420 &_swigt__p_wxPyCommandEvent,
22421 &_swigt__p_wxPyEvent,
22422 &_swigt__p_wxPyImageHandler,
22423 &_swigt__p_wxPyProcess,
22424 &_swigt__p_wxPySizer,
22425 &_swigt__p_wxPyTimer,
22426 &_swigt__p_wxPyValidator,
22427 &_swigt__p_wxQueryNewPaletteEvent,
22428 &_swigt__p_wxRect,
22429 &_swigt__p_wxScrollBar,
22430 &_swigt__p_wxScrollEvent,
22431 &_swigt__p_wxScrollWinEvent,
22432 &_swigt__p_wxSetCursorEvent,
22433 &_swigt__p_wxShowEvent,
22434 &_swigt__p_wxSizeEvent,
22435 &_swigt__p_wxSizer,
22436 &_swigt__p_wxSizerItem,
22437 &_swigt__p_wxStaticBoxSizer,
22438 &_swigt__p_wxStdDialogButtonSizer,
22439 &_swigt__p_wxStyledTextCtrl,
22440 &_swigt__p_wxStyledTextEvent,
22441 &_swigt__p_wxSysColourChangedEvent,
22442 &_swigt__p_wxSystemOptions,
22443 &_swigt__p_wxTGAHandler,
22444 &_swigt__p_wxTIFFHandler,
22445 &_swigt__p_wxTimerEvent,
22446 &_swigt__p_wxToolTip,
22447 &_swigt__p_wxUpdateUIEvent,
22448 &_swigt__p_wxValidator,
22449 &_swigt__p_wxWindow,
22450 &_swigt__p_wxWindowCreateEvent,
22451 &_swigt__p_wxWindowDestroyEvent,
22452 &_swigt__p_wxXPMHandler,
22453 };
22454
22455 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22456 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22457 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22458 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22459 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22460 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22461 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
22462 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22463 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22464 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22465 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22466 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22467 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22468 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22469 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22470 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22471 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22472 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22473 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22474 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}};
22475 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22476 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}};
22477 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
22478 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22479 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22480 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22481 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22482 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22483 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22484 static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
22485 static swig_cast_info _swigc__p_wxPowerEvent[] = {{&_swigt__p_wxPowerEvent, 0, 0, 0},{0, 0, 0, 0}};
22486 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22487 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22488 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
22489 static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
22490 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22491 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22492 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22493 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22494 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22495 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22496 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22497 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22498 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22499 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22500 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22501 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22502 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22503 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22504 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22505 static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
22506 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22507 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22508 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22509 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22510 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_wxPowerEvent, _p_wxPowerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
22511 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22512 static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
22513 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22514 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22515 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22516 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22517 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
22518 static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
22519 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_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
22520 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22521 static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
22522 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22523 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22524 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22525 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22526 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22527 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22528 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22529 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22530 static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
22531 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22532 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22533 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22534 static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
22535 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22536 static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
22537 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22538 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
22539 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22540 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22541 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22542 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22543 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22544 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22545 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22546 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22547 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22548 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22549 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22550 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22551 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22552 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22553 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22554 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22555 static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
22556 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22557 static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
22558 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPowerEvent, _p_wxPowerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_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_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
22559 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22560 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22561 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22562 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
22563 static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
22564 static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
22565 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}};
22566
22567 static swig_cast_info *swig_cast_initial[] = {
22568 _swigc__p_char,
22569 _swigc__p_form_ops_t,
22570 _swigc__p_int,
22571 _swigc__p_unsigned_char,
22572 _swigc__p_unsigned_int,
22573 _swigc__p_unsigned_long,
22574 _swigc__p_void,
22575 _swigc__p_wxANIHandler,
22576 _swigc__p_wxAcceleratorTable,
22577 _swigc__p_wxActivateEvent,
22578 _swigc__p_wxBMPHandler,
22579 _swigc__p_wxBitmap,
22580 _swigc__p_wxBoxSizer,
22581 _swigc__p_wxBusyInfo,
22582 _swigc__p_wxCURHandler,
22583 _swigc__p_wxChildFocusEvent,
22584 _swigc__p_wxClipboard,
22585 _swigc__p_wxClipboardTextEvent,
22586 _swigc__p_wxCloseEvent,
22587 _swigc__p_wxColour,
22588 _swigc__p_wxCommandEvent,
22589 _swigc__p_wxContextMenuEvent,
22590 _swigc__p_wxControl,
22591 _swigc__p_wxControlWithItems,
22592 _swigc__p_wxDC,
22593 _swigc__p_wxDateEvent,
22594 _swigc__p_wxDisplayChangedEvent,
22595 _swigc__p_wxDropFilesEvent,
22596 _swigc__p_wxDuplexMode,
22597 _swigc__p_wxEraseEvent,
22598 _swigc__p_wxEvent,
22599 _swigc__p_wxEventBlocker,
22600 _swigc__p_wxEvtHandler,
22601 _swigc__p_wxFSFile,
22602 _swigc__p_wxFileHistory,
22603 _swigc__p_wxFileSystem,
22604 _swigc__p_wxFlexGridSizer,
22605 _swigc__p_wxFocusEvent,
22606 _swigc__p_wxFont,
22607 _swigc__p_wxGBSizerItem,
22608 _swigc__p_wxGIFHandler,
22609 _swigc__p_wxGridBagSizer,
22610 _swigc__p_wxGridSizer,
22611 _swigc__p_wxICOHandler,
22612 _swigc__p_wxIconizeEvent,
22613 _swigc__p_wxIdleEvent,
22614 _swigc__p_wxImage,
22615 _swigc__p_wxImageHandler,
22616 _swigc__p_wxIndividualLayoutConstraint,
22617 _swigc__p_wxInitDialogEvent,
22618 _swigc__p_wxJPEGHandler,
22619 _swigc__p_wxJoystickEvent,
22620 _swigc__p_wxKeyEvent,
22621 _swigc__p_wxLayoutConstraints,
22622 _swigc__p_wxMaximizeEvent,
22623 _swigc__p_wxMemoryBuffer,
22624 _swigc__p_wxMenu,
22625 _swigc__p_wxMenuBar,
22626 _swigc__p_wxMenuEvent,
22627 _swigc__p_wxMenuItem,
22628 _swigc__p_wxMouseCaptureChangedEvent,
22629 _swigc__p_wxMouseCaptureLostEvent,
22630 _swigc__p_wxMouseEvent,
22631 _swigc__p_wxMoveEvent,
22632 _swigc__p_wxNavigationKeyEvent,
22633 _swigc__p_wxNcPaintEvent,
22634 _swigc__p_wxNotifyEvent,
22635 _swigc__p_wxObject,
22636 _swigc__p_wxPCXHandler,
22637 _swigc__p_wxPNGHandler,
22638 _swigc__p_wxPNMHandler,
22639 _swigc__p_wxPaintEvent,
22640 _swigc__p_wxPaletteChangedEvent,
22641 _swigc__p_wxPaperSize,
22642 _swigc__p_wxPoint,
22643 _swigc__p_wxPowerEvent,
22644 _swigc__p_wxProcessEvent,
22645 _swigc__p_wxPyApp,
22646 _swigc__p_wxPyCommandEvent,
22647 _swigc__p_wxPyEvent,
22648 _swigc__p_wxPyImageHandler,
22649 _swigc__p_wxPyProcess,
22650 _swigc__p_wxPySizer,
22651 _swigc__p_wxPyTimer,
22652 _swigc__p_wxPyValidator,
22653 _swigc__p_wxQueryNewPaletteEvent,
22654 _swigc__p_wxRect,
22655 _swigc__p_wxScrollBar,
22656 _swigc__p_wxScrollEvent,
22657 _swigc__p_wxScrollWinEvent,
22658 _swigc__p_wxSetCursorEvent,
22659 _swigc__p_wxShowEvent,
22660 _swigc__p_wxSizeEvent,
22661 _swigc__p_wxSizer,
22662 _swigc__p_wxSizerItem,
22663 _swigc__p_wxStaticBoxSizer,
22664 _swigc__p_wxStdDialogButtonSizer,
22665 _swigc__p_wxStyledTextCtrl,
22666 _swigc__p_wxStyledTextEvent,
22667 _swigc__p_wxSysColourChangedEvent,
22668 _swigc__p_wxSystemOptions,
22669 _swigc__p_wxTGAHandler,
22670 _swigc__p_wxTIFFHandler,
22671 _swigc__p_wxTimerEvent,
22672 _swigc__p_wxToolTip,
22673 _swigc__p_wxUpdateUIEvent,
22674 _swigc__p_wxValidator,
22675 _swigc__p_wxWindow,
22676 _swigc__p_wxWindowCreateEvent,
22677 _swigc__p_wxWindowDestroyEvent,
22678 _swigc__p_wxXPMHandler,
22679 };
22680
22681
22682 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22683
22684 static swig_const_info swig_const_table[] = {
22685 {0, 0, 0, 0.0, 0, 0}};
22686
22687 #ifdef __cplusplus
22688 }
22689 #endif
22690 /* -----------------------------------------------------------------------------
22691 * Type initialization:
22692 * This problem is tough by the requirement that no dynamic
22693 * memory is used. Also, since swig_type_info structures store pointers to
22694 * swig_cast_info structures and swig_cast_info structures store pointers back
22695 * to swig_type_info structures, we need some lookup code at initialization.
22696 * The idea is that swig generates all the structures that are needed.
22697 * The runtime then collects these partially filled structures.
22698 * The SWIG_InitializeModule function takes these initial arrays out of
22699 * swig_module, and does all the lookup, filling in the swig_module.types
22700 * array with the correct data and linking the correct swig_cast_info
22701 * structures together.
22702 *
22703 * The generated swig_type_info structures are assigned staticly to an initial
22704 * array. We just loop though that array, and handle each type individually.
22705 * First we lookup if this type has been already loaded, and if so, use the
22706 * loaded structure instead of the generated one. Then we have to fill in the
22707 * cast linked list. The cast data is initially stored in something like a
22708 * two-dimensional array. Each row corresponds to a type (there are the same
22709 * number of rows as there are in the swig_type_initial array). Each entry in
22710 * a column is one of the swig_cast_info structures for that type.
22711 * The cast_initial array is actually an array of arrays, because each row has
22712 * a variable number of columns. So to actually build the cast linked list,
22713 * we find the array of casts associated with the type, and loop through it
22714 * adding the casts to the list. The one last trick we need to do is making
22715 * sure the type pointer in the swig_cast_info struct is correct.
22716 *
22717 * First off, we lookup the cast->type name to see if it is already loaded.
22718 * There are three cases to handle:
22719 * 1) If the cast->type has already been loaded AND the type we are adding
22720 * casting info to has not been loaded (it is in this module), THEN we
22721 * replace the cast->type pointer with the type pointer that has already
22722 * been loaded.
22723 * 2) If BOTH types (the one we are adding casting info to, and the
22724 * cast->type) are loaded, THEN the cast info has already been loaded by
22725 * the previous module so we just ignore it.
22726 * 3) Finally, if cast->type has not already been loaded, then we add that
22727 * swig_cast_info to the linked list (because the cast->type) pointer will
22728 * be correct.
22729 * ----------------------------------------------------------------------------- */
22730
22731 #ifdef __cplusplus
22732 extern "C" {
22733 #if 0
22734 } /* c-mode */
22735 #endif
22736 #endif
22737
22738 #if 0
22739 #define SWIGRUNTIME_DEBUG
22740 #endif
22741
22742 SWIGRUNTIME void
22743 SWIG_InitializeModule(void *clientdata) {
22744 size_t i;
22745 swig_module_info *module_head;
22746 static int init_run = 0;
22747
22748 clientdata = clientdata;
22749
22750 if (init_run) return;
22751 init_run = 1;
22752
22753 /* Initialize the swig_module */
22754 swig_module.type_initial = swig_type_initial;
22755 swig_module.cast_initial = swig_cast_initial;
22756
22757 /* Try and load any already created modules */
22758 module_head = SWIG_GetModule(clientdata);
22759 if (module_head) {
22760 swig_module.next = module_head->next;
22761 module_head->next = &swig_module;
22762 } else {
22763 /* This is the first module loaded */
22764 swig_module.next = &swig_module;
22765 SWIG_SetModule(clientdata, &swig_module);
22766 }
22767
22768 /* Now work on filling in swig_module.types */
22769 #ifdef SWIGRUNTIME_DEBUG
22770 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
22771 #endif
22772 for (i = 0; i < swig_module.size; ++i) {
22773 swig_type_info *type = 0;
22774 swig_type_info *ret;
22775 swig_cast_info *cast;
22776
22777 #ifdef SWIGRUNTIME_DEBUG
22778 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22779 #endif
22780
22781 /* if there is another module already loaded */
22782 if (swig_module.next != &swig_module) {
22783 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
22784 }
22785 if (type) {
22786 /* Overwrite clientdata field */
22787 #ifdef SWIGRUNTIME_DEBUG
22788 printf("SWIG_InitializeModule: found type %s\n", type->name);
22789 #endif
22790 if (swig_module.type_initial[i]->clientdata) {
22791 type->clientdata = swig_module.type_initial[i]->clientdata;
22792 #ifdef SWIGRUNTIME_DEBUG
22793 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
22794 #endif
22795 }
22796 } else {
22797 type = swig_module.type_initial[i];
22798 }
22799
22800 /* Insert casting types */
22801 cast = swig_module.cast_initial[i];
22802 while (cast->type) {
22803 /* Don't need to add information already in the list */
22804 ret = 0;
22805 #ifdef SWIGRUNTIME_DEBUG
22806 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
22807 #endif
22808 if (swig_module.next != &swig_module) {
22809 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
22810 #ifdef SWIGRUNTIME_DEBUG
22811 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
22812 #endif
22813 }
22814 if (ret) {
22815 if (type == swig_module.type_initial[i]) {
22816 #ifdef SWIGRUNTIME_DEBUG
22817 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
22818 #endif
22819 cast->type = ret;
22820 ret = 0;
22821 } else {
22822 /* Check for casting already in the list */
22823 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
22824 #ifdef SWIGRUNTIME_DEBUG
22825 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
22826 #endif
22827 if (!ocast) ret = 0;
22828 }
22829 }
22830
22831 if (!ret) {
22832 #ifdef SWIGRUNTIME_DEBUG
22833 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
22834 #endif
22835 if (type->cast) {
22836 type->cast->prev = cast;
22837 cast->next = type->cast;
22838 }
22839 type->cast = cast;
22840 }
22841 cast++;
22842 }
22843 /* Set entry in modules->types array equal to the type */
22844 swig_module.types[i] = type;
22845 }
22846 swig_module.types[i] = 0;
22847
22848 #ifdef SWIGRUNTIME_DEBUG
22849 printf("**** SWIG_InitializeModule: Cast List ******\n");
22850 for (i = 0; i < swig_module.size; ++i) {
22851 int j = 0;
22852 swig_cast_info *cast = swig_module.cast_initial[i];
22853 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
22854 while (cast->type) {
22855 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
22856 cast++;
22857 ++j;
22858 }
22859 printf("---- Total casts: %d\n",j);
22860 }
22861 printf("**** SWIG_InitializeModule: Cast List ******\n");
22862 #endif
22863 }
22864
22865 /* This function will propagate the clientdata field of type to
22866 * any new swig_type_info structures that have been added into the list
22867 * of equivalent types. It is like calling
22868 * SWIG_TypeClientData(type, clientdata) a second time.
22869 */
22870 SWIGRUNTIME void
22871 SWIG_PropagateClientData(void) {
22872 size_t i;
22873 swig_cast_info *equiv;
22874 static int init_run = 0;
22875
22876 if (init_run) return;
22877 init_run = 1;
22878
22879 for (i = 0; i < swig_module.size; i++) {
22880 if (swig_module.types[i]->clientdata) {
22881 equiv = swig_module.types[i]->cast;
22882 while (equiv) {
22883 if (!equiv->converter) {
22884 if (equiv->type && !equiv->type->clientdata)
22885 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
22886 }
22887 equiv = equiv->next;
22888 }
22889 }
22890 }
22891 }
22892
22893 #ifdef __cplusplus
22894 #if 0
22895 {
22896 /* c-mode */
22897 #endif
22898 }
22899 #endif
22900
22901
22902
22903 #ifdef __cplusplus
22904 extern "C" {
22905 #endif
22906
22907 /* Python-specific SWIG API */
22908 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22909 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22910 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22911
22912 /* -----------------------------------------------------------------------------
22913 * global variable support code.
22914 * ----------------------------------------------------------------------------- */
22915
22916 typedef struct swig_globalvar {
22917 char *name; /* Name of global variable */
22918 PyObject *(*get_attr)(void); /* Return the current value */
22919 int (*set_attr)(PyObject *); /* Set the value */
22920 struct swig_globalvar *next;
22921 } swig_globalvar;
22922
22923 typedef struct swig_varlinkobject {
22924 PyObject_HEAD
22925 swig_globalvar *vars;
22926 } swig_varlinkobject;
22927
22928 SWIGINTERN PyObject *
22929 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
22930 return PyString_FromString("<Swig global variables>");
22931 }
22932
22933 SWIGINTERN PyObject *
22934 swig_varlink_str(swig_varlinkobject *v) {
22935 PyObject *str = PyString_FromString("(");
22936 swig_globalvar *var;
22937 for (var = v->vars; var; var=var->next) {
22938 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
22939 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
22940 }
22941 PyString_ConcatAndDel(&str,PyString_FromString(")"));
22942 return str;
22943 }
22944
22945 SWIGINTERN int
22946 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
22947 PyObject *str = swig_varlink_str(v);
22948 fprintf(fp,"Swig global variables ");
22949 fprintf(fp,"%s\n", PyString_AsString(str));
22950 Py_DECREF(str);
22951 return 0;
22952 }
22953
22954 SWIGINTERN void
22955 swig_varlink_dealloc(swig_varlinkobject *v) {
22956 swig_globalvar *var = v->vars;
22957 while (var) {
22958 swig_globalvar *n = var->next;
22959 free(var->name);
22960 free(var);
22961 var = n;
22962 }
22963 }
22964
22965 SWIGINTERN PyObject *
22966 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
22967 PyObject *res = NULL;
22968 swig_globalvar *var = v->vars;
22969 while (var) {
22970 if (strcmp(var->name,n) == 0) {
22971 res = (*var->get_attr)();
22972 break;
22973 }
22974 var = var->next;
22975 }
22976 if (res == NULL && !PyErr_Occurred()) {
22977 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22978 }
22979 return res;
22980 }
22981
22982 SWIGINTERN int
22983 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
22984 int res = 1;
22985 swig_globalvar *var = v->vars;
22986 while (var) {
22987 if (strcmp(var->name,n) == 0) {
22988 res = (*var->set_attr)(p);
22989 break;
22990 }
22991 var = var->next;
22992 }
22993 if (res == 1 && !PyErr_Occurred()) {
22994 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
22995 }
22996 return res;
22997 }
22998
22999 SWIGINTERN PyTypeObject*
23000 swig_varlink_type(void) {
23001 static char varlink__doc__[] = "Swig var link object";
23002 static PyTypeObject varlink_type;
23003 static int type_init = 0;
23004 if (!type_init) {
23005 const PyTypeObject tmp
23006 = {
23007 PyObject_HEAD_INIT(NULL)
23008 0, /* Number of items in variable part (ob_size) */
23009 (char *)"swigvarlink", /* Type name (tp_name) */
23010 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
23011 0, /* Itemsize (tp_itemsize) */
23012 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
23013 (printfunc) swig_varlink_print, /* Print (tp_print) */
23014 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
23015 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
23016 0, /* tp_compare */
23017 (reprfunc) swig_varlink_repr, /* tp_repr */
23018 0, /* tp_as_number */
23019 0, /* tp_as_sequence */
23020 0, /* tp_as_mapping */
23021 0, /* tp_hash */
23022 0, /* tp_call */
23023 (reprfunc)swig_varlink_str, /* tp_str */
23024 0, /* tp_getattro */
23025 0, /* tp_setattro */
23026 0, /* tp_as_buffer */
23027 0, /* tp_flags */
23028 varlink__doc__, /* tp_doc */
23029 0, /* tp_traverse */
23030 0, /* tp_clear */
23031 0, /* tp_richcompare */
23032 0, /* tp_weaklistoffset */
23033 #if PY_VERSION_HEX >= 0x02020000
23034 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23035 #endif
23036 #if PY_VERSION_HEX >= 0x02030000
23037 0, /* tp_del */
23038 #endif
23039 #ifdef COUNT_ALLOCS
23040 0,0,0,0 /* tp_alloc -> tp_next */
23041 #endif
23042 };
23043 varlink_type = tmp;
23044 varlink_type.ob_type = &PyType_Type;
23045 type_init = 1;
23046 }
23047 return &varlink_type;
23048 }
23049
23050 /* Create a variable linking object for use later */
23051 SWIGINTERN PyObject *
23052 SWIG_Python_newvarlink(void) {
23053 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
23054 if (result) {
23055 result->vars = 0;
23056 }
23057 return ((PyObject*) result);
23058 }
23059
23060 SWIGINTERN void
23061 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
23062 swig_varlinkobject *v = (swig_varlinkobject *) p;
23063 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
23064 if (gv) {
23065 size_t size = strlen(name)+1;
23066 gv->name = (char *)malloc(size);
23067 if (gv->name) {
23068 strncpy(gv->name,name,size);
23069 gv->get_attr = get_attr;
23070 gv->set_attr = set_attr;
23071 gv->next = v->vars;
23072 }
23073 }
23074 v->vars = gv;
23075 }
23076
23077 SWIGINTERN PyObject *
23078 SWIG_globals() {
23079 static PyObject *_SWIG_globals = 0;
23080 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
23081 return _SWIG_globals;
23082 }
23083
23084 /* -----------------------------------------------------------------------------
23085 * constants/methods manipulation
23086 * ----------------------------------------------------------------------------- */
23087
23088 /* Install Constants */
23089 SWIGINTERN void
23090 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
23091 PyObject *obj = 0;
23092 size_t i;
23093 for (i = 0; constants[i].type; ++i) {
23094 switch(constants[i].type) {
23095 case SWIG_PY_POINTER:
23096 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23097 break;
23098 case SWIG_PY_BINARY:
23099 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23100 break;
23101 default:
23102 obj = 0;
23103 break;
23104 }
23105 if (obj) {
23106 PyDict_SetItemString(d, constants[i].name, obj);
23107 Py_DECREF(obj);
23108 }
23109 }
23110 }
23111
23112 /* -----------------------------------------------------------------------------*/
23113 /* Fix SwigMethods to carry the callback ptrs when needed */
23114 /* -----------------------------------------------------------------------------*/
23115
23116 SWIGINTERN void
23117 SWIG_Python_FixMethods(PyMethodDef *methods,
23118 swig_const_info *const_table,
23119 swig_type_info **types,
23120 swig_type_info **types_initial) {
23121 size_t i;
23122 for (i = 0; methods[i].ml_name; ++i) {
23123 const char *c = methods[i].ml_doc;
23124 if (c && (c = strstr(c, "swig_ptr: "))) {
23125 int j;
23126 swig_const_info *ci = 0;
23127 const char *name = c + 10;
23128 for (j = 0; const_table[j].type; ++j) {
23129 if (strncmp(const_table[j].name, name,
23130 strlen(const_table[j].name)) == 0) {
23131 ci = &(const_table[j]);
23132 break;
23133 }
23134 }
23135 if (ci) {
23136 size_t shift = (ci->ptype) - types;
23137 swig_type_info *ty = types_initial[shift];
23138 size_t ldoc = (c - methods[i].ml_doc);
23139 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23140 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23141 if (ndoc) {
23142 char *buff = ndoc;
23143 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23144 if (ptr) {
23145 strncpy(buff, methods[i].ml_doc, ldoc);
23146 buff += ldoc;
23147 strncpy(buff, "swig_ptr: ", 10);
23148 buff += 10;
23149 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23150 methods[i].ml_doc = ndoc;
23151 }
23152 }
23153 }
23154 }
23155 }
23156 }
23157
23158 #ifdef __cplusplus
23159 }
23160 #endif
23161
23162 /* -----------------------------------------------------------------------------*
23163 * Partial Init method
23164 * -----------------------------------------------------------------------------*/
23165
23166 #ifdef __cplusplus
23167 extern "C"
23168 #endif
23169 SWIGEXPORT void SWIG_init(void) {
23170 PyObject *m, *d;
23171
23172 /* Fix SwigMethods to carry the callback ptrs when needed */
23173 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
23174
23175 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23176 d = PyModule_GetDict(m);
23177
23178 SWIG_InitializeModule(0);
23179 SWIG_InstallConstants(d,swig_const_table);
23180
23181
23182 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
23183 SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
23184 SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
23185 SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
23186 SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
23187 SWIG_Python_SetConstant(d, "STC_START",SWIG_From_int(static_cast< int >(2000)));
23188 SWIG_Python_SetConstant(d, "STC_OPTIONAL_START",SWIG_From_int(static_cast< int >(3000)));
23189 SWIG_Python_SetConstant(d, "STC_LEXER_START",SWIG_From_int(static_cast< int >(4000)));
23190 SWIG_Python_SetConstant(d, "STC_WS_INVISIBLE",SWIG_From_int(static_cast< int >(0)));
23191 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEALWAYS",SWIG_From_int(static_cast< int >(1)));
23192 SWIG_Python_SetConstant(d, "STC_WS_VISIBLEAFTERINDENT",SWIG_From_int(static_cast< int >(2)));
23193 SWIG_Python_SetConstant(d, "STC_EOL_CRLF",SWIG_From_int(static_cast< int >(0)));
23194 SWIG_Python_SetConstant(d, "STC_EOL_CR",SWIG_From_int(static_cast< int >(1)));
23195 SWIG_Python_SetConstant(d, "STC_EOL_LF",SWIG_From_int(static_cast< int >(2)));
23196 SWIG_Python_SetConstant(d, "STC_CP_UTF8",SWIG_From_int(static_cast< int >(65001)));
23197 SWIG_Python_SetConstant(d, "STC_CP_DBCS",SWIG_From_int(static_cast< int >(1)));
23198 SWIG_Python_SetConstant(d, "STC_MARKER_MAX",SWIG_From_int(static_cast< int >(31)));
23199 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLE",SWIG_From_int(static_cast< int >(0)));
23200 SWIG_Python_SetConstant(d, "STC_MARK_ROUNDRECT",SWIG_From_int(static_cast< int >(1)));
23201 SWIG_Python_SetConstant(d, "STC_MARK_ARROW",SWIG_From_int(static_cast< int >(2)));
23202 SWIG_Python_SetConstant(d, "STC_MARK_SMALLRECT",SWIG_From_int(static_cast< int >(3)));
23203 SWIG_Python_SetConstant(d, "STC_MARK_SHORTARROW",SWIG_From_int(static_cast< int >(4)));
23204 SWIG_Python_SetConstant(d, "STC_MARK_EMPTY",SWIG_From_int(static_cast< int >(5)));
23205 SWIG_Python_SetConstant(d, "STC_MARK_ARROWDOWN",SWIG_From_int(static_cast< int >(6)));
23206 SWIG_Python_SetConstant(d, "STC_MARK_MINUS",SWIG_From_int(static_cast< int >(7)));
23207 SWIG_Python_SetConstant(d, "STC_MARK_PLUS",SWIG_From_int(static_cast< int >(8)));
23208 SWIG_Python_SetConstant(d, "STC_MARK_VLINE",SWIG_From_int(static_cast< int >(9)));
23209 SWIG_Python_SetConstant(d, "STC_MARK_LCORNER",SWIG_From_int(static_cast< int >(10)));
23210 SWIG_Python_SetConstant(d, "STC_MARK_TCORNER",SWIG_From_int(static_cast< int >(11)));
23211 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUS",SWIG_From_int(static_cast< int >(12)));
23212 SWIG_Python_SetConstant(d, "STC_MARK_BOXPLUSCONNECTED",SWIG_From_int(static_cast< int >(13)));
23213 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUS",SWIG_From_int(static_cast< int >(14)));
23214 SWIG_Python_SetConstant(d, "STC_MARK_BOXMINUSCONNECTED",SWIG_From_int(static_cast< int >(15)));
23215 SWIG_Python_SetConstant(d, "STC_MARK_LCORNERCURVE",SWIG_From_int(static_cast< int >(16)));
23216 SWIG_Python_SetConstant(d, "STC_MARK_TCORNERCURVE",SWIG_From_int(static_cast< int >(17)));
23217 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUS",SWIG_From_int(static_cast< int >(18)));
23218 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEPLUSCONNECTED",SWIG_From_int(static_cast< int >(19)));
23219 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUS",SWIG_From_int(static_cast< int >(20)));
23220 SWIG_Python_SetConstant(d, "STC_MARK_CIRCLEMINUSCONNECTED",SWIG_From_int(static_cast< int >(21)));
23221 SWIG_Python_SetConstant(d, "STC_MARK_BACKGROUND",SWIG_From_int(static_cast< int >(22)));
23222 SWIG_Python_SetConstant(d, "STC_MARK_DOTDOTDOT",SWIG_From_int(static_cast< int >(23)));
23223 SWIG_Python_SetConstant(d, "STC_MARK_ARROWS",SWIG_From_int(static_cast< int >(24)));
23224 SWIG_Python_SetConstant(d, "STC_MARK_PIXMAP",SWIG_From_int(static_cast< int >(25)));
23225 SWIG_Python_SetConstant(d, "STC_MARK_FULLRECT",SWIG_From_int(static_cast< int >(26)));
23226 SWIG_Python_SetConstant(d, "STC_MARK_CHARACTER",SWIG_From_int(static_cast< int >(10000)));
23227 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEREND",SWIG_From_int(static_cast< int >(25)));
23228 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPENMID",SWIG_From_int(static_cast< int >(26)));
23229 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERMIDTAIL",SWIG_From_int(static_cast< int >(27)));
23230 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERTAIL",SWIG_From_int(static_cast< int >(28)));
23231 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDERSUB",SWIG_From_int(static_cast< int >(29)));
23232 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDER",SWIG_From_int(static_cast< int >(30)));
23233 SWIG_Python_SetConstant(d, "STC_MARKNUM_FOLDEROPEN",SWIG_From_int(static_cast< int >(31)));
23234 SWIG_Python_SetConstant(d, "STC_MASK_FOLDERS",SWIG_From_int(static_cast< int >(0xFE000000)));
23235 SWIG_Python_SetConstant(d, "STC_MARGIN_SYMBOL",SWIG_From_int(static_cast< int >(0)));
23236 SWIG_Python_SetConstant(d, "STC_MARGIN_NUMBER",SWIG_From_int(static_cast< int >(1)));
23237 SWIG_Python_SetConstant(d, "STC_MARGIN_BACK",SWIG_From_int(static_cast< int >(2)));
23238 SWIG_Python_SetConstant(d, "STC_MARGIN_FORE",SWIG_From_int(static_cast< int >(3)));
23239 SWIG_Python_SetConstant(d, "STC_STYLE_DEFAULT",SWIG_From_int(static_cast< int >(32)));
23240 SWIG_Python_SetConstant(d, "STC_STYLE_LINENUMBER",SWIG_From_int(static_cast< int >(33)));
23241 SWIG_Python_SetConstant(d, "STC_STYLE_BRACELIGHT",SWIG_From_int(static_cast< int >(34)));
23242 SWIG_Python_SetConstant(d, "STC_STYLE_BRACEBAD",SWIG_From_int(static_cast< int >(35)));
23243 SWIG_Python_SetConstant(d, "STC_STYLE_CONTROLCHAR",SWIG_From_int(static_cast< int >(36)));
23244 SWIG_Python_SetConstant(d, "STC_STYLE_INDENTGUIDE",SWIG_From_int(static_cast< int >(37)));
23245 SWIG_Python_SetConstant(d, "STC_STYLE_CALLTIP",SWIG_From_int(static_cast< int >(38)));
23246 SWIG_Python_SetConstant(d, "STC_STYLE_LASTPREDEFINED",SWIG_From_int(static_cast< int >(39)));
23247 SWIG_Python_SetConstant(d, "STC_STYLE_MAX",SWIG_From_int(static_cast< int >(127)));
23248 SWIG_Python_SetConstant(d, "STC_CHARSET_ANSI",SWIG_From_int(static_cast< int >(0)));
23249 SWIG_Python_SetConstant(d, "STC_CHARSET_DEFAULT",SWIG_From_int(static_cast< int >(1)));
23250 SWIG_Python_SetConstant(d, "STC_CHARSET_BALTIC",SWIG_From_int(static_cast< int >(186)));
23251 SWIG_Python_SetConstant(d, "STC_CHARSET_CHINESEBIG5",SWIG_From_int(static_cast< int >(136)));
23252 SWIG_Python_SetConstant(d, "STC_CHARSET_EASTEUROPE",SWIG_From_int(static_cast< int >(238)));
23253 SWIG_Python_SetConstant(d, "STC_CHARSET_GB2312",SWIG_From_int(static_cast< int >(134)));
23254 SWIG_Python_SetConstant(d, "STC_CHARSET_GREEK",SWIG_From_int(static_cast< int >(161)));
23255 SWIG_Python_SetConstant(d, "STC_CHARSET_HANGUL",SWIG_From_int(static_cast< int >(129)));
23256 SWIG_Python_SetConstant(d, "STC_CHARSET_MAC",SWIG_From_int(static_cast< int >(77)));
23257 SWIG_Python_SetConstant(d, "STC_CHARSET_OEM",SWIG_From_int(static_cast< int >(255)));
23258 SWIG_Python_SetConstant(d, "STC_CHARSET_RUSSIAN",SWIG_From_int(static_cast< int >(204)));
23259 SWIG_Python_SetConstant(d, "STC_CHARSET_CYRILLIC",SWIG_From_int(static_cast< int >(1251)));
23260 SWIG_Python_SetConstant(d, "STC_CHARSET_SHIFTJIS",SWIG_From_int(static_cast< int >(128)));
23261 SWIG_Python_SetConstant(d, "STC_CHARSET_SYMBOL",SWIG_From_int(static_cast< int >(2)));
23262 SWIG_Python_SetConstant(d, "STC_CHARSET_TURKISH",SWIG_From_int(static_cast< int >(162)));
23263 SWIG_Python_SetConstant(d, "STC_CHARSET_JOHAB",SWIG_From_int(static_cast< int >(130)));
23264 SWIG_Python_SetConstant(d, "STC_CHARSET_HEBREW",SWIG_From_int(static_cast< int >(177)));
23265 SWIG_Python_SetConstant(d, "STC_CHARSET_ARABIC",SWIG_From_int(static_cast< int >(178)));
23266 SWIG_Python_SetConstant(d, "STC_CHARSET_VIETNAMESE",SWIG_From_int(static_cast< int >(163)));
23267 SWIG_Python_SetConstant(d, "STC_CHARSET_THAI",SWIG_From_int(static_cast< int >(222)));
23268 SWIG_Python_SetConstant(d, "STC_CHARSET_8859_15",SWIG_From_int(static_cast< int >(1000)));
23269 SWIG_Python_SetConstant(d, "STC_CASE_MIXED",SWIG_From_int(static_cast< int >(0)));
23270 SWIG_Python_SetConstant(d, "STC_CASE_UPPER",SWIG_From_int(static_cast< int >(1)));
23271 SWIG_Python_SetConstant(d, "STC_CASE_LOWER",SWIG_From_int(static_cast< int >(2)));
23272 SWIG_Python_SetConstant(d, "STC_INDIC_MAX",SWIG_From_int(static_cast< int >(7)));
23273 SWIG_Python_SetConstant(d, "STC_INDIC_PLAIN",SWIG_From_int(static_cast< int >(0)));
23274 SWIG_Python_SetConstant(d, "STC_INDIC_SQUIGGLE",SWIG_From_int(static_cast< int >(1)));
23275 SWIG_Python_SetConstant(d, "STC_INDIC_TT",SWIG_From_int(static_cast< int >(2)));
23276 SWIG_Python_SetConstant(d, "STC_INDIC_DIAGONAL",SWIG_From_int(static_cast< int >(3)));
23277 SWIG_Python_SetConstant(d, "STC_INDIC_STRIKE",SWIG_From_int(static_cast< int >(4)));
23278 SWIG_Python_SetConstant(d, "STC_INDIC_HIDDEN",SWIG_From_int(static_cast< int >(5)));
23279 SWIG_Python_SetConstant(d, "STC_INDIC_BOX",SWIG_From_int(static_cast< int >(6)));
23280 SWIG_Python_SetConstant(d, "STC_INDIC_ROUNDBOX",SWIG_From_int(static_cast< int >(7)));
23281 SWIG_Python_SetConstant(d, "STC_INDIC0_MASK",SWIG_From_int(static_cast< int >(0x20)));
23282 SWIG_Python_SetConstant(d, "STC_INDIC1_MASK",SWIG_From_int(static_cast< int >(0x40)));
23283 SWIG_Python_SetConstant(d, "STC_INDIC2_MASK",SWIG_From_int(static_cast< int >(0x80)));
23284 SWIG_Python_SetConstant(d, "STC_INDICS_MASK",SWIG_From_int(static_cast< int >(0xE0)));
23285 SWIG_Python_SetConstant(d, "STC_PRINT_NORMAL",SWIG_From_int(static_cast< int >(0)));
23286 SWIG_Python_SetConstant(d, "STC_PRINT_INVERTLIGHT",SWIG_From_int(static_cast< int >(1)));
23287 SWIG_Python_SetConstant(d, "STC_PRINT_BLACKONWHITE",SWIG_From_int(static_cast< int >(2)));
23288 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITE",SWIG_From_int(static_cast< int >(3)));
23289 SWIG_Python_SetConstant(d, "STC_PRINT_COLOURONWHITEDEFAULTBG",SWIG_From_int(static_cast< int >(4)));
23290 SWIG_Python_SetConstant(d, "STC_FIND_WHOLEWORD",SWIG_From_int(static_cast< int >(2)));
23291 SWIG_Python_SetConstant(d, "STC_FIND_MATCHCASE",SWIG_From_int(static_cast< int >(4)));
23292 SWIG_Python_SetConstant(d, "STC_FIND_WORDSTART",SWIG_From_int(static_cast< int >(0x00100000)));
23293 SWIG_Python_SetConstant(d, "STC_FIND_REGEXP",SWIG_From_int(static_cast< int >(0x00200000)));
23294 SWIG_Python_SetConstant(d, "STC_FIND_POSIX",SWIG_From_int(static_cast< int >(0x00400000)));
23295 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBASE",SWIG_From_int(static_cast< int >(0x400)));
23296 SWIG_Python_SetConstant(d, "STC_FOLDLEVELWHITEFLAG",SWIG_From_int(static_cast< int >(0x1000)));
23297 SWIG_Python_SetConstant(d, "STC_FOLDLEVELHEADERFLAG",SWIG_From_int(static_cast< int >(0x2000)));
23298 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXHEADERFLAG",SWIG_From_int(static_cast< int >(0x4000)));
23299 SWIG_Python_SetConstant(d, "STC_FOLDLEVELBOXFOOTERFLAG",SWIG_From_int(static_cast< int >(0x8000)));
23300 SWIG_Python_SetConstant(d, "STC_FOLDLEVELCONTRACTED",SWIG_From_int(static_cast< int >(0x10000)));
23301 SWIG_Python_SetConstant(d, "STC_FOLDLEVELUNINDENT",SWIG_From_int(static_cast< int >(0x20000)));
23302 SWIG_Python_SetConstant(d, "STC_FOLDLEVELNUMBERMASK",SWIG_From_int(static_cast< int >(0x0FFF)));
23303 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_EXPANDED",SWIG_From_int(static_cast< int >(0x0002)));
23304 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEBEFORE_CONTRACTED",SWIG_From_int(static_cast< int >(0x0004)));
23305 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_EXPANDED",SWIG_From_int(static_cast< int >(0x0008)));
23306 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LINEAFTER_CONTRACTED",SWIG_From_int(static_cast< int >(0x0010)));
23307 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_LEVELNUMBERS",SWIG_From_int(static_cast< int >(0x0040)));
23308 SWIG_Python_SetConstant(d, "STC_FOLDFLAG_BOX",SWIG_From_int(static_cast< int >(0x0001)));
23309 SWIG_Python_SetConstant(d, "STC_TIME_FOREVER",SWIG_From_int(static_cast< int >(10000000)));
23310 SWIG_Python_SetConstant(d, "STC_WRAP_NONE",SWIG_From_int(static_cast< int >(0)));
23311 SWIG_Python_SetConstant(d, "STC_WRAP_WORD",SWIG_From_int(static_cast< int >(1)));
23312 SWIG_Python_SetConstant(d, "STC_WRAP_CHAR",SWIG_From_int(static_cast< int >(2)));
23313 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_NONE",SWIG_From_int(static_cast< int >(0x0000)));
23314 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_END",SWIG_From_int(static_cast< int >(0x0001)));
23315 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAG_START",SWIG_From_int(static_cast< int >(0x0002)));
23316 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_DEFAULT",SWIG_From_int(static_cast< int >(0x0000)));
23317 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_END_BY_TEXT",SWIG_From_int(static_cast< int >(0x0001)));
23318 SWIG_Python_SetConstant(d, "STC_WRAPVISUALFLAGLOC_START_BY_TEXT",SWIG_From_int(static_cast< int >(0x0002)));
23319 SWIG_Python_SetConstant(d, "STC_CACHE_NONE",SWIG_From_int(static_cast< int >(0)));
23320 SWIG_Python_SetConstant(d, "STC_CACHE_CARET",SWIG_From_int(static_cast< int >(1)));
23321 SWIG_Python_SetConstant(d, "STC_CACHE_PAGE",SWIG_From_int(static_cast< int >(2)));
23322 SWIG_Python_SetConstant(d, "STC_CACHE_DOCUMENT",SWIG_From_int(static_cast< int >(3)));
23323 SWIG_Python_SetConstant(d, "STC_EDGE_NONE",SWIG_From_int(static_cast< int >(0)));
23324 SWIG_Python_SetConstant(d, "STC_EDGE_LINE",SWIG_From_int(static_cast< int >(1)));
23325 SWIG_Python_SetConstant(d, "STC_EDGE_BACKGROUND",SWIG_From_int(static_cast< int >(2)));
23326 SWIG_Python_SetConstant(d, "STC_CURSORNORMAL",SWIG_From_int(static_cast< int >(-1)));
23327 SWIG_Python_SetConstant(d, "STC_CURSORWAIT",SWIG_From_int(static_cast< int >(4)));
23328 SWIG_Python_SetConstant(d, "STC_VISIBLE_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23329 SWIG_Python_SetConstant(d, "STC_VISIBLE_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23330 SWIG_Python_SetConstant(d, "STC_CARET_SLOP",SWIG_From_int(static_cast< int >(0x01)));
23331 SWIG_Python_SetConstant(d, "STC_CARET_STRICT",SWIG_From_int(static_cast< int >(0x04)));
23332 SWIG_Python_SetConstant(d, "STC_CARET_JUMPS",SWIG_From_int(static_cast< int >(0x10)));
23333 SWIG_Python_SetConstant(d, "STC_CARET_EVEN",SWIG_From_int(static_cast< int >(0x08)));
23334 SWIG_Python_SetConstant(d, "STC_SEL_STREAM",SWIG_From_int(static_cast< int >(0)));
23335 SWIG_Python_SetConstant(d, "STC_SEL_RECTANGLE",SWIG_From_int(static_cast< int >(1)));
23336 SWIG_Python_SetConstant(d, "STC_SEL_LINES",SWIG_From_int(static_cast< int >(2)));
23337 SWIG_Python_SetConstant(d, "STC_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(0)));
23338 SWIG_Python_SetConstant(d, "STC_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(255)));
23339 SWIG_Python_SetConstant(d, "STC_ALPHA_NOALPHA",SWIG_From_int(static_cast< int >(256)));
23340 SWIG_Python_SetConstant(d, "STC_KEYWORDSET_MAX",SWIG_From_int(static_cast< int >(8)));
23341 SWIG_Python_SetConstant(d, "STC_MOD_INSERTTEXT",SWIG_From_int(static_cast< int >(0x1)));
23342 SWIG_Python_SetConstant(d, "STC_MOD_DELETETEXT",SWIG_From_int(static_cast< int >(0x2)));
23343 SWIG_Python_SetConstant(d, "STC_MOD_CHANGESTYLE",SWIG_From_int(static_cast< int >(0x4)));
23344 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEFOLD",SWIG_From_int(static_cast< int >(0x8)));
23345 SWIG_Python_SetConstant(d, "STC_PERFORMED_USER",SWIG_From_int(static_cast< int >(0x10)));
23346 SWIG_Python_SetConstant(d, "STC_PERFORMED_UNDO",SWIG_From_int(static_cast< int >(0x20)));
23347 SWIG_Python_SetConstant(d, "STC_PERFORMED_REDO",SWIG_From_int(static_cast< int >(0x40)));
23348 SWIG_Python_SetConstant(d, "STC_MULTISTEPUNDOREDO",SWIG_From_int(static_cast< int >(0x80)));
23349 SWIG_Python_SetConstant(d, "STC_LASTSTEPINUNDOREDO",SWIG_From_int(static_cast< int >(0x100)));
23350 SWIG_Python_SetConstant(d, "STC_MOD_CHANGEMARKER",SWIG_From_int(static_cast< int >(0x200)));
23351 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREINSERT",SWIG_From_int(static_cast< int >(0x400)));
23352 SWIG_Python_SetConstant(d, "STC_MOD_BEFOREDELETE",SWIG_From_int(static_cast< int >(0x800)));
23353 SWIG_Python_SetConstant(d, "STC_MULTILINEUNDOREDO",SWIG_From_int(static_cast< int >(0x1000)));
23354 SWIG_Python_SetConstant(d, "STC_MODEVENTMASKALL",SWIG_From_int(static_cast< int >(0x1FFF)));
23355 SWIG_Python_SetConstant(d, "STC_KEY_DOWN",SWIG_From_int(static_cast< int >(300)));
23356 SWIG_Python_SetConstant(d, "STC_KEY_UP",SWIG_From_int(static_cast< int >(301)));
23357 SWIG_Python_SetConstant(d, "STC_KEY_LEFT",SWIG_From_int(static_cast< int >(302)));
23358 SWIG_Python_SetConstant(d, "STC_KEY_RIGHT",SWIG_From_int(static_cast< int >(303)));
23359 SWIG_Python_SetConstant(d, "STC_KEY_HOME",SWIG_From_int(static_cast< int >(304)));
23360 SWIG_Python_SetConstant(d, "STC_KEY_END",SWIG_From_int(static_cast< int >(305)));
23361 SWIG_Python_SetConstant(d, "STC_KEY_PRIOR",SWIG_From_int(static_cast< int >(306)));
23362 SWIG_Python_SetConstant(d, "STC_KEY_NEXT",SWIG_From_int(static_cast< int >(307)));
23363 SWIG_Python_SetConstant(d, "STC_KEY_DELETE",SWIG_From_int(static_cast< int >(308)));
23364 SWIG_Python_SetConstant(d, "STC_KEY_INSERT",SWIG_From_int(static_cast< int >(309)));
23365 SWIG_Python_SetConstant(d, "STC_KEY_ESCAPE",SWIG_From_int(static_cast< int >(7)));
23366 SWIG_Python_SetConstant(d, "STC_KEY_BACK",SWIG_From_int(static_cast< int >(8)));
23367 SWIG_Python_SetConstant(d, "STC_KEY_TAB",SWIG_From_int(static_cast< int >(9)));
23368 SWIG_Python_SetConstant(d, "STC_KEY_RETURN",SWIG_From_int(static_cast< int >(13)));
23369 SWIG_Python_SetConstant(d, "STC_KEY_ADD",SWIG_From_int(static_cast< int >(310)));
23370 SWIG_Python_SetConstant(d, "STC_KEY_SUBTRACT",SWIG_From_int(static_cast< int >(311)));
23371 SWIG_Python_SetConstant(d, "STC_KEY_DIVIDE",SWIG_From_int(static_cast< int >(312)));
23372 SWIG_Python_SetConstant(d, "STC_SCMOD_NORM",SWIG_From_int(static_cast< int >(0)));
23373 SWIG_Python_SetConstant(d, "STC_SCMOD_SHIFT",SWIG_From_int(static_cast< int >(1)));
23374 SWIG_Python_SetConstant(d, "STC_SCMOD_CTRL",SWIG_From_int(static_cast< int >(2)));
23375 SWIG_Python_SetConstant(d, "STC_SCMOD_ALT",SWIG_From_int(static_cast< int >(4)));
23376 SWIG_Python_SetConstant(d, "STC_LEX_CONTAINER",SWIG_From_int(static_cast< int >(0)));
23377 SWIG_Python_SetConstant(d, "STC_LEX_NULL",SWIG_From_int(static_cast< int >(1)));
23378 SWIG_Python_SetConstant(d, "STC_LEX_PYTHON",SWIG_From_int(static_cast< int >(2)));
23379 SWIG_Python_SetConstant(d, "STC_LEX_CPP",SWIG_From_int(static_cast< int >(3)));
23380 SWIG_Python_SetConstant(d, "STC_LEX_HTML",SWIG_From_int(static_cast< int >(4)));
23381 SWIG_Python_SetConstant(d, "STC_LEX_XML",SWIG_From_int(static_cast< int >(5)));
23382 SWIG_Python_SetConstant(d, "STC_LEX_PERL",SWIG_From_int(static_cast< int >(6)));
23383 SWIG_Python_SetConstant(d, "STC_LEX_SQL",SWIG_From_int(static_cast< int >(7)));
23384 SWIG_Python_SetConstant(d, "STC_LEX_VB",SWIG_From_int(static_cast< int >(8)));
23385 SWIG_Python_SetConstant(d, "STC_LEX_PROPERTIES",SWIG_From_int(static_cast< int >(9)));
23386 SWIG_Python_SetConstant(d, "STC_LEX_ERRORLIST",SWIG_From_int(static_cast< int >(10)));
23387 SWIG_Python_SetConstant(d, "STC_LEX_MAKEFILE",SWIG_From_int(static_cast< int >(11)));
23388 SWIG_Python_SetConstant(d, "STC_LEX_BATCH",SWIG_From_int(static_cast< int >(12)));
23389 SWIG_Python_SetConstant(d, "STC_LEX_XCODE",SWIG_From_int(static_cast< int >(13)));
23390 SWIG_Python_SetConstant(d, "STC_LEX_LATEX",SWIG_From_int(static_cast< int >(14)));
23391 SWIG_Python_SetConstant(d, "STC_LEX_LUA",SWIG_From_int(static_cast< int >(15)));
23392 SWIG_Python_SetConstant(d, "STC_LEX_DIFF",SWIG_From_int(static_cast< int >(16)));
23393 SWIG_Python_SetConstant(d, "STC_LEX_CONF",SWIG_From_int(static_cast< int >(17)));
23394 SWIG_Python_SetConstant(d, "STC_LEX_PASCAL",SWIG_From_int(static_cast< int >(18)));
23395 SWIG_Python_SetConstant(d, "STC_LEX_AVE",SWIG_From_int(static_cast< int >(19)));
23396 SWIG_Python_SetConstant(d, "STC_LEX_ADA",SWIG_From_int(static_cast< int >(20)));
23397 SWIG_Python_SetConstant(d, "STC_LEX_LISP",SWIG_From_int(static_cast< int >(21)));
23398 SWIG_Python_SetConstant(d, "STC_LEX_RUBY",SWIG_From_int(static_cast< int >(22)));
23399 SWIG_Python_SetConstant(d, "STC_LEX_EIFFEL",SWIG_From_int(static_cast< int >(23)));
23400 SWIG_Python_SetConstant(d, "STC_LEX_EIFFELKW",SWIG_From_int(static_cast< int >(24)));
23401 SWIG_Python_SetConstant(d, "STC_LEX_TCL",SWIG_From_int(static_cast< int >(25)));
23402 SWIG_Python_SetConstant(d, "STC_LEX_NNCRONTAB",SWIG_From_int(static_cast< int >(26)));
23403 SWIG_Python_SetConstant(d, "STC_LEX_BULLANT",SWIG_From_int(static_cast< int >(27)));
23404 SWIG_Python_SetConstant(d, "STC_LEX_VBSCRIPT",SWIG_From_int(static_cast< int >(28)));
23405 SWIG_Python_SetConstant(d, "STC_LEX_BAAN",SWIG_From_int(static_cast< int >(31)));
23406 SWIG_Python_SetConstant(d, "STC_LEX_MATLAB",SWIG_From_int(static_cast< int >(32)));
23407 SWIG_Python_SetConstant(d, "STC_LEX_SCRIPTOL",SWIG_From_int(static_cast< int >(33)));
23408 SWIG_Python_SetConstant(d, "STC_LEX_ASM",SWIG_From_int(static_cast< int >(34)));
23409 SWIG_Python_SetConstant(d, "STC_LEX_CPPNOCASE",SWIG_From_int(static_cast< int >(35)));
23410 SWIG_Python_SetConstant(d, "STC_LEX_FORTRAN",SWIG_From_int(static_cast< int >(36)));
23411 SWIG_Python_SetConstant(d, "STC_LEX_F77",SWIG_From_int(static_cast< int >(37)));
23412 SWIG_Python_SetConstant(d, "STC_LEX_CSS",SWIG_From_int(static_cast< int >(38)));
23413 SWIG_Python_SetConstant(d, "STC_LEX_POV",SWIG_From_int(static_cast< int >(39)));
23414 SWIG_Python_SetConstant(d, "STC_LEX_LOUT",SWIG_From_int(static_cast< int >(40)));
23415 SWIG_Python_SetConstant(d, "STC_LEX_ESCRIPT",SWIG_From_int(static_cast< int >(41)));
23416 SWIG_Python_SetConstant(d, "STC_LEX_PS",SWIG_From_int(static_cast< int >(42)));
23417 SWIG_Python_SetConstant(d, "STC_LEX_NSIS",SWIG_From_int(static_cast< int >(43)));
23418 SWIG_Python_SetConstant(d, "STC_LEX_MMIXAL",SWIG_From_int(static_cast< int >(44)));
23419 SWIG_Python_SetConstant(d, "STC_LEX_CLW",SWIG_From_int(static_cast< int >(45)));
23420 SWIG_Python_SetConstant(d, "STC_LEX_CLWNOCASE",SWIG_From_int(static_cast< int >(46)));
23421 SWIG_Python_SetConstant(d, "STC_LEX_LOT",SWIG_From_int(static_cast< int >(47)));
23422 SWIG_Python_SetConstant(d, "STC_LEX_YAML",SWIG_From_int(static_cast< int >(48)));
23423 SWIG_Python_SetConstant(d, "STC_LEX_TEX",SWIG_From_int(static_cast< int >(49)));
23424 SWIG_Python_SetConstant(d, "STC_LEX_METAPOST",SWIG_From_int(static_cast< int >(50)));
23425 SWIG_Python_SetConstant(d, "STC_LEX_POWERBASIC",SWIG_From_int(static_cast< int >(51)));
23426 SWIG_Python_SetConstant(d, "STC_LEX_FORTH",SWIG_From_int(static_cast< int >(52)));
23427 SWIG_Python_SetConstant(d, "STC_LEX_ERLANG",SWIG_From_int(static_cast< int >(53)));
23428 SWIG_Python_SetConstant(d, "STC_LEX_OCTAVE",SWIG_From_int(static_cast< int >(54)));
23429 SWIG_Python_SetConstant(d, "STC_LEX_MSSQL",SWIG_From_int(static_cast< int >(55)));
23430 SWIG_Python_SetConstant(d, "STC_LEX_VERILOG",SWIG_From_int(static_cast< int >(56)));
23431 SWIG_Python_SetConstant(d, "STC_LEX_KIX",SWIG_From_int(static_cast< int >(57)));
23432 SWIG_Python_SetConstant(d, "STC_LEX_GUI4CLI",SWIG_From_int(static_cast< int >(58)));
23433 SWIG_Python_SetConstant(d, "STC_LEX_SPECMAN",SWIG_From_int(static_cast< int >(59)));
23434 SWIG_Python_SetConstant(d, "STC_LEX_AU3",SWIG_From_int(static_cast< int >(60)));
23435 SWIG_Python_SetConstant(d, "STC_LEX_APDL",SWIG_From_int(static_cast< int >(61)));
23436 SWIG_Python_SetConstant(d, "STC_LEX_BASH",SWIG_From_int(static_cast< int >(62)));
23437 SWIG_Python_SetConstant(d, "STC_LEX_ASN1",SWIG_From_int(static_cast< int >(63)));
23438 SWIG_Python_SetConstant(d, "STC_LEX_VHDL",SWIG_From_int(static_cast< int >(64)));
23439 SWIG_Python_SetConstant(d, "STC_LEX_CAML",SWIG_From_int(static_cast< int >(65)));
23440 SWIG_Python_SetConstant(d, "STC_LEX_BLITZBASIC",SWIG_From_int(static_cast< int >(66)));
23441 SWIG_Python_SetConstant(d, "STC_LEX_PUREBASIC",SWIG_From_int(static_cast< int >(67)));
23442 SWIG_Python_SetConstant(d, "STC_LEX_HASKELL",SWIG_From_int(static_cast< int >(68)));
23443 SWIG_Python_SetConstant(d, "STC_LEX_PHPSCRIPT",SWIG_From_int(static_cast< int >(69)));
23444 SWIG_Python_SetConstant(d, "STC_LEX_TADS3",SWIG_From_int(static_cast< int >(70)));
23445 SWIG_Python_SetConstant(d, "STC_LEX_REBOL",SWIG_From_int(static_cast< int >(71)));
23446 SWIG_Python_SetConstant(d, "STC_LEX_SMALLTALK",SWIG_From_int(static_cast< int >(72)));
23447 SWIG_Python_SetConstant(d, "STC_LEX_FLAGSHIP",SWIG_From_int(static_cast< int >(73)));
23448 SWIG_Python_SetConstant(d, "STC_LEX_CSOUND",SWIG_From_int(static_cast< int >(74)));
23449 SWIG_Python_SetConstant(d, "STC_LEX_FREEBASIC",SWIG_From_int(static_cast< int >(75)));
23450 SWIG_Python_SetConstant(d, "STC_LEX_INNOSETUP",SWIG_From_int(static_cast< int >(76)));
23451 SWIG_Python_SetConstant(d, "STC_LEX_OPAL",SWIG_From_int(static_cast< int >(77)));
23452 SWIG_Python_SetConstant(d, "STC_LEX_SPICE",SWIG_From_int(static_cast< int >(78)));
23453 SWIG_Python_SetConstant(d, "STC_LEX_AUTOMATIC",SWIG_From_int(static_cast< int >(1000)));
23454 SWIG_Python_SetConstant(d, "STC_P_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23455 SWIG_Python_SetConstant(d, "STC_P_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23456 SWIG_Python_SetConstant(d, "STC_P_NUMBER",SWIG_From_int(static_cast< int >(2)));
23457 SWIG_Python_SetConstant(d, "STC_P_STRING",SWIG_From_int(static_cast< int >(3)));
23458 SWIG_Python_SetConstant(d, "STC_P_CHARACTER",SWIG_From_int(static_cast< int >(4)));
23459 SWIG_Python_SetConstant(d, "STC_P_WORD",SWIG_From_int(static_cast< int >(5)));
23460 SWIG_Python_SetConstant(d, "STC_P_TRIPLE",SWIG_From_int(static_cast< int >(6)));
23461 SWIG_Python_SetConstant(d, "STC_P_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(7)));
23462 SWIG_Python_SetConstant(d, "STC_P_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23463 SWIG_Python_SetConstant(d, "STC_P_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23464 SWIG_Python_SetConstant(d, "STC_P_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23465 SWIG_Python_SetConstant(d, "STC_P_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23466 SWIG_Python_SetConstant(d, "STC_P_COMMENTBLOCK",SWIG_From_int(static_cast< int >(12)));
23467 SWIG_Python_SetConstant(d, "STC_P_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23468 SWIG_Python_SetConstant(d, "STC_P_WORD2",SWIG_From_int(static_cast< int >(14)));
23469 SWIG_Python_SetConstant(d, "STC_P_DECORATOR",SWIG_From_int(static_cast< int >(15)));
23470 SWIG_Python_SetConstant(d, "STC_C_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23471 SWIG_Python_SetConstant(d, "STC_C_COMMENT",SWIG_From_int(static_cast< int >(1)));
23472 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23473 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23474 SWIG_Python_SetConstant(d, "STC_C_NUMBER",SWIG_From_int(static_cast< int >(4)));
23475 SWIG_Python_SetConstant(d, "STC_C_WORD",SWIG_From_int(static_cast< int >(5)));
23476 SWIG_Python_SetConstant(d, "STC_C_STRING",SWIG_From_int(static_cast< int >(6)));
23477 SWIG_Python_SetConstant(d, "STC_C_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23478 SWIG_Python_SetConstant(d, "STC_C_UUID",SWIG_From_int(static_cast< int >(8)));
23479 SWIG_Python_SetConstant(d, "STC_C_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23480 SWIG_Python_SetConstant(d, "STC_C_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23481 SWIG_Python_SetConstant(d, "STC_C_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23482 SWIG_Python_SetConstant(d, "STC_C_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23483 SWIG_Python_SetConstant(d, "STC_C_VERBATIM",SWIG_From_int(static_cast< int >(13)));
23484 SWIG_Python_SetConstant(d, "STC_C_REGEX",SWIG_From_int(static_cast< int >(14)));
23485 SWIG_Python_SetConstant(d, "STC_C_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
23486 SWIG_Python_SetConstant(d, "STC_C_WORD2",SWIG_From_int(static_cast< int >(16)));
23487 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
23488 SWIG_Python_SetConstant(d, "STC_C_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
23489 SWIG_Python_SetConstant(d, "STC_C_GLOBALCLASS",SWIG_From_int(static_cast< int >(19)));
23490 SWIG_Python_SetConstant(d, "STC_TCL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23491 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT",SWIG_From_int(static_cast< int >(1)));
23492 SWIG_Python_SetConstant(d, "STC_TCL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23493 SWIG_Python_SetConstant(d, "STC_TCL_NUMBER",SWIG_From_int(static_cast< int >(3)));
23494 SWIG_Python_SetConstant(d, "STC_TCL_WORD_IN_QUOTE",SWIG_From_int(static_cast< int >(4)));
23495 SWIG_Python_SetConstant(d, "STC_TCL_IN_QUOTE",SWIG_From_int(static_cast< int >(5)));
23496 SWIG_Python_SetConstant(d, "STC_TCL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23497 SWIG_Python_SetConstant(d, "STC_TCL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23498 SWIG_Python_SetConstant(d, "STC_TCL_SUBSTITUTION",SWIG_From_int(static_cast< int >(8)));
23499 SWIG_Python_SetConstant(d, "STC_TCL_SUB_BRACE",SWIG_From_int(static_cast< int >(9)));
23500 SWIG_Python_SetConstant(d, "STC_TCL_MODIFIER",SWIG_From_int(static_cast< int >(10)));
23501 SWIG_Python_SetConstant(d, "STC_TCL_EXPAND",SWIG_From_int(static_cast< int >(11)));
23502 SWIG_Python_SetConstant(d, "STC_TCL_WORD",SWIG_From_int(static_cast< int >(12)));
23503 SWIG_Python_SetConstant(d, "STC_TCL_WORD2",SWIG_From_int(static_cast< int >(13)));
23504 SWIG_Python_SetConstant(d, "STC_TCL_WORD3",SWIG_From_int(static_cast< int >(14)));
23505 SWIG_Python_SetConstant(d, "STC_TCL_WORD4",SWIG_From_int(static_cast< int >(15)));
23506 SWIG_Python_SetConstant(d, "STC_TCL_WORD5",SWIG_From_int(static_cast< int >(16)));
23507 SWIG_Python_SetConstant(d, "STC_TCL_WORD6",SWIG_From_int(static_cast< int >(17)));
23508 SWIG_Python_SetConstant(d, "STC_TCL_WORD7",SWIG_From_int(static_cast< int >(18)));
23509 SWIG_Python_SetConstant(d, "STC_TCL_WORD8",SWIG_From_int(static_cast< int >(19)));
23510 SWIG_Python_SetConstant(d, "STC_TCL_COMMENT_BOX",SWIG_From_int(static_cast< int >(20)));
23511 SWIG_Python_SetConstant(d, "STC_TCL_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(21)));
23512 SWIG_Python_SetConstant(d, "STC_H_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23513 SWIG_Python_SetConstant(d, "STC_H_TAG",SWIG_From_int(static_cast< int >(1)));
23514 SWIG_Python_SetConstant(d, "STC_H_TAGUNKNOWN",SWIG_From_int(static_cast< int >(2)));
23515 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTE",SWIG_From_int(static_cast< int >(3)));
23516 SWIG_Python_SetConstant(d, "STC_H_ATTRIBUTEUNKNOWN",SWIG_From_int(static_cast< int >(4)));
23517 SWIG_Python_SetConstant(d, "STC_H_NUMBER",SWIG_From_int(static_cast< int >(5)));
23518 SWIG_Python_SetConstant(d, "STC_H_DOUBLESTRING",SWIG_From_int(static_cast< int >(6)));
23519 SWIG_Python_SetConstant(d, "STC_H_SINGLESTRING",SWIG_From_int(static_cast< int >(7)));
23520 SWIG_Python_SetConstant(d, "STC_H_OTHER",SWIG_From_int(static_cast< int >(8)));
23521 SWIG_Python_SetConstant(d, "STC_H_COMMENT",SWIG_From_int(static_cast< int >(9)));
23522 SWIG_Python_SetConstant(d, "STC_H_ENTITY",SWIG_From_int(static_cast< int >(10)));
23523 SWIG_Python_SetConstant(d, "STC_H_TAGEND",SWIG_From_int(static_cast< int >(11)));
23524 SWIG_Python_SetConstant(d, "STC_H_XMLSTART",SWIG_From_int(static_cast< int >(12)));
23525 SWIG_Python_SetConstant(d, "STC_H_XMLEND",SWIG_From_int(static_cast< int >(13)));
23526 SWIG_Python_SetConstant(d, "STC_H_SCRIPT",SWIG_From_int(static_cast< int >(14)));
23527 SWIG_Python_SetConstant(d, "STC_H_ASP",SWIG_From_int(static_cast< int >(15)));
23528 SWIG_Python_SetConstant(d, "STC_H_ASPAT",SWIG_From_int(static_cast< int >(16)));
23529 SWIG_Python_SetConstant(d, "STC_H_CDATA",SWIG_From_int(static_cast< int >(17)));
23530 SWIG_Python_SetConstant(d, "STC_H_QUESTION",SWIG_From_int(static_cast< int >(18)));
23531 SWIG_Python_SetConstant(d, "STC_H_VALUE",SWIG_From_int(static_cast< int >(19)));
23532 SWIG_Python_SetConstant(d, "STC_H_XCCOMMENT",SWIG_From_int(static_cast< int >(20)));
23533 SWIG_Python_SetConstant(d, "STC_H_SGML_DEFAULT",SWIG_From_int(static_cast< int >(21)));
23534 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMAND",SWIG_From_int(static_cast< int >(22)));
23535 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM",SWIG_From_int(static_cast< int >(23)));
23536 SWIG_Python_SetConstant(d, "STC_H_SGML_DOUBLESTRING",SWIG_From_int(static_cast< int >(24)));
23537 SWIG_Python_SetConstant(d, "STC_H_SGML_SIMPLESTRING",SWIG_From_int(static_cast< int >(25)));
23538 SWIG_Python_SetConstant(d, "STC_H_SGML_ERROR",SWIG_From_int(static_cast< int >(26)));
23539 SWIG_Python_SetConstant(d, "STC_H_SGML_SPECIAL",SWIG_From_int(static_cast< int >(27)));
23540 SWIG_Python_SetConstant(d, "STC_H_SGML_ENTITY",SWIG_From_int(static_cast< int >(28)));
23541 SWIG_Python_SetConstant(d, "STC_H_SGML_COMMENT",SWIG_From_int(static_cast< int >(29)));
23542 SWIG_Python_SetConstant(d, "STC_H_SGML_1ST_PARAM_COMMENT",SWIG_From_int(static_cast< int >(30)));
23543 SWIG_Python_SetConstant(d, "STC_H_SGML_BLOCK_DEFAULT",SWIG_From_int(static_cast< int >(31)));
23544 SWIG_Python_SetConstant(d, "STC_HJ_START",SWIG_From_int(static_cast< int >(40)));
23545 SWIG_Python_SetConstant(d, "STC_HJ_DEFAULT",SWIG_From_int(static_cast< int >(41)));
23546 SWIG_Python_SetConstant(d, "STC_HJ_COMMENT",SWIG_From_int(static_cast< int >(42)));
23547 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTLINE",SWIG_From_int(static_cast< int >(43)));
23548 SWIG_Python_SetConstant(d, "STC_HJ_COMMENTDOC",SWIG_From_int(static_cast< int >(44)));
23549 SWIG_Python_SetConstant(d, "STC_HJ_NUMBER",SWIG_From_int(static_cast< int >(45)));
23550 SWIG_Python_SetConstant(d, "STC_HJ_WORD",SWIG_From_int(static_cast< int >(46)));
23551 SWIG_Python_SetConstant(d, "STC_HJ_KEYWORD",SWIG_From_int(static_cast< int >(47)));
23552 SWIG_Python_SetConstant(d, "STC_HJ_DOUBLESTRING",SWIG_From_int(static_cast< int >(48)));
23553 SWIG_Python_SetConstant(d, "STC_HJ_SINGLESTRING",SWIG_From_int(static_cast< int >(49)));
23554 SWIG_Python_SetConstant(d, "STC_HJ_SYMBOLS",SWIG_From_int(static_cast< int >(50)));
23555 SWIG_Python_SetConstant(d, "STC_HJ_STRINGEOL",SWIG_From_int(static_cast< int >(51)));
23556 SWIG_Python_SetConstant(d, "STC_HJ_REGEX",SWIG_From_int(static_cast< int >(52)));
23557 SWIG_Python_SetConstant(d, "STC_HJA_START",SWIG_From_int(static_cast< int >(55)));
23558 SWIG_Python_SetConstant(d, "STC_HJA_DEFAULT",SWIG_From_int(static_cast< int >(56)));
23559 SWIG_Python_SetConstant(d, "STC_HJA_COMMENT",SWIG_From_int(static_cast< int >(57)));
23560 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTLINE",SWIG_From_int(static_cast< int >(58)));
23561 SWIG_Python_SetConstant(d, "STC_HJA_COMMENTDOC",SWIG_From_int(static_cast< int >(59)));
23562 SWIG_Python_SetConstant(d, "STC_HJA_NUMBER",SWIG_From_int(static_cast< int >(60)));
23563 SWIG_Python_SetConstant(d, "STC_HJA_WORD",SWIG_From_int(static_cast< int >(61)));
23564 SWIG_Python_SetConstant(d, "STC_HJA_KEYWORD",SWIG_From_int(static_cast< int >(62)));
23565 SWIG_Python_SetConstant(d, "STC_HJA_DOUBLESTRING",SWIG_From_int(static_cast< int >(63)));
23566 SWIG_Python_SetConstant(d, "STC_HJA_SINGLESTRING",SWIG_From_int(static_cast< int >(64)));
23567 SWIG_Python_SetConstant(d, "STC_HJA_SYMBOLS",SWIG_From_int(static_cast< int >(65)));
23568 SWIG_Python_SetConstant(d, "STC_HJA_STRINGEOL",SWIG_From_int(static_cast< int >(66)));
23569 SWIG_Python_SetConstant(d, "STC_HJA_REGEX",SWIG_From_int(static_cast< int >(67)));
23570 SWIG_Python_SetConstant(d, "STC_HB_START",SWIG_From_int(static_cast< int >(70)));
23571 SWIG_Python_SetConstant(d, "STC_HB_DEFAULT",SWIG_From_int(static_cast< int >(71)));
23572 SWIG_Python_SetConstant(d, "STC_HB_COMMENTLINE",SWIG_From_int(static_cast< int >(72)));
23573 SWIG_Python_SetConstant(d, "STC_HB_NUMBER",SWIG_From_int(static_cast< int >(73)));
23574 SWIG_Python_SetConstant(d, "STC_HB_WORD",SWIG_From_int(static_cast< int >(74)));
23575 SWIG_Python_SetConstant(d, "STC_HB_STRING",SWIG_From_int(static_cast< int >(75)));
23576 SWIG_Python_SetConstant(d, "STC_HB_IDENTIFIER",SWIG_From_int(static_cast< int >(76)));
23577 SWIG_Python_SetConstant(d, "STC_HB_STRINGEOL",SWIG_From_int(static_cast< int >(77)));
23578 SWIG_Python_SetConstant(d, "STC_HBA_START",SWIG_From_int(static_cast< int >(80)));
23579 SWIG_Python_SetConstant(d, "STC_HBA_DEFAULT",SWIG_From_int(static_cast< int >(81)));
23580 SWIG_Python_SetConstant(d, "STC_HBA_COMMENTLINE",SWIG_From_int(static_cast< int >(82)));
23581 SWIG_Python_SetConstant(d, "STC_HBA_NUMBER",SWIG_From_int(static_cast< int >(83)));
23582 SWIG_Python_SetConstant(d, "STC_HBA_WORD",SWIG_From_int(static_cast< int >(84)));
23583 SWIG_Python_SetConstant(d, "STC_HBA_STRING",SWIG_From_int(static_cast< int >(85)));
23584 SWIG_Python_SetConstant(d, "STC_HBA_IDENTIFIER",SWIG_From_int(static_cast< int >(86)));
23585 SWIG_Python_SetConstant(d, "STC_HBA_STRINGEOL",SWIG_From_int(static_cast< int >(87)));
23586 SWIG_Python_SetConstant(d, "STC_HP_START",SWIG_From_int(static_cast< int >(90)));
23587 SWIG_Python_SetConstant(d, "STC_HP_DEFAULT",SWIG_From_int(static_cast< int >(91)));
23588 SWIG_Python_SetConstant(d, "STC_HP_COMMENTLINE",SWIG_From_int(static_cast< int >(92)));
23589 SWIG_Python_SetConstant(d, "STC_HP_NUMBER",SWIG_From_int(static_cast< int >(93)));
23590 SWIG_Python_SetConstant(d, "STC_HP_STRING",SWIG_From_int(static_cast< int >(94)));
23591 SWIG_Python_SetConstant(d, "STC_HP_CHARACTER",SWIG_From_int(static_cast< int >(95)));
23592 SWIG_Python_SetConstant(d, "STC_HP_WORD",SWIG_From_int(static_cast< int >(96)));
23593 SWIG_Python_SetConstant(d, "STC_HP_TRIPLE",SWIG_From_int(static_cast< int >(97)));
23594 SWIG_Python_SetConstant(d, "STC_HP_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(98)));
23595 SWIG_Python_SetConstant(d, "STC_HP_CLASSNAME",SWIG_From_int(static_cast< int >(99)));
23596 SWIG_Python_SetConstant(d, "STC_HP_DEFNAME",SWIG_From_int(static_cast< int >(100)));
23597 SWIG_Python_SetConstant(d, "STC_HP_OPERATOR",SWIG_From_int(static_cast< int >(101)));
23598 SWIG_Python_SetConstant(d, "STC_HP_IDENTIFIER",SWIG_From_int(static_cast< int >(102)));
23599 SWIG_Python_SetConstant(d, "STC_HPHP_COMPLEX_VARIABLE",SWIG_From_int(static_cast< int >(104)));
23600 SWIG_Python_SetConstant(d, "STC_HPA_START",SWIG_From_int(static_cast< int >(105)));
23601 SWIG_Python_SetConstant(d, "STC_HPA_DEFAULT",SWIG_From_int(static_cast< int >(106)));
23602 SWIG_Python_SetConstant(d, "STC_HPA_COMMENTLINE",SWIG_From_int(static_cast< int >(107)));
23603 SWIG_Python_SetConstant(d, "STC_HPA_NUMBER",SWIG_From_int(static_cast< int >(108)));
23604 SWIG_Python_SetConstant(d, "STC_HPA_STRING",SWIG_From_int(static_cast< int >(109)));
23605 SWIG_Python_SetConstant(d, "STC_HPA_CHARACTER",SWIG_From_int(static_cast< int >(110)));
23606 SWIG_Python_SetConstant(d, "STC_HPA_WORD",SWIG_From_int(static_cast< int >(111)));
23607 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLE",SWIG_From_int(static_cast< int >(112)));
23608 SWIG_Python_SetConstant(d, "STC_HPA_TRIPLEDOUBLE",SWIG_From_int(static_cast< int >(113)));
23609 SWIG_Python_SetConstant(d, "STC_HPA_CLASSNAME",SWIG_From_int(static_cast< int >(114)));
23610 SWIG_Python_SetConstant(d, "STC_HPA_DEFNAME",SWIG_From_int(static_cast< int >(115)));
23611 SWIG_Python_SetConstant(d, "STC_HPA_OPERATOR",SWIG_From_int(static_cast< int >(116)));
23612 SWIG_Python_SetConstant(d, "STC_HPA_IDENTIFIER",SWIG_From_int(static_cast< int >(117)));
23613 SWIG_Python_SetConstant(d, "STC_HPHP_DEFAULT",SWIG_From_int(static_cast< int >(118)));
23614 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING",SWIG_From_int(static_cast< int >(119)));
23615 SWIG_Python_SetConstant(d, "STC_HPHP_SIMPLESTRING",SWIG_From_int(static_cast< int >(120)));
23616 SWIG_Python_SetConstant(d, "STC_HPHP_WORD",SWIG_From_int(static_cast< int >(121)));
23617 SWIG_Python_SetConstant(d, "STC_HPHP_NUMBER",SWIG_From_int(static_cast< int >(122)));
23618 SWIG_Python_SetConstant(d, "STC_HPHP_VARIABLE",SWIG_From_int(static_cast< int >(123)));
23619 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENT",SWIG_From_int(static_cast< int >(124)));
23620 SWIG_Python_SetConstant(d, "STC_HPHP_COMMENTLINE",SWIG_From_int(static_cast< int >(125)));
23621 SWIG_Python_SetConstant(d, "STC_HPHP_HSTRING_VARIABLE",SWIG_From_int(static_cast< int >(126)));
23622 SWIG_Python_SetConstant(d, "STC_HPHP_OPERATOR",SWIG_From_int(static_cast< int >(127)));
23623 SWIG_Python_SetConstant(d, "STC_PL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23624 SWIG_Python_SetConstant(d, "STC_PL_ERROR",SWIG_From_int(static_cast< int >(1)));
23625 SWIG_Python_SetConstant(d, "STC_PL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23626 SWIG_Python_SetConstant(d, "STC_PL_POD",SWIG_From_int(static_cast< int >(3)));
23627 SWIG_Python_SetConstant(d, "STC_PL_NUMBER",SWIG_From_int(static_cast< int >(4)));
23628 SWIG_Python_SetConstant(d, "STC_PL_WORD",SWIG_From_int(static_cast< int >(5)));
23629 SWIG_Python_SetConstant(d, "STC_PL_STRING",SWIG_From_int(static_cast< int >(6)));
23630 SWIG_Python_SetConstant(d, "STC_PL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23631 SWIG_Python_SetConstant(d, "STC_PL_PUNCTUATION",SWIG_From_int(static_cast< int >(8)));
23632 SWIG_Python_SetConstant(d, "STC_PL_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23633 SWIG_Python_SetConstant(d, "STC_PL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23634 SWIG_Python_SetConstant(d, "STC_PL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23635 SWIG_Python_SetConstant(d, "STC_PL_SCALAR",SWIG_From_int(static_cast< int >(12)));
23636 SWIG_Python_SetConstant(d, "STC_PL_ARRAY",SWIG_From_int(static_cast< int >(13)));
23637 SWIG_Python_SetConstant(d, "STC_PL_HASH",SWIG_From_int(static_cast< int >(14)));
23638 SWIG_Python_SetConstant(d, "STC_PL_SYMBOLTABLE",SWIG_From_int(static_cast< int >(15)));
23639 SWIG_Python_SetConstant(d, "STC_PL_VARIABLE_INDEXER",SWIG_From_int(static_cast< int >(16)));
23640 SWIG_Python_SetConstant(d, "STC_PL_REGEX",SWIG_From_int(static_cast< int >(17)));
23641 SWIG_Python_SetConstant(d, "STC_PL_REGSUBST",SWIG_From_int(static_cast< int >(18)));
23642 SWIG_Python_SetConstant(d, "STC_PL_LONGQUOTE",SWIG_From_int(static_cast< int >(19)));
23643 SWIG_Python_SetConstant(d, "STC_PL_BACKTICKS",SWIG_From_int(static_cast< int >(20)));
23644 SWIG_Python_SetConstant(d, "STC_PL_DATASECTION",SWIG_From_int(static_cast< int >(21)));
23645 SWIG_Python_SetConstant(d, "STC_PL_HERE_DELIM",SWIG_From_int(static_cast< int >(22)));
23646 SWIG_Python_SetConstant(d, "STC_PL_HERE_Q",SWIG_From_int(static_cast< int >(23)));
23647 SWIG_Python_SetConstant(d, "STC_PL_HERE_QQ",SWIG_From_int(static_cast< int >(24)));
23648 SWIG_Python_SetConstant(d, "STC_PL_HERE_QX",SWIG_From_int(static_cast< int >(25)));
23649 SWIG_Python_SetConstant(d, "STC_PL_STRING_Q",SWIG_From_int(static_cast< int >(26)));
23650 SWIG_Python_SetConstant(d, "STC_PL_STRING_QQ",SWIG_From_int(static_cast< int >(27)));
23651 SWIG_Python_SetConstant(d, "STC_PL_STRING_QX",SWIG_From_int(static_cast< int >(28)));
23652 SWIG_Python_SetConstant(d, "STC_PL_STRING_QR",SWIG_From_int(static_cast< int >(29)));
23653 SWIG_Python_SetConstant(d, "STC_PL_STRING_QW",SWIG_From_int(static_cast< int >(30)));
23654 SWIG_Python_SetConstant(d, "STC_PL_POD_VERB",SWIG_From_int(static_cast< int >(31)));
23655 SWIG_Python_SetConstant(d, "STC_RB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23656 SWIG_Python_SetConstant(d, "STC_RB_ERROR",SWIG_From_int(static_cast< int >(1)));
23657 SWIG_Python_SetConstant(d, "STC_RB_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23658 SWIG_Python_SetConstant(d, "STC_RB_POD",SWIG_From_int(static_cast< int >(3)));
23659 SWIG_Python_SetConstant(d, "STC_RB_NUMBER",SWIG_From_int(static_cast< int >(4)));
23660 SWIG_Python_SetConstant(d, "STC_RB_WORD",SWIG_From_int(static_cast< int >(5)));
23661 SWIG_Python_SetConstant(d, "STC_RB_STRING",SWIG_From_int(static_cast< int >(6)));
23662 SWIG_Python_SetConstant(d, "STC_RB_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23663 SWIG_Python_SetConstant(d, "STC_RB_CLASSNAME",SWIG_From_int(static_cast< int >(8)));
23664 SWIG_Python_SetConstant(d, "STC_RB_DEFNAME",SWIG_From_int(static_cast< int >(9)));
23665 SWIG_Python_SetConstant(d, "STC_RB_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23666 SWIG_Python_SetConstant(d, "STC_RB_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23667 SWIG_Python_SetConstant(d, "STC_RB_REGEX",SWIG_From_int(static_cast< int >(12)));
23668 SWIG_Python_SetConstant(d, "STC_RB_GLOBAL",SWIG_From_int(static_cast< int >(13)));
23669 SWIG_Python_SetConstant(d, "STC_RB_SYMBOL",SWIG_From_int(static_cast< int >(14)));
23670 SWIG_Python_SetConstant(d, "STC_RB_MODULE_NAME",SWIG_From_int(static_cast< int >(15)));
23671 SWIG_Python_SetConstant(d, "STC_RB_INSTANCE_VAR",SWIG_From_int(static_cast< int >(16)));
23672 SWIG_Python_SetConstant(d, "STC_RB_CLASS_VAR",SWIG_From_int(static_cast< int >(17)));
23673 SWIG_Python_SetConstant(d, "STC_RB_BACKTICKS",SWIG_From_int(static_cast< int >(18)));
23674 SWIG_Python_SetConstant(d, "STC_RB_DATASECTION",SWIG_From_int(static_cast< int >(19)));
23675 SWIG_Python_SetConstant(d, "STC_RB_HERE_DELIM",SWIG_From_int(static_cast< int >(20)));
23676 SWIG_Python_SetConstant(d, "STC_RB_HERE_Q",SWIG_From_int(static_cast< int >(21)));
23677 SWIG_Python_SetConstant(d, "STC_RB_HERE_QQ",SWIG_From_int(static_cast< int >(22)));
23678 SWIG_Python_SetConstant(d, "STC_RB_HERE_QX",SWIG_From_int(static_cast< int >(23)));
23679 SWIG_Python_SetConstant(d, "STC_RB_STRING_Q",SWIG_From_int(static_cast< int >(24)));
23680 SWIG_Python_SetConstant(d, "STC_RB_STRING_QQ",SWIG_From_int(static_cast< int >(25)));
23681 SWIG_Python_SetConstant(d, "STC_RB_STRING_QX",SWIG_From_int(static_cast< int >(26)));
23682 SWIG_Python_SetConstant(d, "STC_RB_STRING_QR",SWIG_From_int(static_cast< int >(27)));
23683 SWIG_Python_SetConstant(d, "STC_RB_STRING_QW",SWIG_From_int(static_cast< int >(28)));
23684 SWIG_Python_SetConstant(d, "STC_RB_WORD_DEMOTED",SWIG_From_int(static_cast< int >(29)));
23685 SWIG_Python_SetConstant(d, "STC_RB_STDIN",SWIG_From_int(static_cast< int >(30)));
23686 SWIG_Python_SetConstant(d, "STC_RB_STDOUT",SWIG_From_int(static_cast< int >(31)));
23687 SWIG_Python_SetConstant(d, "STC_RB_STDERR",SWIG_From_int(static_cast< int >(40)));
23688 SWIG_Python_SetConstant(d, "STC_RB_UPPER_BOUND",SWIG_From_int(static_cast< int >(41)));
23689 SWIG_Python_SetConstant(d, "STC_B_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23690 SWIG_Python_SetConstant(d, "STC_B_COMMENT",SWIG_From_int(static_cast< int >(1)));
23691 SWIG_Python_SetConstant(d, "STC_B_NUMBER",SWIG_From_int(static_cast< int >(2)));
23692 SWIG_Python_SetConstant(d, "STC_B_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23693 SWIG_Python_SetConstant(d, "STC_B_STRING",SWIG_From_int(static_cast< int >(4)));
23694 SWIG_Python_SetConstant(d, "STC_B_PREPROCESSOR",SWIG_From_int(static_cast< int >(5)));
23695 SWIG_Python_SetConstant(d, "STC_B_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23696 SWIG_Python_SetConstant(d, "STC_B_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23697 SWIG_Python_SetConstant(d, "STC_B_DATE",SWIG_From_int(static_cast< int >(8)));
23698 SWIG_Python_SetConstant(d, "STC_B_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23699 SWIG_Python_SetConstant(d, "STC_B_KEYWORD2",SWIG_From_int(static_cast< int >(10)));
23700 SWIG_Python_SetConstant(d, "STC_B_KEYWORD3",SWIG_From_int(static_cast< int >(11)));
23701 SWIG_Python_SetConstant(d, "STC_B_KEYWORD4",SWIG_From_int(static_cast< int >(12)));
23702 SWIG_Python_SetConstant(d, "STC_B_CONSTANT",SWIG_From_int(static_cast< int >(13)));
23703 SWIG_Python_SetConstant(d, "STC_B_ASM",SWIG_From_int(static_cast< int >(14)));
23704 SWIG_Python_SetConstant(d, "STC_B_LABEL",SWIG_From_int(static_cast< int >(15)));
23705 SWIG_Python_SetConstant(d, "STC_B_ERROR",SWIG_From_int(static_cast< int >(16)));
23706 SWIG_Python_SetConstant(d, "STC_B_HEXNUMBER",SWIG_From_int(static_cast< int >(17)));
23707 SWIG_Python_SetConstant(d, "STC_B_BINNUMBER",SWIG_From_int(static_cast< int >(18)));
23708 SWIG_Python_SetConstant(d, "STC_PROPS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23709 SWIG_Python_SetConstant(d, "STC_PROPS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23710 SWIG_Python_SetConstant(d, "STC_PROPS_SECTION",SWIG_From_int(static_cast< int >(2)));
23711 SWIG_Python_SetConstant(d, "STC_PROPS_ASSIGNMENT",SWIG_From_int(static_cast< int >(3)));
23712 SWIG_Python_SetConstant(d, "STC_PROPS_DEFVAL",SWIG_From_int(static_cast< int >(4)));
23713 SWIG_Python_SetConstant(d, "STC_PROPS_KEY",SWIG_From_int(static_cast< int >(5)));
23714 SWIG_Python_SetConstant(d, "STC_L_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23715 SWIG_Python_SetConstant(d, "STC_L_COMMAND",SWIG_From_int(static_cast< int >(1)));
23716 SWIG_Python_SetConstant(d, "STC_L_TAG",SWIG_From_int(static_cast< int >(2)));
23717 SWIG_Python_SetConstant(d, "STC_L_MATH",SWIG_From_int(static_cast< int >(3)));
23718 SWIG_Python_SetConstant(d, "STC_L_COMMENT",SWIG_From_int(static_cast< int >(4)));
23719 SWIG_Python_SetConstant(d, "STC_LUA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23720 SWIG_Python_SetConstant(d, "STC_LUA_COMMENT",SWIG_From_int(static_cast< int >(1)));
23721 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23722 SWIG_Python_SetConstant(d, "STC_LUA_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23723 SWIG_Python_SetConstant(d, "STC_LUA_NUMBER",SWIG_From_int(static_cast< int >(4)));
23724 SWIG_Python_SetConstant(d, "STC_LUA_WORD",SWIG_From_int(static_cast< int >(5)));
23725 SWIG_Python_SetConstant(d, "STC_LUA_STRING",SWIG_From_int(static_cast< int >(6)));
23726 SWIG_Python_SetConstant(d, "STC_LUA_CHARACTER",SWIG_From_int(static_cast< int >(7)));
23727 SWIG_Python_SetConstant(d, "STC_LUA_LITERALSTRING",SWIG_From_int(static_cast< int >(8)));
23728 SWIG_Python_SetConstant(d, "STC_LUA_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
23729 SWIG_Python_SetConstant(d, "STC_LUA_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23730 SWIG_Python_SetConstant(d, "STC_LUA_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
23731 SWIG_Python_SetConstant(d, "STC_LUA_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
23732 SWIG_Python_SetConstant(d, "STC_LUA_WORD2",SWIG_From_int(static_cast< int >(13)));
23733 SWIG_Python_SetConstant(d, "STC_LUA_WORD3",SWIG_From_int(static_cast< int >(14)));
23734 SWIG_Python_SetConstant(d, "STC_LUA_WORD4",SWIG_From_int(static_cast< int >(15)));
23735 SWIG_Python_SetConstant(d, "STC_LUA_WORD5",SWIG_From_int(static_cast< int >(16)));
23736 SWIG_Python_SetConstant(d, "STC_LUA_WORD6",SWIG_From_int(static_cast< int >(17)));
23737 SWIG_Python_SetConstant(d, "STC_LUA_WORD7",SWIG_From_int(static_cast< int >(18)));
23738 SWIG_Python_SetConstant(d, "STC_LUA_WORD8",SWIG_From_int(static_cast< int >(19)));
23739 SWIG_Python_SetConstant(d, "STC_ERR_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23740 SWIG_Python_SetConstant(d, "STC_ERR_PYTHON",SWIG_From_int(static_cast< int >(1)));
23741 SWIG_Python_SetConstant(d, "STC_ERR_GCC",SWIG_From_int(static_cast< int >(2)));
23742 SWIG_Python_SetConstant(d, "STC_ERR_MS",SWIG_From_int(static_cast< int >(3)));
23743 SWIG_Python_SetConstant(d, "STC_ERR_CMD",SWIG_From_int(static_cast< int >(4)));
23744 SWIG_Python_SetConstant(d, "STC_ERR_BORLAND",SWIG_From_int(static_cast< int >(5)));
23745 SWIG_Python_SetConstant(d, "STC_ERR_PERL",SWIG_From_int(static_cast< int >(6)));
23746 SWIG_Python_SetConstant(d, "STC_ERR_NET",SWIG_From_int(static_cast< int >(7)));
23747 SWIG_Python_SetConstant(d, "STC_ERR_LUA",SWIG_From_int(static_cast< int >(8)));
23748 SWIG_Python_SetConstant(d, "STC_ERR_CTAG",SWIG_From_int(static_cast< int >(9)));
23749 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_CHANGED",SWIG_From_int(static_cast< int >(10)));
23750 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_ADDITION",SWIG_From_int(static_cast< int >(11)));
23751 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_DELETION",SWIG_From_int(static_cast< int >(12)));
23752 SWIG_Python_SetConstant(d, "STC_ERR_DIFF_MESSAGE",SWIG_From_int(static_cast< int >(13)));
23753 SWIG_Python_SetConstant(d, "STC_ERR_PHP",SWIG_From_int(static_cast< int >(14)));
23754 SWIG_Python_SetConstant(d, "STC_ERR_ELF",SWIG_From_int(static_cast< int >(15)));
23755 SWIG_Python_SetConstant(d, "STC_ERR_IFC",SWIG_From_int(static_cast< int >(16)));
23756 SWIG_Python_SetConstant(d, "STC_ERR_IFORT",SWIG_From_int(static_cast< int >(17)));
23757 SWIG_Python_SetConstant(d, "STC_ERR_ABSF",SWIG_From_int(static_cast< int >(18)));
23758 SWIG_Python_SetConstant(d, "STC_ERR_TIDY",SWIG_From_int(static_cast< int >(19)));
23759 SWIG_Python_SetConstant(d, "STC_ERR_JAVA_STACK",SWIG_From_int(static_cast< int >(20)));
23760 SWIG_Python_SetConstant(d, "STC_BAT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23761 SWIG_Python_SetConstant(d, "STC_BAT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23762 SWIG_Python_SetConstant(d, "STC_BAT_WORD",SWIG_From_int(static_cast< int >(2)));
23763 SWIG_Python_SetConstant(d, "STC_BAT_LABEL",SWIG_From_int(static_cast< int >(3)));
23764 SWIG_Python_SetConstant(d, "STC_BAT_HIDE",SWIG_From_int(static_cast< int >(4)));
23765 SWIG_Python_SetConstant(d, "STC_BAT_COMMAND",SWIG_From_int(static_cast< int >(5)));
23766 SWIG_Python_SetConstant(d, "STC_BAT_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23767 SWIG_Python_SetConstant(d, "STC_BAT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23768 SWIG_Python_SetConstant(d, "STC_MAKE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23769 SWIG_Python_SetConstant(d, "STC_MAKE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23770 SWIG_Python_SetConstant(d, "STC_MAKE_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
23771 SWIG_Python_SetConstant(d, "STC_MAKE_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23772 SWIG_Python_SetConstant(d, "STC_MAKE_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23773 SWIG_Python_SetConstant(d, "STC_MAKE_TARGET",SWIG_From_int(static_cast< int >(5)));
23774 SWIG_Python_SetConstant(d, "STC_MAKE_IDEOL",SWIG_From_int(static_cast< int >(9)));
23775 SWIG_Python_SetConstant(d, "STC_DIFF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23776 SWIG_Python_SetConstant(d, "STC_DIFF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23777 SWIG_Python_SetConstant(d, "STC_DIFF_COMMAND",SWIG_From_int(static_cast< int >(2)));
23778 SWIG_Python_SetConstant(d, "STC_DIFF_HEADER",SWIG_From_int(static_cast< int >(3)));
23779 SWIG_Python_SetConstant(d, "STC_DIFF_POSITION",SWIG_From_int(static_cast< int >(4)));
23780 SWIG_Python_SetConstant(d, "STC_DIFF_DELETED",SWIG_From_int(static_cast< int >(5)));
23781 SWIG_Python_SetConstant(d, "STC_DIFF_ADDED",SWIG_From_int(static_cast< int >(6)));
23782 SWIG_Python_SetConstant(d, "STC_CONF_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23783 SWIG_Python_SetConstant(d, "STC_CONF_COMMENT",SWIG_From_int(static_cast< int >(1)));
23784 SWIG_Python_SetConstant(d, "STC_CONF_NUMBER",SWIG_From_int(static_cast< int >(2)));
23785 SWIG_Python_SetConstant(d, "STC_CONF_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23786 SWIG_Python_SetConstant(d, "STC_CONF_EXTENSION",SWIG_From_int(static_cast< int >(4)));
23787 SWIG_Python_SetConstant(d, "STC_CONF_PARAMETER",SWIG_From_int(static_cast< int >(5)));
23788 SWIG_Python_SetConstant(d, "STC_CONF_STRING",SWIG_From_int(static_cast< int >(6)));
23789 SWIG_Python_SetConstant(d, "STC_CONF_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23790 SWIG_Python_SetConstant(d, "STC_CONF_IP",SWIG_From_int(static_cast< int >(8)));
23791 SWIG_Python_SetConstant(d, "STC_CONF_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23792 SWIG_Python_SetConstant(d, "STC_AVE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23793 SWIG_Python_SetConstant(d, "STC_AVE_COMMENT",SWIG_From_int(static_cast< int >(1)));
23794 SWIG_Python_SetConstant(d, "STC_AVE_NUMBER",SWIG_From_int(static_cast< int >(2)));
23795 SWIG_Python_SetConstant(d, "STC_AVE_WORD",SWIG_From_int(static_cast< int >(3)));
23796 SWIG_Python_SetConstant(d, "STC_AVE_STRING",SWIG_From_int(static_cast< int >(6)));
23797 SWIG_Python_SetConstant(d, "STC_AVE_ENUM",SWIG_From_int(static_cast< int >(7)));
23798 SWIG_Python_SetConstant(d, "STC_AVE_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23799 SWIG_Python_SetConstant(d, "STC_AVE_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23800 SWIG_Python_SetConstant(d, "STC_AVE_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23801 SWIG_Python_SetConstant(d, "STC_AVE_WORD1",SWIG_From_int(static_cast< int >(11)));
23802 SWIG_Python_SetConstant(d, "STC_AVE_WORD2",SWIG_From_int(static_cast< int >(12)));
23803 SWIG_Python_SetConstant(d, "STC_AVE_WORD3",SWIG_From_int(static_cast< int >(13)));
23804 SWIG_Python_SetConstant(d, "STC_AVE_WORD4",SWIG_From_int(static_cast< int >(14)));
23805 SWIG_Python_SetConstant(d, "STC_AVE_WORD5",SWIG_From_int(static_cast< int >(15)));
23806 SWIG_Python_SetConstant(d, "STC_AVE_WORD6",SWIG_From_int(static_cast< int >(16)));
23807 SWIG_Python_SetConstant(d, "STC_ADA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23808 SWIG_Python_SetConstant(d, "STC_ADA_WORD",SWIG_From_int(static_cast< int >(1)));
23809 SWIG_Python_SetConstant(d, "STC_ADA_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
23810 SWIG_Python_SetConstant(d, "STC_ADA_NUMBER",SWIG_From_int(static_cast< int >(3)));
23811 SWIG_Python_SetConstant(d, "STC_ADA_DELIMITER",SWIG_From_int(static_cast< int >(4)));
23812 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23813 SWIG_Python_SetConstant(d, "STC_ADA_CHARACTEREOL",SWIG_From_int(static_cast< int >(6)));
23814 SWIG_Python_SetConstant(d, "STC_ADA_STRING",SWIG_From_int(static_cast< int >(7)));
23815 SWIG_Python_SetConstant(d, "STC_ADA_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23816 SWIG_Python_SetConstant(d, "STC_ADA_LABEL",SWIG_From_int(static_cast< int >(9)));
23817 SWIG_Python_SetConstant(d, "STC_ADA_COMMENTLINE",SWIG_From_int(static_cast< int >(10)));
23818 SWIG_Python_SetConstant(d, "STC_ADA_ILLEGAL",SWIG_From_int(static_cast< int >(11)));
23819 SWIG_Python_SetConstant(d, "STC_BAAN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23820 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENT",SWIG_From_int(static_cast< int >(1)));
23821 SWIG_Python_SetConstant(d, "STC_BAAN_COMMENTDOC",SWIG_From_int(static_cast< int >(2)));
23822 SWIG_Python_SetConstant(d, "STC_BAAN_NUMBER",SWIG_From_int(static_cast< int >(3)));
23823 SWIG_Python_SetConstant(d, "STC_BAAN_WORD",SWIG_From_int(static_cast< int >(4)));
23824 SWIG_Python_SetConstant(d, "STC_BAAN_STRING",SWIG_From_int(static_cast< int >(5)));
23825 SWIG_Python_SetConstant(d, "STC_BAAN_PREPROCESSOR",SWIG_From_int(static_cast< int >(6)));
23826 SWIG_Python_SetConstant(d, "STC_BAAN_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23827 SWIG_Python_SetConstant(d, "STC_BAAN_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23828 SWIG_Python_SetConstant(d, "STC_BAAN_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23829 SWIG_Python_SetConstant(d, "STC_BAAN_WORD2",SWIG_From_int(static_cast< int >(10)));
23830 SWIG_Python_SetConstant(d, "STC_LISP_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23831 SWIG_Python_SetConstant(d, "STC_LISP_COMMENT",SWIG_From_int(static_cast< int >(1)));
23832 SWIG_Python_SetConstant(d, "STC_LISP_NUMBER",SWIG_From_int(static_cast< int >(2)));
23833 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD",SWIG_From_int(static_cast< int >(3)));
23834 SWIG_Python_SetConstant(d, "STC_LISP_KEYWORD_KW",SWIG_From_int(static_cast< int >(4)));
23835 SWIG_Python_SetConstant(d, "STC_LISP_SYMBOL",SWIG_From_int(static_cast< int >(5)));
23836 SWIG_Python_SetConstant(d, "STC_LISP_STRING",SWIG_From_int(static_cast< int >(6)));
23837 SWIG_Python_SetConstant(d, "STC_LISP_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23838 SWIG_Python_SetConstant(d, "STC_LISP_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23839 SWIG_Python_SetConstant(d, "STC_LISP_OPERATOR",SWIG_From_int(static_cast< int >(10)));
23840 SWIG_Python_SetConstant(d, "STC_LISP_SPECIAL",SWIG_From_int(static_cast< int >(11)));
23841 SWIG_Python_SetConstant(d, "STC_LISP_MULTI_COMMENT",SWIG_From_int(static_cast< int >(12)));
23842 SWIG_Python_SetConstant(d, "STC_EIFFEL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23843 SWIG_Python_SetConstant(d, "STC_EIFFEL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
23844 SWIG_Python_SetConstant(d, "STC_EIFFEL_NUMBER",SWIG_From_int(static_cast< int >(2)));
23845 SWIG_Python_SetConstant(d, "STC_EIFFEL_WORD",SWIG_From_int(static_cast< int >(3)));
23846 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRING",SWIG_From_int(static_cast< int >(4)));
23847 SWIG_Python_SetConstant(d, "STC_EIFFEL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
23848 SWIG_Python_SetConstant(d, "STC_EIFFEL_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23849 SWIG_Python_SetConstant(d, "STC_EIFFEL_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23850 SWIG_Python_SetConstant(d, "STC_EIFFEL_STRINGEOL",SWIG_From_int(static_cast< int >(8)));
23851 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23852 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23853 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_TASK",SWIG_From_int(static_cast< int >(2)));
23854 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_SECTION",SWIG_From_int(static_cast< int >(3)));
23855 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23856 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_MODIFIER",SWIG_From_int(static_cast< int >(5)));
23857 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ASTERISK",SWIG_From_int(static_cast< int >(6)));
23858 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_NUMBER",SWIG_From_int(static_cast< int >(7)));
23859 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_STRING",SWIG_From_int(static_cast< int >(8)));
23860 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_ENVIRONMENT",SWIG_From_int(static_cast< int >(9)));
23861 SWIG_Python_SetConstant(d, "STC_NNCRONTAB_IDENTIFIER",SWIG_From_int(static_cast< int >(10)));
23862 SWIG_Python_SetConstant(d, "STC_FORTH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23863 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT",SWIG_From_int(static_cast< int >(1)));
23864 SWIG_Python_SetConstant(d, "STC_FORTH_COMMENT_ML",SWIG_From_int(static_cast< int >(2)));
23865 SWIG_Python_SetConstant(d, "STC_FORTH_IDENTIFIER",SWIG_From_int(static_cast< int >(3)));
23866 SWIG_Python_SetConstant(d, "STC_FORTH_CONTROL",SWIG_From_int(static_cast< int >(4)));
23867 SWIG_Python_SetConstant(d, "STC_FORTH_KEYWORD",SWIG_From_int(static_cast< int >(5)));
23868 SWIG_Python_SetConstant(d, "STC_FORTH_DEFWORD",SWIG_From_int(static_cast< int >(6)));
23869 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD1",SWIG_From_int(static_cast< int >(7)));
23870 SWIG_Python_SetConstant(d, "STC_FORTH_PREWORD2",SWIG_From_int(static_cast< int >(8)));
23871 SWIG_Python_SetConstant(d, "STC_FORTH_NUMBER",SWIG_From_int(static_cast< int >(9)));
23872 SWIG_Python_SetConstant(d, "STC_FORTH_STRING",SWIG_From_int(static_cast< int >(10)));
23873 SWIG_Python_SetConstant(d, "STC_FORTH_LOCALE",SWIG_From_int(static_cast< int >(11)));
23874 SWIG_Python_SetConstant(d, "STC_MATLAB_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23875 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMENT",SWIG_From_int(static_cast< int >(1)));
23876 SWIG_Python_SetConstant(d, "STC_MATLAB_COMMAND",SWIG_From_int(static_cast< int >(2)));
23877 SWIG_Python_SetConstant(d, "STC_MATLAB_NUMBER",SWIG_From_int(static_cast< int >(3)));
23878 SWIG_Python_SetConstant(d, "STC_MATLAB_KEYWORD",SWIG_From_int(static_cast< int >(4)));
23879 SWIG_Python_SetConstant(d, "STC_MATLAB_STRING",SWIG_From_int(static_cast< int >(5)));
23880 SWIG_Python_SetConstant(d, "STC_MATLAB_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23881 SWIG_Python_SetConstant(d, "STC_MATLAB_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23882 SWIG_Python_SetConstant(d, "STC_MATLAB_DOUBLEQUOTESTRING",SWIG_From_int(static_cast< int >(8)));
23883 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23884 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_WHITE",SWIG_From_int(static_cast< int >(1)));
23885 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23886 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PERSISTENT",SWIG_From_int(static_cast< int >(3)));
23887 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CSTYLE",SWIG_From_int(static_cast< int >(4)));
23888 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(5)));
23889 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_NUMBER",SWIG_From_int(static_cast< int >(6)));
23890 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRING",SWIG_From_int(static_cast< int >(7)));
23891 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CHARACTER",SWIG_From_int(static_cast< int >(8)));
23892 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_STRINGEOL",SWIG_From_int(static_cast< int >(9)));
23893 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_KEYWORD",SWIG_From_int(static_cast< int >(10)));
23894 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_OPERATOR",SWIG_From_int(static_cast< int >(11)));
23895 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
23896 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_TRIPLE",SWIG_From_int(static_cast< int >(13)));
23897 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_CLASSNAME",SWIG_From_int(static_cast< int >(14)));
23898 SWIG_Python_SetConstant(d, "STC_SCRIPTOL_PREPROCESSOR",SWIG_From_int(static_cast< int >(15)));
23899 SWIG_Python_SetConstant(d, "STC_ASM_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23900 SWIG_Python_SetConstant(d, "STC_ASM_COMMENT",SWIG_From_int(static_cast< int >(1)));
23901 SWIG_Python_SetConstant(d, "STC_ASM_NUMBER",SWIG_From_int(static_cast< int >(2)));
23902 SWIG_Python_SetConstant(d, "STC_ASM_STRING",SWIG_From_int(static_cast< int >(3)));
23903 SWIG_Python_SetConstant(d, "STC_ASM_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23904 SWIG_Python_SetConstant(d, "STC_ASM_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23905 SWIG_Python_SetConstant(d, "STC_ASM_CPUINSTRUCTION",SWIG_From_int(static_cast< int >(6)));
23906 SWIG_Python_SetConstant(d, "STC_ASM_MATHINSTRUCTION",SWIG_From_int(static_cast< int >(7)));
23907 SWIG_Python_SetConstant(d, "STC_ASM_REGISTER",SWIG_From_int(static_cast< int >(8)));
23908 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23909 SWIG_Python_SetConstant(d, "STC_ASM_DIRECTIVEOPERAND",SWIG_From_int(static_cast< int >(10)));
23910 SWIG_Python_SetConstant(d, "STC_ASM_COMMENTBLOCK",SWIG_From_int(static_cast< int >(11)));
23911 SWIG_Python_SetConstant(d, "STC_ASM_CHARACTER",SWIG_From_int(static_cast< int >(12)));
23912 SWIG_Python_SetConstant(d, "STC_ASM_STRINGEOL",SWIG_From_int(static_cast< int >(13)));
23913 SWIG_Python_SetConstant(d, "STC_ASM_EXTINSTRUCTION",SWIG_From_int(static_cast< int >(14)));
23914 SWIG_Python_SetConstant(d, "STC_F_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23915 SWIG_Python_SetConstant(d, "STC_F_COMMENT",SWIG_From_int(static_cast< int >(1)));
23916 SWIG_Python_SetConstant(d, "STC_F_NUMBER",SWIG_From_int(static_cast< int >(2)));
23917 SWIG_Python_SetConstant(d, "STC_F_STRING1",SWIG_From_int(static_cast< int >(3)));
23918 SWIG_Python_SetConstant(d, "STC_F_STRING2",SWIG_From_int(static_cast< int >(4)));
23919 SWIG_Python_SetConstant(d, "STC_F_STRINGEOL",SWIG_From_int(static_cast< int >(5)));
23920 SWIG_Python_SetConstant(d, "STC_F_OPERATOR",SWIG_From_int(static_cast< int >(6)));
23921 SWIG_Python_SetConstant(d, "STC_F_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23922 SWIG_Python_SetConstant(d, "STC_F_WORD",SWIG_From_int(static_cast< int >(8)));
23923 SWIG_Python_SetConstant(d, "STC_F_WORD2",SWIG_From_int(static_cast< int >(9)));
23924 SWIG_Python_SetConstant(d, "STC_F_WORD3",SWIG_From_int(static_cast< int >(10)));
23925 SWIG_Python_SetConstant(d, "STC_F_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
23926 SWIG_Python_SetConstant(d, "STC_F_OPERATOR2",SWIG_From_int(static_cast< int >(12)));
23927 SWIG_Python_SetConstant(d, "STC_F_LABEL",SWIG_From_int(static_cast< int >(13)));
23928 SWIG_Python_SetConstant(d, "STC_F_CONTINUATION",SWIG_From_int(static_cast< int >(14)));
23929 SWIG_Python_SetConstant(d, "STC_CSS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23930 SWIG_Python_SetConstant(d, "STC_CSS_TAG",SWIG_From_int(static_cast< int >(1)));
23931 SWIG_Python_SetConstant(d, "STC_CSS_CLASS",SWIG_From_int(static_cast< int >(2)));
23932 SWIG_Python_SetConstant(d, "STC_CSS_PSEUDOCLASS",SWIG_From_int(static_cast< int >(3)));
23933 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_PSEUDOCLASS",SWIG_From_int(static_cast< int >(4)));
23934 SWIG_Python_SetConstant(d, "STC_CSS_OPERATOR",SWIG_From_int(static_cast< int >(5)));
23935 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
23936 SWIG_Python_SetConstant(d, "STC_CSS_UNKNOWN_IDENTIFIER",SWIG_From_int(static_cast< int >(7)));
23937 SWIG_Python_SetConstant(d, "STC_CSS_VALUE",SWIG_From_int(static_cast< int >(8)));
23938 SWIG_Python_SetConstant(d, "STC_CSS_COMMENT",SWIG_From_int(static_cast< int >(9)));
23939 SWIG_Python_SetConstant(d, "STC_CSS_ID",SWIG_From_int(static_cast< int >(10)));
23940 SWIG_Python_SetConstant(d, "STC_CSS_IMPORTANT",SWIG_From_int(static_cast< int >(11)));
23941 SWIG_Python_SetConstant(d, "STC_CSS_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
23942 SWIG_Python_SetConstant(d, "STC_CSS_DOUBLESTRING",SWIG_From_int(static_cast< int >(13)));
23943 SWIG_Python_SetConstant(d, "STC_CSS_SINGLESTRING",SWIG_From_int(static_cast< int >(14)));
23944 SWIG_Python_SetConstant(d, "STC_CSS_IDENTIFIER2",SWIG_From_int(static_cast< int >(15)));
23945 SWIG_Python_SetConstant(d, "STC_CSS_ATTRIBUTE",SWIG_From_int(static_cast< int >(16)));
23946 SWIG_Python_SetConstant(d, "STC_POV_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23947 SWIG_Python_SetConstant(d, "STC_POV_COMMENT",SWIG_From_int(static_cast< int >(1)));
23948 SWIG_Python_SetConstant(d, "STC_POV_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23949 SWIG_Python_SetConstant(d, "STC_POV_NUMBER",SWIG_From_int(static_cast< int >(3)));
23950 SWIG_Python_SetConstant(d, "STC_POV_OPERATOR",SWIG_From_int(static_cast< int >(4)));
23951 SWIG_Python_SetConstant(d, "STC_POV_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
23952 SWIG_Python_SetConstant(d, "STC_POV_STRING",SWIG_From_int(static_cast< int >(6)));
23953 SWIG_Python_SetConstant(d, "STC_POV_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
23954 SWIG_Python_SetConstant(d, "STC_POV_DIRECTIVE",SWIG_From_int(static_cast< int >(8)));
23955 SWIG_Python_SetConstant(d, "STC_POV_BADDIRECTIVE",SWIG_From_int(static_cast< int >(9)));
23956 SWIG_Python_SetConstant(d, "STC_POV_WORD2",SWIG_From_int(static_cast< int >(10)));
23957 SWIG_Python_SetConstant(d, "STC_POV_WORD3",SWIG_From_int(static_cast< int >(11)));
23958 SWIG_Python_SetConstant(d, "STC_POV_WORD4",SWIG_From_int(static_cast< int >(12)));
23959 SWIG_Python_SetConstant(d, "STC_POV_WORD5",SWIG_From_int(static_cast< int >(13)));
23960 SWIG_Python_SetConstant(d, "STC_POV_WORD6",SWIG_From_int(static_cast< int >(14)));
23961 SWIG_Python_SetConstant(d, "STC_POV_WORD7",SWIG_From_int(static_cast< int >(15)));
23962 SWIG_Python_SetConstant(d, "STC_POV_WORD8",SWIG_From_int(static_cast< int >(16)));
23963 SWIG_Python_SetConstant(d, "STC_LOUT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23964 SWIG_Python_SetConstant(d, "STC_LOUT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23965 SWIG_Python_SetConstant(d, "STC_LOUT_NUMBER",SWIG_From_int(static_cast< int >(2)));
23966 SWIG_Python_SetConstant(d, "STC_LOUT_WORD",SWIG_From_int(static_cast< int >(3)));
23967 SWIG_Python_SetConstant(d, "STC_LOUT_WORD2",SWIG_From_int(static_cast< int >(4)));
23968 SWIG_Python_SetConstant(d, "STC_LOUT_WORD3",SWIG_From_int(static_cast< int >(5)));
23969 SWIG_Python_SetConstant(d, "STC_LOUT_WORD4",SWIG_From_int(static_cast< int >(6)));
23970 SWIG_Python_SetConstant(d, "STC_LOUT_STRING",SWIG_From_int(static_cast< int >(7)));
23971 SWIG_Python_SetConstant(d, "STC_LOUT_OPERATOR",SWIG_From_int(static_cast< int >(8)));
23972 SWIG_Python_SetConstant(d, "STC_LOUT_IDENTIFIER",SWIG_From_int(static_cast< int >(9)));
23973 SWIG_Python_SetConstant(d, "STC_LOUT_STRINGEOL",SWIG_From_int(static_cast< int >(10)));
23974 SWIG_Python_SetConstant(d, "STC_ESCRIPT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23975 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENT",SWIG_From_int(static_cast< int >(1)));
23976 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
23977 SWIG_Python_SetConstant(d, "STC_ESCRIPT_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
23978 SWIG_Python_SetConstant(d, "STC_ESCRIPT_NUMBER",SWIG_From_int(static_cast< int >(4)));
23979 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD",SWIG_From_int(static_cast< int >(5)));
23980 SWIG_Python_SetConstant(d, "STC_ESCRIPT_STRING",SWIG_From_int(static_cast< int >(6)));
23981 SWIG_Python_SetConstant(d, "STC_ESCRIPT_OPERATOR",SWIG_From_int(static_cast< int >(7)));
23982 SWIG_Python_SetConstant(d, "STC_ESCRIPT_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
23983 SWIG_Python_SetConstant(d, "STC_ESCRIPT_BRACE",SWIG_From_int(static_cast< int >(9)));
23984 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD2",SWIG_From_int(static_cast< int >(10)));
23985 SWIG_Python_SetConstant(d, "STC_ESCRIPT_WORD3",SWIG_From_int(static_cast< int >(11)));
23986 SWIG_Python_SetConstant(d, "STC_PS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
23987 SWIG_Python_SetConstant(d, "STC_PS_COMMENT",SWIG_From_int(static_cast< int >(1)));
23988 SWIG_Python_SetConstant(d, "STC_PS_DSC_COMMENT",SWIG_From_int(static_cast< int >(2)));
23989 SWIG_Python_SetConstant(d, "STC_PS_DSC_VALUE",SWIG_From_int(static_cast< int >(3)));
23990 SWIG_Python_SetConstant(d, "STC_PS_NUMBER",SWIG_From_int(static_cast< int >(4)));
23991 SWIG_Python_SetConstant(d, "STC_PS_NAME",SWIG_From_int(static_cast< int >(5)));
23992 SWIG_Python_SetConstant(d, "STC_PS_KEYWORD",SWIG_From_int(static_cast< int >(6)));
23993 SWIG_Python_SetConstant(d, "STC_PS_LITERAL",SWIG_From_int(static_cast< int >(7)));
23994 SWIG_Python_SetConstant(d, "STC_PS_IMMEVAL",SWIG_From_int(static_cast< int >(8)));
23995 SWIG_Python_SetConstant(d, "STC_PS_PAREN_ARRAY",SWIG_From_int(static_cast< int >(9)));
23996 SWIG_Python_SetConstant(d, "STC_PS_PAREN_DICT",SWIG_From_int(static_cast< int >(10)));
23997 SWIG_Python_SetConstant(d, "STC_PS_PAREN_PROC",SWIG_From_int(static_cast< int >(11)));
23998 SWIG_Python_SetConstant(d, "STC_PS_TEXT",SWIG_From_int(static_cast< int >(12)));
23999 SWIG_Python_SetConstant(d, "STC_PS_HEXSTRING",SWIG_From_int(static_cast< int >(13)));
24000 SWIG_Python_SetConstant(d, "STC_PS_BASE85STRING",SWIG_From_int(static_cast< int >(14)));
24001 SWIG_Python_SetConstant(d, "STC_PS_BADSTRINGCHAR",SWIG_From_int(static_cast< int >(15)));
24002 SWIG_Python_SetConstant(d, "STC_NSIS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24003 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24004 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGDQ",SWIG_From_int(static_cast< int >(2)));
24005 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGLQ",SWIG_From_int(static_cast< int >(3)));
24006 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGRQ",SWIG_From_int(static_cast< int >(4)));
24007 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTION",SWIG_From_int(static_cast< int >(5)));
24008 SWIG_Python_SetConstant(d, "STC_NSIS_VARIABLE",SWIG_From_int(static_cast< int >(6)));
24009 SWIG_Python_SetConstant(d, "STC_NSIS_LABEL",SWIG_From_int(static_cast< int >(7)));
24010 SWIG_Python_SetConstant(d, "STC_NSIS_USERDEFINED",SWIG_From_int(static_cast< int >(8)));
24011 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONDEF",SWIG_From_int(static_cast< int >(9)));
24012 SWIG_Python_SetConstant(d, "STC_NSIS_SUBSECTIONDEF",SWIG_From_int(static_cast< int >(10)));
24013 SWIG_Python_SetConstant(d, "STC_NSIS_IFDEFINEDEF",SWIG_From_int(static_cast< int >(11)));
24014 SWIG_Python_SetConstant(d, "STC_NSIS_MACRODEF",SWIG_From_int(static_cast< int >(12)));
24015 SWIG_Python_SetConstant(d, "STC_NSIS_STRINGVAR",SWIG_From_int(static_cast< int >(13)));
24016 SWIG_Python_SetConstant(d, "STC_NSIS_NUMBER",SWIG_From_int(static_cast< int >(14)));
24017 SWIG_Python_SetConstant(d, "STC_NSIS_SECTIONGROUP",SWIG_From_int(static_cast< int >(15)));
24018 SWIG_Python_SetConstant(d, "STC_NSIS_PAGEEX",SWIG_From_int(static_cast< int >(16)));
24019 SWIG_Python_SetConstant(d, "STC_NSIS_FUNCTIONDEF",SWIG_From_int(static_cast< int >(17)));
24020 SWIG_Python_SetConstant(d, "STC_NSIS_COMMENTBOX",SWIG_From_int(static_cast< int >(18)));
24021 SWIG_Python_SetConstant(d, "STC_MMIXAL_LEADWS",SWIG_From_int(static_cast< int >(0)));
24022 SWIG_Python_SetConstant(d, "STC_MMIXAL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24023 SWIG_Python_SetConstant(d, "STC_MMIXAL_LABEL",SWIG_From_int(static_cast< int >(2)));
24024 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE",SWIG_From_int(static_cast< int >(3)));
24025 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_PRE",SWIG_From_int(static_cast< int >(4)));
24026 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_VALID",SWIG_From_int(static_cast< int >(5)));
24027 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_UNKNOWN",SWIG_From_int(static_cast< int >(6)));
24028 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPCODE_POST",SWIG_From_int(static_cast< int >(7)));
24029 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERANDS",SWIG_From_int(static_cast< int >(8)));
24030 SWIG_Python_SetConstant(d, "STC_MMIXAL_NUMBER",SWIG_From_int(static_cast< int >(9)));
24031 SWIG_Python_SetConstant(d, "STC_MMIXAL_REF",SWIG_From_int(static_cast< int >(10)));
24032 SWIG_Python_SetConstant(d, "STC_MMIXAL_CHAR",SWIG_From_int(static_cast< int >(11)));
24033 SWIG_Python_SetConstant(d, "STC_MMIXAL_STRING",SWIG_From_int(static_cast< int >(12)));
24034 SWIG_Python_SetConstant(d, "STC_MMIXAL_REGISTER",SWIG_From_int(static_cast< int >(13)));
24035 SWIG_Python_SetConstant(d, "STC_MMIXAL_HEX",SWIG_From_int(static_cast< int >(14)));
24036 SWIG_Python_SetConstant(d, "STC_MMIXAL_OPERATOR",SWIG_From_int(static_cast< int >(15)));
24037 SWIG_Python_SetConstant(d, "STC_MMIXAL_SYMBOL",SWIG_From_int(static_cast< int >(16)));
24038 SWIG_Python_SetConstant(d, "STC_MMIXAL_INCLUDE",SWIG_From_int(static_cast< int >(17)));
24039 SWIG_Python_SetConstant(d, "STC_CLW_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24040 SWIG_Python_SetConstant(d, "STC_CLW_LABEL",SWIG_From_int(static_cast< int >(1)));
24041 SWIG_Python_SetConstant(d, "STC_CLW_COMMENT",SWIG_From_int(static_cast< int >(2)));
24042 SWIG_Python_SetConstant(d, "STC_CLW_STRING",SWIG_From_int(static_cast< int >(3)));
24043 SWIG_Python_SetConstant(d, "STC_CLW_USER_IDENTIFIER",SWIG_From_int(static_cast< int >(4)));
24044 SWIG_Python_SetConstant(d, "STC_CLW_INTEGER_CONSTANT",SWIG_From_int(static_cast< int >(5)));
24045 SWIG_Python_SetConstant(d, "STC_CLW_REAL_CONSTANT",SWIG_From_int(static_cast< int >(6)));
24046 SWIG_Python_SetConstant(d, "STC_CLW_PICTURE_STRING",SWIG_From_int(static_cast< int >(7)));
24047 SWIG_Python_SetConstant(d, "STC_CLW_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24048 SWIG_Python_SetConstant(d, "STC_CLW_COMPILER_DIRECTIVE",SWIG_From_int(static_cast< int >(9)));
24049 SWIG_Python_SetConstant(d, "STC_CLW_RUNTIME_EXPRESSIONS",SWIG_From_int(static_cast< int >(10)));
24050 SWIG_Python_SetConstant(d, "STC_CLW_BUILTIN_PROCEDURES_FUNCTION",SWIG_From_int(static_cast< int >(11)));
24051 SWIG_Python_SetConstant(d, "STC_CLW_STRUCTURE_DATA_TYPE",SWIG_From_int(static_cast< int >(12)));
24052 SWIG_Python_SetConstant(d, "STC_CLW_ATTRIBUTE",SWIG_From_int(static_cast< int >(13)));
24053 SWIG_Python_SetConstant(d, "STC_CLW_STANDARD_EQUATE",SWIG_From_int(static_cast< int >(14)));
24054 SWIG_Python_SetConstant(d, "STC_CLW_ERROR",SWIG_From_int(static_cast< int >(15)));
24055 SWIG_Python_SetConstant(d, "STC_CLW_DEPRECATED",SWIG_From_int(static_cast< int >(16)));
24056 SWIG_Python_SetConstant(d, "STC_LOT_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24057 SWIG_Python_SetConstant(d, "STC_LOT_HEADER",SWIG_From_int(static_cast< int >(1)));
24058 SWIG_Python_SetConstant(d, "STC_LOT_BREAK",SWIG_From_int(static_cast< int >(2)));
24059 SWIG_Python_SetConstant(d, "STC_LOT_SET",SWIG_From_int(static_cast< int >(3)));
24060 SWIG_Python_SetConstant(d, "STC_LOT_PASS",SWIG_From_int(static_cast< int >(4)));
24061 SWIG_Python_SetConstant(d, "STC_LOT_FAIL",SWIG_From_int(static_cast< int >(5)));
24062 SWIG_Python_SetConstant(d, "STC_LOT_ABORT",SWIG_From_int(static_cast< int >(6)));
24063 SWIG_Python_SetConstant(d, "STC_YAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24064 SWIG_Python_SetConstant(d, "STC_YAML_COMMENT",SWIG_From_int(static_cast< int >(1)));
24065 SWIG_Python_SetConstant(d, "STC_YAML_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24066 SWIG_Python_SetConstant(d, "STC_YAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24067 SWIG_Python_SetConstant(d, "STC_YAML_NUMBER",SWIG_From_int(static_cast< int >(4)));
24068 SWIG_Python_SetConstant(d, "STC_YAML_REFERENCE",SWIG_From_int(static_cast< int >(5)));
24069 SWIG_Python_SetConstant(d, "STC_YAML_DOCUMENT",SWIG_From_int(static_cast< int >(6)));
24070 SWIG_Python_SetConstant(d, "STC_YAML_TEXT",SWIG_From_int(static_cast< int >(7)));
24071 SWIG_Python_SetConstant(d, "STC_YAML_ERROR",SWIG_From_int(static_cast< int >(8)));
24072 SWIG_Python_SetConstant(d, "STC_TEX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24073 SWIG_Python_SetConstant(d, "STC_TEX_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24074 SWIG_Python_SetConstant(d, "STC_TEX_GROUP",SWIG_From_int(static_cast< int >(2)));
24075 SWIG_Python_SetConstant(d, "STC_TEX_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24076 SWIG_Python_SetConstant(d, "STC_TEX_COMMAND",SWIG_From_int(static_cast< int >(4)));
24077 SWIG_Python_SetConstant(d, "STC_TEX_TEXT",SWIG_From_int(static_cast< int >(5)));
24078 SWIG_Python_SetConstant(d, "STC_METAPOST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24079 SWIG_Python_SetConstant(d, "STC_METAPOST_SPECIAL",SWIG_From_int(static_cast< int >(1)));
24080 SWIG_Python_SetConstant(d, "STC_METAPOST_GROUP",SWIG_From_int(static_cast< int >(2)));
24081 SWIG_Python_SetConstant(d, "STC_METAPOST_SYMBOL",SWIG_From_int(static_cast< int >(3)));
24082 SWIG_Python_SetConstant(d, "STC_METAPOST_COMMAND",SWIG_From_int(static_cast< int >(4)));
24083 SWIG_Python_SetConstant(d, "STC_METAPOST_TEXT",SWIG_From_int(static_cast< int >(5)));
24084 SWIG_Python_SetConstant(d, "STC_METAPOST_EXTRA",SWIG_From_int(static_cast< int >(6)));
24085 SWIG_Python_SetConstant(d, "STC_ERLANG_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24086 SWIG_Python_SetConstant(d, "STC_ERLANG_COMMENT",SWIG_From_int(static_cast< int >(1)));
24087 SWIG_Python_SetConstant(d, "STC_ERLANG_VARIABLE",SWIG_From_int(static_cast< int >(2)));
24088 SWIG_Python_SetConstant(d, "STC_ERLANG_NUMBER",SWIG_From_int(static_cast< int >(3)));
24089 SWIG_Python_SetConstant(d, "STC_ERLANG_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24090 SWIG_Python_SetConstant(d, "STC_ERLANG_STRING",SWIG_From_int(static_cast< int >(5)));
24091 SWIG_Python_SetConstant(d, "STC_ERLANG_OPERATOR",SWIG_From_int(static_cast< int >(6)));
24092 SWIG_Python_SetConstant(d, "STC_ERLANG_ATOM",SWIG_From_int(static_cast< int >(7)));
24093 SWIG_Python_SetConstant(d, "STC_ERLANG_FUNCTION_NAME",SWIG_From_int(static_cast< int >(8)));
24094 SWIG_Python_SetConstant(d, "STC_ERLANG_CHARACTER",SWIG_From_int(static_cast< int >(9)));
24095 SWIG_Python_SetConstant(d, "STC_ERLANG_MACRO",SWIG_From_int(static_cast< int >(10)));
24096 SWIG_Python_SetConstant(d, "STC_ERLANG_RECORD",SWIG_From_int(static_cast< int >(11)));
24097 SWIG_Python_SetConstant(d, "STC_ERLANG_SEPARATOR",SWIG_From_int(static_cast< int >(12)));
24098 SWIG_Python_SetConstant(d, "STC_ERLANG_NODE_NAME",SWIG_From_int(static_cast< int >(13)));
24099 SWIG_Python_SetConstant(d, "STC_ERLANG_UNKNOWN",SWIG_From_int(static_cast< int >(31)));
24100 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24101 SWIG_Python_SetConstant(d, "STC_MSSQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24102 SWIG_Python_SetConstant(d, "STC_MSSQL_LINE_COMMENT",SWIG_From_int(static_cast< int >(2)));
24103 SWIG_Python_SetConstant(d, "STC_MSSQL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24104 SWIG_Python_SetConstant(d, "STC_MSSQL_STRING",SWIG_From_int(static_cast< int >(4)));
24105 SWIG_Python_SetConstant(d, "STC_MSSQL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24106 SWIG_Python_SetConstant(d, "STC_MSSQL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24107 SWIG_Python_SetConstant(d, "STC_MSSQL_VARIABLE",SWIG_From_int(static_cast< int >(7)));
24108 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME",SWIG_From_int(static_cast< int >(8)));
24109 SWIG_Python_SetConstant(d, "STC_MSSQL_STATEMENT",SWIG_From_int(static_cast< int >(9)));
24110 SWIG_Python_SetConstant(d, "STC_MSSQL_DATATYPE",SWIG_From_int(static_cast< int >(10)));
24111 SWIG_Python_SetConstant(d, "STC_MSSQL_SYSTABLE",SWIG_From_int(static_cast< int >(11)));
24112 SWIG_Python_SetConstant(d, "STC_MSSQL_GLOBAL_VARIABLE",SWIG_From_int(static_cast< int >(12)));
24113 SWIG_Python_SetConstant(d, "STC_MSSQL_FUNCTION",SWIG_From_int(static_cast< int >(13)));
24114 SWIG_Python_SetConstant(d, "STC_MSSQL_STORED_PROCEDURE",SWIG_From_int(static_cast< int >(14)));
24115 SWIG_Python_SetConstant(d, "STC_MSSQL_DEFAULT_PREF_DATATYPE",SWIG_From_int(static_cast< int >(15)));
24116 SWIG_Python_SetConstant(d, "STC_MSSQL_COLUMN_NAME_2",SWIG_From_int(static_cast< int >(16)));
24117 SWIG_Python_SetConstant(d, "STC_V_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24118 SWIG_Python_SetConstant(d, "STC_V_COMMENT",SWIG_From_int(static_cast< int >(1)));
24119 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24120 SWIG_Python_SetConstant(d, "STC_V_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24121 SWIG_Python_SetConstant(d, "STC_V_NUMBER",SWIG_From_int(static_cast< int >(4)));
24122 SWIG_Python_SetConstant(d, "STC_V_WORD",SWIG_From_int(static_cast< int >(5)));
24123 SWIG_Python_SetConstant(d, "STC_V_STRING",SWIG_From_int(static_cast< int >(6)));
24124 SWIG_Python_SetConstant(d, "STC_V_WORD2",SWIG_From_int(static_cast< int >(7)));
24125 SWIG_Python_SetConstant(d, "STC_V_WORD3",SWIG_From_int(static_cast< int >(8)));
24126 SWIG_Python_SetConstant(d, "STC_V_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24127 SWIG_Python_SetConstant(d, "STC_V_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24128 SWIG_Python_SetConstant(d, "STC_V_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24129 SWIG_Python_SetConstant(d, "STC_V_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24130 SWIG_Python_SetConstant(d, "STC_V_USER",SWIG_From_int(static_cast< int >(19)));
24131 SWIG_Python_SetConstant(d, "STC_KIX_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24132 SWIG_Python_SetConstant(d, "STC_KIX_COMMENT",SWIG_From_int(static_cast< int >(1)));
24133 SWIG_Python_SetConstant(d, "STC_KIX_STRING1",SWIG_From_int(static_cast< int >(2)));
24134 SWIG_Python_SetConstant(d, "STC_KIX_STRING2",SWIG_From_int(static_cast< int >(3)));
24135 SWIG_Python_SetConstant(d, "STC_KIX_NUMBER",SWIG_From_int(static_cast< int >(4)));
24136 SWIG_Python_SetConstant(d, "STC_KIX_VAR",SWIG_From_int(static_cast< int >(5)));
24137 SWIG_Python_SetConstant(d, "STC_KIX_MACRO",SWIG_From_int(static_cast< int >(6)));
24138 SWIG_Python_SetConstant(d, "STC_KIX_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24139 SWIG_Python_SetConstant(d, "STC_KIX_FUNCTIONS",SWIG_From_int(static_cast< int >(8)));
24140 SWIG_Python_SetConstant(d, "STC_KIX_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24141 SWIG_Python_SetConstant(d, "STC_KIX_IDENTIFIER",SWIG_From_int(static_cast< int >(31)));
24142 SWIG_Python_SetConstant(d, "STC_GC_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24143 SWIG_Python_SetConstant(d, "STC_GC_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24144 SWIG_Python_SetConstant(d, "STC_GC_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24145 SWIG_Python_SetConstant(d, "STC_GC_GLOBAL",SWIG_From_int(static_cast< int >(3)));
24146 SWIG_Python_SetConstant(d, "STC_GC_EVENT",SWIG_From_int(static_cast< int >(4)));
24147 SWIG_Python_SetConstant(d, "STC_GC_ATTRIBUTE",SWIG_From_int(static_cast< int >(5)));
24148 SWIG_Python_SetConstant(d, "STC_GC_CONTROL",SWIG_From_int(static_cast< int >(6)));
24149 SWIG_Python_SetConstant(d, "STC_GC_COMMAND",SWIG_From_int(static_cast< int >(7)));
24150 SWIG_Python_SetConstant(d, "STC_GC_STRING",SWIG_From_int(static_cast< int >(8)));
24151 SWIG_Python_SetConstant(d, "STC_GC_OPERATOR",SWIG_From_int(static_cast< int >(9)));
24152 SWIG_Python_SetConstant(d, "STC_SN_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24153 SWIG_Python_SetConstant(d, "STC_SN_CODE",SWIG_From_int(static_cast< int >(1)));
24154 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24155 SWIG_Python_SetConstant(d, "STC_SN_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(3)));
24156 SWIG_Python_SetConstant(d, "STC_SN_NUMBER",SWIG_From_int(static_cast< int >(4)));
24157 SWIG_Python_SetConstant(d, "STC_SN_WORD",SWIG_From_int(static_cast< int >(5)));
24158 SWIG_Python_SetConstant(d, "STC_SN_STRING",SWIG_From_int(static_cast< int >(6)));
24159 SWIG_Python_SetConstant(d, "STC_SN_WORD2",SWIG_From_int(static_cast< int >(7)));
24160 SWIG_Python_SetConstant(d, "STC_SN_WORD3",SWIG_From_int(static_cast< int >(8)));
24161 SWIG_Python_SetConstant(d, "STC_SN_PREPROCESSOR",SWIG_From_int(static_cast< int >(9)));
24162 SWIG_Python_SetConstant(d, "STC_SN_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24163 SWIG_Python_SetConstant(d, "STC_SN_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24164 SWIG_Python_SetConstant(d, "STC_SN_STRINGEOL",SWIG_From_int(static_cast< int >(12)));
24165 SWIG_Python_SetConstant(d, "STC_SN_REGEXTAG",SWIG_From_int(static_cast< int >(13)));
24166 SWIG_Python_SetConstant(d, "STC_SN_SIGNAL",SWIG_From_int(static_cast< int >(14)));
24167 SWIG_Python_SetConstant(d, "STC_SN_USER",SWIG_From_int(static_cast< int >(19)));
24168 SWIG_Python_SetConstant(d, "STC_AU3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24169 SWIG_Python_SetConstant(d, "STC_AU3_COMMENT",SWIG_From_int(static_cast< int >(1)));
24170 SWIG_Python_SetConstant(d, "STC_AU3_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24171 SWIG_Python_SetConstant(d, "STC_AU3_NUMBER",SWIG_From_int(static_cast< int >(3)));
24172 SWIG_Python_SetConstant(d, "STC_AU3_FUNCTION",SWIG_From_int(static_cast< int >(4)));
24173 SWIG_Python_SetConstant(d, "STC_AU3_KEYWORD",SWIG_From_int(static_cast< int >(5)));
24174 SWIG_Python_SetConstant(d, "STC_AU3_MACRO",SWIG_From_int(static_cast< int >(6)));
24175 SWIG_Python_SetConstant(d, "STC_AU3_STRING",SWIG_From_int(static_cast< int >(7)));
24176 SWIG_Python_SetConstant(d, "STC_AU3_OPERATOR",SWIG_From_int(static_cast< int >(8)));
24177 SWIG_Python_SetConstant(d, "STC_AU3_VARIABLE",SWIG_From_int(static_cast< int >(9)));
24178 SWIG_Python_SetConstant(d, "STC_AU3_SENT",SWIG_From_int(static_cast< int >(10)));
24179 SWIG_Python_SetConstant(d, "STC_AU3_PREPROCESSOR",SWIG_From_int(static_cast< int >(11)));
24180 SWIG_Python_SetConstant(d, "STC_AU3_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24181 SWIG_Python_SetConstant(d, "STC_AU3_EXPAND",SWIG_From_int(static_cast< int >(13)));
24182 SWIG_Python_SetConstant(d, "STC_AU3_COMOBJ",SWIG_From_int(static_cast< int >(14)));
24183 SWIG_Python_SetConstant(d, "STC_AU3_UDF",SWIG_From_int(static_cast< int >(15)));
24184 SWIG_Python_SetConstant(d, "STC_APDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24185 SWIG_Python_SetConstant(d, "STC_APDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24186 SWIG_Python_SetConstant(d, "STC_APDL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24187 SWIG_Python_SetConstant(d, "STC_APDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24188 SWIG_Python_SetConstant(d, "STC_APDL_STRING",SWIG_From_int(static_cast< int >(4)));
24189 SWIG_Python_SetConstant(d, "STC_APDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24190 SWIG_Python_SetConstant(d, "STC_APDL_WORD",SWIG_From_int(static_cast< int >(6)));
24191 SWIG_Python_SetConstant(d, "STC_APDL_PROCESSOR",SWIG_From_int(static_cast< int >(7)));
24192 SWIG_Python_SetConstant(d, "STC_APDL_COMMAND",SWIG_From_int(static_cast< int >(8)));
24193 SWIG_Python_SetConstant(d, "STC_APDL_SLASHCOMMAND",SWIG_From_int(static_cast< int >(9)));
24194 SWIG_Python_SetConstant(d, "STC_APDL_STARCOMMAND",SWIG_From_int(static_cast< int >(10)));
24195 SWIG_Python_SetConstant(d, "STC_APDL_ARGUMENT",SWIG_From_int(static_cast< int >(11)));
24196 SWIG_Python_SetConstant(d, "STC_APDL_FUNCTION",SWIG_From_int(static_cast< int >(12)));
24197 SWIG_Python_SetConstant(d, "STC_SH_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24198 SWIG_Python_SetConstant(d, "STC_SH_ERROR",SWIG_From_int(static_cast< int >(1)));
24199 SWIG_Python_SetConstant(d, "STC_SH_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24200 SWIG_Python_SetConstant(d, "STC_SH_NUMBER",SWIG_From_int(static_cast< int >(3)));
24201 SWIG_Python_SetConstant(d, "STC_SH_WORD",SWIG_From_int(static_cast< int >(4)));
24202 SWIG_Python_SetConstant(d, "STC_SH_STRING",SWIG_From_int(static_cast< int >(5)));
24203 SWIG_Python_SetConstant(d, "STC_SH_CHARACTER",SWIG_From_int(static_cast< int >(6)));
24204 SWIG_Python_SetConstant(d, "STC_SH_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24205 SWIG_Python_SetConstant(d, "STC_SH_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24206 SWIG_Python_SetConstant(d, "STC_SH_SCALAR",SWIG_From_int(static_cast< int >(9)));
24207 SWIG_Python_SetConstant(d, "STC_SH_PARAM",SWIG_From_int(static_cast< int >(10)));
24208 SWIG_Python_SetConstant(d, "STC_SH_BACKTICKS",SWIG_From_int(static_cast< int >(11)));
24209 SWIG_Python_SetConstant(d, "STC_SH_HERE_DELIM",SWIG_From_int(static_cast< int >(12)));
24210 SWIG_Python_SetConstant(d, "STC_SH_HERE_Q",SWIG_From_int(static_cast< int >(13)));
24211 SWIG_Python_SetConstant(d, "STC_ASN1_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24212 SWIG_Python_SetConstant(d, "STC_ASN1_COMMENT",SWIG_From_int(static_cast< int >(1)));
24213 SWIG_Python_SetConstant(d, "STC_ASN1_IDENTIFIER",SWIG_From_int(static_cast< int >(2)));
24214 SWIG_Python_SetConstant(d, "STC_ASN1_STRING",SWIG_From_int(static_cast< int >(3)));
24215 SWIG_Python_SetConstant(d, "STC_ASN1_OID",SWIG_From_int(static_cast< int >(4)));
24216 SWIG_Python_SetConstant(d, "STC_ASN1_SCALAR",SWIG_From_int(static_cast< int >(5)));
24217 SWIG_Python_SetConstant(d, "STC_ASN1_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24218 SWIG_Python_SetConstant(d, "STC_ASN1_ATTRIBUTE",SWIG_From_int(static_cast< int >(7)));
24219 SWIG_Python_SetConstant(d, "STC_ASN1_DESCRIPTOR",SWIG_From_int(static_cast< int >(8)));
24220 SWIG_Python_SetConstant(d, "STC_ASN1_TYPE",SWIG_From_int(static_cast< int >(9)));
24221 SWIG_Python_SetConstant(d, "STC_ASN1_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24222 SWIG_Python_SetConstant(d, "STC_VHDL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24223 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24224 SWIG_Python_SetConstant(d, "STC_VHDL_COMMENTLINEBANG",SWIG_From_int(static_cast< int >(2)));
24225 SWIG_Python_SetConstant(d, "STC_VHDL_NUMBER",SWIG_From_int(static_cast< int >(3)));
24226 SWIG_Python_SetConstant(d, "STC_VHDL_STRING",SWIG_From_int(static_cast< int >(4)));
24227 SWIG_Python_SetConstant(d, "STC_VHDL_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24228 SWIG_Python_SetConstant(d, "STC_VHDL_IDENTIFIER",SWIG_From_int(static_cast< int >(6)));
24229 SWIG_Python_SetConstant(d, "STC_VHDL_STRINGEOL",SWIG_From_int(static_cast< int >(7)));
24230 SWIG_Python_SetConstant(d, "STC_VHDL_KEYWORD",SWIG_From_int(static_cast< int >(8)));
24231 SWIG_Python_SetConstant(d, "STC_VHDL_STDOPERATOR",SWIG_From_int(static_cast< int >(9)));
24232 SWIG_Python_SetConstant(d, "STC_VHDL_ATTRIBUTE",SWIG_From_int(static_cast< int >(10)));
24233 SWIG_Python_SetConstant(d, "STC_VHDL_STDFUNCTION",SWIG_From_int(static_cast< int >(11)));
24234 SWIG_Python_SetConstant(d, "STC_VHDL_STDPACKAGE",SWIG_From_int(static_cast< int >(12)));
24235 SWIG_Python_SetConstant(d, "STC_VHDL_STDTYPE",SWIG_From_int(static_cast< int >(13)));
24236 SWIG_Python_SetConstant(d, "STC_VHDL_USERWORD",SWIG_From_int(static_cast< int >(14)));
24237 SWIG_Python_SetConstant(d, "STC_CAML_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24238 SWIG_Python_SetConstant(d, "STC_CAML_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24239 SWIG_Python_SetConstant(d, "STC_CAML_TAGNAME",SWIG_From_int(static_cast< int >(2)));
24240 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD",SWIG_From_int(static_cast< int >(3)));
24241 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD2",SWIG_From_int(static_cast< int >(4)));
24242 SWIG_Python_SetConstant(d, "STC_CAML_KEYWORD3",SWIG_From_int(static_cast< int >(5)));
24243 SWIG_Python_SetConstant(d, "STC_CAML_LINENUM",SWIG_From_int(static_cast< int >(6)));
24244 SWIG_Python_SetConstant(d, "STC_CAML_OPERATOR",SWIG_From_int(static_cast< int >(7)));
24245 SWIG_Python_SetConstant(d, "STC_CAML_NUMBER",SWIG_From_int(static_cast< int >(8)));
24246 SWIG_Python_SetConstant(d, "STC_CAML_CHAR",SWIG_From_int(static_cast< int >(9)));
24247 SWIG_Python_SetConstant(d, "STC_CAML_STRING",SWIG_From_int(static_cast< int >(11)));
24248 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT",SWIG_From_int(static_cast< int >(12)));
24249 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT1",SWIG_From_int(static_cast< int >(13)));
24250 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT2",SWIG_From_int(static_cast< int >(14)));
24251 SWIG_Python_SetConstant(d, "STC_CAML_COMMENT3",SWIG_From_int(static_cast< int >(15)));
24252 SWIG_Python_SetConstant(d, "STC_HA_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24253 SWIG_Python_SetConstant(d, "STC_HA_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24254 SWIG_Python_SetConstant(d, "STC_HA_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24255 SWIG_Python_SetConstant(d, "STC_HA_NUMBER",SWIG_From_int(static_cast< int >(3)));
24256 SWIG_Python_SetConstant(d, "STC_HA_STRING",SWIG_From_int(static_cast< int >(4)));
24257 SWIG_Python_SetConstant(d, "STC_HA_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24258 SWIG_Python_SetConstant(d, "STC_HA_CLASS",SWIG_From_int(static_cast< int >(6)));
24259 SWIG_Python_SetConstant(d, "STC_HA_MODULE",SWIG_From_int(static_cast< int >(7)));
24260 SWIG_Python_SetConstant(d, "STC_HA_CAPITAL",SWIG_From_int(static_cast< int >(8)));
24261 SWIG_Python_SetConstant(d, "STC_HA_DATA",SWIG_From_int(static_cast< int >(9)));
24262 SWIG_Python_SetConstant(d, "STC_HA_IMPORT",SWIG_From_int(static_cast< int >(10)));
24263 SWIG_Python_SetConstant(d, "STC_HA_OPERATOR",SWIG_From_int(static_cast< int >(11)));
24264 SWIG_Python_SetConstant(d, "STC_HA_INSTANCE",SWIG_From_int(static_cast< int >(12)));
24265 SWIG_Python_SetConstant(d, "STC_HA_COMMENTLINE",SWIG_From_int(static_cast< int >(13)));
24266 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK",SWIG_From_int(static_cast< int >(14)));
24267 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK2",SWIG_From_int(static_cast< int >(15)));
24268 SWIG_Python_SetConstant(d, "STC_HA_COMMENTBLOCK3",SWIG_From_int(static_cast< int >(16)));
24269 SWIG_Python_SetConstant(d, "STC_T3_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24270 SWIG_Python_SetConstant(d, "STC_T3_X_DEFAULT",SWIG_From_int(static_cast< int >(1)));
24271 SWIG_Python_SetConstant(d, "STC_T3_PREPROCESSOR",SWIG_From_int(static_cast< int >(2)));
24272 SWIG_Python_SetConstant(d, "STC_T3_BLOCK_COMMENT",SWIG_From_int(static_cast< int >(3)));
24273 SWIG_Python_SetConstant(d, "STC_T3_LINE_COMMENT",SWIG_From_int(static_cast< int >(4)));
24274 SWIG_Python_SetConstant(d, "STC_T3_OPERATOR",SWIG_From_int(static_cast< int >(5)));
24275 SWIG_Python_SetConstant(d, "STC_T3_KEYWORD",SWIG_From_int(static_cast< int >(6)));
24276 SWIG_Python_SetConstant(d, "STC_T3_NUMBER",SWIG_From_int(static_cast< int >(7)));
24277 SWIG_Python_SetConstant(d, "STC_T3_IDENTIFIER",SWIG_From_int(static_cast< int >(8)));
24278 SWIG_Python_SetConstant(d, "STC_T3_S_STRING",SWIG_From_int(static_cast< int >(9)));
24279 SWIG_Python_SetConstant(d, "STC_T3_D_STRING",SWIG_From_int(static_cast< int >(10)));
24280 SWIG_Python_SetConstant(d, "STC_T3_X_STRING",SWIG_From_int(static_cast< int >(11)));
24281 SWIG_Python_SetConstant(d, "STC_T3_LIB_DIRECTIVE",SWIG_From_int(static_cast< int >(12)));
24282 SWIG_Python_SetConstant(d, "STC_T3_MSG_PARAM",SWIG_From_int(static_cast< int >(13)));
24283 SWIG_Python_SetConstant(d, "STC_T3_HTML_TAG",SWIG_From_int(static_cast< int >(14)));
24284 SWIG_Python_SetConstant(d, "STC_T3_HTML_DEFAULT",SWIG_From_int(static_cast< int >(15)));
24285 SWIG_Python_SetConstant(d, "STC_T3_HTML_STRING",SWIG_From_int(static_cast< int >(16)));
24286 SWIG_Python_SetConstant(d, "STC_T3_USER1",SWIG_From_int(static_cast< int >(17)));
24287 SWIG_Python_SetConstant(d, "STC_T3_USER2",SWIG_From_int(static_cast< int >(18)));
24288 SWIG_Python_SetConstant(d, "STC_T3_USER3",SWIG_From_int(static_cast< int >(19)));
24289 SWIG_Python_SetConstant(d, "STC_REBOL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24290 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTLINE",SWIG_From_int(static_cast< int >(1)));
24291 SWIG_Python_SetConstant(d, "STC_REBOL_COMMENTBLOCK",SWIG_From_int(static_cast< int >(2)));
24292 SWIG_Python_SetConstant(d, "STC_REBOL_PREFACE",SWIG_From_int(static_cast< int >(3)));
24293 SWIG_Python_SetConstant(d, "STC_REBOL_OPERATOR",SWIG_From_int(static_cast< int >(4)));
24294 SWIG_Python_SetConstant(d, "STC_REBOL_CHARACTER",SWIG_From_int(static_cast< int >(5)));
24295 SWIG_Python_SetConstant(d, "STC_REBOL_QUOTEDSTRING",SWIG_From_int(static_cast< int >(6)));
24296 SWIG_Python_SetConstant(d, "STC_REBOL_BRACEDSTRING",SWIG_From_int(static_cast< int >(7)));
24297 SWIG_Python_SetConstant(d, "STC_REBOL_NUMBER",SWIG_From_int(static_cast< int >(8)));
24298 SWIG_Python_SetConstant(d, "STC_REBOL_PAIR",SWIG_From_int(static_cast< int >(9)));
24299 SWIG_Python_SetConstant(d, "STC_REBOL_TUPLE",SWIG_From_int(static_cast< int >(10)));
24300 SWIG_Python_SetConstant(d, "STC_REBOL_BINARY",SWIG_From_int(static_cast< int >(11)));
24301 SWIG_Python_SetConstant(d, "STC_REBOL_MONEY",SWIG_From_int(static_cast< int >(12)));
24302 SWIG_Python_SetConstant(d, "STC_REBOL_ISSUE",SWIG_From_int(static_cast< int >(13)));
24303 SWIG_Python_SetConstant(d, "STC_REBOL_TAG",SWIG_From_int(static_cast< int >(14)));
24304 SWIG_Python_SetConstant(d, "STC_REBOL_FILE",SWIG_From_int(static_cast< int >(15)));
24305 SWIG_Python_SetConstant(d, "STC_REBOL_EMAIL",SWIG_From_int(static_cast< int >(16)));
24306 SWIG_Python_SetConstant(d, "STC_REBOL_URL",SWIG_From_int(static_cast< int >(17)));
24307 SWIG_Python_SetConstant(d, "STC_REBOL_DATE",SWIG_From_int(static_cast< int >(18)));
24308 SWIG_Python_SetConstant(d, "STC_REBOL_TIME",SWIG_From_int(static_cast< int >(19)));
24309 SWIG_Python_SetConstant(d, "STC_REBOL_IDENTIFIER",SWIG_From_int(static_cast< int >(20)));
24310 SWIG_Python_SetConstant(d, "STC_REBOL_WORD",SWIG_From_int(static_cast< int >(21)));
24311 SWIG_Python_SetConstant(d, "STC_REBOL_WORD2",SWIG_From_int(static_cast< int >(22)));
24312 SWIG_Python_SetConstant(d, "STC_REBOL_WORD3",SWIG_From_int(static_cast< int >(23)));
24313 SWIG_Python_SetConstant(d, "STC_REBOL_WORD4",SWIG_From_int(static_cast< int >(24)));
24314 SWIG_Python_SetConstant(d, "STC_REBOL_WORD5",SWIG_From_int(static_cast< int >(25)));
24315 SWIG_Python_SetConstant(d, "STC_REBOL_WORD6",SWIG_From_int(static_cast< int >(26)));
24316 SWIG_Python_SetConstant(d, "STC_REBOL_WORD7",SWIG_From_int(static_cast< int >(27)));
24317 SWIG_Python_SetConstant(d, "STC_REBOL_WORD8",SWIG_From_int(static_cast< int >(28)));
24318 SWIG_Python_SetConstant(d, "STC_SQL_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24319 SWIG_Python_SetConstant(d, "STC_SQL_COMMENT",SWIG_From_int(static_cast< int >(1)));
24320 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24321 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24322 SWIG_Python_SetConstant(d, "STC_SQL_NUMBER",SWIG_From_int(static_cast< int >(4)));
24323 SWIG_Python_SetConstant(d, "STC_SQL_WORD",SWIG_From_int(static_cast< int >(5)));
24324 SWIG_Python_SetConstant(d, "STC_SQL_STRING",SWIG_From_int(static_cast< int >(6)));
24325 SWIG_Python_SetConstant(d, "STC_SQL_CHARACTER",SWIG_From_int(static_cast< int >(7)));
24326 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS",SWIG_From_int(static_cast< int >(8)));
24327 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_PROMPT",SWIG_From_int(static_cast< int >(9)));
24328 SWIG_Python_SetConstant(d, "STC_SQL_OPERATOR",SWIG_From_int(static_cast< int >(10)));
24329 SWIG_Python_SetConstant(d, "STC_SQL_IDENTIFIER",SWIG_From_int(static_cast< int >(11)));
24330 SWIG_Python_SetConstant(d, "STC_SQL_SQLPLUS_COMMENT",SWIG_From_int(static_cast< int >(13)));
24331 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(15)));
24332 SWIG_Python_SetConstant(d, "STC_SQL_WORD2",SWIG_From_int(static_cast< int >(16)));
24333 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(17)));
24334 SWIG_Python_SetConstant(d, "STC_SQL_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(18)));
24335 SWIG_Python_SetConstant(d, "STC_SQL_USER1",SWIG_From_int(static_cast< int >(19)));
24336 SWIG_Python_SetConstant(d, "STC_SQL_USER2",SWIG_From_int(static_cast< int >(20)));
24337 SWIG_Python_SetConstant(d, "STC_SQL_USER3",SWIG_From_int(static_cast< int >(21)));
24338 SWIG_Python_SetConstant(d, "STC_SQL_USER4",SWIG_From_int(static_cast< int >(22)));
24339 SWIG_Python_SetConstant(d, "STC_SQL_QUOTEDIDENTIFIER",SWIG_From_int(static_cast< int >(23)));
24340 SWIG_Python_SetConstant(d, "STC_ST_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24341 SWIG_Python_SetConstant(d, "STC_ST_STRING",SWIG_From_int(static_cast< int >(1)));
24342 SWIG_Python_SetConstant(d, "STC_ST_NUMBER",SWIG_From_int(static_cast< int >(2)));
24343 SWIG_Python_SetConstant(d, "STC_ST_COMMENT",SWIG_From_int(static_cast< int >(3)));
24344 SWIG_Python_SetConstant(d, "STC_ST_SYMBOL",SWIG_From_int(static_cast< int >(4)));
24345 SWIG_Python_SetConstant(d, "STC_ST_BINARY",SWIG_From_int(static_cast< int >(5)));
24346 SWIG_Python_SetConstant(d, "STC_ST_BOOL",SWIG_From_int(static_cast< int >(6)));
24347 SWIG_Python_SetConstant(d, "STC_ST_SELF",SWIG_From_int(static_cast< int >(7)));
24348 SWIG_Python_SetConstant(d, "STC_ST_SUPER",SWIG_From_int(static_cast< int >(8)));
24349 SWIG_Python_SetConstant(d, "STC_ST_NIL",SWIG_From_int(static_cast< int >(9)));
24350 SWIG_Python_SetConstant(d, "STC_ST_GLOBAL",SWIG_From_int(static_cast< int >(10)));
24351 SWIG_Python_SetConstant(d, "STC_ST_RETURN",SWIG_From_int(static_cast< int >(11)));
24352 SWIG_Python_SetConstant(d, "STC_ST_SPECIAL",SWIG_From_int(static_cast< int >(12)));
24353 SWIG_Python_SetConstant(d, "STC_ST_KWSEND",SWIG_From_int(static_cast< int >(13)));
24354 SWIG_Python_SetConstant(d, "STC_ST_ASSIGN",SWIG_From_int(static_cast< int >(14)));
24355 SWIG_Python_SetConstant(d, "STC_ST_CHARACTER",SWIG_From_int(static_cast< int >(15)));
24356 SWIG_Python_SetConstant(d, "STC_ST_SPEC_SEL",SWIG_From_int(static_cast< int >(16)));
24357 SWIG_Python_SetConstant(d, "STC_FS_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24358 SWIG_Python_SetConstant(d, "STC_FS_COMMENT",SWIG_From_int(static_cast< int >(1)));
24359 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINE",SWIG_From_int(static_cast< int >(2)));
24360 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOC",SWIG_From_int(static_cast< int >(3)));
24361 SWIG_Python_SetConstant(d, "STC_FS_COMMENTLINEDOC",SWIG_From_int(static_cast< int >(4)));
24362 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORD",SWIG_From_int(static_cast< int >(5)));
24363 SWIG_Python_SetConstant(d, "STC_FS_COMMENTDOCKEYWORDERROR",SWIG_From_int(static_cast< int >(6)));
24364 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD",SWIG_From_int(static_cast< int >(7)));
24365 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD2",SWIG_From_int(static_cast< int >(8)));
24366 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD3",SWIG_From_int(static_cast< int >(9)));
24367 SWIG_Python_SetConstant(d, "STC_FS_KEYWORD4",SWIG_From_int(static_cast< int >(10)));
24368 SWIG_Python_SetConstant(d, "STC_FS_NUMBER",SWIG_From_int(static_cast< int >(11)));
24369 SWIG_Python_SetConstant(d, "STC_FS_STRING",SWIG_From_int(static_cast< int >(12)));
24370 SWIG_Python_SetConstant(d, "STC_FS_PREPROCESSOR",SWIG_From_int(static_cast< int >(13)));
24371 SWIG_Python_SetConstant(d, "STC_FS_OPERATOR",SWIG_From_int(static_cast< int >(14)));
24372 SWIG_Python_SetConstant(d, "STC_FS_IDENTIFIER",SWIG_From_int(static_cast< int >(15)));
24373 SWIG_Python_SetConstant(d, "STC_FS_DATE",SWIG_From_int(static_cast< int >(16)));
24374 SWIG_Python_SetConstant(d, "STC_FS_STRINGEOL",SWIG_From_int(static_cast< int >(17)));
24375 SWIG_Python_SetConstant(d, "STC_FS_CONSTANT",SWIG_From_int(static_cast< int >(18)));
24376 SWIG_Python_SetConstant(d, "STC_FS_ASM",SWIG_From_int(static_cast< int >(19)));
24377 SWIG_Python_SetConstant(d, "STC_FS_LABEL",SWIG_From_int(static_cast< int >(20)));
24378 SWIG_Python_SetConstant(d, "STC_FS_ERROR",SWIG_From_int(static_cast< int >(21)));
24379 SWIG_Python_SetConstant(d, "STC_FS_HEXNUMBER",SWIG_From_int(static_cast< int >(22)));
24380 SWIG_Python_SetConstant(d, "STC_FS_BINNUMBER",SWIG_From_int(static_cast< int >(23)));
24381 SWIG_Python_SetConstant(d, "STC_CSOUND_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24382 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENT",SWIG_From_int(static_cast< int >(1)));
24383 SWIG_Python_SetConstant(d, "STC_CSOUND_NUMBER",SWIG_From_int(static_cast< int >(2)));
24384 SWIG_Python_SetConstant(d, "STC_CSOUND_OPERATOR",SWIG_From_int(static_cast< int >(3)));
24385 SWIG_Python_SetConstant(d, "STC_CSOUND_INSTR",SWIG_From_int(static_cast< int >(4)));
24386 SWIG_Python_SetConstant(d, "STC_CSOUND_IDENTIFIER",SWIG_From_int(static_cast< int >(5)));
24387 SWIG_Python_SetConstant(d, "STC_CSOUND_OPCODE",SWIG_From_int(static_cast< int >(6)));
24388 SWIG_Python_SetConstant(d, "STC_CSOUND_HEADERSTMT",SWIG_From_int(static_cast< int >(7)));
24389 SWIG_Python_SetConstant(d, "STC_CSOUND_USERKEYWORD",SWIG_From_int(static_cast< int >(8)));
24390 SWIG_Python_SetConstant(d, "STC_CSOUND_COMMENTBLOCK",SWIG_From_int(static_cast< int >(9)));
24391 SWIG_Python_SetConstant(d, "STC_CSOUND_PARAM",SWIG_From_int(static_cast< int >(10)));
24392 SWIG_Python_SetConstant(d, "STC_CSOUND_ARATE_VAR",SWIG_From_int(static_cast< int >(11)));
24393 SWIG_Python_SetConstant(d, "STC_CSOUND_KRATE_VAR",SWIG_From_int(static_cast< int >(12)));
24394 SWIG_Python_SetConstant(d, "STC_CSOUND_IRATE_VAR",SWIG_From_int(static_cast< int >(13)));
24395 SWIG_Python_SetConstant(d, "STC_CSOUND_GLOBAL_VAR",SWIG_From_int(static_cast< int >(14)));
24396 SWIG_Python_SetConstant(d, "STC_CSOUND_STRINGEOL",SWIG_From_int(static_cast< int >(15)));
24397 SWIG_Python_SetConstant(d, "STC_INNO_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24398 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT",SWIG_From_int(static_cast< int >(1)));
24399 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24400 SWIG_Python_SetConstant(d, "STC_INNO_PARAMETER",SWIG_From_int(static_cast< int >(3)));
24401 SWIG_Python_SetConstant(d, "STC_INNO_SECTION",SWIG_From_int(static_cast< int >(4)));
24402 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC",SWIG_From_int(static_cast< int >(5)));
24403 SWIG_Python_SetConstant(d, "STC_INNO_PREPROC_INLINE",SWIG_From_int(static_cast< int >(6)));
24404 SWIG_Python_SetConstant(d, "STC_INNO_COMMENT_PASCAL",SWIG_From_int(static_cast< int >(7)));
24405 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_PASCAL",SWIG_From_int(static_cast< int >(8)));
24406 SWIG_Python_SetConstant(d, "STC_INNO_KEYWORD_USER",SWIG_From_int(static_cast< int >(9)));
24407 SWIG_Python_SetConstant(d, "STC_INNO_STRING_DOUBLE",SWIG_From_int(static_cast< int >(10)));
24408 SWIG_Python_SetConstant(d, "STC_INNO_STRING_SINGLE",SWIG_From_int(static_cast< int >(11)));
24409 SWIG_Python_SetConstant(d, "STC_INNO_IDENTIFIER",SWIG_From_int(static_cast< int >(12)));
24410 SWIG_Python_SetConstant(d, "STC_OPAL_SPACE",SWIG_From_int(static_cast< int >(0)));
24411 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_BLOCK",SWIG_From_int(static_cast< int >(1)));
24412 SWIG_Python_SetConstant(d, "STC_OPAL_COMMENT_LINE",SWIG_From_int(static_cast< int >(2)));
24413 SWIG_Python_SetConstant(d, "STC_OPAL_INTEGER",SWIG_From_int(static_cast< int >(3)));
24414 SWIG_Python_SetConstant(d, "STC_OPAL_KEYWORD",SWIG_From_int(static_cast< int >(4)));
24415 SWIG_Python_SetConstant(d, "STC_OPAL_SORT",SWIG_From_int(static_cast< int >(5)));
24416 SWIG_Python_SetConstant(d, "STC_OPAL_STRING",SWIG_From_int(static_cast< int >(6)));
24417 SWIG_Python_SetConstant(d, "STC_OPAL_PAR",SWIG_From_int(static_cast< int >(7)));
24418 SWIG_Python_SetConstant(d, "STC_OPAL_BOOL_CONST",SWIG_From_int(static_cast< int >(8)));
24419 SWIG_Python_SetConstant(d, "STC_OPAL_DEFAULT",SWIG_From_int(static_cast< int >(32)));
24420 SWIG_Python_SetConstant(d, "STC_SPICE_DEFAULT",SWIG_From_int(static_cast< int >(0)));
24421 SWIG_Python_SetConstant(d, "STC_SPICE_IDENTIFIER",SWIG_From_int(static_cast< int >(1)));
24422 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD",SWIG_From_int(static_cast< int >(2)));
24423 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD2",SWIG_From_int(static_cast< int >(3)));
24424 SWIG_Python_SetConstant(d, "STC_SPICE_KEYWORD3",SWIG_From_int(static_cast< int >(4)));
24425 SWIG_Python_SetConstant(d, "STC_SPICE_NUMBER",SWIG_From_int(static_cast< int >(5)));
24426 SWIG_Python_SetConstant(d, "STC_SPICE_DELIMITER",SWIG_From_int(static_cast< int >(6)));
24427 SWIG_Python_SetConstant(d, "STC_SPICE_VALUE",SWIG_From_int(static_cast< int >(7)));
24428 SWIG_Python_SetConstant(d, "STC_SPICE_COMMENTLINE",SWIG_From_int(static_cast< int >(8)));
24429 SWIG_Python_SetConstant(d, "STC_CMD_REDO",SWIG_From_int(static_cast< int >(2011)));
24430 SWIG_Python_SetConstant(d, "STC_CMD_SELECTALL",SWIG_From_int(static_cast< int >(2013)));
24431 SWIG_Python_SetConstant(d, "STC_CMD_UNDO",SWIG_From_int(static_cast< int >(2176)));
24432 SWIG_Python_SetConstant(d, "STC_CMD_CUT",SWIG_From_int(static_cast< int >(2177)));
24433 SWIG_Python_SetConstant(d, "STC_CMD_COPY",SWIG_From_int(static_cast< int >(2178)));
24434 SWIG_Python_SetConstant(d, "STC_CMD_PASTE",SWIG_From_int(static_cast< int >(2179)));
24435 SWIG_Python_SetConstant(d, "STC_CMD_CLEAR",SWIG_From_int(static_cast< int >(2180)));
24436 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWN",SWIG_From_int(static_cast< int >(2300)));
24437 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNEXTEND",SWIG_From_int(static_cast< int >(2301)));
24438 SWIG_Python_SetConstant(d, "STC_CMD_LINEUP",SWIG_From_int(static_cast< int >(2302)));
24439 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPEXTEND",SWIG_From_int(static_cast< int >(2303)));
24440 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFT",SWIG_From_int(static_cast< int >(2304)));
24441 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTEXTEND",SWIG_From_int(static_cast< int >(2305)));
24442 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHT",SWIG_From_int(static_cast< int >(2306)));
24443 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTEXTEND",SWIG_From_int(static_cast< int >(2307)));
24444 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFT",SWIG_From_int(static_cast< int >(2308)));
24445 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEXTEND",SWIG_From_int(static_cast< int >(2309)));
24446 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHT",SWIG_From_int(static_cast< int >(2310)));
24447 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEXTEND",SWIG_From_int(static_cast< int >(2311)));
24448 SWIG_Python_SetConstant(d, "STC_CMD_HOME",SWIG_From_int(static_cast< int >(2312)));
24449 SWIG_Python_SetConstant(d, "STC_CMD_HOMEEXTEND",SWIG_From_int(static_cast< int >(2313)));
24450 SWIG_Python_SetConstant(d, "STC_CMD_LINEEND",SWIG_From_int(static_cast< int >(2314)));
24451 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDEXTEND",SWIG_From_int(static_cast< int >(2315)));
24452 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTART",SWIG_From_int(static_cast< int >(2316)));
24453 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTSTARTEXTEND",SWIG_From_int(static_cast< int >(2317)));
24454 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTEND",SWIG_From_int(static_cast< int >(2318)));
24455 SWIG_Python_SetConstant(d, "STC_CMD_DOCUMENTENDEXTEND",SWIG_From_int(static_cast< int >(2319)));
24456 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUP",SWIG_From_int(static_cast< int >(2320)));
24457 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPEXTEND",SWIG_From_int(static_cast< int >(2321)));
24458 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWN",SWIG_From_int(static_cast< int >(2322)));
24459 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2323)));
24460 SWIG_Python_SetConstant(d, "STC_CMD_EDITTOGGLEOVERTYPE",SWIG_From_int(static_cast< int >(2324)));
24461 SWIG_Python_SetConstant(d, "STC_CMD_CANCEL",SWIG_From_int(static_cast< int >(2325)));
24462 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACK",SWIG_From_int(static_cast< int >(2326)));
24463 SWIG_Python_SetConstant(d, "STC_CMD_TAB",SWIG_From_int(static_cast< int >(2327)));
24464 SWIG_Python_SetConstant(d, "STC_CMD_BACKTAB",SWIG_From_int(static_cast< int >(2328)));
24465 SWIG_Python_SetConstant(d, "STC_CMD_NEWLINE",SWIG_From_int(static_cast< int >(2329)));
24466 SWIG_Python_SetConstant(d, "STC_CMD_FORMFEED",SWIG_From_int(static_cast< int >(2330)));
24467 SWIG_Python_SetConstant(d, "STC_CMD_VCHOME",SWIG_From_int(static_cast< int >(2331)));
24468 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEEXTEND",SWIG_From_int(static_cast< int >(2332)));
24469 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMIN",SWIG_From_int(static_cast< int >(2333)));
24470 SWIG_Python_SetConstant(d, "STC_CMD_ZOOMOUT",SWIG_From_int(static_cast< int >(2334)));
24471 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDLEFT",SWIG_From_int(static_cast< int >(2335)));
24472 SWIG_Python_SetConstant(d, "STC_CMD_DELWORDRIGHT",SWIG_From_int(static_cast< int >(2336)));
24473 SWIG_Python_SetConstant(d, "STC_CMD_LINECUT",SWIG_From_int(static_cast< int >(2337)));
24474 SWIG_Python_SetConstant(d, "STC_CMD_LINEDELETE",SWIG_From_int(static_cast< int >(2338)));
24475 SWIG_Python_SetConstant(d, "STC_CMD_LINETRANSPOSE",SWIG_From_int(static_cast< int >(2339)));
24476 SWIG_Python_SetConstant(d, "STC_CMD_LINEDUPLICATE",SWIG_From_int(static_cast< int >(2404)));
24477 SWIG_Python_SetConstant(d, "STC_CMD_LOWERCASE",SWIG_From_int(static_cast< int >(2340)));
24478 SWIG_Python_SetConstant(d, "STC_CMD_UPPERCASE",SWIG_From_int(static_cast< int >(2341)));
24479 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLDOWN",SWIG_From_int(static_cast< int >(2342)));
24480 SWIG_Python_SetConstant(d, "STC_CMD_LINESCROLLUP",SWIG_From_int(static_cast< int >(2343)));
24481 SWIG_Python_SetConstant(d, "STC_CMD_DELETEBACKNOTLINE",SWIG_From_int(static_cast< int >(2344)));
24482 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAY",SWIG_From_int(static_cast< int >(2345)));
24483 SWIG_Python_SetConstant(d, "STC_CMD_HOMEDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2346)));
24484 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAY",SWIG_From_int(static_cast< int >(2347)));
24485 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDDISPLAYEXTEND",SWIG_From_int(static_cast< int >(2348)));
24486 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAP",SWIG_From_int(static_cast< int >(2349)));
24487 SWIG_Python_SetConstant(d, "STC_CMD_HOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2450)));
24488 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAP",SWIG_From_int(static_cast< int >(2451)));
24489 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDWRAPEXTEND",SWIG_From_int(static_cast< int >(2452)));
24490 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAP",SWIG_From_int(static_cast< int >(2453)));
24491 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMEWRAPEXTEND",SWIG_From_int(static_cast< int >(2454)));
24492 SWIG_Python_SetConstant(d, "STC_CMD_LINECOPY",SWIG_From_int(static_cast< int >(2455)));
24493 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFT",SWIG_From_int(static_cast< int >(2390)));
24494 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTLEFTEXTEND",SWIG_From_int(static_cast< int >(2391)));
24495 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHT",SWIG_From_int(static_cast< int >(2392)));
24496 SWIG_Python_SetConstant(d, "STC_CMD_WORDPARTRIGHTEXTEND",SWIG_From_int(static_cast< int >(2393)));
24497 SWIG_Python_SetConstant(d, "STC_CMD_DELLINELEFT",SWIG_From_int(static_cast< int >(2395)));
24498 SWIG_Python_SetConstant(d, "STC_CMD_DELLINERIGHT",SWIG_From_int(static_cast< int >(2396)));
24499 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWN",SWIG_From_int(static_cast< int >(2413)));
24500 SWIG_Python_SetConstant(d, "STC_CMD_PARADOWNEXTEND",SWIG_From_int(static_cast< int >(2414)));
24501 SWIG_Python_SetConstant(d, "STC_CMD_PARAUP",SWIG_From_int(static_cast< int >(2415)));
24502 SWIG_Python_SetConstant(d, "STC_CMD_PARAUPEXTEND",SWIG_From_int(static_cast< int >(2416)));
24503 SWIG_Python_SetConstant(d, "STC_CMD_LINEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2426)));
24504 SWIG_Python_SetConstant(d, "STC_CMD_LINEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2427)));
24505 SWIG_Python_SetConstant(d, "STC_CMD_CHARLEFTRECTEXTEND",SWIG_From_int(static_cast< int >(2428)));
24506 SWIG_Python_SetConstant(d, "STC_CMD_CHARRIGHTRECTEXTEND",SWIG_From_int(static_cast< int >(2429)));
24507 SWIG_Python_SetConstant(d, "STC_CMD_HOMERECTEXTEND",SWIG_From_int(static_cast< int >(2430)));
24508 SWIG_Python_SetConstant(d, "STC_CMD_VCHOMERECTEXTEND",SWIG_From_int(static_cast< int >(2431)));
24509 SWIG_Python_SetConstant(d, "STC_CMD_LINEENDRECTEXTEND",SWIG_From_int(static_cast< int >(2432)));
24510 SWIG_Python_SetConstant(d, "STC_CMD_PAGEUPRECTEXTEND",SWIG_From_int(static_cast< int >(2433)));
24511 SWIG_Python_SetConstant(d, "STC_CMD_PAGEDOWNRECTEXTEND",SWIG_From_int(static_cast< int >(2434)));
24512 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUP",SWIG_From_int(static_cast< int >(2435)));
24513 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEUPEXTEND",SWIG_From_int(static_cast< int >(2436)));
24514 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWN",SWIG_From_int(static_cast< int >(2437)));
24515 SWIG_Python_SetConstant(d, "STC_CMD_STUTTEREDPAGEDOWNEXTEND",SWIG_From_int(static_cast< int >(2438)));
24516 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTEND",SWIG_From_int(static_cast< int >(2439)));
24517 SWIG_Python_SetConstant(d, "STC_CMD_WORDLEFTENDEXTEND",SWIG_From_int(static_cast< int >(2440)));
24518 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTEND",SWIG_From_int(static_cast< int >(2441)));
24519 SWIG_Python_SetConstant(d, "STC_CMD_WORDRIGHTENDEXTEND",SWIG_From_int(static_cast< int >(2442)));
24520 SWIG_Python_SetConstant(d, "wxEVT_STC_CHANGE",SWIG_From_int(static_cast< int >(wxEVT_STC_CHANGE)));
24521 SWIG_Python_SetConstant(d, "wxEVT_STC_STYLENEEDED",SWIG_From_int(static_cast< int >(wxEVT_STC_STYLENEEDED)));
24522 SWIG_Python_SetConstant(d, "wxEVT_STC_CHARADDED",SWIG_From_int(static_cast< int >(wxEVT_STC_CHARADDED)));
24523 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTREACHED",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTREACHED)));
24524 SWIG_Python_SetConstant(d, "wxEVT_STC_SAVEPOINTLEFT",SWIG_From_int(static_cast< int >(wxEVT_STC_SAVEPOINTLEFT)));
24525 SWIG_Python_SetConstant(d, "wxEVT_STC_ROMODIFYATTEMPT",SWIG_From_int(static_cast< int >(wxEVT_STC_ROMODIFYATTEMPT)));
24526 SWIG_Python_SetConstant(d, "wxEVT_STC_KEY",SWIG_From_int(static_cast< int >(wxEVT_STC_KEY)));
24527 SWIG_Python_SetConstant(d, "wxEVT_STC_DOUBLECLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_DOUBLECLICK)));
24528 SWIG_Python_SetConstant(d, "wxEVT_STC_UPDATEUI",SWIG_From_int(static_cast< int >(wxEVT_STC_UPDATEUI)));
24529 SWIG_Python_SetConstant(d, "wxEVT_STC_MODIFIED",SWIG_From_int(static_cast< int >(wxEVT_STC_MODIFIED)));
24530 SWIG_Python_SetConstant(d, "wxEVT_STC_MACRORECORD",SWIG_From_int(static_cast< int >(wxEVT_STC_MACRORECORD)));
24531 SWIG_Python_SetConstant(d, "wxEVT_STC_MARGINCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_MARGINCLICK)));
24532 SWIG_Python_SetConstant(d, "wxEVT_STC_NEEDSHOWN",SWIG_From_int(static_cast< int >(wxEVT_STC_NEEDSHOWN)));
24533 SWIG_Python_SetConstant(d, "wxEVT_STC_PAINTED",SWIG_From_int(static_cast< int >(wxEVT_STC_PAINTED)));
24534 SWIG_Python_SetConstant(d, "wxEVT_STC_USERLISTSELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_USERLISTSELECTION)));
24535 SWIG_Python_SetConstant(d, "wxEVT_STC_URIDROPPED",SWIG_From_int(static_cast< int >(wxEVT_STC_URIDROPPED)));
24536 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLSTART",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLSTART)));
24537 SWIG_Python_SetConstant(d, "wxEVT_STC_DWELLEND",SWIG_From_int(static_cast< int >(wxEVT_STC_DWELLEND)));
24538 SWIG_Python_SetConstant(d, "wxEVT_STC_START_DRAG",SWIG_From_int(static_cast< int >(wxEVT_STC_START_DRAG)));
24539 SWIG_Python_SetConstant(d, "wxEVT_STC_DRAG_OVER",SWIG_From_int(static_cast< int >(wxEVT_STC_DRAG_OVER)));
24540 SWIG_Python_SetConstant(d, "wxEVT_STC_DO_DROP",SWIG_From_int(static_cast< int >(wxEVT_STC_DO_DROP)));
24541 SWIG_Python_SetConstant(d, "wxEVT_STC_ZOOM",SWIG_From_int(static_cast< int >(wxEVT_STC_ZOOM)));
24542 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_CLICK)));
24543 SWIG_Python_SetConstant(d, "wxEVT_STC_HOTSPOT_DCLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_HOTSPOT_DCLICK)));
24544 SWIG_Python_SetConstant(d, "wxEVT_STC_CALLTIP_CLICK",SWIG_From_int(static_cast< int >(wxEVT_STC_CALLTIP_CLICK)));
24545 SWIG_Python_SetConstant(d, "wxEVT_STC_AUTOCOMP_SELECTION",SWIG_From_int(static_cast< int >(wxEVT_STC_AUTOCOMP_SELECTION)));
24546
24547
24548 }
24549